Restrict shm_open and shm_unlink to SHMDIR. Fixes bugs 14752 and 15763.
[platform/upstream/glibc.git] / ChangeLog
1 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2
3         [BZ #14752], [BZ #15763]
4         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5         Validate name.
6         * rt/tst_shm.c: Add test for escaping directory.
7
8 2013-10-31  Andreas Schwab  <schwab@suse.de>
9
10         [BZ #15917]
11         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12         followed by 'x' as part of digit sequence.
13         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14
15 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16
17         [BZ #16037]
18         * configure.ac: allow GNU Make 4.0 and greater.
19         * configure: Regenerated.
20
21 2013-10-30  Will Newton  <will.newton@linaro.org>
22
23         [BZ #16038]
24         * malloc/hooks.c (memalign_check): Limit alignment to the
25         maximum representable power of two.
26         * malloc/malloc.c (__libc_memalign): Likewise.
27         * malloc/tst-memalign.c (do_test): Add test for very
28         large alignment values.
29         * malloc/tst-posix_memalign.c (do_test): Likewise.
30
31 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32
33         [BZ #11087]
34         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35         (munmap_chunk): Likewise.
36         (mremap_chunk): Likewise.
37
38 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39
40         [BZ #15799]
41         * stdlib/div.c (div): Remove obsolete code.
42         * stdlib/ldiv.c (ldiv): Likewise.
43         * stdlib/lldiv.c (lldiv): Likewise.
44
45 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46
47         [BZ #16071]
48         * nss/nss_files/files-XXX.c (get_contents_ret): New
49         enumerator.
50         (get_contents): New function.
51         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52
53 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54
55         * configure.in: Moved to ...
56         * configure.ac: ... here. Change reference to configure.in
57         to configure.ac.
58         * sysdeps/arm/preconfigure.ac: ... here.
59         configure.in to configure.ac.
60         * sysdeps/gnu/configure.in: Moved to ...
61         * sysdeps/gnu/configure.ac: ... here.
62         * sysdeps/i386/configure.in: Moved to ...
63         * sysdeps/i386/configure.ac: ... here.
64         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
65         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
66         * sysdeps/mach/configure.in: Moved to ...
67         * sysdeps/mach/configure.ac: ... here.
68         * sysdeps/mach/hurd/configure.in: Moved to ...
69         * sysdeps/mach/hurd/configure.ac: ... here.
70         * sysdeps/powerpc/configure.in: Moved to ...
71         * sysdeps/powerpc/configure.ac: ... here.
72         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
73         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
74         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
75         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
76         * sysdeps/s390/s390-32/configure.in: Moved to ...
77         * sysdeps/s390/s390-32/configure.ac: ... here.
78         * sysdeps/s390/s390-64/configure.in: Moved to ...
79         * sysdeps/s390/s390-64/configure.ac: ... here.
80         * sysdeps/sh/configure.in: Moved to ...
81         * sysdeps/sh/configure.ac: ... here.
82         * sysdeps/sparc/configure.in: Moved to ...
83         * sysdeps/sparc/configure.ac: ... here.
84         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
85         * sysdeps/unix/sysv/linux/configure.ac: ... here.
86         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
87         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
88         * sysdeps/x86_64/configure.in: Moved to ...
89         * sysdeps/x86_64/configure.ac: ... here.
90         * sysdeps/x86_64/preconfigure.in: Moved to ...
91         * sysdeps/x86_64/preconfigure.ac: ... here.
92         * aclocal.m4: Change reference to configure.in to configure.ac.
93         * config.h.in: Likewise.
94         * manual/install.texi: Likewise.
95         * manual/maint.texi: Likewise.
96         * Makefile: Likewise.
97         * malloc/Makefile: Likewise.
98         * nscd/Makefile: Likewise.
99         * Makeconfig: Change reference to configure.in and
100         preconfigure.in to configure.ac and preconfigure.ac
101         respectively.
102         * INSTALL: Regenerated.
103         * configure: Likewise.
104         * sysdeps/gnu/configure: Likewise.
105         * sysdeps/i386/configure: Likewise.
106         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
107         * sysdeps/mach/configure: Likewise.
108         * sysdeps/mach/hurd/configure: Likewise.
109         * sysdeps/powerpc/configure: Likewise.
110         * sysdeps/powerpc/powerpc32/configure: Likewise.
111         * sysdeps/powerpc/powerpc64/configure: Likewise.
112         * sysdeps/s390/s390-32/configure: Likewise.
113         * sysdeps/s390/s390-64/configure: Likewise.
114         * sysdeps/sh/configure: Likewise.
115         * sysdeps/sparc/configure: Likewise.
116         * sysdeps/unix/sysv/linux/configure: Likewise.
117         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
118         * sysdeps/x86_64/configure: Likewise.
119         * sysdeps/x86_64/preconfigure: Likewise.
120
121 2013-10-29  Andreas Schwab  <schwab@suse.de>
122
123         * stdio-common/Makefile (tst-swscanf-ENV): Define.
124
125 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
126
127         * benchtests/pow-inputs: Add new inputs.
128
129         * benchtests/exp-inputs: Add new inputs.
130
131         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
132         conditional check for return value.
133         (__cos32): Likewise.
134
135 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
136
137         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
138         to provide a boost for large inputs with word alignment.
139         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
140         implementation based on optimized PPC64 strcpy.
141         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
142         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
143         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
144         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
145
146 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
147
148         [BZ #2801]
149         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
150
151 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
152
153         [BZ #14876]
154         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
155         * time/tst-strptime.c (day_tests): Add testcase.
156
157 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
158
159         [BZ #14029]
160         * manual/pattern.texi: Acknowledge that fnmatch can fail.
161
162 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
163
164         [BZ #16074]
165         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
166         MAP_FAILED on error.
167
168 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
169
170         [BZ #16072]
171         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
172         heap for large requests.
173
174 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
175
176         [BZ #9954]
177         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
178         result if the result has no associated interface.
179         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
180         interface for all 127.X.Y.Z addresses.
181
182 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
183
184         * locale/iso-639.def: Add Ligurian (lij)
185
186 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
187
188         [BZ #15825]
189         * sunrpc/rpc_main.c: Document rpcgen -5.
190
191 2013-10-19  Michael Stahl  <mstahl@redhat.com>
192
193         * elf/rtld.c (do_preload): Print the reason why preloading failed.
194
195 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
196
197         [BZ #10278]
198         * posix/glob.c: Match only directories when trailing slash is present.
199         * posix/tst-gnuglob.c (my_opendir): Do not open files.
200         (main): Add testcase.
201
202 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
203
204         [BZ #15670]
205         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
206
207 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
208
209         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
210         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
211         AUTH_DES and cindex for FIPS 140-2.
212         (DES Encryption): Add cindex FIPS 46-3.
213
214         * locale/locarchive.h (struct locarhandle): Add fname.
215         * locale/programs/localedef.c (main): Pass ARGV[remaining]
216         if an optional argument was specified to --list-archive,
217         otherwise NULL.
218         * locale/programs/locarchive.c (show_archive_content): Take new
219         argument fname and pass it via ah.fname to open_archive.
220         * locale/programs/localedef.h: Update decl.
221         (open_archive): If AH->fname is non-null, open that file
222         rather than the default file name, and don't ignore ENOENT.
223         (create_archive): Set AH.fname to NULL.
224         (delete_locales_from_archive): Likewise.
225         (add_locales_to_archive): Likewise.
226         * locale/programs/locfile.c (write_all_categories): Likewise.
227
228 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
229             Aldy Hernandez  <aldyh@redhat.com>
230
231         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
232         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
233         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
234         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
235         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
237         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
238         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
239         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
240         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
241         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
242         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
243         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
244         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
245         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
246         Likewise.
247         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
248         Likewise.
249         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
250         Likewise.
251         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
252         Likewise.
253         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
254         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
255         Likewise.
256         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
257         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
258         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
259         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
260         Likewise.
261         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
262         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
263         * sysdeps/powerpc/preconfigure: Likewise.
264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
265         Likewise.
266         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
267         Replace contents of file by #include of <fenv_libc.h>.
268         * sysdeps/powerpc/soft-fp/sfp-machine.h
269         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
270         and <sys/prctl.h>.
271         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
284         Allow copysignl PLT reference to be missing.
285
286 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
287             Joseph Myers  <joseph@codesourcery.com
288
289         [BZ #15948]
290         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
291         single character.
292         (add_to_tablewc): Assert sequence of wide characters is nonempty.
293
294 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
295
296         * elf/tst-tls-dlinfo.c: Don't include tls.h.
297         * elf/tst-tls1.c: Likewise.
298         * elf/tst-tls10.h: Likewise.
299         * elf/tst-tls14.c: Likewise.
300         * elf/tst-tls2.c: Likewise.
301         * elf/tst-tls3.c: Likewise.
302         * elf/tst-tls4.c: Likewise.
303         * elf/tst-tls5.c: Likewise.
304         * elf/tst-tls6.c: Likewise.
305         * elf/tst-tls7.c: Likewise.
306         * elf/tst-tls8.c: Likewise.
307         * elf/tst-tls9.c: Likewise.
308         * elf/tst-tlsmod1.c: Likewise.
309         * elf/tst-tlsmod13.c: Likewise.
310         * elf/tst-tlsmod13a.c: Likewise.
311         * elf/tst-tlsmod14a.c: Likewise.
312         * elf/tst-tlsmod16a.c: Likewise.
313         * elf/tst-tlsmod16b.c: Likewise.
314         * elf/tst-tlsmod2.c: Likewise.
315         * elf/tst-tlsmod3.c: Likewise.
316         * elf/tst-tlsmod4.c: Likewise.
317         * elf/tst-tlsmod5.c: Likewise.
318         * elf/tst-tlsmod6.c: Likewise.
319
320 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
321
322         [BZ #12486]
323         * malloc/malloc.c: remove checks for statistics.
324
325 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
326
327         [BZ #15277]
328         * inet/inet_net.c (inet_network): Detect additional invalid strings.
329         * inet/tst-network.c: Add testcase.
330
331 2013-10-17  Andreas Schwab  <schwab@suse.de>
332
333         [BZ #15218]
334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
335         to determine canonical name.
336
337 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
338
339         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
340         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
344         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
345         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
346         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
347         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
348         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
349         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
353         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
354         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
356         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
357         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
358         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
359         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
362         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
363         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
364         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
365         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
366         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
367         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
368         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
369         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
370         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
371         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
372         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
373         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
374         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
375         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
376         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
377         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
379         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
380         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
381         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
382         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
383         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
384         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
385         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
386         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
387         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
388         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
389         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
390         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
392         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
394         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
396         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
397
398 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
399
400         [BZ #16041]
401         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
402         make result into a quiet NaN.
403
404 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
405
406         * soft-fp/adddf3.c: Fix horizontal whitespace.
407         * soft-fp/addsf3.c: Likewise.
408         * soft-fp/addtf3.c: Likewise.
409         * soft-fp/divdf3.c: Likewise.
410         * soft-fp/divsf3.c: Likewise.
411         * soft-fp/divtf3.c: Likewise.
412         * soft-fp/double.h: Likewise.
413         * soft-fp/eqdf2.c: Likewise.
414         * soft-fp/eqsf2.c: Likewise.
415         * soft-fp/eqtf2.c: Likewise.
416         * soft-fp/extenddftf2.c: Likewise.
417         * soft-fp/extended.h: Likewise.
418         * soft-fp/extendsfdf2.c: Likewise.
419         * soft-fp/extendsftf2.c: Likewise.
420         * soft-fp/extendxftf2.c: Likewise.
421         * soft-fp/fixdfdi.c: Likewise.
422         * soft-fp/fixdfsi.c: Likewise.
423         * soft-fp/fixdfti.c: Likewise.
424         * soft-fp/fixsfdi.c: Likewise.
425         * soft-fp/fixsfsi.c: Likewise.
426         * soft-fp/fixsfti.c: Likewise.
427         * soft-fp/fixtfdi.c: Likewise.
428         * soft-fp/fixtfsi.c: Likewise.
429         * soft-fp/fixtfti.c: Likewise.
430         * soft-fp/fixunsdfdi.c: Likewise.
431         * soft-fp/fixunsdfsi.c: Likewise.
432         * soft-fp/fixunsdfti.c: Likewise.
433         * soft-fp/fixunssfdi.c: Likewise.
434         * soft-fp/fixunssfsi.c: Likewise.
435         * soft-fp/fixunssfti.c: Likewise.
436         * soft-fp/fixunstfdi.c: Likewise.
437         * soft-fp/fixunstfsi.c: Likewise.
438         * soft-fp/fixunstfti.c: Likewise.
439         * soft-fp/floatdidf.c: Likewise.
440         * soft-fp/floatdisf.c: Likewise.
441         * soft-fp/floatditf.c: Likewise.
442         * soft-fp/floatsidf.c: Likewise.
443         * soft-fp/floatsisf.c: Likewise.
444         * soft-fp/floatsitf.c: Likewise.
445         * soft-fp/floattidf.c: Likewise.
446         * soft-fp/floattisf.c: Likewise.
447         * soft-fp/floattitf.c: Likewise.
448         * soft-fp/floatundidf.c: Likewise.
449         * soft-fp/floatundisf.c: Likewise.
450         * soft-fp/floatunditf.c: Likewise.
451         * soft-fp/floatunsidf.c: Likewise.
452         * soft-fp/floatunsisf.c: Likewise.
453         * soft-fp/floatunsitf.c: Likewise.
454         * soft-fp/floatuntidf.c: Likewise.
455         * soft-fp/floatuntisf.c: Likewise.
456         * soft-fp/floatuntitf.c: Likewise.
457         * soft-fp/fmadf4.c: Likewise.
458         * soft-fp/fmasf4.c: Likewise.
459         * soft-fp/fmatf4.c: Likewise.
460         * soft-fp/gedf2.c: Likewise.
461         * soft-fp/gesf2.c: Likewise.
462         * soft-fp/getf2.c: Likewise.
463         * soft-fp/ledf2.c: Likewise.
464         * soft-fp/lesf2.c: Likewise.
465         * soft-fp/letf2.c: Likewise.
466         * soft-fp/muldf3.c: Likewise.
467         * soft-fp/mulsf3.c: Likewise.
468         * soft-fp/multf3.c: Likewise.
469         * soft-fp/negdf2.c: Likewise.
470         * soft-fp/negsf2.c: Likewise.
471         * soft-fp/negtf2.c: Likewise.
472         * soft-fp/op-1.h: Likewise.
473         * soft-fp/op-2.h: Likewise.
474         * soft-fp/op-4.h: Likewise.
475         * soft-fp/op-8.h: Likewise.
476         * soft-fp/op-common.h: Likewise.
477         * soft-fp/quad.h: Likewise.
478         * soft-fp/single.h: Likewise.
479         * soft-fp/soft-fp.h: Likewise.
480         * soft-fp/sqrtdf2.c: Likewise.
481         * soft-fp/sqrtsf2.c: Likewise.
482         * soft-fp/sqrttf2.c: Likewise.
483         * soft-fp/subdf3.c: Likewise.
484         * soft-fp/subsf3.c: Likewise.
485         * soft-fp/subtf3.c: Likewise.
486         * soft-fp/truncdfsf2.c: Likewise.
487         * soft-fp/trunctfdf2.c: Likewise.
488         * soft-fp/trunctfsf2.c: Likewise.
489         * soft-fp/trunctfxf2.c: Likewise.
490         * soft-fp/unorddf2.c: Likewise.
491         * soft-fp/unordsf2.c: Likewise.
492         * soft-fp/unordtf2.c: Likewise.
493
494 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
495
496         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
497         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
498
499 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
500
501         * elf/dl-libc.c: Clear initfini list after freeing.
502
503 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
504
505         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
506         * soft-fp/addsf3.c: Likewise.
507         * soft-fp/addtf3.c: Likewise.
508         * soft-fp/divdf3.c: Likewise.
509         * soft-fp/divsf3.c: Likewise.
510         * soft-fp/divtf3.c: Likewise.
511         * soft-fp/double.h: Likewise.
512         * soft-fp/eqdf2.c: Likewise.
513         * soft-fp/eqsf2.c: Likewise.
514         * soft-fp/eqtf2.c: Likewise.
515         * soft-fp/extenddftf2.c: Likewise.
516         * soft-fp/extended.h: Likewise.
517         * soft-fp/extendsfdf2.c: Likewise.
518         * soft-fp/extendsftf2.c: Likewise.
519         * soft-fp/extendxftf2.c: Likewise.
520         * soft-fp/fixdfdi.c: Likewise.
521         * soft-fp/fixdfsi.c: Likewise.
522         * soft-fp/fixdfti.c: Likewise.
523         * soft-fp/fixsfdi.c: Likewise.
524         * soft-fp/fixsfsi.c: Likewise.
525         * soft-fp/fixsfti.c: Likewise.
526         * soft-fp/fixtfdi.c: Likewise.
527         * soft-fp/fixtfsi.c: Likewise.
528         * soft-fp/fixtfti.c: Likewise.
529         * soft-fp/fixunsdfdi.c: Likewise.
530         * soft-fp/fixunsdfsi.c: Likewise.
531         * soft-fp/fixunsdfti.c: Likewise.
532         * soft-fp/fixunssfdi.c: Likewise.
533         * soft-fp/fixunssfsi.c: Likewise.
534         * soft-fp/fixunssfti.c: Likewise.
535         * soft-fp/fixunstfdi.c: Likewise.
536         * soft-fp/fixunstfsi.c: Likewise.
537         * soft-fp/fixunstfti.c: Likewise.
538         * soft-fp/floatdidf.c: Likewise.
539         * soft-fp/floatdisf.c: Likewise.
540         * soft-fp/floatditf.c: Likewise.
541         * soft-fp/floatsidf.c: Likewise.
542         * soft-fp/floatsisf.c: Likewise.
543         * soft-fp/floatsitf.c: Likewise.
544         * soft-fp/floattidf.c: Likewise.
545         * soft-fp/floattisf.c: Likewise.
546         * soft-fp/floattitf.c: Likewise.
547         * soft-fp/floatundidf.c: Likewise.
548         * soft-fp/floatundisf.c: Likewise.
549         * soft-fp/floatunsidf.c: Likewise.
550         * soft-fp/floatunsisf.c: Likewise.
551         * soft-fp/floatuntidf.c: Likewise.
552         * soft-fp/floatuntisf.c: Likewise.
553         * soft-fp/floatuntitf.c: Likewise.
554         * soft-fp/fmadf4.c: Likewise.
555         * soft-fp/fmasf4.c: Likewise.
556         * soft-fp/fmatf4.c: Likewise.
557         * soft-fp/gedf2.c: Likewise.
558         * soft-fp/gesf2.c: Likewise.
559         * soft-fp/getf2.c: Likewise.
560         * soft-fp/ledf2.c: Likewise.
561         * soft-fp/lesf2.c: Likewise.
562         * soft-fp/letf2.c: Likewise.
563         * soft-fp/muldf3.c: Likewise.
564         * soft-fp/mulsf3.c: Likewise.
565         * soft-fp/multf3.c: Likewise.
566         * soft-fp/negdf2.c: Likewise.
567         * soft-fp/negsf2.c: Likewise.
568         * soft-fp/negtf2.c: Likewise.
569         * soft-fp/op-1.h: Likewise.
570         * soft-fp/op-2.h: Likewise.
571         * soft-fp/op-4.h: Likewise.
572         * soft-fp/op-8.h: Likewise.
573         * soft-fp/op-common.h: Likewise.
574         * soft-fp/quad.h: Likewise.
575         * soft-fp/single.h: Likewise.
576         * soft-fp/soft-fp.h: Likewise.
577         * soft-fp/sqrtdf2.c: Likewise.
578         * soft-fp/sqrtsf2.c: Likewise.
579         * soft-fp/sqrttf2.c: Likewise.
580         * soft-fp/subdf3.c: Likewise.
581         * soft-fp/subsf3.c: Likewise.
582         * soft-fp/subtf3.c: Likewise.
583         * soft-fp/truncdfsf2.c: Likewise.
584         * soft-fp/trunctfdf2.c: Likewise.
585         * soft-fp/trunctfsf2.c: Likewise.
586         * soft-fp/trunctfxf2.c: Likewise.
587         * soft-fp/unorddf2.c: Likewise.
588         * soft-fp/unordsf2.c: Likewise.
589         * soft-fp/unordtf2.c: Likewise.
590
591 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
592
593         [BZ #15672]
594         * misc/error.c (error_tail): Fix possible buffer overflow.
595
596 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
597
598         [BZ #13028]
599         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
600         address.
601
602 2013-10-14  P. J. McDermott  <pj@pehjota.net>
603
604         [BZ #832]
605         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
606         testing pipefail option.
607
608 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
609
610         * soft-fp/double.h: Indent preprocessor directives inside #if.
611         * soft-fp/extended.h: Likewise.
612         * soft-fp/op-2.h: Likewise.
613         * soft-fp/op-4.h: Likewise.
614         * soft-fp/op-common.h: Likewise.
615         * soft-fp/quad.h: Likewise.
616         * soft-fp/single.h: Likewise.
617         * soft-fp/soft-fp.h: Likewise.
618
619 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
620
621         * iconv/iconv_prog.c: Fix typos.
622         * stdio-common/psiginfo-data.h: Likewise.
623
624 2013-10-12   Reuben Thomas <rrt@sc3d.org>
625
626         [BZ #15764]
627         * locale/setlocale.c: Fix typo.
628
629 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
630
631         [BZ #16036]
632         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
633         signaling NaN arguments.
634         * soft-fp/unordsf2.c (__unordsf2): Likewise.
635         * soft-fp/unordtf2.c (__unordtf2): Likewise.
636
637         [BZ #14910]
638         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
639         unordered operands.
640         * soft-fp/gesf2.c (__gesf2): Likewise.
641         * soft-fp/getf2.c (__getf2): Likewise.
642         * soft-fp/ledf2.c (__ledf2): Likewise.
643         * soft-fp/lesf2.c (__lesf2): Likewise.
644         * soft-fp/letf2.c (__letf2): Likewise.
645
646         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
647         * soft-fp/eqsf2.c (__eqsf2): Likewise.
648         * soft-fp/eqtf2.c (__eqtf2): Likewise.
649         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
650         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
651         * soft-fp/fixdfti.c (__fixdfti): Likewise.
652         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
653         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
654         * soft-fp/fixsfti.c (__fixsfti): Likewise.
655         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
656         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
657         * soft-fp/fixtfti.c (__fixtfti): Likewise.
658         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
659         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
660         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
661         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
662         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
663         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
664         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
665         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
666         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
667         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
668         * soft-fp/floatdisf.c (__floatdisf): Likewise.
669         * soft-fp/floatsisf.c (__floatsisf): Likewise.
670         * soft-fp/floattidf.c (__floattidf): Likewise.
671         * soft-fp/floattisf.c (__floattisf): Likewise.
672         * soft-fp/floattitf.c (__floattitf): Likewise.
673         * soft-fp/floatundidf.c (__floatundidf): Likewise.
674         * soft-fp/floatundisf.c (__floatundisf): Likewise.
675         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
676         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
677         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
678         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
679         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
680         * soft-fp/gesf2.c (__gesf2): Likewise.
681         * soft-fp/getf2.c (__getf2): Likewise.
682         * soft-fp/ledf2.c (__ledf2): Likewise.
683         * soft-fp/lesf2.c (__lesf2): Likewise.
684         * soft-fp/letf2.c (__letf2): Likewise.
685
686         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
687         Undefine and redefine.
688         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
689         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
690         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
691         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
692         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
693         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
694         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
695         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
696         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
697         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
698         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
699         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
700         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
701         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
702         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
703
704         [BZ #16032]
705         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
706         without decrementing exponent if mantissa >= that for the
707         denominator, not >.
708         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
709         denominator, not >.  Decrement exponent in < case instead of
710         incrementing in >= case.
711         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
712         without decrementing exponent if mantissa >= that for the
713         denominator, not >.
714
715         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
716         computing saturated result for unsigned overflow.
717
718 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
719             Jeff Law  <law@redhat.com>
720
721         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
722         (atan2Mp): Add systemtap probe marker.
723         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
724         (__ieee754_log): Add systemtap probe marker.
725         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
726         (atanMp): Add systemtap probe marker.
727         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
728         (tanMp): Add systemtap probe marker.
729         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
730         (__slowexp): Add systemtap probe marker.
731         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
732         (__slowpow): Add systemtap probe marker.
733         * manual/probes.texi: Document probes.
734
735 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
736
737         [BZ #15362]
738         * libio/fileops.c (_IO_new_file_write): Return count of bytes
739         written.
740         (_IO_new_file_xsputn): Don't return EOF if nothing has been
741         written.
742         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
743         written to buffer but not flushed.
744         * libio/iofwrite_u.c:  Likewise.
745         * libio/iopadn.c:  Return bytes returned even if EOF was
746         encountered.
747         * libio/iowpadn.c:  Likewise.
748         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
749         if _IO_padn does not write the whole buffer.
750         [!COMPILE_WPRINTF] (PAD): Likewise.
751
752 2013-10-10  David S. Miller  <davem@davemloft.net>
753
754         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
755         directory block.
756
757 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
758
759         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
760         instead of FSF address.
761         * soft-fp/fixdfti.c: Likewise.
762         * soft-fp/fixsfti.c: Likewise.
763         * soft-fp/fixtfti.c: Likewise.
764         * soft-fp/fixunsdfti.c: Likewise.
765         * soft-fp/fixunssfti.c: Likewise.
766         * soft-fp/fixunstfti.c: Likewise.
767         * soft-fp/floattidf.c: Likewise.
768         * soft-fp/floattisf.c: Likewise.
769         * soft-fp/floattitf.c: Likewise.
770         * soft-fp/floatuntidf.c: Likewise.
771         * soft-fp/floatuntisf.c: Likewise.
772         * soft-fp/floatuntitf.c: Likewise.
773         * soft-fp/trunctfxf2.c: Likewise.
774
775         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
776         * soft-fp/fixdfti.c: Likewise.
777         * soft-fp/fixsfti.c: Likewise.
778         * soft-fp/fixtfti.c: Likewise.
779         * soft-fp/fixunsdfti.c: Likewise.
780         * soft-fp/fixunssfti.c: Likewise.
781         * soft-fp/fixunstfti.c: Likewise.
782         * soft-fp/floattidf.c: Likewise.
783         * soft-fp/floattisf.c: Likewise.
784         * soft-fp/floattitf.c: Likewise.
785         * soft-fp/floatuntidf.c: Likewise.
786         * soft-fp/floatuntisf.c: Likewise.
787         * soft-fp/floatuntitf.c: Likewise.
788         * soft-fp/trunctfxf2.c: Likewise.
789
790 2013-10-10  David S. Miller  <davem@davemloft.net>
791
792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
793
794 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
795
796         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
797         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
798         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
799         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
800         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
801         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
802         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
803
804         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
805         for NaNs before doing comparisons on argument.
806         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
807         Likewise.
808
809 2013-10-10  Will Newton  <will.newton@linaro.org>
810
811         * malloc/hooks.c (memalign_check): Ensure the value of bytes
812         passed to _int_memalign does not overflow.
813
814 2013-10-10  Torvald Riegel  <triegel@redhat.com>
815
816         * scripts/bench.pl: Add include-sources directive.
817         * benchtests/README: Update documentation.
818
819 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
820
821         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
822         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
823         instead of FP_INIT_ROUNDMODE.
824         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
825         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
826
827         [BZ #16034]
828         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
829         copy class of input value.
830         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
831         not handle exceptions.
832         * soft-fp/negsf2.c (__negsf2): Likewise.
833         * soft-fp/negtf2.c (__negtf2): Likewise.
834         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
835
836 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
837
838         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
839         semicolon.  From Linux kernel.
840
841 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
842
843         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
844
845 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
846
847         [BZ #156]
848         * manual/socket.texi: Added statement about buffer
849         for gethostbyname2_r.
850
851 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
852
853         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
854         Use .p2align directive instead, throughout.
855         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
856         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
857         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
858         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
860         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
861         * sysdeps/x86_64/strchr.S: Likewise.
862         * sysdeps/x86_64/strrchr.S: Likewise.
863
864 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
865
866         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
867
868         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
869
870         * sysdeps/generic/math_private.h (__mpsin1): Remove
871         declaration.
872         (__mpcos1): Likewise.
873         (__mpsin): New argument __range_reduce.
874         (__mpcos): Likewise.
875         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
876         (slow): Use __mpsin and __mpcos.
877         (slow1): Likewise.
878         (slow2): Likewise.
879         (sloww): Likewise.
880         (sloww1): Likewise.
881         (sloww2): Likewise.
882         (bsloww): Likewise.
883         (bsloww1): Likewise.
884         (bsloww2): Likewise.
885         (cslow2): Likewise.
886         (csloww): Likewise.
887         (csloww1): Likewise.
888         (csloww2): Likewise.
889         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
890         range_reduce.  Merge in __mpsin1.
891         (__mpcos): Likewise.
892         (__mpsin1): Remove.
893         (__mpcos1): Likewise.
894
895 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
896
897         * locale/loadlocale.c (_nl_intern_locale_data): Use
898         LOCFILE_ALIGNED_P.
899         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
900         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
901         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
902         obstack data is appropriately aligned.
903         (obstack_int32_grow_fast): Likewise.
904         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
905         * locale/programs/locfile.c (add_locale_uint32): Likewise.
906         (add_locale_uint32_array): Likewise.
907
908 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
909
910         * benchtests/Makefile: Remove ARGLIST and RET variables.
911         ($(objpfx)bench-%.c): Pass only function name to the script.
912         * benchtests/README: Update documentation.
913         * benchtests/acos-inputs: Add new directives.
914         * benchtests/acosh-inputs: Likewise.
915         * benchtests/asin-inputs: Likewise.
916         * benchtests/asinh-inputs: Likewise.
917         * benchtests/atan-inputs: Likewise.
918         * benchtests/atanh-inputs: Likewise.
919         * benchtests/cos-inputs: Likewise.
920         * benchtests/cosh-inputs: Likewise.
921         * benchtests/exp-inputs: Likewise.
922         * benchtests/log-inputs: Likewise.
923         * benchtests/pow-inputs: Likewise.
924         * benchtests/rint-inputs: Likewise.
925         * benchtests/sin-inputs: Likewise.
926         * benchtests/sinh-inputs: Likewise.
927         * benchtests/tan-inputs: Likewise.
928         * benchtests/tanh-inputs: Likewise.
929         * scripts/bench.pl: Add support for new directives.
930
931 2013-10-07  Alan Modra  <amodra@gmail.com>
932
933         * README: Fix careless merge.
934
935 2013-10-05  Alan Modra  <amodra@gmail.com>
936
937         * NEWS: Mention powerpc64le support and bugs fixed.
938         * README: Both big-endian and little-endian powerpc64 supported.
939
940 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
941
942         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
943         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
944         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
945         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
946
947 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
948
949         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
950         match prototype.
951
952 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
953
954         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
955         Move -mhard-float appending from
956         ports/sysdeps/powerpc/powerpc32/Makefile.
957         [$(with-fp) = yes] (ASFLAGS): Likewise.
958         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
959         * sysdeps/powerpc/nofpu: Move directory from
960         ports/sysdeps/powerpc/nofpu.
961         * sysdeps/powerpc/soft-fp: Move directory from
962         ports/sysdeps/powerpc/soft-fp.
963         * sysdeps/powerpc/powerpc32/405: Move directory from
964         ports/sysdeps/powerpc/powerpc32/405.
965         * sysdeps/powerpc/powerpc32/440: Move directory from
966         ports/sysdeps/powerpc/powerpc32/440.
967         * sysdeps/powerpc/powerpc32/464: Move directory from
968         ports/sysdeps/powerpc/powerpc32/464.
969         * sysdeps/powerpc/powerpc32/476: Move directory from
970         ports/sysdeps/powerpc/powerpc32/476.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
972         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
974         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
976         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
978         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
980         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
981         * README: Update for powerpc-*-linux-gnu software floating point
982         support in libc.
983
984         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
985         case to powerpc/powerpc32*.
986         * sysdeps/unix/sysv/linux/configure: Regenerated.
987
988         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
989         (_FPU_MASK_OM): Define as 0x04.
990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
992         0x00c10080.
993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
994         0x0000003c.
995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
996
997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
998         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
999         getcontext_e500.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1001         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1002         setcontext_e500.
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1004         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1005         and setcontext_e500.
1006
1007 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
1008
1009         * locale/iso-3166.def: Update iso-1366.def and related occurrences
1010
1011 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1012
1013         * manual/threads.texi (Default Thread Attributes): Fix typo.
1014
1015 2013-10-04  Will Newton  <will.newton@linaro.org>
1016
1017         * malloc/Makefile: Add tst-memalign.
1018         * malloc/tst-memalign.c: New file.
1019
1020         * malloc/tst-posix_memalign.c: Add comments.
1021         (do_test): Add comments and call free on all potentially
1022         allocated pointers. Add space after cast.
1023
1024         * malloc/tst-pvalloc.c: Add comments.
1025         (do_test): Add comments and call free on all potentially
1026         allocated pointers. Remove duplicate check for NULL pointer.
1027         Add space after cast.
1028
1029         * malloc/tst-valloc.c: Add comments.
1030         (do_test): Add comments and call free on all potentially
1031         allocated pointers. Remove duplicate check for NULL pointer.
1032         Add space after cast.
1033
1034 2013-10-04  Alan Modra  <amodra@gmail.com>
1035
1036         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1037         Use stdint types in rather than __attribute__((mode())).
1038         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1039
1040 2013-10-04  Alan Modra  <amodra@gmail.com>
1041
1042         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1043         Correct handling of unaligned relocs for little-endian.
1044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1045
1046 2013-10-04  Alan Modra  <amodra@gmail.com>
1047
1048         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1049         * configure: Regenerate.
1050         * nptl/shlib-versions: Powerpc*le starts at 2.18.
1051         * shlib-versions: Likewise.
1052
1053 2013-10-04  Alan Modra  <amodra@gmail.com>
1054
1055         * string/tester.c (test_memrchr): Increment reported test cycle.
1056
1057 2013-10-04  Alan Modra  <amodra@gmail.com>
1058
1059         * string/test-memcpy.c (do_one_test): When reporting errors, print
1060         string address and don't overrun end of string.
1061
1062 2013-10-04  Alan Modra  <amodra@gmail.com>
1063
1064         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1065         insrdi.  Make better use of reg selection to speed exit slightly.
1066         Schedule entry path a little better.  Remove useless "are we done"
1067         checks on entry to main loop.  Handle wrapping around zero address.
1068         Correct main loop count.  Handle single left-over word from main
1069         loop inline rather than by using loop_small.  Remove extra word
1070         case in loop_small caused by wrong loop count.  Add little-endian
1071         support.
1072         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1073         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
1074         cache hint.
1075         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1076         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1077         support.  Avoid rlwimi.
1078         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1079
1080 2013-10-04  Alan Modra  <amodra@gmail.com>
1081
1082         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1083         insrdi.  Formatting.
1084         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1087         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1088         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1089         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1090
1091 2013-10-04  Alan Modra  <amodra@gmail.com>
1092
1093         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1094         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1095         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1096         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
1102         use of regs.  Use power7 mtocrf.  Tidy function tails.
1103
1104 2013-10-04  Alan Modra  <amodra@gmail.com>
1105
1106         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1107         Formatting.  Consistently use rXXX register defines or rN defines.
1108         Use early exit labels that avoid restoring unused non-volatile regs.
1109         Make cr field use more consistent with rWORDn compares.  Rename
1110         regs used as shift registers for unaligned loop, using rN defines
1111         for short lifetime/multiple use regs.
1112         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1113         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
1114         addi 1,1,64 to pop stack frame.  Simplify return value code.
1115         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1116
1117 2013-10-04  Alan Modra  <amodra@gmail.com>
1118
1119         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1120         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
1121         rather than rlwimi.
1122         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1124         little-endian support.  Correct typos.
1125         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
1126         rather than rlwimi.
1127         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
1128         in loop and entry code to keep "and." results.
1129         (strchr): Add little-endian support.  Comment.  Move cntlzd
1130         earlier in tail.
1131         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1132
1133 2013-10-04  Alan Modra  <amodra@gmail.com>
1134
1135         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1136         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1138         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1139
1140 2013-10-04  Alan Modra  <amodra@gmail.com>
1141
1142         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1143         (rTMP): Define as r11.
1144         (strcmp): Add little-endian support.  Optimise tail.
1145         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1146         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1147         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1149         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1152
1153 2013-10-04  Alan Modra  <amodra@gmail.com>
1154
1155         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1156         little-endian support.  Remove unnecessary "are we done" tests.
1157         Handle "s" wrapping around zero and extremely large "size".
1158         Correct main loop count.  Handle single left-over word from main
1159         loop inline rather than by using small_loop.  Correct comments.
1160         Delete "zero" tail, use "end_max" instead.
1161         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1162
1163 2013-10-04  Alan Modra  <amodra@gmail.com>
1164
1165         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1166         support.  Don't branch over align.
1167         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1169         support.  Rearrange tmp reg use to suit.  Comment.
1170         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1171
1172 2013-10-04  Alan Modra  <amodra@gmail.com>
1173
1174         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1175
1176 2013-10-04  Alan Modra  <amodra@gmail.com>
1177
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1179         conditional form of branch and link when obtaining pc.
1180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1181
1182 2013-10-04  Alan Modra  <amodra@gmail.com>
1183
1184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1185         HIWORD/LOWORD.
1186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1188
1189 2013-10-04  Alan Modra  <amodra@gmail.com>
1190
1191         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1192         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1193         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1194         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1195         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1197         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1199         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1200         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1201
1202 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1203             Alistair Popple <alistair@ozlabs.au.ibm.com>
1204             Alan Modra <amodra@gmail.com>
1205
1206         [BZ #15723]
1207         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1208         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1209         _dl_hwcap access for little-endian.
1210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
1211         destroy vmx regs when saving unaligned.
1212         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1213         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
1214         destroy vmx regs when saving unaligned.
1215
1216 2013-10-04  Alan Modra  <amodra@gmail.com>
1217
1218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1219         Don't use a union to pack hi/low value.
1220
1221 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1222
1223         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1224         for little-endian.
1225         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1227         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1228         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1230
1231 2013-10-04  Alan Modra  <amodra@gmail.com>
1232
1233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1234         constants to usual value for .cst8 section, and remove redundant
1235         high address load.
1236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1237         constant for 0x1p52.  Load little-endian words of double from
1238         correct stack offsets.
1239
1240 2013-10-04  Alan Modra  <amodra@gmail.com>
1241
1242         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1243         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1244         words of double from correct stack offsets.
1245         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1246         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1247         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1251         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1252         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1253         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1256         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1257         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1258         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1259         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1260         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1261         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1262
1263 2013-10-04  Alan Modra  <amodra@gmail.com>
1264
1265         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1266         64-bit int/double union.
1267         (_FPU_SETCW): Likewise.
1268         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1269         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1270
1271 2013-10-04  Alan Modra  <amodra@gmail.com>
1272
1273         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1274         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1275
1276 2013-10-04  Alan Modra  <amodra@gmail.com>
1277
1278         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1279         use vector int constants.
1280         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1281
1282 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1283
1284         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1285         array with long long.
1286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1287         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1288         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1289         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1290         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1291         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1292         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1293         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1294         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1295         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1296         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1297         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1298         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1299
1300 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
1301
1302         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1303         (__signbit): Likewise.  Correct for little-endian.
1304         (__signbitl): Call __signbit.
1305         (lrint): Correct for little-endian.
1306         (lrintf): Call lrint.
1307
1308 2013-10-04  Alan Modra  <amodra@gmail.com>
1309
1310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1311         union 32-bit int array member with 64-bit int array.
1312         (t515, tm256): Double rather than long double.
1313         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1314
1315 2013-10-04  Alan Modra  <amodra@gmail.com>
1316
1317         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1318         Delete.
1319         (IEEE854_LONG_DOUBLE_BIAS): Delete.
1320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1321         version of math_ldbl.h.
1322
1323 2013-10-04  Alan Modra  <amodra@gmail.com>
1324
1325         [BZ #15734], [BZ #15735]
1326         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1327         all uses of ieee875 long double macros and unions.  Simplify test
1328         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
1329         ldbl_extract_mantissa value for ix,iy exponents.  Properly
1330         normalize after ldbl_extract_mantissa, and don't add hidden bit
1331         already handled.  Don't treat low word of ieee854 mantissa like
1332         low word of IBM long double and mask off bit when testing for
1333         zero.
1334         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1335         all uses of ieee875 long double macros and unions.  Simplify tests
1336         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
1337         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
1338         two1022, instead use their values.  Recognise that tests for large
1339         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
1340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1341         Rewrite all uses of ieee875 long double macros and unions.  Simplify
1342         test for 0.0L and nan.  Correct negation.
1343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1344         ieee875 long double macros and unions.  Correct output for large
1345         magnitude x.  Correct absolute value calculation.
1346         (__erfcl): Likewise.
1347         * math/libm-test.inc: Add tests for errors discovered in IBM long
1348         double versions of fmodl, remainderl, erfl and erfcl.
1349
1350 2013-10-04  Alan Modra  <amodra@gmail.com>
1351
1352         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1353         all uses of ieee854 long double macros and unions.  Simplify tests
1354         for long doubles that are fully specified by the high double.
1355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1356         Likewise.
1357         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1358         Remove dead code too.
1359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1360         (__ieee754_ynl): Likewise.
1361         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1362         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1363         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1364         Remove dead code too.
1365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1368         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1369         Simplify.
1370         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1371         Simplify.
1372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1373         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1375         Comment on variable precision.
1376         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1377         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1378         Likewise.
1379         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1382         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1383         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1384
1385 2013-10-04  Alan Modra  <amodra@gmail.com>
1386
1387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1389         all uses of ieee854 long double macros and unions.
1390         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1393         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1395         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1396         Likewise.
1397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1399         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1400         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1401         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1402         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1403         Simplify sign and nan test too.
1404         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1405         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1406         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1407         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1408         Likewise.
1409         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1410         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1411         Likewise.
1412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1413         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1414         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1415         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1416         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1418
1419 2013-10-04  Alan Modra  <amodra@gmail.com>
1420
1421         * stdio-common/printf_size.c (__printf_size): Don't use
1422         union ieee854_long_double in fpnum union.
1423         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
1424         signbit macro to retrieve sign from long double.
1425         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1426         retrieve sign from long double.
1427         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1428         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1429         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1430         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1431         * math/test-misc.c (main): Don't use union ieee854_long_double.
1432
1433 2013-10-04  Alan Modra  <amodra@gmail.com>
1434
1435         [BZ #15680]
1436         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1437         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1438         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1439         calculation.  Remove unnecessary test for denormal exponent.
1440         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1441         Correct handling of denormals.  Avoid undefined shift behaviour.
1442         Correct normalisation of low mantissa when low double is denormal.
1443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1444         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
1445         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1446         Correct normalisation of low mantissa.  Test for overflow of high
1447         mantissa and normalise.
1448         (ldbl_nearbyint): Use more readable constant for two52.
1449         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1450         (__mpn_construct_long_double): Fix test for overflow of high
1451         mantissa and correct normalisation.  Avoid undefined shift.
1452
1453 2013-10-04  Alan Modra  <amodra@gmail.com>
1454
1455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1456         (union ibm_extended_long_double): Define as an array of ieee754_double.
1457         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1458         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1459         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1460         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1464         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1465         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1466         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1467         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1468
1469 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
1470
1471         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1472         page size instead of calling getpagesize.
1473
1474         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1475         (LOCFILE_ALIGN_MASK): Likewise.
1476         (LOCFILE_ALIGN_UP): Likewise.
1477         (LOCFILE_ALIGNED_P): Likewise.
1478         * locale/programs/ld-collate.c (collate_output): Use the new
1479         macros instead of __alignof__ (int32_t).
1480         * locale/weight.h (findidx): Likewise.
1481
1482 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
1483
1484         [BZ #431]
1485         * manual/string.texi: Fix strncat and wcsncat.
1486
1487 2013-10-03  Brooks Moses  <bmoses@google.com>
1488
1489         [BZ #15915]
1490         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1491         * Makerules: ...here, and adjust associated comments.
1492
1493 2013-10-02  Will Newton  <will.newton@linaro.org>
1494
1495         * malloc/Makefile: Add tst-pvalloc.
1496         * malloc/tst-pvalloc.c: New file.
1497
1498 2013-10-02  Will Newton  <will.newton@linaro.org>
1499
1500         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1501         improve test coverage.
1502
1503 2013-10-02  Will Newton  <will.newton@linaro.org>
1504
1505         * malloc/Makefile: Add tst-posix_memalign.
1506         * malloc/tst-posix_memalign.c: New file.
1507
1508 2013-10-01  Eric Blake  <eblake@redhat.com>
1509
1510         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1511         Use __THROWNL rather than __THROW on static functions.
1512
1513 2013-09-30  Petr Machata  <pmachata@redhat.com>
1514
1515         * elf/elf.h (R_AARCH64_ABS16): New macro.
1516         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1517         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1518         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1519         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1520         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1521         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1522         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1523         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1524         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1525         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1526         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1527         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1528         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1529         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1530         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1531         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1532         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1533         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1534         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1535         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1536         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1537         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1538         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1539         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1540         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1541         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1542         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1543         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1544         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1545         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1546         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1547         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1548         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1549         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1550         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1551         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1552         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1553         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1554         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1555         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1556         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1557         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1558         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1559         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1560         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1561         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1562         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1563         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1564         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1565         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1566         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1567         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1568         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1569         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1570         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1571         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1572         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1573         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1574         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1575         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1576         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1577         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1578         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1579         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1580         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1581         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1582         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1583         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1584         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1585         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1586         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1587         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1588         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1589         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1590         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1591         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1592         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1593         (R_AARCH64_TLSDESC_LDR): Likewise.
1594         (R_AARCH64_TLSDESC_ADD): Likewise.
1595         (R_AARCH64_TLSDESC_CALL): Likewise.
1596
1597 2013-09-30  Andreas Schwab  <schwab@suse.de>
1598
1599         [BZ #15048]
1600         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1601         the nss database lookup.
1602         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1604
1605 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
1606
1607         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1608
1609 2013-09-28  P. J. McDermott  <pj@pehjota.net>
1610
1611         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1612         ${Bash-specific parameter/pattern/string} parameter expansion.
1613         * sysdeps/unix/make-syscalls.sh: Likewise.
1614
1615 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1616
1617         * sysdeps/sh/stackguard-macros.h: New file.
1618
1619 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
1620
1621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1623         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1624         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1625         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1626         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1627
1628 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1629
1630         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1631         Fix thread ID register.
1632
1633 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
1634
1635         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1636         [POSIX || UNIX98]: Require rather than permitting all symbols from
1637         <time.h>.
1638         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1639         element of struct sched_param.
1640         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1641         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1642         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1643         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1644         constant.
1645
1646 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
1647
1648         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1649         argument calculation.
1650
1651 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1652
1653         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1654         Expect macro.
1655         [POSIX] (pthread_attr_t): Do not require type.
1656         [POSIX] (pthread_cond_t): Likewise.
1657         [POSIX] (pthread_condattr_t): Likewise.
1658         [POSIX] (pthread_key_t): Likewise.
1659         [POSIX] (pthread_mutex_t): Likewise.
1660         [POSIX] (pthread_mutexattr_t): Likewise.
1661         [POSIX] (pthread_once_t): Likewise.
1662         [POSIX] (pthread_t): Likewise.
1663         [POSIX-based standards] (pthread_atfork): Expect function.
1664
1665 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
1666             Richard Sandiford  <richard@codesourcery.com>
1667
1668         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1669         (swap_endianness_p): New extern variable.
1670         (set_big_endian): New inline function.
1671         (maybe_swap_uint32): Likewise.
1672         (maybe_swap_uint32_array): Likewise.
1673         (maybe_swap_uint32_obstack): Likewise.
1674         * locale/programs/locfile.c: Include <stdbool.h>.
1675         (swap_endianness_p): New variable.
1676         (add_locale_uint32): Call maybe_swap_uint32.
1677         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1678         (write_locale_data): Call maybe_swap_uint32_array.
1679         * locale/programs/ld-collate.c (obstack_int32_grow): Call
1680         maybe_swap_uint32.
1681         (obstack_int32_grow_fast): Likewise.
1682         (output_weightwc): Call maybe_swap_uint32_obstack.
1683         (collate_output): Likewise.
1684         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1685         (OPT_LITTLE_ENDIAN): Likewise.
1686         (options): Add --little-endian and --big-endian options.
1687         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1688         * locale/programs/locarchive.c: Include "locfile.h".
1689         (GET): New macro.
1690         (SET): Likewise.
1691         (INC): Likewise.
1692         (create_archive): Use the new macros to access fields of
1693         structures directly mapped from or written to locale archives.
1694         (oldlocrecentcmp): Likewise.
1695         (enlarge_archive): Likewise.
1696         (insert_name): Likewise.
1697         (add_alias): Likewise.
1698         (add_locale): Likewise.
1699         (delete_locales_from_archive): Likewise.
1700         (show_archive_content): Likewise.
1701         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
1702         locale data.
1703
1704 2013-09-24  Roland McGrath  <roland@hack.frob.com>
1705
1706         * manual/freemanuals.texi: Updated from (newly) canonical copy at
1707         http://www.gnu.org/doc/freemanuals.texi.
1708         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1709
1710 2013-09-24  Will Newton  <will.newton@linaro.org>
1711
1712         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1713         macro.
1714
1715 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
1716
1717         * locale/hashval.h (compute_hashval): Interpret bytes of key as
1718         unsigned char.
1719
1720 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
1721
1722         * manual/threads.texi (POSIX Threads): Fix a typo.
1723
1724 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1725
1726         [BZ #14547]
1727         * string/tst-strcoll-overflow.c: New test case.
1728         * string/Makefile (xtests): Add tst-strcoll-overflow.
1729         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1730         cache if string sizes may cause integer overflow.
1731
1732         [BZ #14547]
1733         * string/strcoll_l.c (coll_seq): New members rule, idx,
1734         save_idx and back_us.
1735         (get_next_seq_nocache): New function.
1736         (do_compare_nocache): New function.
1737         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1738         when malloc fails.
1739
1740 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
1741
1742         [BZ #15754]
1743         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1744         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1745         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1746
1747         [BZ #15754]
1748         * elf/Makefile (tests): Add tst-ptrguard1.
1749         (tests-static): Add tst-ptrguard1-static.
1750         (tst-ptrguard1-ARGS): Define.
1751         (tst-ptrguard1-static-ARGS): Define.
1752         * elf/tst-ptrguard1.c: New file.
1753         * elf/tst-ptrguard1-static.c: New file.
1754         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1755         * sysdeps/i386/stackguard-macros.h: Likewise.
1756         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1757         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1758         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1759         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1760         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1761         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1762
1763 2013-09-23  Hector Marco  <hecmargi@upv.es>
1764             Ismael Ripoll  <iripoll@disca.upv.es>
1765             Carlos O'Donell  <carlos@redhat.com>
1766
1767         [BZ #15754]
1768         * sysdeps/generic/stackguard-macros.h: Define
1769         __pointer_chk_guard_local and POINTER_CHK_GUARD.
1770         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1771         Define __pointer_chk_guard_local.
1772         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1773         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1774
1775 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
1776
1777         [BZ #15859]
1778         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1779
1780 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
1781
1782         * include/string.h (__ffs): Declare as hidden.
1783         * string/ffs.c (__ffs): Define as hidden.
1784         * sysdeps/i386/ffs.c (__ffs): Likewise.
1785         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1786         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1787         * sysdeps/s390/ffs.c (__ffs): Likewise.
1788         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1789
1790 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
1791
1792         * NEWS: Mention malloc probes.
1793
1794         * malloc/arena.c (new_heap): New memory_heap_new probe.
1795         (grow_heap): New memory_heap_more probe.
1796         (shrink_heap): New memory_heap_less probe.
1797         (heap_trim): New memory_heap_free probe.
1798         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1799         (systrim): New memory_sbrk_less probe.
1800         * manual/probes.texi: Document them.
1801
1802         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1803         * manual/probes.texi: Document it.
1804
1805         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1806         (__libc_realloc): Add memory_realloc_retry probe.
1807         (__libc_memalign): Add memory_memalign_retry probe.
1808         (__libc_valloc): Add memory_valloc_retry probe.
1809         (__libc_pvalloc): Add memory_pvalloc_retry probe.
1810         (__libc_calloc): Add memory_calloc_retry probe.
1811         * manual/probes.texi: Document them.
1812
1813         * malloc/arena.c (get_free_list): Add probe
1814         memory_arena_reuse_free_list.
1815         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1816         and memory_arena_reuse.
1817         (arena_get2) [!PER_THREAD]: Likewise.
1818         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1819         memory_arena_reuse_realloc.
1820         * manual/probes.texi: Document them.
1821
1822         * malloc/malloc.c (__libc_free): Add
1823         memory_mallopt_free_dyn_thresholds probe.
1824         (__libc_mallopt): Add multiple memory_mallopt probes.
1825         * manual/probes.texi: Document them.
1826
1827         * malloc/malloc.c: Include stap-probe.h.
1828         (__libc_mallopt): Add memory_mallopt probe.
1829         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1830         * manual/probes.texi: New.
1831         * manual/Makefile (chapters): Add probes.
1832         * manual/threads.texi: Set next node.
1833
1834 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
1835
1836         [BZ #15963, #13985]
1837         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1838         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1839         Add `Chinese' to `nan' entry name.
1840
1841 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1842
1843         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1844         (POLYNOMIAL): Likewise.
1845         (TAYLOR_SINCOS): Likewise.
1846         (TAYLOR_SLOW): Likewise.
1847         (__sin): Use TAYLOR_SINCOS.
1848         (__cos): Likewise.
1849         (slow): Use TAYLOR_SLOW.
1850         (sloww): Likewise.
1851         (bsloww): Likewise.
1852         (csloww): Likewise.
1853
1854 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1855
1856         * stdlib/strtod_l.c: Fix buffer overrun.
1857
1858 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1859
1860         * benchtests/Makefile (bench): Add sincos.
1861         * benchtests/bench-sincos.c: New file.
1862
1863         * math/libm-test.inc (cos_test_data): New test inputs.
1864         (sin_test_data): Likewise.
1865
1866         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1867         macro.
1868         (__sin): Use it.
1869         (__cos): Likewise.
1870         (slow1): Likewise.
1871         (slow2): Likewise.
1872         (sloww1): Likewise.
1873         (sloww2): Likewise.
1874         (bsloww1): Likewise.
1875         (bsloww2): Likewise.
1876         (cslow2): Likewise.
1877         (csloww1): Likewise.
1878         (csloww2): Likewise.
1879
1880         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1881         function.
1882         (__sin): Use it.
1883         (__cos): Likewise.
1884
1885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1886         gotos.
1887         (__cos): Likewise.
1888
1889 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
1890
1891         * config.h.in (HAVE_MIPS_NAN2008): New macro.
1892         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1893         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1894         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1895         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1896         * elf/cache.c (print_entry): Handle the new cache flags.
1897
1898 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1899             Aldy Hernandez  <aldyh@redhat.com>
1900
1901         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1902         Change condition to [_SOFT_FLOAT].
1903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1915         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1918         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1919         declaration.
1920
1921 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
1922
1923         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1924         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1925         (__longjmp): Use LOAD_GP to load saved GPRs.
1926         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1927         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1928         (__sigsetjmp): Use SAVE_GP to save GPRs.
1929
1930         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1931         Do not append -msoft-float.
1932         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1933
1934 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1935
1936         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1937
1938 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
1939
1940         [BZ #15966]
1941         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1942         (_FPU_GETCW): Use initial "__" on variable and field names but not
1943         on macro parameter name.
1944         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
1945         parentheses around reference to macro parameter.
1946
1947 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
1948
1949         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1950         prototype.
1951         (ctype_startup): Use uint32_t in cast and sizeof for
1952         ctype->charnames.
1953
1954 2013-09-11  Jia Liu  <proljc@gmail.com>
1955
1956         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1957         __daddr_t_defined.
1958         [__FreeBSD__]: Likewise.
1959
1960 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
1961
1962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1963         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1964         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1965         (strchr): Remove __strchr_sse42 ifunc selection.
1966         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1967         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1968
1969 2013-09-11  Will Newton  <will.newton@linaro.org>
1970
1971         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1972         parameter to RES. Remove hardcoded 1000 value.
1973         * benchtests/bench-skeleton.c (main): Pass RES parameter
1974         to TIMING_INIT and multiply result by 1000.
1975
1976 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1977
1978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1979
1980 2013-09-11  Andreas Schwab  <schwab@suse.de>
1981
1982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1983         if not defined.
1984         (O_TMPFILE) [__USE_GNU]: Define.
1985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1986         Define.
1987
1988 2013-09-11  Will Newton  <will.newton@linaro.org>
1989
1990         [BZ #15857]
1991         * malloc/malloc.c (__libc_memalign): Check the value of bytes
1992         does not overflow.
1993
1994 2013-09-11  Will Newton  <will.newton@linaro.org>
1995
1996         [BZ #15856]
1997         * malloc/malloc.c (__libc_valloc): Check the value of bytes
1998         does not overflow.
1999
2000 2013-09-11  Will Newton  <will.newton@linaro.org>
2001
2002         [BZ #15855]
2003         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2004         does not overflow.
2005
2006 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
2007
2008         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2009         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2010         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2011         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2012         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2013
2014 2013-09-10  Allan McRae  <allan@archlinux.org>
2015
2016         [BZ #15748]
2017         * manual/arith.texi (Parsing of Floats): Clarify
2018         cross-reference.
2019
2020         [BZ #15849]
2021         * manual/install.texi (Running make install): Mention
2022         --enable-pt-chown.
2023         * INSTALL: Regenerated.
2024
2025 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
2026
2027         * csu/init-first.c (_init): Remove the !SHARED condition around
2028         FPU control word initialization.
2029         * elf/dl-support.c (_dl_fpu_control): New variable.
2030         (_dl_aux_init) <AT_FPUCW>: Initialize it.
2031         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2032         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2033         * math/test-fpucw-static.c: New file.
2034         * math/test-fpucw-ieee.c: New file.
2035         * math/test-fpucw-ieee-static.c: New file.
2036         * math/Makefile (tests): Add `test-fpucw-ieee' and
2037         `$(tests-static)'.
2038         (tests-static): New variable.
2039         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2040         dependency to...
2041         [($(build-shared),yes)]
2042         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2043         ... this.
2044         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2045         New dependency.
2046
2047 2013-09-09  Allan McRae  <allan@archlinux.org>
2048
2049         [BZ #15939]
2050         * manual/string.texi (Collation Functions): Fix typo in
2051         strcoll example.
2052         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2053
2054         [BZ #15893]
2055         * stdlib/isomac.c (get_null_defines): Fix memory leak.
2056
2057         [BZ #15892]
2058         * libio/memstream.c (open_memstream): Fix memory leak.
2059         * libio/wmemstream.c (open_wmemstream): Likewise.
2060
2061         [BZ #15895]
2062         * nscd/netgroupcache.c: Fix nesting of ifdefs.
2063
2064 2013-09-09  Will Newton  <will.newton@linaro.org>
2065
2066         * malloc/Makefile: Add tst-realloc to tests.
2067         * malloc/tst-realloc.c: New file.
2068
2069 2013-09-09  Allan McRae  <allan@archlinux.org>
2070
2071         [BZ #15844]
2072         * COPYING: Update from GNU website to fix FSF address.
2073         * COPYING.LIB: Likewise.
2074
2075 2013-09-06  David S. Miller  <davem@davemloft.net>
2076
2077         * po/zh_TW.po: Update Chinese (traditional) translation from
2078         translation project.
2079
2080 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
2081             Joseph Myers  <joseph@codesourcery.com>
2082
2083         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2084         "localeinfo.h".
2085         (obstack_chunk_alloc): New macro.
2086         (obstack_chunk_free): Likewise.
2087         (record_offset): New function.
2088         (init_locale_data): Likewise.
2089         (align_locale_data): Likewise.
2090         (add_locale_empty): Likewise.
2091         (add_locale_raw_data): Likewise.
2092         (add_locale_raw_obstack): Likewise.
2093         (add_locale_string): Likewise.
2094         (add_locale_wstring): Likewise.
2095         (add_locale_uint32): Likewise.
2096         (add_locale_uint32_array): Likewise.
2097         (add_locale_char): Likewise.
2098         (start_locale_structure): Likewise.
2099         (end_locale_structure): Likewise.
2100         (start_locale_prelude): Likewise.
2101         (end_locale_prelude): Likewise.
2102         (write_locale_data): Take locale_file structure rather than an
2103         iovec.
2104         * locale/programs/locfile.h: Include "obstack.h".
2105         (struct locale_file): Change to store locale file contents instead
2106         of header.
2107         (init_locale_data): New prototype.
2108         (align_locale_data): Likewise.
2109         (add_locale_empty): Likewise.
2110         (add_locale_raw_data): Likewise.
2111         (add_locale_raw_obstack): Likewise.
2112         (add_locale_string): Likewise.
2113         (add_locale_wstring): Likewise.
2114         (add_locale_uint32): Likewise.
2115         (add_locale_uint32_array): Likewise.
2116         (add_locale_char): Likewise.
2117         (start_locale_structure): Likewise.
2118         (end_locale_structure): Likewise.
2119         (start_locale_prelude): Likewise.
2120         (end_locale_prelude): Likewise.
2121         (write_locale_data): Update prototype.
2122         * locale/programs/3level.h (struct TABLE): Remove result field.
2123         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2124         Use new locale_file interface.
2125         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2126         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2127         * locale/programs/ld-address.c (address_output): Use new
2128         locale_file interface.
2129         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2130         NO_ADD_LOCALE.
2131         (collate_finish): Don't call collseq_table_finalize.
2132         (collate_output): Use new locale_file interface.
2133         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2134         in file.
2135         (NO_FINALIZE): Change to NO_ADD_LOCALE.
2136         (TABLE): Move defines earlier in file.
2137         (ELEMENT): Likewise.
2138         (DEFAULT): Likewise.
2139         (wctrans_table_add): Move macro and inline function earlier in
2140         file.
2141         (struct wctype_table): Move type earlier in file.
2142         (add_locale_wctype_table): New static prototype.
2143         (struct locale_ctype_t): Use logical types instead of struct iovec
2144         pointers for members.
2145         (ctype_output): Use new locale_file interface.
2146         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
2147         new locale_file interface.
2148         (allocate_arrays): Update for use of new locale_file interface.
2149         * locale/programs/ld-identification.c (identification_output): Use
2150         new locale_file interface.
2151         * locale/programs/ld-measurement.c (measurement_output): Likewise.
2152         * locale/programs/ld-messages.c (messages_output): Likewise.
2153         * locale/programs/ld-monetary.c (monetary_output): Likewise.
2154         * locale/programs/ld-name.c (name_output): Likewise.
2155         * locale/programs/ld-numeric.c (numeric_output): Likewise.
2156         * locale/programs/ld-paper.c (paper_output): Likewise.
2157         * locale/programs/ld-telephone.c (telephone_output): Likewise.
2158         * locale/programs/ld-time.c (time_output): Likewise.
2159
2160 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161
2162         * benchtests/Makefile: Add memrchr benchmark.
2163         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2164         benchmark as memrchr.
2165         * benchtests/bench-memrchr-ifunc.c: New file.
2166         * benchtests/bench-memrchr.c: New file.
2167
2168 2013-09-06   Will Newton  <will.newton@linaro.org>
2169
2170         * benchtests/Makefile (string-bench): Add memcpy.
2171
2172 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
2173             Cong Wang  <amwang@redhat.com>
2174
2175         * sysdeps/unix/sysv/linux/bits/in.h
2176         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2177         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2178         before __USE_KERNEL_IPV6_DEFS uses.
2179         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2180         IPPROTO_BEETPH.
2181         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2182         sockaddr_in6, or ipv6_mreq.
2183
2184 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2185
2186         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2187         memory access for final bytes in some large inputs.
2188         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2189
2190 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2191
2192         * string/test-memrchr.c: New file.
2193         * string/test-memrchr-ifunc.c: New file.
2194         * string/Makefile: Add new memrchr testcase.
2195
2196 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
2197
2198         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2199         fanotify_init returns EPERM.
2200
2201 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2202
2203         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2204         errors.
2205         (top level): Treat second token from macro or constant entries for
2206         allowed headers as allowed.
2207         * include/complex.h: Condition internal declarations on
2208         [!_ISOMAC].
2209         * include/fenv.h: Condition include of <stdbool.h> and internal
2210         declarations on [!_ISOMAC].
2211
2212 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
2213
2214         [BZ #15923]
2215         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2216
2217 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
2218
2219         * configure.in (--enable-versioning): Remove configure option.
2220         (libc_cv_asm_symver_directive): Remove configure test.
2221         (libc_cv_ld_version_script_option): Likewise.
2222         (VERSIONING): Remove variable and AC_SUBST.
2223         (DO_VERSIONING): Remove AC_DEFINE.
2224         * configure: Regenerated.
2225         * config.h.in (DO_VERSIONING): Remove macro.
2226         * Makerules [$(versioning) = yes]: Change conditionals to
2227         [$(build-shared) = yes].
2228         * config.make.in (versioning): Remove variable.
2229         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2230         [$(build-shared) = yes].
2231         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2232         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2233         * elf/Makefile [$(versioning) = yes]: Change conditionals to
2234         [$(build-shared) = yes].
2235         * extra-lib.mk [$(versioning) = yes]: Likewise.
2236         * hurd/Makefile [$(versioning) = yes]: Likewise.
2237         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2238         [SHARED].
2239         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2240         [SHARED].
2241         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2242         [SHARED && !NO_HIDDEN].
2243         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2244         [SHARED].
2245         [SHARED && DO_VERSIONING]: Likewise..
2246         * libio/Makefile [$(versioning) = yes]: Change conditionals to
2247         [$(build-shared) = yes].
2248         * manual/install.texi (--disable-versioning): Remove
2249         documentation.
2250         * INSTALL: Regenerated.
2251         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2252         to [SHARED].
2253         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2254         [$(build-shared) = yes].
2255         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2256         * sysdeps/i386/i686/multiarch/strstr-c.c
2257         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2258         [SHARED && !NO_HIDDEN].
2259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2260         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2261         * sysdeps/powerpc/powerpc32/dl-machine.c
2262         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2263         * sysdeps/powerpc/powerpc32/sysdep.h
2264         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2265         to [SHARED && PIC && !NO_HIDDEN].
2266         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2267         conditional to [SHARED].
2268
2269 2013-09-04   Will Newton  <will.newton@linaro.org>
2270
2271         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2272         * benchtests/bench-string.h: Include bench-timing.h instead
2273         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2274         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2275         call to HP_TIMING_DIFF_INIT.
2276         * benchtests/bench-memccpy.c: Use bench-timing.h macros
2277         instead of hp-timing.h macros.
2278         * benchtests/bench-memchr.c: Likewise.
2279         * benchtests/bench-memcmp.c: Likewise.
2280         * benchtests/bench-memcpy.c: Likewise.
2281         * benchtests/bench-memmem.c: Likewise.
2282         * benchtests/bench-memmove.c: Likewise.
2283         * benchtests/bench-memset.c: Likewise.
2284         * benchtests/bench-rawmemchr.c: Likewise.
2285         * benchtests/bench-strcasecmp.c: Likewise.
2286         * benchtests/bench-strcasestr.c: Likewise.
2287         * benchtests/bench-strcat.c: Likewise.
2288         * benchtests/bench-strchr.c: Likewise.
2289         * benchtests/bench-strcmp.c: Likewise.
2290         * benchtests/bench-strcpy.c: Likewise.
2291         * benchtests/bench-strcpy_chk.c: Likewise.
2292         * benchtests/bench-strlen.c: Likewise.
2293         * benchtests/bench-strncasecmp.c: Likewise.
2294         * benchtests/bench-strncat.c: Likewise.
2295         * benchtests/bench-strncmp.c: Likewise.
2296         * benchtests/bench-strncpy.c: Likewise.
2297         * benchtests/bench-strnlen.c: Likewise.
2298         * benchtests/bench-strpbrk.c: Likewise.
2299         * benchtests/bench-strrchr.c: Likewise.
2300         * benchtests/bench-strspn.c: Likewise.
2301         * benchtests/bench-strstr.c: Likewise.
2302
2303 2013-09-04  Will Newton  <will.newton@linaro.org>
2304
2305         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2306
2307 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
2308
2309         [BZ #15427]
2310         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2311         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2312         * math/libm-test.inc (lgamma_test_data): Add more tests.
2313         * sysdeps/i386/fpu/libm-test-ulps: Update.
2314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315
2316 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
2317
2318         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2319         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2320         Add ifunc.
2321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2322         Add strcmp-sse2-unaligned
2323         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2324
2325 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2326
2327         * Versions.def (libc): Add GLIBC_2.19.
2328
2329 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
2330
2331         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2332         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2333
2334 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
2335
2336         [BZ #14155]
2337         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2338         intermediate calculations in recurrence.
2339         (__ieee754_ynf): Likewise.
2340         * math/libm-test.inc (jn_test_data): Do not allow spurious
2341         underflow exception.  Add more tests.
2342         (yn_test_data): Add more tests.
2343         * sysdeps/i386/fpu/libm-test-ulps: Update.
2344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2345
2346 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
2347
2348         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2349
2350 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2351
2352         * csu/init-first.c: Fix then/than typos.
2353         * locale/programs/ld-collate.c: Likewise.
2354         * locale/programs/linereader.h: Likewise.
2355         * manual/charset.texi: Likewise.
2356         * manual/filesys.texi: Likewise.
2357         * manual/stdio.texi: Likewise.
2358         * manual/string.texi: Likewise.
2359         * stdlib/fmtmsg.c: Likewise.
2360         * sysdeps/i386/stpncpy.S: Likewise.
2361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2362         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2363         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2364         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2365
2366 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
2367
2368         * elf/dl-open.c: Fix typos.
2369         * iconvdata/gbbig5.c: Likewise.
2370         * iconvdata/iso-2022-jp.c: Likewise.
2371         * iconv/gconv_int.h: Likewise.
2372         * iconv/loop.c: Likewise.
2373         * nis/rpcsvc/nis.h: Likewise.
2374         * resolv/ns_name.c: Likewise.
2375         * stdio-common/vfscanf.c: Likewise.
2376         * streams/stropts.h: Likewise.
2377         * sunrpc/rpc_thread.c: Likewise.
2378         * sysdeps/i386/strpbrk.S: Likewise.
2379         * sysdeps/ieee754/k_standard.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2382         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2383         * sysdeps/mach/hurd/profil.c: Likewise.
2384         * sysdeps/s390/dl-procinfo.h: Likewise.
2385         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2386         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2388         * sysdeps/x86_64/dl-trampoline.S: Likewise.
2389         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2390
2391 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
2392
2393         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2395
2396 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
2397
2398         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2399         aix specific files.
2400         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2401         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2405         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2406         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2407         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2408
2409 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2410             Roland McGrath  <roland@hack.frob.com>
2411
2412         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2413         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2414
2415 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2416
2417         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2418         __executable_start symbol instead of _start.
2419
2420 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
2421
2422         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2423         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2424         Move macros to...
2425         * sysdeps/gnu/ldsodefs.h: ... this new file.
2426
2427         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2428         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2429         instead of ELFOSABI_LINUX.
2430
2431         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2432         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2433         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2434         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2435         Likewise.
2436         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2437         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2438         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2439         Likewise.
2440         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2441         (ibm_extended_long_double): Add ieee_nan member.
2442         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2443         (do_test): New function.
2444
2445         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2446         TEST_TRUNC.
2447         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2448         functions, renamed from truncdfsf_test, trunctfsf_test,
2449         trunctfdf_test.
2450         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2451         functions.
2452         (do_test): Run all these.
2453
2454 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
2455
2456         * argp/argp-help.c: Fix typos.
2457         * argp/argp-parse.c: Likewise.
2458         * debug/backtracesyms.c: Likewise.
2459         * elf/elf.h: Likewise.
2460         * malloc/malloc.c: Likewise.
2461         * nis/nis_print.c: Likewise.
2462         * resolv/res_comp.c: Likewise.
2463         * stdlib/stdlib.h: Likewise.
2464         * sunrpc/clnt_tcp.c: Likewise.
2465         * sunrpc/clnt_udp.c: Likewise.
2466         * sunrpc/clnt_unix.c: Likewise.
2467         * sysdeps/unix/bsd/ptsname.c: Likewise.
2468         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2473         Likewise.
2474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2475         Likewise.
2476         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2477
2478 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2479
2480         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2482
2483 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
2484
2485         [BZ #15897]
2486         * dlfcn/Makefile (tests): Add bug-dl-leaf.
2487         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2488         ($(objpfx)bug-dl-leaf): New rule.
2489         ($(objpfx)bug-dl-leaf.so): Likewise.
2490         ($(objpfx)bug-dl-leaf.out): Likewise.
2491         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2492         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2493         * dlfcn/bug-dl-leaf.c: New test.
2494         * dlfcn/bug-dl-leaf-lib.c: Likewise.
2495         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2496         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2497         (dlclose): Likewise.
2498         (dlmopen): Likewise.
2499
2500 2013-08-27  Roland McGrath  <roland@hack.frob.com>
2501
2502         * include/netdb.h [!_ISOMAC]:
2503         Don't include <tls.h>.
2504         (h_errno, __libc_h_errno): Move declaration and macros out of
2505         [_LIBC_REENTRANT].
2506
2507         * include/resolv.h [_RESOLV_H_]:
2508         Don't include <tls.h>.
2509         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2510         * resolv/res_libc.c: Don't include <tls.h>.
2511         (_res): Use __attribute__ ((nocommon)) in place of
2512         __attribute__ ((section (".bss"))).
2513
2514         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2515         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2516
2517         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2518
2519         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2520         only under [SIOCGIFCONF && SIOCGIFNETMASK].
2521
2522         * resolv/res_mkquery.c: Include <sys/time.h>.
2523
2524         * inet/ifreq.c: Moved to ...
2525         * sysdeps/unix/ifreq.c: ... here.
2526         * inet/ifreq.c: New file, true stub version.
2527
2528         * socket/sa_len.c: New file.
2529         * socket/Makefile (aux): Add it.
2530         * sysdeps/unix/sysv/linux/Makefile
2531         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2532         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2533         and #include <socket/sa_len.c>.
2534         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2535         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2536
2537         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2538         * bits/socket.h: ... here.
2539
2540         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2541         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2542         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2543
2544 2013-08-27  Andreas Schwab  <schwab@suse.de>
2545
2546         [BZ #15736]
2547         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2548         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2549         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2550         * string/test-strcasecmp.c (test_main): Run tests in several
2551         locales.
2552         * string/test-strncasecmp.c (test_main): Likewise.
2553
2554         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2555         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2556         to __strcasecmp_nonascii and __strncasecmp_nonascii.
2557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2558         (__strncasecmp_ssse3) [PIC]: Likewise.
2559
2560 2013-08-26  Roland McGrath  <roland@hack.frob.com>
2561
2562         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2563
2564         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2565         instead of explicitly declaring xdecrypt.
2566         * nis/nss_nis/nis-publickey.c: Likewise.
2567
2568 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2569
2570         [BZ #15890]
2571         * nscd/aicache.c: Include res_hconf.h.
2572         (addhstaiX): Initialize res_hconf.
2573
2574 2013-08-26  Andreas Schwab  <schwab@suse.de>
2575
2576         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2577         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2578
2579 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2580
2581         * nscd/aicache.c (addhstaiX): Fix indentation.
2582
2583 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
2584
2585         * configure.ac: Quote $build_pt_chown test.
2586         * configure: Regenerated.
2587
2588 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
2589
2590         [BZ #15532]
2591         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2592         * math/s_cexpf.c (__cexpf): Likewise.
2593         * math/s_cexpl.c (__cexpl): Likewise.
2594         * math/libm-test.inc (cexp_test_data): Correct expected return
2595         value for NaN + i0.  Add another test.
2596
2597 2013-08-22  David S. Miller  <davem@davemloft.net>
2598
2599         * po/ca.po: Update Catalan translation from translation project.
2600         * po/uk.po: Add Ukrainian translations from translation project.
2601
2602 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
2603
2604         [BZ #15797]
2605         * math/s_fdim.c (__fdim): Check for infinite arguments if result
2606         is infinite, not alongside NaN test.
2607         * math/s_fdimf.c (__fdimf): Likewise.
2608         * math/s_fdiml.c (__fdiml): Likewise.
2609         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
2610         errno is unchanged.
2611
2612 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
2613
2614         * argp/argp-help.c: Fix typos.
2615         * crypt/speeds.c: Likewise.
2616         * csu/check_fds.c: Likewise.
2617         * elf/dl-load.c: Likewise.
2618         * elf/dl-open.c: Likewise.
2619         * elf/reldep3.c: Likewise.
2620         * elf/reldep.c: Likewise.
2621         * elf/sprof.c: Likewise.
2622         * iconv/iconv_charmap.c: Likewise.
2623         * iconv/skeleton.c: Likewise.
2624         * iconv/strtab.c: Likewise.
2625         * io/lockf64.c: Likewise.
2626         * libio/libioP.h: Likewise.
2627         * resolv/gai_notify.c: Likewise.
2628         * resolv/ns_name.c: Likewise.
2629         * resolv/ns_samedomain.c: Likewise.
2630         * resolv/res_send.c: Likewise.
2631         * stdlib/random.c: Likewise.
2632         * sunrpc/rpc/xdr.h: Likewise.
2633         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2634         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2635         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2636         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2637         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2638         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2639         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2640         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2641         * sysdeps/mach/hurd/check_fds.c: Likewise.
2642         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2643         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2646         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2647         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2648         * sysdeps/pthread/aio_notify.c: Likewise.
2649         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2650         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2651         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2652         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2653         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2654
2655 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2656
2657         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2658         version if bit_Slow_SSE4_2 is set.
2659         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2660         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2661
2662 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2663
2664         [BZ #15867]
2665         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2666         trampoline stack frame information.
2667         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2668         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2669         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2670         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2671         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2672         * sysdeps/unix/sysv/linux/powerpc/init-first.c
2673         (_libc_vdso_platform_setup): Initialize the signal trampolines.
2674         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2675         sa_flags value.
2676         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2677         interrupting a syscall and set with option SA_SIGINFO.
2678
2679 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2680
2681         [BZ #15531]
2682         * math/s_cproj.c (__cproj): Only return an infinity if one part of
2683         argument is infinite.
2684         * math/s_cprojf.c (__cprojf): Likewise.
2685         * math/s_cprojl.c (__cprojl): Likewise.
2686         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2687         * math/libm-test.inc (cproj_test_data): Add more tests.
2688
2689         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2690
2691         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2692         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2693         size.  Use __ffs to determine corresponding shift.
2694
2695 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
2696             Roland McGrath  <roland@hack.frob.com>
2697
2698         * Makefile (INSTALL): Remove trailing blank lines from output of
2699         makeinfo.
2700
2701 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2702
2703         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2704         Align 32 bit compat elf_greg to 8 bytes.
2705
2706 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2707
2708         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2709
2710 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2711
2712         * string/strcoll_l.c (coll_seq): New structure.
2713         (get_next_seq_cached): New function.
2714         (get_next_seq): New function.
2715         (do_compare): New function.
2716         (STRCOLL): Use GNU style definition.  Simplify implementation
2717         by using get_next_seq, get_next_seq_cached and do_compare.
2718
2719 2013-08-16  Florian Weimer  <fweimer@redhat.com>
2720
2721         [BZ #14699]
2722         CVE-2013-4237
2723         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2724         member.
2725         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2726         member.
2727         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2728         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2729         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
2730         conditional.
2731         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2732         GETDENTS_64BIT_ALIGNED.
2733         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2734         * manual/filesys.texi (Reading/Closing Directory): Document
2735         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
2736         strongly.
2737         * manual/conf.texi (Limits for Files): Add portability note to
2738         NAME_MAX, PATH_MAX.
2739         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2740
2741 2013-08-13  Andreas Schwab  <schwab@suse.de>
2742
2743         [BZ #15749]
2744         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2745         of fabs.
2746         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2747         LDBL_MAX_EXP >= 16384]: Add tests for it.
2748
2749 2013-08-12  David S. Miller  <davem@davemloft.net>
2750
2751         * version.h (RELEASE): Set to "development".
2752         (VERSION): Set to "2.18.90".
2753         * NEWS: Add 2.19 section.
2754
2755 2013-08-03  David S. Miller  <davem@davemloft.net>
2756
2757         * po/ko.po: Update Korean translation from translation project.
2758
2759 2013-08-01  David S. Miller  <davem@davemloft.net>
2760
2761         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
2762         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2763         Bilka.
2764
2765 2013-07-30  David S. Miller  <davem@davemloft.net>
2766
2767         * po/fr.po: Update French translation from translation project.
2768
2769 2013-07-28  David S. Miller  <davem@davemloft.net>
2770
2771         * po/cs.po: Update Czech translation from translation project.
2772
2773         * po/sv.po: Update Swedish translation from translation project.
2774
2775 2013-07-27  David S. Miller  <davem@davemloft.net>
2776
2777         * po/eo.po: Update Esperanto translation from translation project.
2778
2779         * po/vi.po: Update Vietnamese translation from translation project.
2780
2781         * po/de.po: Update German translation from translation project.
2782
2783 2013-07-26  David S. Miller  <davem@davemloft.net>
2784
2785         * po/bg.po: Update Bulgarian translation from translation project.
2786
2787         * po/nl.po: Update Dutch translation from translation project.
2788         * po/pl.po: Update Polish translation from translation project.
2789         * po/ru.po: Update Russian translation from translation project.
2790
2791 2013-07-24  David S. Miller  <davem@davemloft.net>
2792
2793         * po/libc.pot: Update.
2794
2795 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2796
2797         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2798         variable page size.
2799         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2800         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2801         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2802
2803 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2804
2805         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2806
2807 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2808             Andreas Schwab  <schwab@suse.de>
2809             Roland McGrath  <roland@hack.frob.com>
2810             Joseph Myers  <joseph@codesourcery.com>
2811             Carlos O'Donell  <carlos@redhat.com>
2812
2813         [BZ #15755]
2814         * config.h.in: Define HAVE_PT_CHOWN.
2815         * config.make.in (build-pt-chown): New variable.
2816         * configure.in (--enable-pt_chown): New configure option.
2817         * configure: Regenerate.
2818         * login/Makefile: Include Makeconfig.  Build pt_chown only if
2819         build-pt-chown is enabled.
2820         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2821         pt_chown to fix pty ownership.
2822         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2823         CLOSE_ALL_FDS.
2824         * manual/install.texi (Configuring and compiling): Mention
2825         --enable-pt_chown. Add @findex for grantpt.
2826         * INSTALL: Regenerate.
2827
2828 2013-07-20  David S. Miller  <davem@davemloft.net>
2829
2830         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2831         difference between 32-bit and 64-bit.
2832
2833 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
2834
2835         [BZ #15711]
2836         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2837         Avoid system header dependency with -ffreestanding.
2838         ($(objpfx)bits/syscall%d): Likewise.
2839
2840 2013-07-13  David S. Miller  <davem@davemloft.net>
2841
2842         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2843         underflows from atanl/atan2l due to bug 15319.
2844         (casinh_test_data): Likewise.
2845
2846 2013-07-07  David S. Miller  <davem@davemloft.net>
2847
2848         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2849
2850 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
2851
2852         * sysdeps/i386/fpu/libm-test-ulps: Update.
2853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2854
2855 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2856
2857         * configure.in (--enable-lock-elision): Fix message text.
2858         * INSTALL: Regenerate.
2859         * configure: Regenerate.
2860
2861 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2862
2863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2864
2865 2013-07-03  Andreas Jaeger  <aj@suse.de>
2866
2867         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2868         define.
2869         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2870         (ptrace_peeksiginfo_args): Add.
2871         (__ptrace_peeksiginfo_flags): Add.
2872         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2873         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2874         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2875
2876 2013-07-03  Allan McRae  <allan@archlinux.org>
2877
2878         * sysdeps/i386/fpu/libm-test-ulps: Update.
2879
2880 2013-07-02  David S. Miller  <davem@davemloft.net>
2881
2882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2883
2884 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
2885
2886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2887
2888 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2889
2890         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2892
2893 2013-07-02  Andi Kleen <ak@linux.intel.com>
2894
2895         * config.h.in (ENABLE_LOCK_ELISION): Add.
2896         * configure.in (--enable-lock-elision): Add option.
2897         * manual/install.texi: Document --enable lock elision.
2898         * configure: Regenerate
2899         * INSTALL: Regenerate.
2900
2901 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
2902
2903         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2904         SSE4.2 strcasecmp for libc.a.
2905         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2906
2907 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
2908
2909         [BZ #13304]
2910         * soft-fp/op-common.h (_FP_FMA): New macro.
2911         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2912         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
2913         (_FP_MUL_MEAT_1_imm): ... here.
2914         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
2915         (_FP_MUL_MEAT_1_wide): ... here.
2916         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
2917         (_FP_MUL_MEAT_1_hard): ... here.
2918         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2919         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
2920         (_FP_MUL_MEAT_2_wide): ... here.
2921         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
2922         (_FP_MUL_MEAT_2_wide_3mul): ... here.
2923         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
2924         (_FP_MUL_MEAT_2_gmp): ... here.
2925         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2926         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
2927         (_FP_MUL_MEAT_4_wide): ... here.
2928         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
2929         (_FP_MUL_MEAT_4_gmp): ... here.
2930         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2931         (_FP_WFRACBITS_DW_S): Likewise.
2932         (_FP_WFRACXBITS_DW_S): Likewise.
2933         (_FP_HIGHBIT_DW_S): Likewise.
2934         (FP_FMA_S): Likewise.
2935         (_FP_FRAC_HIGH_DW_S): Likewise.
2936         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2937         (_FP_WFRACBITS_DW_D): Likewise.
2938         (_FP_WFRACXBITS_DW_D): Likewise.
2939         (_FP_HIGHBIT_DW_D): Likewise.
2940         (FP_FMA_D): Likewise.
2941         (_FP_FRAC_HIGH_DW_D): Likewise.
2942         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2943         (_FP_WFRACBITS_DW_E): Likewise.
2944         (_FP_WFRACXBITS_DW_E): Likewise.
2945         (_FP_HIGHBIT_DW_E): Likewise.
2946         (FP_FMA_E): Likewise.
2947         (_FP_FRAC_HIGH_DW_E): Likewise.
2948         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2949         (_FP_WFRACBITS_DW_Q): Likewise.
2950         (_FP_WFRACXBITS_DW_Q): Likewise.
2951         (_FP_HIGHBIT_DW_Q): Likewise.
2952         (FP_FMA_Q): Likewise.
2953         (_FP_FRAC_HIGH_DW_Q): Likewise.
2954         * soft-fp/fmasf4.c: New file.
2955         * soft-fp/fmadf4.c: Likewise.
2956         * soft-fp/fmatf4.c: Likewise.
2957
2958 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2959
2960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2961         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2962         Silvermont.
2963         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2964         macro.
2965         (index_Slow_SSE4_2): Likewise.
2966         (index_Prefer_PMINUB_for_stringop): Likewise.
2967         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2968         bit_Slow_SSE4_2 is set.
2969         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2970         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2971
2972 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2973
2974         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2975         rtld_global._dl_hwcap2.
2976         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2977         POWER8.
2978         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2979         POWER8 feature descriptions defined in _dl_hwcap2.
2980         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2981         string handling for POWER8 feature bits.
2982         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2983         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2984         _dl_powerpc_cap_flags.
2985         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2986         * sysdeps/powerpc/rtld-global-offsets.sym
2987         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2988         _dl_hwcap2 in the rtld_global_ro structure.
2989
2990 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2991
2992         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2993         hardware capabilities in support of AT_HWCAP2.
2994         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2995         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2996         GLRO(dl_hwcap2).
2997         (_dl_show_auxv): Add support for calling _dl_procinfo to display
2998         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
2999         explicitly the unknown a_type display mechanism is used.
3000         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3001         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3002         struct member.
3003         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3004         to macro prototype for AT_HWCAP2 support.
3005         * sysdeps/i386/dl-procinfo.h: Likewise.
3006         * sysdeps/s390/dl-procinfo.h: Likewise.
3007         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3008         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
3009         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
3010         return -1 for unknown a_type display fallback.
3011         * sysdeps/sparc/dl-procinfo.h: Likewise.
3012         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3013         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3014
3015 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
3016
3017         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3018         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3019
3020 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
3021
3022         [BZ #12492]
3023         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3024         mprotect making __stack_prot writable.
3025
3026 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
3027             Joseph Myers  <joseph@codesourcery.com>
3028
3029         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3030         as being properly aligned.
3031
3032 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
3033
3034         * dlfcn/modstatic5.c: New file.
3035         * dlfcn/tststatic5.c: New file.
3036         * dlfcn/Makefile (tests): Add tststatic5.
3037         (tests-static): Likewise.
3038         (modules-names): Add modstatic5.
3039         (tststatic5-ENV): New variable.
3040         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3041
3042         [BZ #15022]
3043         * elf/dl-support.c (_dl_main_map): New variable.
3044         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3045         (_dl_nns, _dl_load_adds): Set to 1.
3046         (_dl_initial_searchlist): Refer to _dl_main_map.
3047         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3048         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3049         call to _dl_get_origin.
3050         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3051         around call_map.
3052         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3053         * dlfcn/modstatic3.c: New file.
3054         * dlfcn/tststatic3.c: New file.
3055         * dlfcn/tststatic4.c: New file.
3056         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3057         (tests-static): Likewise.
3058         (modules-names): Add modstatic3.
3059         (tststatic3-ENV, tststatic4-ENV): New variables.
3060         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3061         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3062
3063 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
3064
3065         * configure.in (CC): Require GCC version 4.4 or later.
3066         * configure: Regenerated.
3067         * manual/install.texi (Tools for Compilation): Update GCC version
3068         requirement.
3069         * INSTALL: Regenerated.
3070
3071 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3072
3073         [BZ #15674]
3074         * string/test-memcmp.c (check2): New.
3075         (main): Call check2.
3076
3077         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3078
3079 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
3080
3081         [BZ #15022]
3082         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3083         over to...
3084         (dl_open_worker) [!SHARED]: ... here.
3085
3086 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3087
3088         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3089
3090 2013-06-25  Richard Henderson  <rth@redhat.com>
3091
3092         * locale/programs/locarchive.c: Include <libc-internal.h>
3093
3094 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
3095
3096         * manual/texinfo.tex: Update to version 2013-06-21.17, with
3097         trailing whitespace removed.
3098
3099 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3100
3101         [BZ #10283]
3102         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3103         * locale/programs/locarchive.c: Include libc-mmap.h.
3104         (prepare_address_space): Take two new outputs (the mmap base and len).
3105         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
3106         values.
3107         (create_archive): Declare new mmap base and len values for
3108         prepare_address_space, and store the result in ah.
3109         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3110         (enlarge_archive): If ah->mmap_base is not NULL, use that and
3111         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3112         Declare new mmap base and len values for
3113         prepare_address_space, and store the result in new_ah.
3114         (open_archive): Declare new mmap base and len values for
3115         prepare_address_space, and store the result in ah.
3116         (close_archive): If ah->mmap_base is not NULL, use that and
3117         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3118         * sysdeps/generic/libc-mmap.h: New file.
3119
3120 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
3121
3122         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3123         (ALIGN_UP): Likewise.
3124         (PTR_ALIGN_DOWN): Likewise.
3125         (PTR_ALIGN_UP): Likewise.
3126
3127 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3128
3129         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3130         entry mapped to PPC_PLATFORM_POWER8.
3131         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3132         POWER8.
3133         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3134         (_dl_string_platform): Add case for exporting platform position for
3135         POWER8.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3137         search path to sysdeps/powerpc/powerpc32/power8 directory.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3139         search path to sysdeps/powerpc/powerpc64/power8 directory.
3140         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3141         power7 directories.
3142         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3143         power7 directories.
3144
3145 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3146
3147         * INSTALL: Regenerate.
3148
3149         * nscd/connections.c (nscd_init): Fix comment.
3150
3151 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
3152
3153         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3154
3155         [BZ #15667]
3156         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3157         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3158
3159 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3160
3161         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3162         DL_DST_REQ_STATIC.
3163         (DL_DST_REQ_STATIC): Remove macro.
3164
3165 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
3166
3167         [BZ #7006]
3168         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3169         with a shift of 0 bits.
3170
3171 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
3172
3173         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3174         $(tststatic-ENV).
3175
3176 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3177
3178         [BZ #15655]
3179         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3180
3181 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3182
3183         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3184         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3185         accepts -fno-tree-loop-distribute-patterns.
3186         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3187         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3188         recursive call.
3189         * string/memset.c (memset): Likewise.
3190         * string/test-memmove.c (simple_memmove): Disable loop transformation
3191         to library calls.
3192         * string/test-memset.c (simple_memset): Likewise.
3193         * benchtests/bench-memmove.c (simple_memmove): Likewise.
3194         * benchtests/bench-memset.c (simple_memset): Likewise.
3195         * configure: Regenerated.
3196
3197 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
3198
3199         * math/test-misc.c (main): Ignore fesetround failure when failures
3200         of subsequent rounding tests would be ignored.
3201
3202         [BZ #15654]
3203         * math/fedisblxcpt.c (fedisableexcept): Return 0.
3204         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3205         * math/fegetenv.c (__fegetenv): Return 0.
3206         * math/fegetexcept.c (fegetexcept): Return 0.
3207         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3208         FE_TONEAREST.
3209         * math/feholdexcpt.c (feholdexcept): Return 0.
3210         * math/fesetenv.c (__fesetenv): Return 0.
3211         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3212         argument FE_TONEAREST.
3213         * math/feupdateenv.c (__feupdateenv): Return 0.
3214         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3215
3216 2013-06-18  Roland McGrath  <roland@hack.frob.com>
3217
3218         * elf/rtld-Rules (rtld-compile-command.S): New variable.
3219         (rtld-compile-command.s, rtld-compile-command.c): New variables.
3220         ($(objpfx)rtld-%.os rules): Use them.
3221
3222 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3223
3224         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3225         fields.
3226
3227 2013-06-17  Roland McGrath  <roland@hack.frob.com>
3228
3229         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3230         length of target pattern, then descending length of dependency pattern.
3231         * configure.in (AWK): Require gawk 3.1.2 or newer.
3232         * manual/install.texi (Tools for Compilation): Say that we do.
3233         * configure: Regenerated.
3234
3235         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3236         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3237         * scripts/sysd-rules.awk: ... this new script.
3238         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3239         than a glob-style pattern.
3240
3241 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
3242
3243         * math/test-misc.c (main): Do not treat incorrectly rounded
3244         conversions as failure unless ROUNDING_TESTS passes.
3245
3246 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
3247
3248         [BZ #15631]
3249         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3250         restore exception state around main square root computation, then
3251         check for inexactness explicitly.
3252
3253         * math/libm-test.inc (fma_test_data): Add another test.
3254
3255 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3256
3257         * manual/threads.texi (Non-POSIX Extensions): New document
3258         node.  Document pthread_getattr_default_np and
3259         pthread_setattr_default_np.
3260
3261         * Versions.def (libpthread): Add GLIBC_2.18.
3262         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3278         Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3280         Likewise.
3281
3282 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3283
3284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3285         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3286
3287 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3288             H.J. Lu  <hjl.tools@gmail.com>
3289
3290         [BZ #15627]
3291         * sysdeps/x86_64/rtld-memset.c: Remove file.
3292         * sysdeps/x86_64/rtld-memset.S: New file.
3293
3294 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
3295
3296         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3297         (test_in_one_mode): Take arguments for whether the rounding mode
3298         is supported for each floating-point type.
3299         (do_test): Pass new arguments to test_in_one_mode using
3300         ROUNDING_TESTS.
3301
3302 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3303
3304         * posix/tst-waitid.c (do_test): Distinguish different instances of
3305         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
3306         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3307         before entering the kernel for waitpid.
3308
3309 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3310
3311         * NEWS: Fix note on clock function precision.  Text by Roland
3312         McGrath.
3313
3314 2013-06-13  Roland McGrath  <roland@hack.frob.com>
3315
3316         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3317         it into place only when and if the sanity check passes.
3318
3319 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
3320
3321         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3322         output for whether conversion result is exact.  Take argument
3323         indicating whether type is IBM long double.
3324         (round_for_all): Change need_exact field to ibm_ld.
3325         * stdlib/tst-strtod-round.c (struct exactness): New type.
3326         (struct test): Change bool ld_ok field to struct exactness exact.
3327         (TEST): Update all definitions for change to field.
3328         (tests): Regenerate array contents.
3329         (test_in_one_mode): Take pointer to new field instead of old ld_ok
3330         field value.  Check for IBM long double here.
3331         (do_test): Update calls to test_in_one_mode.
3332
3333 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3334
3335         [BZ #12515]
3336         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3337         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3338
3339 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3340
3341         [BZ #15605]
3342         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3343         generated by the compiler on loop optimizations.
3344         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3345         general definitions.
3346
3347 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
3348
3349         * math/bug-nextafter.c: Include <math-tests.h>.
3350         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3351         the relevant type.
3352         * math/bug-nexttoward.c: Include <math-tests.h>.
3353         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3354         the relevant type.
3355         * math/test-misc.c: Include <math-tests.h>.
3356         (main): Only test for exceptions if EXCEPTION_TESTS is true for
3357         the relevant type.
3358
3359 2013-06-12  Andreas Jaeger  <aj@suse.de>
3360
3361         * po/ia.po: Update Interlingua translation from translation
3362         project.
3363
3364 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3365
3366         * include/fenv.h: Include stdbool.h.
3367         (struct rm_ctx): New structure.
3368         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3369         Define macro.
3370         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3371         (SET_RESTORE_ROUNDF): Likewise.
3372         (SET_RESTORE_ROUNDL): Likewise.
3373         (SET_RESTORE_ROUND_NOEX): Likewise.
3374         (SET_RESTORE_ROUND_NOEXF): Likewise.
3375         (SET_RESTORE_ROUND_NOEXL): Likewise.
3376         (SET_RESTORE_ROUND_53BIT): Likewise.
3377         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3378         (libc_feresetround_noexf_ctx): Likewise.
3379         (libc_feresetround_noexl_ctx): Likewise.
3380         (libc_feholdsetround_53bit_ctx): Likewise.
3381         (libc_feresetround_53bit_ctx): Likewise.
3382         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3383         (libc_feholdexcept_setround_sse_ctx): New function.
3384         (libc_fesetenv_sse_ctx): Likewise.
3385         (libc_feupdateenv_sse_ctx): Likewise.
3386         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3387         (libc_feholdexcept_setround_387_ctx): Likewise.
3388         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3389         (libc_feholdsetround_387_prec_ctx): Likewise.
3390         (libc_feholdsetround_387_ctx): Likewise.
3391         (libc_feholdsetround_387_53bit_ctx): Likewise.
3392         (libc_feholdsetround_sse_ctx): Likewise.
3393         (libc_feresetround_sse_ctx): Likewise.
3394         (libc_feresetround_387_ctx): Likewise.
3395         (libc_feupdateenv_387_ctx): Likewise.
3396         (libc_feholdexcept_setroundf_ctx): Define macro.
3397         (libc_fesetenvf_ctx): Likewise.
3398         (libc_feupdateenvf_ctx): Likewise.
3399         (libc_feholdsetroundf_ctx): Likewise.
3400         (libc_feresetroundf_ctx): Likewise.
3401         (libc_feholdexcept_setround_ctx): Likewise.
3402         (libc_fesetenv_ctx): Likewise.
3403         (libc_feupdateenv_ctx): Likewise.
3404         (libc_feholdsetround_ctx): Likewise.
3405         (libc_feresetround_ctx): Likewise.
3406         (libc_feholdexcept_setroundl_ctx): Likewise.
3407         (libc_feupdateenvl_ctx): Likewise.
3408         (libc_feholdsetroundl_ctx): Likewise.
3409         (libc_feresetroundl_ctx): Likewise.
3410         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3411         (libc_feresetround_53bit_ctx): Likewise.
3412
3413 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3414
3415         * locale/iso-639.def: Convert to UTF-8.
3416
3417 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
3418
3419         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3420         (EXCEPTION_TESTS_double): Likewise.
3421         (EXCEPTION_TESTS_long_double): Likewise.
3422         (EXCEPTION_TESTS): Likewise.
3423         * math/libm-test.inc (test_exceptions): Only test exceptions if
3424         EXCEPTION_TESTS (FLOAT).
3425
3426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3427
3428         * benchtests/Makefile (string-bench): Add strcpy_chk and
3429         stpcpy_chk.
3430         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3431         * benchtests/bench-stpcpy_chk.c: New file.
3432         * benchtests/bench-strcpy_chk-ifunc.c: New file.
3433         * benchtests/bench-strcpy_chk.c: New file.
3434         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3435         code.
3436         (do_test): Likewise.
3437
3438 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3439
3440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3441         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3442         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3443         with tabs where appropriate.
3444         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3445         dl-procinfo.h.
3446         [PPC_PLATFORM_PPC440]: Likewise.
3447         [PPC_PLATFORM_PPC464]: Likewise.
3448         [PPC_PLATFORM_PPC476]: Likewise.
3449         (_dl_string_platform): Add support for detecting ppc405, ppc440,
3450         ppc464, and ppc476 platform strings merging from ports/
3451         dl-procinfo.h.
3452
3453 2013-06-11  Andreas Schwab  <schwab@suse.de>
3454
3455         [BZ #14991]
3456         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3457         (from_ucs4_idx): Regenerate.
3458         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3459         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3460         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3461         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3462         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3463         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3464         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3465         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3466         from FROM_LOOP and TO_LOOP specific macros.
3467         (BODY): Handle combining characters.
3468         * iconvdata/BIG5HKSCS.irreversible: Update.
3469         * iconvdata/BIG5HKSCS.precomposed: New file.
3470         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3471         characters.
3472         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3473
3474 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3475
3476         * include/sys/time.h: Fix indentation and add copyright header.
3477
3478         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3479         (do_test): Likewise.
3480         * string/test-memchr.c (do_one_test): Likewise.
3481         (do_test): Likewise.
3482         * string/test-memcmp.c (do_one_test): Likewise.
3483         (do_test): Likewise.
3484         * string/test-memcpy.c (do_one_test): Likewise.
3485         (do_test): Likewise.
3486         * string/test-memmem.c (do_one_test): Likewise.
3487         (do_test): Likewise.
3488         (do_random_tests): Likewise.
3489         * string/test-memmove.c (do_one_test): Likewise.
3490         (do_test): Likewise.
3491         * string/test-memset.c (do_one_test): Likewise.
3492         (do_test): Likewise.
3493         * string/test-rawmemchr.c (do_one_test): Likewise.
3494         (do_test): Likewise.
3495         * string/test-strcasecmp.c (do_one_test): Likewise.
3496         (do_test): Likewise.
3497         * string/test-strcasestr.c (do_one_test): Likewise.
3498         (do_test): Likewise.
3499         * string/test-strcat.c (do_one_test): Likewise.
3500         (do_test): Likewise.
3501         * string/test-strchr.c (do_one_test): Likewise.
3502         (do_test): Likewise.
3503         * string/test-strcmp.c (do_one_test): Likewise.
3504         (do_test): Likewise.
3505         * string/test-strcpy.c (do_one_test): Likewise.
3506         (do_test): Likewise.
3507         * string/test-string.h: Likewise.
3508         (test_init): Likewise.
3509         * string/test-strlen.c (do_one_test): Likewise.
3510         (do_test): Likewise.
3511         * string/test-strncasecmp.c (do_one_test): Likewise.
3512         (do_test): Likewise.
3513         * string/test-strncat.c (do_one_test): Likewise.
3514         (do_test): Likewise.
3515         * string/test-strncmp.c (do_one_test): Likewise.
3516         (do_test_limit): Likewise.
3517         (do_test): Likewise.
3518         * string/test-strncpy.c (do_one_test): Likewise.
3519         (do_test): Likewise.
3520         * string/test-strnlen.c (do_one_test): Likewise.
3521         (do_test): Likewise.
3522         * string/test-strpbrk.c (do_one_test): Likewise.
3523         (do_test): Likewise.
3524         * string/test-strrchr.c (do_one_test): Likewise.
3525         (do_test): Likewise.
3526         * string/test-strspn.c (do_one_test): Likewise.
3527         (do_test): Likewise.
3528         * string/test-strstr.c (do_one_test): Likewise.
3529         (do_test): Likewise.
3530
3531         * benchtests/Makefile (string-bench): Add string benchmarks.
3532         * benchtests/bench-bcopy-ifunc.c: New file.
3533         * benchtests/bench-bcopy.c: New file.
3534         * benchtests/bench-bzero-ifunc.c: New file.
3535         * benchtests/bench-bzero.c: New file.
3536         * benchtests/bench-memccpy-ifunc.c: New file.
3537         * benchtests/bench-memccpy.c: New file.
3538         * benchtests/bench-memchr-ifunc.c: New file.
3539         * benchtests/bench-memchr.c: New file.
3540         * benchtests/bench-memcmp-ifunc.c: New file.
3541         * benchtests/bench-memcmp.c: New file.
3542         * benchtests/bench-memmem-ifunc.c: New file.
3543         * benchtests/bench-memmem.c: New file.
3544         * benchtests/bench-memmove-ifunc.c: New file.
3545         * benchtests/bench-memmove.c: New file.
3546         * benchtests/bench-mempcpy-ifunc.c: New file.
3547         * benchtests/bench-mempcpy.c: New file.
3548         * benchtests/bench-memset-ifunc.c: New file.
3549         * benchtests/bench-memset.c: New file.
3550         * benchtests/bench-rawmemchr-ifunc.c: New file.
3551         * benchtests/bench-rawmemchr.c: New file.
3552         * benchtests/bench-stpcpy-ifunc.c: New file.
3553         * benchtests/bench-stpcpy.c: New file.
3554         * benchtests/bench-stpncpy-ifunc.c: New file.
3555         * benchtests/bench-stpncpy.c: New file.
3556         * benchtests/bench-strcasecmp-ifunc.c: New file.
3557         * benchtests/bench-strcasecmp.c: New file.
3558         * benchtests/bench-strcasestr-ifunc.c: New file.
3559         * benchtests/bench-strcasestr.c: New file.
3560         * benchtests/bench-strcat-ifunc.c: New file.
3561         * benchtests/bench-strcat.c: New file.
3562         * benchtests/bench-strchr-ifunc.c: New file.
3563         * benchtests/bench-strchr.c: New file.
3564         * benchtests/bench-strchrnul-ifunc.c: New file.
3565         * benchtests/bench-strchrnul.c: New file.
3566         * benchtests/bench-strcmp-ifunc.c: New file.
3567         * benchtests/bench-strcmp.c: New file.
3568         * benchtests/bench-strcpy-ifunc.c: New file.
3569         * benchtests/bench-strcpy.c: New file.
3570         * benchtests/bench-strcspn-ifunc.c: New file.
3571         * benchtests/bench-strcspn.c: New file.
3572         * benchtests/bench-strlen-ifunc.c: New file.
3573         * benchtests/bench-strlen.c: New file.
3574         * benchtests/bench-strncasecmp-ifunc.c: New file.
3575         * benchtests/bench-strncasecmp.c: New file.
3576         * benchtests/bench-strncat-ifunc.c: New file.
3577         * benchtests/bench-strncat.c: New file.
3578         * benchtests/bench-strncmp-ifunc.c: New file.
3579         * benchtests/bench-strncmp.c: New file.
3580         * benchtests/bench-strncpy-ifunc.c: New file.
3581         * benchtests/bench-strncpy.c: New file.
3582         * benchtests/bench-strnlen-ifunc.c: New file.
3583         * benchtests/bench-strnlen.c: New file.
3584         * benchtests/bench-strpbrk-ifunc.c: New file.
3585         * benchtests/bench-strpbrk.c: New file.
3586         * benchtests/bench-strrchr-ifunc.c: New file.
3587         * benchtests/bench-strrchr.c: New file.
3588         * benchtests/bench-strspn-ifunc.c: New file.
3589         * benchtests/bench-strspn.c: New file.
3590         * benchtests/bench-strstr-ifunc.c: New file.
3591         * benchtests/bench-strstr.c: New file.
3592
3593         * benchtests/Makefile: Disable parallel execution of targets.
3594         (string-bench): Add memcpy.
3595         (benchset): New variable to store a list of benchmark sets.
3596         (bench-func): Renamed from bench.
3597         (bench-set): New target.
3598         (bench): Depend on bench-func and bench-set.
3599         * benchtests/README: Add section on benchmark sets.
3600         * benchtests/bench-memcpy-ifunc.c: New file.
3601         * benchtests/bench-memcpy.c: New file.
3602         * benchtests/bench-string.h: New file.
3603
3604 2013-06-11  Andreas Schwab  <schwab@suse.de>
3605
3606         [BZ #15577]
3607         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3608         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3609         values in the triple.
3610         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3611         terminator in the group key.
3612
3613 2013-06-11  Andreas Jaeger  <aj@suse.de>
3614
3615         * po/zh_TW.po: Update Chinese (traditional) translation from
3616         translation project.
3617
3618 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3619
3620         * include/time.h (__clock_gettime): Add libc_hidden_proto.
3621         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3622         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
3623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3624         (clock_getcpuclockid): Likewise.
3625         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3626         Add weak_alias and libc_hidden_def.
3627         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3628         * rt/clock_gettime.c (clock_gettime): Rename to
3629         __clock_gettime.  Add weak_alias and libc_hidden_def.
3630         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3631         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3632         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
3633         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3634         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3635         Likewise.
3636         * rt/clock_settime.c (clock_settime): Rename to
3637         __clock_settime.  Add weak_alias and libc_hidden_def.
3638         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3639
3640 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
3641
3642         * mach/err_boot.sub: Remove trailing whitespace.
3643         * mach/err_ipc.sub: Likewise.
3644         * mach/err_mach.sub: Likewise.
3645
3646         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3647         (ROUNDING_TESTS_double): Likewise.
3648         (ROUNDING_TESTS_long_double): Likewise.
3649         (ROUNDING_TESTS): Likewise.
3650         * math/libm-test.inc: Include <math-tests.h>.
3651         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3652         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3653         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3654         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3655
3656 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3657
3658         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3659         of assigning.
3660
3661 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
3662
3663         * sysdeps/gnu/errlist.awk: Do not generate space at end of
3664         otherwise empty TRANS lines.
3665         * sysdeps/gnu/errlist.c: Regenerated.
3666
3667         * catgets/gencat.c (error_print): Use (void) in function
3668         definition.
3669         * crypt/crypt_util.c (__init_des): Likewise.
3670         * crypt/speeds.c (Stop): Likewise.
3671         (main): Likewise.
3672         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3673         * inet/ruserpass.c (token): Likewise.
3674         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3675         * intl/localealias.c (extend_alias_table): Likewise.
3676         * intl/plural-exp.c (init_germanic_plural): Likewise.
3677         * libio/fcloseall.c (__fcloseall): Likewise.
3678         * libio/genops.c (_IO_flush_all): Likewise.
3679         (_IO_flush_all_linebuffered): Likewise.
3680         (_IO_cleanup): Likewise.
3681         (_IO_iter_begin): Likewise.
3682         (_IO_iter_end): Likewise.
3683         (_IO_list_lock): Likewise.
3684         (_IO_list_unlock): Likewise.
3685         (_IO_list_resetlock): Likewise.
3686         * libio/getchar.c (getchar): Likewise.
3687         * libio/getchar_u.c (getchar_unlocked): Likewise.
3688         * libio/getwchar.c (getwchar): Likewise.
3689         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3690         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3691         * login/getpt.c (__getpt): Likewise.
3692         * login/tst-utmp.c (main): Likewise.
3693         * malloc/hooks.c (__malloc_check_init): Likewise.
3694         * malloc/malloc.c (__malloc_stats): Likewise.
3695         * malloc/mtrace.c (tr_break): Likewise.
3696         (mtrace): Likewise.
3697         (muntrace): Likewise.
3698         * misc/fstab.c (endfsent): Likewise.
3699         * misc/getclktck.c (__getclktck): Likewise.
3700         * misc/getdtsz.c (__getdtablesize): Likewise.
3701         * misc/gethostid.c (gethostid): Likewise.
3702         * misc/getpagesize.c (__getpagesize): Likewise.
3703         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3704         (__get_nprocs): Likewise.
3705         (__get_phys_pages): Likewise.
3706         (__get_avphys_pages): Likewise.
3707         * misc/getttyent.c (getttyent): Likewise.
3708         (setttyent): Likewise.
3709         (endttyent): Likewise.
3710         * misc/getusershell.c (getusershell): Likewise.
3711         (endusershell): Likewise.
3712         (setusershell): Likewise.
3713         (initshells): Likewise.
3714         * misc/hsearch.c (__hdestroy): Likewise.
3715         * misc/sync.c (sync): Likewise.
3716         * misc/syslog.c (closelog_internal): Likewise.
3717         (closelog): Likewise.
3718         * misc/ttyslot.c (ttyslot): Likewise.
3719         * misc/vhangup.c (vhangup): Likewise.
3720         * posix/fork.c (__fork): Likewise.
3721         * posix/getegid.c (__getegid): Likewise.
3722         * posix/geteuid.c (__geteuid): Likewise.
3723         * posix/getgid.c (__getgid): Likewise.
3724         * posix/getpid.c (__getpid): Likewise.
3725         * posix/getppid.c (__getppid): Likewise.
3726         * posix/getuid.c (__getuid): Likewise.
3727         * posix/pause.c (pause): Likewise.
3728         * posix/setpgrp.c (setpgrp): Likewise.
3729         * posix/setsid.c (__setsid): Likewise.
3730         * posix/test-vfork.c (noop): Likewise.
3731         * resolv/gethnamaddr.c (_endhtent): Likewise.
3732         (_gethtent): Likewise.
3733         (ht_endhostent): Likewise.
3734         (gethostent): Likewise.
3735         (dns_service): Likewise.
3736         * stdlib/drand48.c (drand48): Likewise.
3737         * stdlib/lrand48.c (lrand48): Likewise.
3738         * stdlib/mrand48.c (mrand48): Likewise.
3739         * stdlib/rand.c (rand): Likewise.
3740         * stdlib/random.c (__random): Likewise.
3741         * stdlib/setenv.c (clearenv): Likewise.
3742         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3743         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3744         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3745         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3746         (__get_nprocs): Likewise.
3747         (__get_phys_pages): Likewise.
3748         (__get_avphys_pages): Likewise.
3749         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3750         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3751         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3752         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3753         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3754         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3755         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3756         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3757         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3758         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3759         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3760         * sysdeps/mach/hurd/sync.c (sync): Likewise.
3761         * sysdeps/posix/clock.c (clock): Likewise.
3762         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3763         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3764         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3765         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3766         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3768         (__get_nprocs_conf): Likewise.
3769         (__get_phys_pages): Likewise.
3770         (__get_avphys_pages): Likewise.
3771         * time/clock.c (clock): Likewise.
3772         * time/tzset.c (__tzname_max): Likewise.
3773
3774 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
3775
3776         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3777         (__bswap_32): Do not use "register".
3778         * crypt/crypt.c (_ufc_doit_r): Likewise.
3779         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3780         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3781         * gmon/gmon.c (__monstartup): Likewise.
3782         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3783         * hurd/hurdmalloc.c (more_memory): Likewise.
3784         (malloc): Likewise.
3785         (free): Likewise.
3786         (realloc): Likewise.
3787         (malloc_fork_prepare): Likewise.
3788         (malloc_fork_parent): Likewise.
3789         (malloc_fork_child): Likewise.
3790         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3791         (_svcauth_des): Likewise.
3792         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3793         * inet/inet_net.c (inet_network): Likewise.
3794         * inet/inet_netof.c (inet_netof): Likewise.
3795         * inet/rcmd.c (__validuser2_sa): Likewise.
3796         * io/fts.c (fts_open): Likewise.
3797         (fts_load): Likewise.
3798         (fts_close): Likewise.
3799         (fts_read): Likewise.
3800         (fts_children): Likewise.
3801         (fts_build): Likewise.
3802         (fts_stat): Likewise.
3803         (fts_sort): Likewise.
3804         (fts_alloc): Likewise.
3805         (fts_lfree): Likewise.
3806         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3807         (_IO_file_xsgetn): Likewise.
3808         (_IO_file_xsgetn_mmap): Likewise.
3809         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3810         (_IO_cookie_write): Likewise.
3811         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3812         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3813         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3814         * malloc/obstack.c (_obstack_begin): Likewise.
3815         (_obstack_begin_1): Likewise.
3816         (_obstack_newchunk): Likewise.
3817         (_obstack_allocated_p): Likewise.
3818         (obstack_free): Likewise.
3819         (_obstack_memory_used): Likewise.
3820         * misc/getttyent.c (getttynam): Likewise.
3821         (getttyent): Likewise.
3822         (skip): Likewise.
3823         (value): Likewise.
3824         * misc/getusershell.c (initshells): Likewise.
3825         * misc/syslog.c (__vsyslog_chk): Likewise.
3826         * misc/ttyslot.c (ttyslot): Likewise.
3827         * nis/nis_hash.c (__nis_hash): Likewise.
3828         * posix/fnmatch_loop.c (FCT): Likewise.
3829         * posix/getconf.c (print_all): Likewise.
3830         (main): Likewise.
3831         * posix/getopt.c (exchange): Likewise.
3832         * posix/glob.c (globfree): Likewise.
3833         (prefix_array): Likewise.
3834         (__glob_pattern_type): Likewise.
3835         * resolv/arpa/nameser.h (NS_GET16): Likewise.
3836         (NS_GET32): Likewise.
3837         (NS_PUT16): Likewise.
3838         (NS_PUT32): Likewise.
3839         * resolv/gethnamaddr.c (getanswer): Likewise.
3840         (gethostbyname2): Likewise.
3841         (gethostbyaddr): Likewise.
3842         (_gethtent): Likewise.
3843         (_gethtbyname2): Likewise.
3844         (_gethtbyaddr): Likewise.
3845         * resolv/ns_print.c (dst_s_get_int16): Likewise.
3846         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3847         * resolv/res_init.c (__res_vinit): Likewise.
3848         (net_mask): Likewise.
3849         * resolv/res_mkquery.c (outchar): Likewise.
3850         (PRINT): Likewise.
3851         * stdio-common/printf_fp.c (outchar): Likewise.
3852         (PRINT): Likewise.
3853         * stdio-common/printf_fphex.c (outchar): Likewise.
3854         (PRINT): Likewise.
3855         * stdio-common/printf_size.c (outchar): Likewise.
3856         (PRINT): Likewise.
3857         * stdio-common/test_rdwr.c (main): Likewise.
3858         * stdio-common/tfformat.c (matches): Likewise.
3859         * stdio-common/vfprintf.c (outchar): Likewise.
3860         (printf_unknown): Likewise.
3861         (buffered_vfprintf): Likewise.
3862         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3863         * stdio-common/xbug.c (AppendToBuffer): Likewise.
3864         (ReadFile): Likewise.
3865         * stdlib/qsort.c (SWAP): Likewise.
3866         (_quicksort): Likewise.
3867         * stdlib/setenv.c (__add_to_environ): Likewise.
3868         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3869         * stdlib/strtol_l.c (__strtol_l): Likewise.
3870         * stdlib/tst-strtod.c (main): Likewise.
3871         * stdlib/tst-strtol.c (main): Likewise.
3872         * stdlib/tst-strtoll.c (main): Likewise.
3873         * string/bits/string2.h (__strcmp_cc): Likewise.
3874         (__strcmp_cg): Likewise.
3875         (__strcspn_c1): Likewise.
3876         (__strcspn_c2): Likewise.
3877         (__strcspn_c3): Likewise.
3878         (__strspn_c1): Likewise.
3879         (__strspn_c2): Likewise.
3880         (__strspn_c3): Likewise.
3881         (__strsep_1c): Likewise.
3882         (__strsep_2c): Likewise.
3883         (__strsep_3c): Likewise.
3884         * string/memccpy.c (__memccpy): Likewise.
3885         * string/stpcpy.c (__stpcpy): Likewise.
3886         * string/strcmp.c (strcmp): Likewise.
3887         * string/strrchr.c (strrchr): Likewise.
3888         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3889         Likewise.
3890         * sysdeps/mach/hurd/getcwd.c
3891         (_hurd_canonicalize_directory_name_internal): Likewise.
3892         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3893         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3894         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3895         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3896         Likewise, in both definitions.
3897         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3898         definitions.
3899         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3900         64] (__bswap_64): Likewise.
3901         * time/test_time.c (main): Likewise.
3902         * time/tzfile.c (__tzfile_read): Likewise.
3903         (__tzfile_compute): Likewise.
3904         * time/tzset.c (__tzset_parse_tz): Likewise.
3905         (tzset_internal): Likewise.
3906         (compute_change): Likewise.
3907         * wcsmbs/wcscat.c (__wcscat): Likewise.
3908         * wcsmbs/wcschr.c (wcschr): Likewise.
3909         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3910         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3911         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3912         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3913         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3914         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3915         * wcsmbs/wmemchr.c (wmemchr): Likewise.
3916         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3917         * wcsmbs/wmemset.c (wmemset): Likewise.
3918
3919 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
3920
3921         * scripts/config.guess: Update to version 2013-05-16.
3922         * scripts/config.sub: Update to version 2013-04-24.
3923         * scripts/install-sh: Update to version 2011-11-20.07.
3924         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3925         * scripts/move-if-change: Update to version 2012-01-06 07:23.
3926
3927 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
3928
3929         * debug/fgetws_u_chk.c: Fix leading whitespaces.
3930         * elf/sln.c: Likewise.
3931         * hurd/hurd/ioctl.h: Likewise.
3932         * hurd/hurdmalloc.c: Likewise.
3933         * hurd/xattr.c: Likewise.
3934         * include/shlib-compat.h: Likewise.
3935         * inet/ruserpass.c: Likewise.
3936         * libio/iofgets_u.c: Likewise.
3937         * libio/iofgetws_u.c: Likewise.
3938         * locale/programs/ld-identification.c: Likewise.
3939         * locale/programs/ld-time.c: Likewise.
3940         * mach/msg-destroy.c: Likewise.
3941         * nss/nss_files/files-netgrp.c: Likewise.
3942         * resolv/res_data.c: Likewise.
3943         * soft-fp/op-1.h: Likewise.
3944         * soft-fp/op-2.h: Likewise.
3945         * soft-fp/op-4.h: Likewise.
3946         * soft-fp/op-common.h: Likewise.
3947         * stdio-common/printf_fphex.c: Likewise.
3948         * stdlib/strtod_l.c: Likewise.
3949         * sunrpc/rpc/clnt.h: Likewise.
3950         * sysdeps/generic/framestate.c: Likewise.
3951         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3952         * sysdeps/i386/bsd-setjmp.S: Likewise.
3953         * sysdeps/i386/__longjmp.S: Likewise.
3954         * sysdeps/i386/setjmp.S: Likewise.
3955         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3956         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3958         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3960         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3962         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3965         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3968         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3969         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3970         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3971         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3972         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3973         * sysdeps/ieee754/support.c: Likewise.
3974         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3975         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3976         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3977         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3978         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3979         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3980         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3981         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3982         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3983         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3984         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3985         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3986         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3987         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3988         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3989         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3990         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3992
3993 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
3994
3995         * posix/transbug.c: Remove executable mode.
3996
3997 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
3998
3999         * crypt/speeds.c: Remove trailing whitespace.
4000         * dlfcn/default.c: Likewise.
4001         * elf/ifuncdep2.c: Likewise.
4002         * elf/ifuncmain1.c: Likewise.
4003         * elf/ifuncmain1vis.c: Likewise.
4004         * elf/testobj.h: Likewise.
4005         * elf/tst-stackguard1.c: Likewise.
4006         * gmon/sys/gmon.h: Likewise.
4007         * hurd/hurdmsg.c: Likewise.
4008         * hurd/new-fd.c: Likewise.
4009         * hurd/ports-get.c: Likewise.
4010         * iconvdata/ibm1008_420.c: Likewise.
4011         * inet/tst-getni1.c: Likewise.
4012         * inet/tst-getni2.c: Likewise.
4013         * libio/ioungetc.c: Likewise.
4014         * libio/wfiledoalloc.c: Likewise.
4015         * manual/libm-err-tab.pl: Likewise.
4016         * math/w_dremf.c: Likewise.
4017         * misc/ftruncate.c: Likewise.
4018         * posix/bug-glob2.c: Likewise.
4019         * posix/tst-pcre.c: Likewise.
4020         * posix/wait4.c: Likewise.
4021         * resolv/README: Likewise.
4022         * resolv/res_debug.h: Likewise.
4023         * resolv/tst-inet_ntop.c: Likewise.
4024         * setjmp/bug269-setjmp.c: Likewise.
4025         * soft-fp/extended.h: Likewise.
4026         * soft-fp/op-1.h: Likewise.
4027         * soft-fp/op-2.h: Likewise.
4028         * soft-fp/op-4.h: Likewise.
4029         * soft-fp/op-8.h: Likewise.
4030         * soft-fp/testit.c: Likewise.
4031         * stdio-common/bug16.c: Likewise.
4032         * stdlib/random.c: Likewise.
4033         * sunrpc/rpcsvc/rquota.x: Likewise.
4034         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4035         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4037         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4038         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4039         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4041         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4042         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4043         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4044         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4050         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4051         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4057         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4058         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4059         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4060         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4061         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4063         * sysdeps/ieee754/s_lib_version.c: Likewise.
4064         * sysdeps/mach/hurd/check_fds.c: Likewise.
4065         * sysdeps/mach/hurd/getsockname.c: Likewise.
4066         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4067         * sysdeps/mach/hurd/recvfrom.c: Likewise.
4068         * sysdeps/powerpc/bits/link.h: Likewise.
4069         * sysdeps/powerpc/dl-procinfo.c: Likewise.
4070         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4071         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4072         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4073         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4074         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4075         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4076         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4077         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4078         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4079         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4080         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4081         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4082         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4083         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4084         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4087         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4088         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4089         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4090         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4092         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4093         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4094         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4095         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4096         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4097         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4098         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4100         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4101         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4103         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4104         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4105         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4106         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4107         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4108         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4109         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4110         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4111         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4112         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4113         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4114         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4115         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4116         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4117         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4118         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4119         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4122         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4123         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4124         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4125         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4126         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4127         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4128         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4129         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4130         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4131         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4132         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4133         * sysdeps/powerpc/sysdep.h: Likewise.
4134         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4135         * sysdeps/s390/s390-64/sub_n.S: Likewise.
4136         * sysdeps/sh/dl-trampoline.S: Likewise.
4137         * sysdeps/sh/memset.S: Likewise.
4138         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4139         * sysdeps/sh/strlen.S: Likewise.
4140         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4141         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4142         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4143         * sysdeps/sparc/sparc32/rem.S: Likewise.
4144         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4145         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4146         * sysdeps/sparc/sparc32/strchr.S: Likewise.
4147         * sysdeps/sparc/sparc32/udiv.S: Likewise.
4148         * sysdeps/sparc/sparc32/urem.S: Likewise.
4149         * sysdeps/sparc/sparc64/add_n.S: Likewise.
4150         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4151         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4152         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4153         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4154         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4155         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4156         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4157         * sysdeps/unix/bsd/times.c: Likewise.
4158         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4159         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4163         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4164         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4165         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4166         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4169         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4170         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4172         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4174         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4175         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4176         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4177         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4178         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4179         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4180         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4181         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4182         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4183         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4184         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4185         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4186         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4187         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4188         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4189         * sysdeps/x86_64/strcspn.S: Likewise.
4190
4191 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4192
4193         * locale/C-translit.h: Revert #include <stdint.h> because this is a
4194         generated file.  Regenerate properly from gen-translit.pl.
4195         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
4196         locale/C-translit.h.
4197
4198 2013-06-05  Andreas Schwab  <schwab@suse.de>
4199
4200         [BZ #15100]
4201         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4202         week as 6 instead of -1.
4203         * time/tst-strptime.c (day_tests): Add test case.
4204
4205 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4206
4207         * sysdeps/generic/math_private.h
4208         (libc_feholdexcept_setround_53bit): Replace with
4209         libc_feholdsetround_53bit.
4210         (libc_feupdateenv_53bit): Replace with
4211         libc_feresetround_53bit.
4212         (SET_RESTORE_ROUND_53BIT): Adjust.
4213
4214 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215
4216         * string/test-strchrnul.c: Add copyright header.
4217
4218         * posix/tst-getaddrinfo4.c: Increase test timeout.
4219
4220 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
4221
4222         [BZ #15536]
4223         * math/libm-test.inc (MAX_EXP): Remove
4224         (MIN_EXP): Define.
4225         (ulp): Use MIN_EXP - MANT_DIG.
4226         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4227
4228 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
4229
4230         * po/be.po: Revert last change.
4231         * po/zh_CN.po: Likewise.
4232         * po/header.pot: Likewise.
4233
4234 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
4235
4236         * Makefile ($(common-objpfx)linkobj/libc.so): Define
4237         link-libc-deps to empty as target-specific variable.
4238         * Makerules (link-libc-args): New variable.
4239         (libc-for-link): Likewise.
4240         (link-libc-deps): Likewise.
4241         (lib%.so): Depend on $(link-libc-deps).  Link with
4242         $(link-libc-args).
4243         (build-module): Link with $(link-libc-args).
4244         (build-module-asneeded): Likewise.
4245         (build-module-helper-objlist): Filter out $(link-libc-deps) from
4246         list of objects.
4247         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4248         target-specific variable.
4249         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4250         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4251         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4252         libc.
4253         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4254         libc and ld.so.
4255         ($(objpfx)libpcprofile.so): Likewise.
4256         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4257         libc_nonshared.a.
4258         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4259         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4260         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4261         $(link-libc-deps).
4262         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4263         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4264         * login/Makefile ($(objpfx)libutil.so): Likewise.
4265         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4266         * math/Makefile ($(objpfx)libm.so): Likewise.
4267         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4268         $(objpfx)libnsl.so): Define libc-for-link as target-specific
4269         variable instead of depending directly on libc.
4270         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4271         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4272         $(link-libc-deps).
4273         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4274         libc.
4275         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4276         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4277         ($(objpfx)libanl.so): Likewise.
4278         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4279         ld.so.
4280         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4281         $(link-libc-deps).
4282         * sysdeps/i386/fpu/Makefile: Remove file.
4283         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4284         ($(objpfx)libm.so): Remove dependency on ld.so.
4285
4286 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
4287
4288         [BZ # 15553]
4289         * nis/yp_xdr.c (XDRMAXNAME): Define.
4290         (XDRMAXRECORD): Define.
4291         (xdr_domainname): Use XDRMAXNAME.
4292         (xdr_mapname): Likewise.
4293         (xdr_peername): Likewise.
4294         (xdr_keydat): Use XDRMAXRECORD.
4295         (xdr_valdat): Likewise.
4296
4297 2013-05-30  Jeff Law  <law@redhat.com>
4298
4299         [BZ #14256]
4300         * manual/errno.texi (ESTALE): Update to account for more than
4301         just NFS file systems.
4302         * sysdeps/gnu/errlist.c: Regenerated.
4303
4304 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4305
4306         [BZ #15465]
4307         * elf/Makefile (tests): Add tst-null-argv.
4308         (modules-names):  Add tst-null-argv-lib.
4309         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4310         (tst-null-argv-ENV): Set environment for tst-null-argv.
4311         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4312         (RTLD_PROGNAME): New macro.
4313         * elf/tst-null-argv.c: New test case.
4314         * elf/tst-null-argv-lib.c: Library for test case.
4315         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4316         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4317         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4318         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4319         * elf/dl-init.c (call_init): Likewise.
4320         (_dl_init): Likewise.
4321         * elf/dl-load.c (print_search_path): Likewise.
4322         (_dl_map_object): Likewise.
4323         * elf/dl-lookup.c (do_lookup_x): Likewise.
4324         (add_dependency): Likewise.
4325         (_dl_lookup_symbol_x): Likewise.
4326         (_dl_debug_bindings): Likewise.
4327         * elf/dl-open.c (_dl_show_scope): Likewise.
4328         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4329         * elf/dl-version.c (match_symbol): Likewise.
4330         (_dl_check_map_versions): Likewise.
4331         * elf/rtld.c (dl_main): Likewise.
4332         (print_unresolved): Use RTLD_PROGNAME.
4333         (print_missing_version): Likewise.
4334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4335         (elf_machine_rela): Likewise.
4336         * sysdeps/powerpc/powerpc32/dl-machine.c
4337         (__process_machine_rela): Likewise.
4338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4339         Likewise.
4340         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4341         Likewise.
4342         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4343         Likewise.
4344         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4346         Likewise.
4347         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4348         Likewise.
4349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4350
4351 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
4352
4353         * po/be.po: Add descriptive title.
4354         * po/zh_CN.po: Likewise.
4355         * po/header.pot: Likewise.
4356
4357 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
4358
4359         * locale/programs/locarchive.c (create_archive): Inlucde fname in
4360         error message.
4361         (enlarge_archive): Likewise.
4362
4363 2013-05-28  Ben North  <ben@redfrontdoor.org>
4364
4365         * manual/arith.texi (frexp): It is the magnitude of the return
4366         value which lies in [0.5, 1), not the return value itself.
4367
4368 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4369
4370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4371
4372 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
4373
4374         * stdio-common/bug26.c (main): Correct fscanf template.
4375
4376         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4377         declare _dl_skip_args.
4378
4379         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4380         Don't declare.
4381
4382         * manual/platform.texi: Add missing @end deftypefun.
4383
4384 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4385
4386         [BZ #15529]
4387         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4388         bit of mantissa of 2^16382.
4389         * math/libm-test.inc (hypot_test_data): Add more tests.
4390
4391         * math/libm-test.inc: Add drem and pow10 to list of tested
4392         functions.
4393         (pow10_test): New function.
4394         (drem_test): Likewise.
4395         (drem_test_tonearest): Likewise.
4396         (drem_test_towardzero): Likewise.
4397         (drem_test_downward): Likewise.
4398         (drem_test_upward): Likewise.
4399         (main): Call the new functions.
4400
4401         * math/libm-test.inc (finite_test_data): Remove.
4402         (finite_test): Run tests from isfinite_test_data.
4403         (gamma_test_data): Remove.
4404         (gamma_test): Run tests from lgamma_test_data.
4405         * sysdeps/i386/fpu/libm-test-ulps: Update.
4406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4407
4408 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4409
4410         * manual/platform.texi: Add PowerPC PPR function set documentation.
4411         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4412         implementation.
4413
4414 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
4415
4416         * math/libm-test.inc (MAX_EXP): Define.
4417         (ULPDIFF): Define.
4418         (ulp): New function.
4419         (check_float_internal): Use ULPDIFF.
4420         (cpow_test): Disable failing test.
4421         (check_ulp): Test ulp() implemetnation.
4422         (main): Call check_ulp before starting tests.
4423
4424 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
4425
4426         * math/gen-libm-test.pl (generate_testfile): Do not handle
4427         START_DATA and END_DATA.
4428         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4429         END_DATA.
4430         (acos_tonearest_test_data): Likewise.
4431         (acos_towardzero_test_data): Likewise.
4432         (acos_downward_test_data): Likewise.
4433         (acos_upward_test_data): Likewise.
4434         (acosh_test_data): Likewise.
4435         (asin_test_data): Likewise.
4436         (asin_tonearest_test_data): Likewise.
4437         (asin_towardzero_test_data): Likewise.
4438         (asin_downward_test_data): Likewise.
4439         (asin_upward_test_data): Likewise.
4440         (asinh_test_data): Likewise.
4441         (atan_test_data): Likewise.
4442         (atanh_test_data): Likewise.
4443         (atan2_test_data): Likewise.
4444         (cabs_test_data): Likewise.
4445         (cacos_test_data): Likewise.
4446         (cacosh_test_data): Likewise.
4447         (carg_test_data): Likewise.
4448         (casin_test_data): Likewise.
4449         (casinh_test_data): Likewise.
4450         (catan_test_data): Likewise.
4451         (catanh_test_data): Likewise.
4452         (cbrt_test_data): Likewise.
4453         (ccos_test_data): Likewise.
4454         (ccosh_test_data): Likewise.
4455         (ceil_test_data): Likewise.
4456         (cexp_test_data): Likewise.
4457         (cimag_test_data): Likewise.
4458         (clog_test_data): Likewise.
4459         (clog10_test_data): Likewise.
4460         (conj_test_data): Likewise.
4461         (copysign_test_data): Likewise.
4462         (cos_test_data): Likewise.
4463         (cos_tonearest_test_data): Likewise.
4464         (cos_towardzero_test_data): Likewise.
4465         (cos_downward_test_data): Likewise.
4466         (cos_upward_test_data): Likewise.
4467         (cosh_test_data): Likewise.
4468         (cosh_tonearest_test_data): Likewise.
4469         (cosh_towardzero_test_data): Likewise.
4470         (cosh_downward_test_data): Likewise.
4471         (cosh_upward_test_data): Likewise.
4472         (cpow_test_data): Likewise.
4473         (cproj_test_data): Likewise.
4474         (creal_test_data): Likewise.
4475         (csin_test_data): Likewise.
4476         (csinh_test_data): Likewise.
4477         (csqrt_test_data): Likewise.
4478         (ctan_test_data): Likewise.
4479         (ctan_tonearest_test_data): Likewise.
4480         (ctan_towardzero_test_data): Likewise.
4481         (ctan_downward_test_data): Likewise.
4482         (ctan_upward_test_data): Likewise.
4483         (ctanh_test_data): Likewise.
4484         (ctanh_tonearest_test_data): Likewise.
4485         (ctanh_towardzero_test_data): Likewise.
4486         (ctanh_downward_test_data): Likewise.
4487         (ctanh_upward_test_data): Likewise.
4488         (erf_test_data): Likewise.
4489         (erfc_test_data): Likewise.
4490         (exp_test_data): Likewise.
4491         (exp_tonearest_test_data): Likewise.
4492         (exp_towardzero_test_data): Likewise.
4493         (exp_downward_test_data): Likewise.
4494         (exp_upward_test_data): Likewise.
4495         (exp10_test_data): Likewise.
4496         (exp2_test_data): Likewise.
4497         (expm1_test_data): Likewise.
4498         (fabs_test_data): Likewise.
4499         (fdim_test_data): Likewise.
4500         (finite_test_data): Likewise.
4501         (floor_test_data): Likewise.
4502         (fma_test_data): Likewise.
4503         (fma_towardzero_test_data): Likewise.
4504         (fma_downward_test_data): Likewise.
4505         (fma_upward_test_data): Likewise.
4506         (fmax_test_data): Likewise.
4507         (fmin_test_data): Likewise.
4508         (fmod_test_data): Likewise.
4509         (fpclassify_test_data): Likewise.
4510         (frexp_test_data): Likewise.
4511         (gamma_test_data): Likewise.
4512         (hypot_test_data): Likewise.
4513         (ilogb_test_data): Likewise.
4514         (isfinite_test_data): Likewise.
4515         (isgreater_test_data): Likewise.
4516         (isgreaterequal_test_data): Likewise.
4517         (isinf_test_data): Likewise.
4518         (isless_test_data): Likewise.
4519         (islessequal_test_data): Likewise.
4520         (islessgreater_test_data): Likewise.
4521         (isnan_test_data): Likewise.
4522         (isnormal_test_data): Likewise.
4523         (issignaling_test_data): Likewise.
4524         (isunordered_test_data): Likewise.
4525         (j0_test_data): Likewise.
4526         (j1_test_data): Likewise.
4527         (jn_test_data): Likewise.
4528         (ldexp_test_data): Likewise.
4529         (lgamma_test_data): Likewise.
4530         (lrint_test_data): Likewise.
4531         (lrint_tonearest_test_data): Likewise.
4532         (lrint_towardzero_test_data): Likewise.
4533         (lrint_downward_test_data): Likewise.
4534         (lrint_upward_test_data): Likewise.
4535         (llrint_test_data): Likewise.
4536         (llrint_tonearest_test_data): Likewise.
4537         (llrint_towardzero_test_data): Likewise.
4538         (llrint_downward_test_data): Likewise.
4539         (llrint_upward_test_data): Likewise.
4540         (log_test_data): Likewise.
4541         (log10_test_data): Likewise.
4542         (log1p_test_data): Likewise.
4543         (log2_test_data): Likewise.
4544         (logb_test_data): Likewise.
4545         (logb_downward_test_data): Likewise.
4546         (lround_test_data): Likewise.
4547         (llround_test_data): Likewise.
4548         (modf_test_data): Likewise.
4549         (nearbyint_test_data): Likewise.
4550         (nextafter_test_data): Likewise.
4551         (nexttoward_test_data): Likewise.
4552         (pow_test_data): Likewise.
4553         (pow_tonearest_test_data): Likewise.
4554         (pow_towardzero_test_data): Likewise.
4555         (pow_downward_test_data): Likewise.
4556         (pow_upward_test_data): Likewise.
4557         (remainder_test_data): Likewise.
4558         (remainder_tonearest_test_data): Likewise.
4559         (remainder_towardzero_test_data): Likewise.
4560         (remainder_downward_test_data): Likewise.
4561         (remainder_upward_test_data): Likewise.
4562         (remquo_test_data): Likewise.
4563         (rint_test_data): Likewise.
4564         (rint_tonearest_test_data): Likewise.
4565         (rint_towardzero_test_data): Likewise.
4566         (rint_downward_test_data): Likewise.
4567         (rint_upward_test_data): Likewise.
4568         (round_test_data): Likewise.
4569         (scalb_test_data): Likewise.
4570         (scalbn_test_data): Likewise.
4571         (scalbln_test_data): Likewise.
4572         (signbit_test_data): Likewise.
4573         (sin_test_data): Likewise.
4574         (sin_tonearest_test_data): Likewise.
4575         (sin_towardzero_test_data): Likewise.
4576         (sin_downward_test_data): Likewise.
4577         (sin_upward_test_data): Likewise.
4578         (sincos_test_data): Likewise.
4579         (sinh_test_data): Likewise.
4580         (sinh_tonearest_test_data): Likewise.
4581         (sinh_towardzero_test_data): Likewise.
4582         (sinh_downward_test_data): Likewise.
4583         (sinh_upward_test_data): Likewise.
4584         (sqrt_test_data): Likewise.
4585         (tan_test_data): Likewise.
4586         (tan_tonearest_test_data): Likewise.
4587         (tan_towardzero_test_data): Likewise.
4588         (tan_downward_test_data): Likewise.
4589         (tan_upward_test_data): Likewise.
4590         (tanh_test_data): Likewise.
4591         (tgamma_test_data): Likewise.
4592         (trunc_test_data): Likewise.
4593         (y0_test_data): Likewise.
4594         (y1_test_data): Likewise.
4595         (yn_test_data): Likewise.
4596         (significand_test_data): Likewise.
4597
4598         * math/gen-libm-test.pl (@functions): Remove variable.
4599         (generate_testfile): Don't handle START and END lines.
4600         * math/libm-test.inc (START): New macro.
4601         (END): Likewise.
4602         (END_COMPLEX): Likewise.
4603         (acos_test): Use END macro without arguments.
4604         (acos_test_tonearest): Likewise.
4605         (acos_test_towardzero): Likewise.
4606         (acos_test_downward): Likewise.
4607         (acos_test_upward): Likewise.
4608         (acosh_test): Likewise.
4609         (asin_test): Likewise.
4610         (asin_test_tonearest): Likewise.
4611         (asin_test_towardzero): Likewise.
4612         (asin_test_downward): Likewise.
4613         (asin_test_upward): Likewise.
4614         (asinh_test): Likewise.
4615         (atan_test): Likewise.
4616         (atanh_test): Likewise.
4617         (atan2_test): Likewise.
4618         (cabs_test): Likewise.
4619         (cacos_test): Use END_COMPLEX macro without arguments.
4620         (cacosh_test): Likewise.
4621         (carg_test): Use END macro without arguments.
4622         (casin_test): Use END_COMPLEX macro without arguments.
4623         (casinh_test): Likewise.
4624         (catan_test): Likewise.
4625         (catanh_test): Likewise.
4626         (cbrt_test): Use END macro without arguments.
4627         (ccos_test): Use END_COMPLEX macro without arguments.
4628         (ccosh_test): Likewise.
4629         (ceil_test): Use END macro without arguments.
4630         (cexp_test): Use END_COMPLEX macro without arguments.
4631         (cimag_test): Use END macro without arguments.
4632         (clog_test): Use END_COMPLEX macro without arguments.
4633         (clog10_test): Likewise.
4634         (conj_test): Likewise.
4635         (copysign_test): Use END macro without arguments.
4636         (cos_test): Likewise.
4637         (cos_test_tonearest): Likewise.
4638         (cos_test_towardzero): Likewise.
4639         (cos_test_downward): Likewise.
4640         (cos_test_upward): Likewise.
4641         (cosh_test): Likewise.
4642         (cosh_test_tonearest): Likewise.
4643         (cosh_test_towardzero): Likewise.
4644         (cosh_test_downward): Likewise.
4645         (cosh_test_upward): Likewise.
4646         (cpow_test): Use END_COMPLEX macro without arguments.
4647         (cproj_test): Likewise.
4648         (creal_test): Use END macro without arguments.
4649         (csin_test): Use END_COMPLEX macro without arguments.
4650         (csinh_test): Likewise.
4651         (csqrt_test): Likewise.
4652         (ctan_test): Likewise.
4653         (ctan_test_tonearest): Likewise.
4654         (ctan_test_towardzero): Likewise.
4655         (ctan_test_downward): Likewise.
4656         (ctan_test_upward): Likewise.
4657         (ctanh_test): Likewise.
4658         (ctanh_test_tonearest): Likewise.
4659         (ctanh_test_towardzero): Likewise.
4660         (ctanh_test_downward): Likewise.
4661         (ctanh_test_upward): Likewise.
4662         (erf_test): Use END macro without arguments.
4663         (erfc_test): Likewise.
4664         (exp_test): Likewise.
4665         (exp_test_tonearest): Likewise.
4666         (exp_test_towardzero): Likewise.
4667         (exp_test_downward): Likewise.
4668         (exp_test_upward): Likewise.
4669         (exp10_test): Likewise.
4670         (exp2_test): Likewise.
4671         (expm1_test): Likewise.
4672         (fabs_test): Likewise.
4673         (fdim_test): Likewise.
4674         (finite_test): Likewise.
4675         (floor_test): Likewise.
4676         (fma_test): Likewise.
4677         (fma_test_towardzero): Likewise.
4678         (fma_test_downward): Likewise.
4679         (fma_test_upward): Likewise.
4680         (fmax_test): Likewise.
4681         (fmin_test): Likewise.
4682         (fmod_test): Likewise.
4683         (fpclassify_test): Likewise.
4684         (frexp_test): Likewise.
4685         (gamma_test): Likewise.
4686         (hypot_test): Likewise.
4687         (ilogb_test): Likewise.
4688         (isfinite_test): Likewise.
4689         (isgreater_test): Likewise.
4690         (isgreaterequal_test): Likewise.
4691         (isinf_test): Likewise.
4692         (isless_test): Likewise.
4693         (islessequal_test): Likewise.
4694         (islessgreater_test): Likewise.
4695         (isnan_test): Likewise.
4696         (isnormal_test): Likewise.
4697         (issignaling_test): Likewise.
4698         (isunordered_test): Likewise.
4699         (j0_test): Likewise.
4700         (j1_test): Likewise.
4701         (jn_test): Likewise.
4702         (ldexp_test): Likewise.
4703         (lgamma_test): Likewise.
4704         (lrint_test): Likewise.
4705         (lrint_test_tonearest): Likewise.
4706         (lrint_test_towardzero): Likewise.
4707         (lrint_test_downward): Likewise.
4708         (lrint_test_upward): Likewise.
4709         (llrint_test): Likewise.
4710         (llrint_test_tonearest): Likewise.
4711         (llrint_test_towardzero): Likewise.
4712         (llrint_test_downward): Likewise.
4713         (llrint_test_upward): Likewise.
4714         (log_test): Likewise.
4715         (log10_test): Likewise.
4716         (log1p_test): Likewise.
4717         (log2_test): Likewise.
4718         (logb_test): Likewise.
4719         (logb_test_downward): Likewise.
4720         (lround_test): Likewise.
4721         (llround_test): Likewise.
4722         (modf_test): Likewise.
4723         (nearbyint_test): Likewise.
4724         (nextafter_test): Likewise.
4725         (nexttoward_test): Likewise.
4726         (pow_test): Likewise.
4727         (pow_test_tonearest): Likewise.
4728         (pow_test_towardzero): Likewise.
4729         (pow_test_downward): Likewise.
4730         (pow_test_upward): Likewise.
4731         (remainder_test): Likewise.
4732         (remainder_test_tonearest): Likewise.
4733         (remainder_test_towardzero): Likewise.
4734         (remainder_test_downward): Likewise.
4735         (remainder_test_upward): Likewise.
4736         (remquo_test): Likewise.
4737         (rint_test): Likewise.
4738         (rint_test_tonearest): Likewise.
4739         (rint_test_towardzero): Likewise.
4740         (rint_test_downward): Likewise.
4741         (rint_test_upward): Likewise.
4742         (round_test): Likewise.
4743         (scalb_test): Likewise.
4744         (scalbn_test): Likewise.
4745         (scalbln_test): Likewise.
4746         (signbit_test): Likewise.
4747         (sin_test): Likewise.
4748         (sin_test_tonearest): Likewise.
4749         (sin_test_towardzero): Likewise.
4750         (sin_test_downward): Likewise.
4751         (sin_test_upward): Likewise.
4752         (sincos_test): Likewise.
4753         (sinh_test): Likewise.
4754         (sinh_test_tonearest): Likewise.
4755         (sinh_test_towardzero): Likewise.
4756         (sinh_test_downward): Likewise.
4757         (sinh_test_upward): Likewise.
4758         (sqrt_test): Likewise.
4759         (tan_test): Likewise.
4760         (tan_test_tonearest): Likewise.
4761         (tan_test_towardzero): Likewise.
4762         (tan_test_downward): Likewise.
4763         (tan_test_upward): Likewise.
4764         (tanh_test): Likewise.
4765         (tgamma_test): Likewise.
4766         (trunc_test): Likewise.
4767         (y0_test): Likewise.
4768         (y1_test): Likewise.
4769         (yn_test): Likewise.
4770         (significand_test): Likewise.
4771
4772 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
4773
4774         [BZ #15381]
4775         * libio/genops.c (_IO_no_init): Initialize wide struct info.
4776
4777 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4778
4779         [BZ #14894]
4780         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4781         __ppc_mdoio and __ppc_mdoom.
4782         * manual/platform.texi: Document new functions __ppc_yield,
4783         __ppc_mdoio and __ppc_mdoom.
4784
4785 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
4786
4787         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4788         (main): Mention "tls" pseudo-hwcap is legacy.
4789         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4790
4791 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4792
4793         * math/gen-libm-test.pl (parse_args): Output only string of
4794         arguments as text for test name, not full call or descriptions of
4795         tests for extra outputs.
4796         (generate_testfile): Do not pass function name to parse_args.
4797         Generate this_func variable from START.
4798         * math/libm-test.inc (struct test_f_f_data): Rename test_name
4799         field to arg_str.
4800         (struct test_ff_f_data): Likewise.
4801         (test_ff_f_data_nexttoward): Likewise.
4802         (struct test_fi_f_data): Likewise.
4803         (struct test_fl_f_data): Likewise.
4804         (struct test_if_f_data): Likewise.
4805         (struct test_fff_f_data): Likewise.
4806         (struct test_c_f_data): Likewise.
4807         (struct test_f_f1_data): Likewise.  Remove field extra_name.
4808         (struct test_fF_f1_data): Likewise.
4809         (struct test_ffI_f1_data): Likewise.
4810         (struct test_c_c_data): Rename test_name field to arg_str.
4811         (struct test_cc_c_data): Likewise.
4812         (struct test_f_i_data): Likewise.
4813         (struct test_ff_i_data): Likewise.
4814         (struct test_f_l_data): Likewise.
4815         (struct test_f_L_data): Likewise.
4816         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
4817         and extra2_name.
4818         (COMMON_TEST_SETUP): New macro.
4819         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4820         (COMMON_TEST_CLEANUP): Likewise.
4821         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4822         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
4823         macros.
4824         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4825         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
4826         macros.
4827         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4828         (RUN_TEST_fff_f): Take argument string.  Call new setup and
4829         cleanup macros.
4830         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4831         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
4832         macros.
4833         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4834         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
4835         macros.
4836         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4837         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
4838         cleanup macros.
4839         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4840         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
4841         cleanup macros.
4842         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4843         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
4844         cleanup macros.
4845         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4846         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
4847         macros.
4848         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4849         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
4850         macros.
4851         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4852         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
4853         macros.
4854         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4855         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
4856         cleanup macros.
4857         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4858         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
4859         cleanup macros.
4860         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4861         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
4862         macros.
4863         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4864         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
4865         cleanup macros.
4866         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4867         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
4868         macros.
4869         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4870         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
4871         macros.
4872         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4873         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
4874         cleanup macros.
4875         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4876
4877 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4878
4879         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4880         to _sifields.sigfault.
4881         (si_addr_lsb): Define new macro.
4882         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4883         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4884         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4885
4886 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
4887
4888         [BZ #15441]
4889         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4890         returns -1.
4891         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4892         null return -1.
4893         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4894         loading the domain.
4895
4896 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
4897
4898         * math/gen-libm-test.pl (parse_args): Do not include expected
4899         result in test name.
4900         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4901         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4902         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4903         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4904         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906
4907 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4908
4909         * benchtests/Makefile: Sort function entries.
4910
4911         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4912         tanh, asinh, acosh, atanh.
4913         * benchtests/acos-inputs: New file.
4914         * benchtests/acosh-inputs: New file.
4915         * benchtests/asin-inputs: New file.
4916         * benchtests/asinh-inputs: New file.
4917         * benchtests/atanh-inputs: New file.
4918         * benchtests/cosh-inputs: New file.
4919         * benchtests/log-inputs: New file.
4920         * benchtests/sinh-inputs: New file.
4921         * benchtests/tanh-inputs: New file.
4922
4923 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
4924
4925         [BZ #15339]
4926         * posix/tst-getaddrinfo4.c: New test.
4927         * posix/Makefile (tests): Add it.
4928
4929 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4930
4931         [BZ #15339]
4932         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4933         when no services were used.
4934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4935         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4936
4937 2013-05-21  Andreas Schwab  <schwab@suse.de>
4938
4939         [BZ #15014]
4940         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4941         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4942         successful.
4943         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4944         redundant variable declarations and reallocation of buffer when
4945         parsing as IPv6 address.  Always set NSS status when called from
4946         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
4947         buffer too small.  Correct computation of needed size.
4948         * nss/Makefile (tests): Add test-digits-dots.
4949         * nss/test-digits-dots.c: New test.
4950
4951 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952
4953         * benchtests/Makefile: Remove instructions for adding
4954         benchmark tests.
4955         * benchtests/README: New file to explain how to execute and
4956         enhance the benchmark tests.
4957
4958 2013-05-21  Andreas Schwab  <schwab@suse.de>
4959
4960         [BZ #15493]
4961         * setjmp/Makefile (tests): Add tst-sigsetjmp.
4962         * setjmp/tst-sigsetjmp.c: New test.
4963
4964 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4965
4966         * sysdeps/x86_64/memset.S (memset): New implementation.
4967         (__bzero): Likewise.
4968         (__memset_tail): New function.
4969
4970 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
4971
4972         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4973         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4974         __memcpy_sse2_unaligned ifunc selection.
4975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4976         Add memcpy-sse2-unaligned.S.
4977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4978         Add: __memcpy_sse2_unaligned.
4979
4980 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
4981
4982         [BZ #15490]
4983         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4984         math_force_eval before restoring floating-point envrionment.
4985         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4987         Likewise.
4988         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4989         <math_private.h>.
4990         (__nearbyintl): Use math_force_eval before restoring
4991         floating-point environment.
4992         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4993
4994         * math/gen-libm-test.pl (special_functions): Remove.
4995         (parse_args): Don't handle TEST_extra.  Handle functions with no
4996         return value.
4997         * math/libm-test.inc (struct test_sincos_data): Replace with
4998         struct test_fFF_11_data.
4999         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5000         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5001         (sincos_test_data): Change element type to struct
5002         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
5003         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5004         RUN_TEST_LOOP_sincos.
5005         * math/README.libm-test: Don't mention special handling of
5006         individual functions.
5007         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5008         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5009         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5010         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5011         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013
5014         * math/gen-libm-test.pl (get_variable): Remove function.
5015         (parse_args): Don't show pointer parameters to call in test
5016         names.  Use "extra output N" in test names for extra outputs
5017         rather than naming variables.
5018
5019 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
5020
5021         [BZ #15488]
5022         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5023         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5024         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5025         double tests.
5026         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5027         disable.
5028         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5029         check_long_double.
5030
5031         * math/gen-libm-test.pl (@tests): Remove variable.
5032         ($count): Likewise.
5033         (new_test): Remove function.
5034         (show_exceptions): New function.
5035         (special_functions): Use show_exceptions instead of new_test.
5036         (parse_args): Likewise.
5037         (generate_testfile): Pass only function name in generated call to
5038         print_max_error or print_complex_max_error.
5039         (get_ulps): Do not handle complex tests specially.
5040         (output_test): Rename to ...
5041         (get_all_ulps_for_test): ... this.  Return a string rather than
5042         printing to a file.  Require ulps to be present.
5043         (output_ulps): Generate arrays rather than #defines.
5044         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5045         (struct ulp_data): New type.
5046         (BUILD_COMPLEX_ULP): Remove macro.
5047         (compare_ulp_data): New function.
5048         (find_ulps): Likewise.
5049         (find_test_ulps): Likewise.
5050         (find_function_ulps): Likewise.
5051         (find_complex_function_ulps): Likewise.
5052         (print_max_error): Determine allowed ulps using
5053         find_function_ulps.
5054         (print_complex_max_error): Determine allowed ulps using
5055         find_complex_function_ulps.
5056         (check_float_internal): Determine max ulps using find_test_ulps.
5057         (check_float): Do not take max_ulp parameter.  Update call to
5058         check_float_internal.
5059         (check_complex): Likewise.
5060         (check_int): Do not take max_ulp parameter.
5061         (check_long): Likewise.
5062         (check_bool): Likewise.
5063         (check_longlong): Likewise.
5064         (struct test_f_f_data): Remove max_ulp field.
5065         (struct test_ff_f_data): Likewise.
5066         (struct test_ff_f_data_nexttoward): Likewise.
5067         (struct test_fi_f_data): Likewise.
5068         (struct test_fl_f_data): Likewise.
5069         (struct test_if_f_data): Likewise.
5070         (struct test_fff_f_data): Likewise.
5071         (struct test_c_f_data): Likewise.
5072         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5073         (struct test_fF_f1_data): Likewise.
5074         (struct test_ffI_f1_data): Likewise.
5075         (struct test_c_c_data): Remove max_ulp field.
5076         (struct test_cc_c_data): Likewise.
5077         (struct test_f_i_data): Likewise.
5078         (struct test_ff_i_data): Likewise.
5079         (struct test_f_l_data): Likewise.
5080         (struct test_f_L_data): Likewise.
5081         (struct test_sincos_data): Likewise.
5082         (RUN_TEST_f_f): Do not handle ulps.
5083         (RUN_TEST_LOOP_f_f): Likewise.
5084         (RUN_TEST_2_f): Likewise.
5085         (RUN_TEST_LOOP_2_f): Likewise.
5086         (RUN_TEST_fff_f): Likewise.
5087         (RUN_TEST_LOOP_fff_f): Likewise.
5088         (RUN_TEST_c_f): Likewise.
5089         (RUN_TEST_LOOP_c_f): Likewise.
5090         (RUN_TEST_f_f1): Likewise.
5091         (RUN_TEST_LOOP_f_f1): Likewise.
5092         (RUN_TEST_fF_f1): Likewise.
5093         (RUN_TEST_LOOP_fF_f1): Likewise.
5094         (RUN_TEST_fI_f1): Likewise.
5095         (RUN_TEST_LOOP_fI_f1): Likewise.
5096         (RUN_TEST_ffI_f1): Likewise.
5097         (RUN_TEST_LOOP_ffI_f1): Likewise.
5098         (RUN_TEST_c_c): Likewise.
5099         (RUN_TEST_LOOP_c_c): Likewise.
5100         (RUN_TEST_cc_c): Likewise.
5101         (RUN_TEST_LOOP_cc_c): Likewise.
5102         (RUN_TEST_f_i): Likewise.
5103         (RUN_TEST_LOOP_f_i): Likewise.
5104         (RUN_TEST_f_i_tg): Likewise.
5105         (RUN_TEST_LOOP_f_i_tg): Likewise.
5106         (RUN_TEST_ff_i_tg): Likewise.
5107         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5108         (RUN_TEST_f_b): Likewise.
5109         (RUN_TEST_LOOP_f_b): Likewise.
5110         (RUN_TEST_f_b_tg): Likewise.
5111         (RUN_TEST_LOOP_f_b_tg): Likewise.
5112         (RUN_TEST_f_l): Likewise.
5113         (RUN_TEST_LOOP_f_l): Likewise.
5114         (RUN_TEST_f_L): Likewise.
5115         (RUN_TEST_LOOP_f_L): Likewise.
5116         (RUN_TEST_sincos): Likewise.
5117         (RUN_TEST_LOOP_sincos): Likewise.
5118
5119 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
5120
5121         [BZ #15480]
5122         [BZ #15485]
5123         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5124         main case of finite arguments, set rounding mode to FE_TONEAREST
5125         and discard exceptions.
5126         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5127         exceptions.
5128         (remainder_tonearest_test_data): New variable.
5129         (remainder_test_tonearest): New function.
5130         (remainder_towardzero_test_data): New variable.
5131         (remainder_test_towardzero): New function.
5132         (remainder_downward_test_data): New variable.
5133         (remainder_test_downward): New function.
5134         (remainder_upward_test_data): New variable.
5135         (remainder_test_upward): New function.
5136         (main): Call the new test functions.
5137
5138         * math/libm-test.inc (struct test_f_f1_data): Remove field
5139         extra_init.
5140         (struct test_fF_f1_data): Likewise.
5141         (struct test_ffI_f1_data): Likewise.
5142         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
5143         based on value of EXTRA_EXPECTED.
5144         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5145         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
5146         EXTRA_VAR based on value of EXTRA_EXPECTED.
5147         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5148         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
5149         EXTRA_VAR based on value of EXTRA_EXPECTED.
5150         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5151         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
5152         EXTRA_VAR based on value of EXTRA_EXPECTED.
5153         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5154         * math/gen-libm-test.pl (parse_args): Don't output initializers
5155         for extra output values.
5156
5157         * math/libm-test.inc (check_int): Expect result to be exactly
5158         equal to expected value and do not handle ulps.
5159         (check_long): Likewise.
5160         (check_longlong): Likewise.
5161
5162         * math/libm-test.inc (ceil_test_data): Test for "inexact"
5163         exceptions.
5164         (cimag_test_data): Likewise.
5165         (conj_test_data): Likewise.
5166         (copysign_test_data): Likewise.
5167         (cproj_test_data): Likewise.
5168         (creal_test_data): Likewise.
5169         (fabs_test_data): Likewise.
5170         (fdim_test_data): Likewise.
5171         (finite_test_data): Likewise.
5172         (floor_test_data): Likewise.
5173         (fmax_test_data): Likewise.
5174         (fmin_test_data): Likewise.
5175         (fmod_test_data): Likewise.
5176         (fpclassify_test_data): Likewise.
5177         (frexp_test_data): Likewise.
5178         (ilogb_test_data): Likewise.
5179         (isfinite_test_data): Likewise.
5180         (isgreater_test_data): Likewise.
5181         (isgreaterequal_test_data): Likewise.
5182         (isinf_test_data): Likewise.
5183         (isless_test_data): Likewise.
5184         (islessequal_test_data): Likewise.
5185         (islessgreater_test_data): Likewise.
5186         (isnan_test_data): Likewise.
5187         (isnormal_test_data): Likewise.
5188         (issignaling_test_data): Likewise.
5189         (isunordered_test_data): Likewise.
5190         (ldexp_test_data): Likewise.
5191         (lrint_test_data): Likewise.
5192         (lrint_test_data) [TEST_FLOAT]: Disable one test.
5193         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5194         (lrint_tonearest_test_data): Test for "inexact" exceptions.
5195         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5196         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5197         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5198         test input.
5199         (lrint_towardzero_test_data): Test for "inexact" exceptions.
5200         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5201         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5202         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5203         that test input.
5204         (lrint_downward_test_data): Test for "inexact" exceptions.
5205         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5206         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5207         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5208         test input.
5209         (lrint_upward_test_data): Test for "inexact" exceptions.
5210         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5211         test input.
5212         (llrint_test_data): Test for "inexact" exceptions.
5213         (llrint_test_data) [TEST_FLOAT]: Disable one test.
5214         (llrint_tonearest_test_data): Test for "inexact" exceptions.
5215         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5216         (llrint_towardzero_test_data): Test for "inexact" exceptions.
5217         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5218         (llrint_downward_test_data): Test for "inexact" exceptions.
5219         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5220         (llrint_upward_test_data): Test for "inexact" exceptions.
5221         (logb_test_data): Likewise.
5222         (logb_downward_test_data): Likewise.
5223         (nextafter_test_data): Likewise.
5224         (nexttoward_test_data): Likewise.
5225         (remainder_test_data): Likewise.
5226         (remquo_test_data): Likewise.
5227         (scalbn_test_data): Likewise.
5228         (scalbln_test_data): Likewise.
5229         (signbit_test_data): Likewise.
5230         (sqrt_test_data): Likewise.
5231         (significand_test_data): Likewise.
5232
5233 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5234
5235         [BZ #15424]
5236         * benchtests/bench-modf.c (struct args): Mark arg0 as
5237         volatile.
5238         * scripts/bench.pl: Mark members of struct args as volatile.
5239
5240 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5241
5242         [BZ # 15497]
5243         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5244         negative infinity on POWER6 or lower.
5245         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5246
5247 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5248
5249         [BZ #15442]
5250         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5251         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5252         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5253         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5254         (_FP_SETQNAN): New macro.
5255         (_FP_SETQNAN_SEMIRAW): Likewise.
5256         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5257         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5258         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5259         (FP_EXTEND): Use _FP_FRAC_SNANP.
5260         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5261         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5262         into account.
5263         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5264         New macro.
5265         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5266         Likewise.
5267
5268 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5269
5270         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5271         with DIVIDE_BY_ZERO_EXCEPTION.
5272         (gamma_test_data): Likewise.
5273         (lgamma_test_data): Likewise.
5274         (log_test_data): Likewise.
5275         (log10_test_data): Likewise.
5276         (log2_test_data): Likewise.
5277         (tgamma_test_data): Likewise.
5278
5279         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5280         (acos_test_tonearest): Likewise.
5281         (acos_test_towardzero): Likewise.
5282         (acos_test_downward): Likewise.
5283         (acos_test_upward): Likewise.
5284         (acosh_test): Likewise.
5285         (asin_test): Likewise.
5286         (asin_test_tonearest): Likewise.
5287         (asin_test_towardzero): Likewise.
5288         (asin_test_downward): Likewise.
5289         (asin_test_upward): Likewise.
5290         (asinh_test): Likewise.
5291         (atan_test): Likewise.
5292         (atanh_test): Likewise.
5293         (atan2_test): Likewise.
5294         (cabs_test): Likewise.
5295         (cacos_test): Likewise.
5296         (cacosh_test): Likewise.
5297         (casin_test): Likewise.
5298         (casinh_test): Likewise.
5299         (catan_test): Likewise.
5300         (catanh_test): Likewise.
5301         (cbrt_test): Likewise.
5302         (ccos_test): Likewise.
5303         (ccosh_test): Likewise.
5304         (cexp_test): Likewise.
5305         (clog_test): Likewise.
5306         (clog10_test): Likewise.
5307         (cos_test): Likewise.
5308         (cos_test_tonearest): Likewise.
5309         (cos_test_towardzero): Likewise.
5310         (cos_test_downward): Likewise.
5311         (cos_test_upward): Likewise.
5312         (cosh_test): Likewise.
5313         (cosh_test_tonearest): Likewise.
5314         (cosh_test_towardzero): Likewise.
5315         (cosh_test_downward): Likewise.
5316         (cosh_test_upward): Likewise.
5317         (cpow_test): Likewise.
5318         (csin_test): Likewise.
5319         (csinh_test): Likewise.
5320         (csqrt_test): Likewise.
5321         (ctan_test): Likewise.
5322         (ctan_test_tonearest): Likewise.
5323         (ctan_test_towardzero): Likewise.
5324         (ctan_test_downward): Likewise.
5325         (ctan_test_upward): Likewise.
5326         (ctanh_test): Likewise.
5327         (ctanh_test_tonearest): Likewise.
5328         (ctanh_test_towardzero): Likewise.
5329         (ctanh_test_downward): Likewise.
5330         (ctanh_test_upward): Likewise.
5331         (erf_test): Likewise.
5332         (erfc_test): Likewise.
5333         (exp_test): Likewise.
5334         (exp_test_tonearest): Likewise.
5335         (exp_test_towardzero): Likewise.
5336         (exp_test_downward): Likewise.
5337         (exp_test_upward): Likewise.
5338         (exp10_test): Likewise.
5339         (exp2_test): Likewise.
5340         (expm1_test): Likewise.
5341         (fmod_test): Likewise.
5342         (gamma_test): Likewise.
5343         (hypot_test): Likewise.
5344         (j0_test): Likewise.
5345         (j1_test): Likewise.
5346         (jn_test): Likewise.
5347         (lgamma_test): Likewise.
5348         (log_test): Likewise.
5349         (log10_test): Likewise.
5350         (log1p_test): Likewise.
5351         (log2_test): Likewise.
5352         (logb_test_downward): Likewise.
5353         (pow_test): Likewise.
5354         (pow_test_tonearest): Likewise.
5355         (pow_test_towardzero): Likewise.
5356         (pow_test_downward): Likewise.
5357         (pow_test_upward): Likewise.
5358         (remainder_test): Likewise.
5359         (remquo_test): Likewise.
5360         (sin_test): Likewise.
5361         (sin_test_tonearest): Likewise.
5362         (sin_test_towardzero): Likewise.
5363         (sin_test_downward): Likewise.
5364         (sin_test_upward): Likewise.
5365         (sincos_test): Likewise.
5366         (sinh_test): Likewise.
5367         (sinh_test_tonearest): Likewise.
5368         (sinh_test_towardzero): Likewise.
5369         (sinh_test_downward): Likewise.
5370         (sinh_test_upward): Likewise.
5371         (sqrt_test): Likewise.
5372         (tan_test): Likewise.
5373         (tan_test_tonearest): Likewise.
5374         (tan_test_towardzero): Likewise.
5375         (tan_test_downward): Likewise.
5376         (tan_test_upward): Likewise.
5377         (tanh_test): Likewise.
5378         (tgamma_test): Likewise.
5379         (y0_test): Likewise.
5380         (y1_test): Likewise.
5381         (yn_test): Likewise.
5382
5383         * math/gen-libm-test.pl (adjust_arg): Remove function.
5384         (special_function): Remove argument $in_func.  Only handle
5385         generating output for tables of tests, not inside functions.
5386         (parse_args): Likewise.
5387         (generate_testfile): Remove variable $in_func.  Update call to
5388         parse_args.
5389         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5390         (MINUS_ZERO_INIT): Rename macro to minus_zero.
5391         (PLUS_INFTY_INIT): Rename macro to plus_infty.
5392         (MINUS_INFTY_INIT): Rename macro to minus_infty.
5393         (QNAN_VALUE_INIT): Rename macro to qnan_value.
5394         (MAX_VALUE_INIT): Rename macro to max_value.
5395         (MIN_VALUE_INIT): Rename macro to min_value.
5396         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5397         (plus_zero): Remove variable.
5398         (minus_zero): Likewise.
5399         (plus_infty): Likewise.
5400         (minus_infty): Likewise.
5401         (qnan_value): Likewise.
5402         (max_value): Likewise.
5403         (min_value): Likewise.
5404         (min_subnorm_value): Likewise.
5405
5406 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5407
5408         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5409         uint64_t or uint32_t usage.
5410         * crypt/sha256-block.c: Likewise.
5411         * crypt/sha256-crypt.c: Likewise.
5412         * crypt/sha256.c: Likewise.
5413         * crypt/sha512-block.c: Likewise.
5414         * crypt/sha512-crypt.c: Likewise.
5415         * crypt/sha512.c: Likewise.
5416         * debug/backtrace-tst.c: Likewise.
5417         * debug/pcprofiledump.c: Likewise.
5418         * elf/cache.c: Likewise.
5419         * elf/dl-cache.c: Likewise.
5420         * elf/dl-misc.c: Likewise.
5421         * elf/dl-profile.c: Likewise.
5422         * elf/dl-support.c: Likewise.
5423         * elf/ldconfig.c: Likewise.
5424         * elf/sprof.c: Likewise.
5425         * iconv/dummy-repertoire.c: Likewise.
5426         * iconv/iconv_charmap.c: Likewise.
5427         * iconv/skeleton.c: Likewise.
5428         * iconvdata/8bit-generic.c: Likewise.
5429         * iconvdata/cp737.h: Likewise.
5430         * iconvdata/cp775.h: Likewise.
5431         * iconvdata/ibm1008.h: Likewise.
5432         * iconvdata/ibm1025.h: Likewise.
5433         * iconvdata/ibm1046.h: Likewise.
5434         * iconvdata/ibm1097.h: Likewise.
5435         * iconvdata/ibm1112.h: Likewise.
5436         * iconvdata/ibm1122.h: Likewise.
5437         * iconvdata/ibm1123.h: Likewise.
5438         * iconvdata/ibm1124.h: Likewise.
5439         * iconvdata/ibm1129.h: Likewise.
5440         * iconvdata/ibm1130.h: Likewise.
5441         * iconvdata/ibm1132.h: Likewise.
5442         * iconvdata/ibm1133.h: Likewise.
5443         * iconvdata/ibm1137.h: Likewise.
5444         * iconvdata/ibm1140.h: Likewise.
5445         * iconvdata/ibm1141.h: Likewise.
5446         * iconvdata/ibm1142.h: Likewise.
5447         * iconvdata/ibm1143.h: Likewise.
5448         * iconvdata/ibm1144.h: Likewise.
5449         * iconvdata/ibm1145.h: Likewise.
5450         * iconvdata/ibm1146.h: Likewise.
5451         * iconvdata/ibm1147.h: Likewise.
5452         * iconvdata/ibm1148.h: Likewise.
5453         * iconvdata/ibm1149.h: Likewise.
5454         * iconvdata/ibm1153.h: Likewise.
5455         * iconvdata/ibm1154.h: Likewise.
5456         * iconvdata/ibm1155.h: Likewise.
5457         * iconvdata/ibm1156.h: Likewise.
5458         * iconvdata/ibm1157.h: Likewise.
5459         * iconvdata/ibm1158.h: Likewise.
5460         * iconvdata/ibm1160.h: Likewise.
5461         * iconvdata/ibm1161.h: Likewise.
5462         * iconvdata/ibm1162.h: Likewise.
5463         * iconvdata/ibm1163.h: Likewise.
5464         * iconvdata/ibm1164.h: Likewise.
5465         * iconvdata/ibm1166.h: Likewise.
5466         * iconvdata/ibm1167.h: Likewise.
5467         * iconvdata/ibm12712.h: Likewise.
5468         * iconvdata/ibm1390.h: Likewise.
5469         * iconvdata/ibm1399.h: Likewise.
5470         * iconvdata/ibm16804.h: Likewise.
5471         * iconvdata/ibm4517.h: Likewise.
5472         * iconvdata/ibm4899.h: Likewise.
5473         * iconvdata/ibm4909.h: Likewise.
5474         * iconvdata/ibm4971.h: Likewise.
5475         * iconvdata/ibm5347.h: Likewise.
5476         * iconvdata/ibm803.h: Likewise.
5477         * iconvdata/ibm856.h: Likewise.
5478         * iconvdata/ibm901.h: Likewise.
5479         * iconvdata/ibm902.h: Likewise.
5480         * iconvdata/ibm9030.h: Likewise.
5481         * iconvdata/ibm9066.h: Likewise.
5482         * iconvdata/ibm921.h: Likewise.
5483         * iconvdata/ibm922.h: Likewise.
5484         * iconvdata/ibm9448.h: Likewise.
5485         * iconvdata/isiri-3342.h: Likewise.
5486         * iconvdata/jis0201.h: Likewise.
5487         * include/link.h: Likewise.
5488         * include/netdb.h: Likewise.
5489         * inet/check_native.c: Likewise.
5490         * inet/check_pf.c: Likewise.
5491         * inet/getipv4sourcefilter.c: Likewise.
5492         * inet/getnameinfo.c: Likewise.
5493         * inet/getsourcefilter.c: Likewise.
5494         * inet/htonl.c: Likewise.
5495         * inet/setipv4sourcefilter.c: Likewise.
5496         * inet/setsourcefilter.c: Likewise.
5497         * inet/test-inet6_opt.c: Likewise.
5498         * inet/tst-network.c: Likewise.
5499         * locale/C-collate.c: Likewise.
5500         * locale/C-ctype.c: Likewise.
5501         * locale/C-time.c: Likewise.
5502         * locale/C-translit.h: Likewise.
5503         * locale/loadarchive.c: Likewise.
5504         * locale/programs/3level.h: Likewise.
5505         * locale/programs/charmap.c: Likewise.
5506         * locale/programs/charmap.h: Likewise.
5507         * locale/programs/ld-address.c: Likewise.
5508         * locale/programs/ld-collate.c: Likewise.
5509         * locale/programs/ld-ctype.c: Likewise.
5510         * locale/programs/ld-identification.c: Likewise.
5511         * locale/programs/ld-measurement.c: Likewise.
5512         * locale/programs/ld-messages.c: Likewise.
5513         * locale/programs/ld-monetary.c: Likewise.
5514         * locale/programs/ld-name.c: Likewise.
5515         * locale/programs/ld-numeric.c: Likewise.
5516         * locale/programs/ld-paper.c: Likewise.
5517         * locale/programs/ld-telephone.c: Likewise.
5518         * locale/programs/ld-time.c: Likewise.
5519         * locale/programs/linereader.c: Likewise.
5520         * locale/programs/locale.c: Likewise.
5521         * locale/programs/locarchive.c: Likewise.
5522         * locale/programs/locfile.h: Likewise.
5523         * locale/programs/repertoire.c: Likewise.
5524         * locale/programs/simple-hash.c: Likewise.
5525         * locale/programs/simple-hash.h: Likewise.
5526         * malloc/memusage.c: Likewise.
5527         * malloc/memusagestat.c: Likewise.
5528         * nis/nis_defaults.c: Likewise.
5529         * nis/nis_hash.c: Likewise.
5530         * nis/nis_print.c: Likewise.
5531         * nis/nis_xdr.c: Likewise.
5532         * nscd/connections.c: Likewise.
5533         * nscd/hstcache.c: Likewise.
5534         * nscd/nscd_gethst_r.c: Likewise.
5535         * nscd/nscd_getserv_r.c: Likewise.
5536         * nscd/nscd_helper.c: Likewise.
5537         * nscd/servicescache.c: Likewise.
5538         * nss/makedb.c: Likewise.
5539         * nss/nss_db/db-XXX.c: Likewise.
5540         * nss/nss_db/db-initgroups.c: Likewise.
5541         * nss/nss_db/db-netgrp.c: Likewise.
5542         * nss/nss_files/files-network.c: Likewise.
5543         * nss/nss_files/files-parse.c: Likewise.
5544         * posix/bug-regex5.c: Likewise.
5545         * posix/fnmatch_loop.c: Likewise.
5546         * posix/regcomp.c: Likewise.
5547         * posix/regexec.c: Likewise.
5548         * posix/tst-rfc3484-2.c: Likewise.
5549         * posix/tst-rfc3484-3.c: Likewise.
5550         * posix/tst-rfc3484.c: Likewise.
5551         * resolv/nss_dns/dns-canon.c: Likewise.
5552         * resolv/nss_dns/dns-network.c: Likewise.
5553         * resolv/res_init.c: Likewise.
5554         * resolv/res_mkquery.c: Likewise.
5555         * resolv/tst-aton.c: Likewise.
5556         * stdlib/cxa_atexit.c: Likewise.
5557         * stdlib/cxa_finalize.c: Likewise.
5558         * stdlib/gen-fpioconst.c: Likewise.
5559         * stdlib/strtol_l.c: Likewise.
5560         * string/tst-endian.c: Likewise.
5561         * sunrpc/auth_des.c: Likewise.
5562         * sunrpc/clnt_udp.c: Likewise.
5563         * sunrpc/rtime.c: Likewise.
5564         * sunrpc/svcauth_des.c: Likewise.
5565         * sunrpc/xdr.c: Likewise.
5566         * sunrpc/xdr_intXX_t.c: Likewise.
5567         * sunrpc/xdr_rec.c: Likewise.
5568         * sysdeps/generic/ldconfig.h: Likewise.
5569         * sysdeps/generic/ldsodefs.h: Likewise.
5570         * sysdeps/generic/memusage.h: Likewise.
5571         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5573         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5574         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5576         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5577         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5579         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5581         * sysdeps/posix/getaddrinfo.c: Likewise.
5582         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5583         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5584         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5585         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5586         * sysdeps/powerpc/test-gettimebase.c: Likewise.
5587         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5588         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5589         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5590         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5591         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5592         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5593         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5594         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5595         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5596         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5597         * sysdeps/x86_64/dl-tls.h: Likewise.
5598         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5599         * time/alt_digit.c: Likewise.
5600         * time/era.c: Likewise.
5601         * wcsmbs/tst-c16c32-1.c: Likewise.
5602
5603 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5604
5605         * math/libm-test.inc (struct test_sincos_data): New type.
5606         (RUN_TEST_LOOP_sincos): New macro.
5607         (sincos_test_data): New variable.
5608         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5609
5610 2013-05-16  Richard Henderson  <rth@redhat.com>
5611
5612         * math/atest-exp2.c (LIMB64): New macro.
5613         (CONSTSZ): New macro.
5614         (mp_exp1, mp_exp_m1, mp_log2): New variables.
5615         (hexdig): Move ...
5616         (print_mpn_fp): ... to function scope.
5617         (read_mpn_hex): Remove.
5618         (get_log2): Remove.
5619         (exp2_mpn): Use mp_log2.
5620         (main): Use mp_exp1.
5621
5622 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
5623
5624         * math/libm-test.inc: Remove comment about not testing "inexact"
5625         exceptions.
5626         (INEXACT_EXCEPTION): New macro.
5627         (NO_INEXACT_EXCEPTION): Likewise.
5628         (INVALID_EXCEPTION_OK): Update value.
5629         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5630         (OVERFLOW_EXCEPTION_OK): Likewise.
5631         (UNDERFLOW_EXCEPTION_OK): Likewise.
5632         (IGNORE_ZERO_INF_SIGN): Likewise.
5633         (ERRNO_UNCHANGED): Likewise.
5634         (ERRNO_EDOM): Likewise.
5635         (ERRNO_ERANGE): Likewise.
5636         (test_exceptions): Handle testing "inexact" exceptions.
5637         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5638         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5639         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5640         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5641         INEXACT_EXCEPTION.
5642         (rint_towardzero_test_data): Likewise.
5643         (rint_downward_test_data): Likewise.
5644         (rint_upward_test_data): Likewise.
5645
5646         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5647         with OVERFLOW_EXCEPTION.
5648         (exp10_test_data): Likewise.
5649         (exp2_test_data): Likewise.
5650         (expm1_test_data): Likewise.
5651         (lgamma_test_data): Likewise.
5652         (pow_test_data): Likewise.
5653         (tgamma_test_data): Likewise.
5654         (yn_test_data): Remove duplicate test of overflow.
5655
5656         * math/libm-test.inc (struct test_cc_c_data): New type.
5657         (RUN_TEST_LOOP_cc_c): New macro.
5658         (cpow_test_data): New variable.
5659         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5660
5661         * math/libm-test.inc (struct test_f_L_data): New type.
5662         (RUN_TEST_LOOP_f_L): New macro.
5663         (llrint_test_data): New variable.
5664         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5665         (llrint_tonearest_test_data): New variable.
5666         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5667         (llrint_towardzero_test_data): New variable.
5668         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5669         (llrint_downward_test_data): New variable.
5670         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5671         (llrint_upward_test_data): New variable.
5672         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5673         (llround_test_data): New variable.
5674         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5675
5676 2013-05-13  Peter Collingbourne  <pcc@google.com>
5677
5678         * math/atest-exp2.c (get_log2): Remove const attribute.
5679
5680 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5681
5682         * math/libm-test.inc (struct test_f_l_data): New type.
5683         (RUN_TEST_LOOP_f_l): New macro.
5684         (lrint_test_data): New variable.
5685         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5686         (lrint_tonearest_test_data): New variable.
5687         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5688         (lrint_towardzero_test_data): New variable.
5689         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5690         (lrint_downward_test_data): New variable.
5691         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5692         (lrint_upward_test_data): New variable.
5693         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5694         (lround_test_data): New variable.
5695         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5696
5697 2013-05-15  Peter Collingbourne  <pcc@google.com>
5698
5699         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5700         (EXTRACT_WORDS64) Use where appropriate.
5701         (INSERT_WORDS64) Likewise.
5702
5703         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5704         constraints with x constraints.
5705         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5706
5707         * malloc/obstack.c (_obstack_compat): Add initializer.
5708
5709 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
5710
5711         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5712         si_trapno and add si_addr_lsb to _sifields.sigfault.
5713         (si_trapno): Remove macro.
5714         (si_addr_lsb): Define new macro.
5715         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5716
5717 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
5718
5719         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5720         instead of TEST_f_l.
5721         (llrint_test_tonearest): Likewise.
5722         (llrint_test_towardzero): Likewise.
5723         (llrint_test_downward): Likewise.
5724         (llrint_test_upward): Likewise.
5725         (llround_test): Likewise.
5726
5727         * math/libm-test.inc (struct test_f_i_data): Add comment.
5728         (RUN_TEST_LOOP_f_b): New macro.
5729         (RUN_TEST_LOOP_f_b_tg): Likewise.
5730         (finite_test_data): New variable.
5731         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5732         (isfinite_test_data): New variable.
5733         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5734         (isinf_test_data): New variable.
5735         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5736         (isnan_test_data): New variable.
5737         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5738         (isnormal_test_data): New variable.
5739         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5740         (issignaling_test_data): New variable.
5741         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5742         (signbit_test_data): New variable.
5743         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5744
5745         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5746         with INVALID_EXCEPTION.
5747         (acosh_test_data): Likewise.
5748         (asin_test_data): Likewise.
5749         (atanh_test_data): Likewise.
5750         (fmod_test_data): Likewise.
5751         (log_test_data): Likewise.
5752         (log10_test_data): Likewise.
5753         (log2_test_data): Likewise.
5754         (pow_test_data): Likewise.
5755         (sqrt_test_data): Likewise.
5756         (y0_test_data): Likewise.
5757         (y1_test_data): Likewise.
5758         (yn_test_data): Likewise.
5759
5760         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5761         function contents.
5762
5763         * math/libm-test.inc (struct test_ff_i_data): New type.
5764         (RUN_TEST_LOOP_ff_i_tg): New macro.
5765         (isgreater_test_data): New variable.
5766         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5767         (isgreaterequal_test_data): New variable.
5768         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5769         (isless_test_data): New variable.
5770         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5771         (islessequal_test_data): New variable.
5772         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5773         (islessgreater_test_data): New variable.
5774         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5775         (isunordered_test_data): New variable.
5776         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5777
5778 2013-05-14  David S. Miller  <davem@davemloft.net>
5779
5780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5781
5782 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
5783
5784         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5785
5786         * math/libm-test.inc (struct test_fF_f1_data): Change type of
5787         extra_test to int.
5788         (struct test_f_i_data): Change type of max_ulp to int.
5789
5790         * math/libm-test.inc (test_ffI_f1_data): New type.
5791         (RUN_TEST_LOOP_ffI_f1): New macro.
5792         (remquo_test_data): New variable.
5793         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5794
5795         * setjmp/tst-setjmp-fp.c: New file.
5796         * setjmp/Makefile (tests): Add tst-setjmp-fp.
5797         (link-libm): New variable.
5798         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5799
5800         * math/libm-test.inc (struct test_f_i_data): New type.
5801         (RUN_TEST_LOOP_f_i): New macro.
5802         (RUN_TEST_LOOP_f_i_tg): Likewise.
5803         (fpclassify_test_data): New variable.
5804         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5805         (ilogb_test_data): New variable.
5806         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5807
5808         * math/libm-test.inc (scalbln_test): Correct function name in END
5809         call.
5810
5811         * math/libm-test.inc (struct test_f_f1_data): Add comment.
5812         (RUN_TEST_LOOP_fI_f1): New macro.
5813         (frexp_test_data): New variable.
5814         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5815
5816         * math/libm-test.inc (struct test_fF_f1_data): New type.
5817         (RUN_TEST_LOOP_fF_f1): New macro.
5818         (modf_test_data): New variable.
5819         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5820
5821         * math/libm-test.inc (struct test_f_f1_data): New type.
5822         (RUN_TEST_LOOP_f_f1): New macro.
5823         (gamma_test_data): New variable.
5824         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5825         (lgamma_test_data): New variable.
5826         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5827
5828 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
5829
5830         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5831         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5832         (main): Comment "tls" pseudo-hwcap.
5833
5834 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
5835
5836         * math/libm-test.inc (struct test_fl_f_data): New type.
5837         (RUN_TEST_LOOP_fl_f): New variable.
5838         (scalbln_test_data): New variable.
5839         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5840
5841         * math/libm-test.inc (struct test_fi_f_data): New type.
5842         (RUN_TEST_LOOP_fi_f): New macro.
5843         (ldexp_test_data): New variable.
5844         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5845         (scalbn_test_data): New variable.
5846         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5847
5848         * math/libm-test.inc (struct test_c_f_data): New type.
5849         (RUN_TEST_LOOP_c_f): New macro.
5850         (cabs_test_data): New variable.
5851         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5852         (carg_test_data): New variable.
5853         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5854         (cimag_test_data): New variable.
5855         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5856         (creal_test_data): New variable.
5857         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5858
5859         * math/libm-test.inc (struct test_if_f_data): New type.
5860         (RUN_TEST_LOOP_if_f): New macro.
5861         (jn_test_data): New variable.
5862         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5863         (yn_test_data): New variable.
5864         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5865
5866         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5867
5868 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5869
5870         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5871         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5872
5873 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5874
5875         * benchtests/Makefile (CPPFLAGS-nonlib): Add
5876         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5877         (bench-deps): Add bench-timing.h.
5878         * benchtests-bench-skeleton.c: Include bench-timing.h.
5879         (main): Use TIMING_* macros instead of clock_gettime.
5880         * benchtests/bench-timing.h: New file.
5881
5882         [BZ #14582]
5883         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5884         Renamed from _LIB_VERSION.
5885         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5886
5887 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
5888
5889         * math/libm-test.inc (struct test_fff_f_data): New type.
5890         (RUN_TEST_LOOP_fff_f): New macro.
5891         (fma_test_data): New variable.
5892         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5893         (fma_towardzero_test_data): New variable.
5894         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5895         (fma_downward_test_data): New variable.
5896         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5897         (fma_upward_test_data): New variable.
5898         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5899
5900         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5901         (struct test_c_c_data): New type.
5902         (RUN_TEST_LOOP_c_c): New macro.
5903         (cacos_test_data): New variable.
5904         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5905         (cacosh_test_data): New variable.
5906         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5907         (casin_test_data): New variable.
5908         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5909         (casinh_test_data): New variable.
5910         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5911         (catan_test_data): New variable.
5912         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5913         (catanh_test_data): New variable.
5914         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5915         (ccos_test_data): New variable.
5916         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5917         (ccosh_test_data): New variable.
5918         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5919         (cexp_test_data): New variable.
5920         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5921         (clog_test_data): New variable.
5922         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5923         (clog10_test_data): New variable.
5924         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5925         (conj_test_data): New variable.
5926         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5927         (cproj_test_data): New variable.
5928         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5929         (csin_test_data): New variable.
5930         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5931         (csinh_test_data): New variable.
5932         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5933         (csqrt_test_data): New variable.
5934         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5935         (ctan_test_data): New variable.
5936         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5937         (ctan_tonearest_test_data): New variable.
5938         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5939         (ctan_towardzero_test_data): New variable.
5940         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5941         (ctan_downward_test_data): New variable.
5942         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5943         (ctan_upward_test_data): New variable.
5944         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5945         (ctanh_test_data): New variable.
5946         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5947         (ctanh_tonearest_test_data): New variable.
5948         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5949         (ctanh_towardzero_test_data): New variable.
5950         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5951         (ctanh_downward_test_data): New variable.
5952         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5953         (ctanh_upward_test_data): New variable.
5954         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5955         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5956         of BUILD_COMPLEX.
5957
5958         * math/libm-test.inc (struct test_ff_f_data): New type.
5959         (struct test_ff_f_data_nexttoward): Likewise.
5960         (RUN_TEST_LOOP_2_f): New macro.
5961         (RUN_TEST_LOOP_ff_f): Likewise.
5962         (atan2_test_data): New variable.
5963         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5964         (copysign_test_data): New variable.
5965         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5966         (fdim_test_data): New variable.
5967         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5968         (fmax_test_data): New variable.
5969         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5970         (fmin_test_data): New variable.
5971         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5972         (fmod_test_data): New variable.
5973         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5974         (hypot_test_data): New variable.
5975         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5976         (nextafter_test_data): New variable.
5977         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5978         (nexttoward_test_data): New variable.
5979         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5980         (pow_test_data): New variable.
5981         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5982         (pow_tonearest_test_data): New variable.
5983         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5984         (pow_towardzero_test_data): New variable.
5985         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5986         (pow_downward_test_data): New variable.
5987         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5988         (pow_upward_test_data): New variable.
5989         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5990         (remainder_test_data): New variable.
5991         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5992         (scalb_test_data): New variable.
5993         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5994         * sysdeps/i386/fpu/libm-test-ulps: Update.
5995
5996 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
5997
5998         * math/libm-test.inc (fma_test): Use max_value instead of local
5999         variable fltmax.
6000         (nextafter_test): Likewise.
6001
6002         * math/libm-test.inc (acos_towardzero_test_data): New variable.
6003         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6004         (acos_downward_test_data): New variable.
6005         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6006         (acos_upward_test_data): New variable.
6007         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6008         (acosh_test_data): New variable.
6009         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6010         (asin_test_data): New variable.
6011         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6012         (asin_tonearest_test_data): New variable.
6013         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6014         (asin_towardzero_test_data): New variable.
6015         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6016         (asin_downward_test_data): New variable.
6017         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6018         (asin_upward_test_data): New variable.
6019         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6020         (asinh_test_data): New variable.
6021         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6022         (atan_test_data): New variable.
6023         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6024         (atanh_test_data): New variable.
6025         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6026         (cbrt_test_data): New variable.
6027         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6028         (ceil_test_data): New variable.
6029         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6030         (cos_test_data): New variable.
6031         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6032         (cos_tonearest_test_data): New variable.
6033         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6034         (cos_towardzero_test_data): New variable.
6035         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6036         (cos_downward_test_data): New variable.
6037         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6038         (cos_upward_test_data): New variable.
6039         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6040         (cosh_test_data): New variable.
6041         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6042         (cosh_tonearest_test_data): New variable.
6043         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6044         (cosh_towardzero_test_data): New variable.
6045         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6046         (cosh_downward_test_data): New variable.
6047         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6048         (cosh_upward_test_data): New variable.
6049         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6050         (erf_test_data): New variable.
6051         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6052         (erfc_test_data): New variable.
6053         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6054         (exp_test_data): New variable.
6055         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6056         (exp_tonearest_test_data): New variable.
6057         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6058         (exp_towardzero_test_data): New variable.
6059         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6060         (exp_downward_test_data): New variable.
6061         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6062         (exp_upward_test_data): New variable.
6063         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6064         (exp10_test_data): New variable.
6065         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6066         (exp2_test_data): New variable.
6067         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6068         (expm1_test_data): New variable.
6069         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6070         (fabs_test_data): New variable.
6071         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6072         (floor_test_data): New variable.
6073         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6074         (j0_test_data): New variable.
6075         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6076         (j1_test_data): New variable.
6077         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6078         (log_test_data): New variable.
6079         (log_test): Run tests with RUN_TEST_LOOP_f_f.
6080         (log10_test_data): New variable.
6081         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6082         (log1p_test_data): New variable.
6083         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6084         (log2_test_data): New variable.
6085         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6086         (logb_test_data): New variable.
6087         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6088         (logb_downward_test_data): New variable.
6089         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6090         (nearbyint_test_data): New variable.
6091         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6092         (rint_test_data): New variable.
6093         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6094         (rint_tonearest_test_data): New variable.
6095         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6096         (rint_towardzero_test_data): New variable.
6097         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6098         (rint_downward_test_data): New variable.
6099         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6100         (rint_upward_test_data): New variable.
6101         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6102         (round_test_data): New variable.
6103         (round_test): Run tests with RUN_TEST_LOOP_f_f.
6104         (sin_test_data): New variable.
6105         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6106         (sin_tonearest_test_data): New variable.
6107         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6108         (sin_towardzero_test_data): New variable.
6109         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6110         (sin_downward_test_data): New variable.
6111         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6112         (sin_upward_test_data): New variable.
6113         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6114         (sinh_test_data): New variable.
6115         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6116         (sinh_tonearest_test_data): New variable.
6117         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6118         (sinh_towardzero_test_data): New variable.
6119         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6120         (sinh_downward_test_data): New variable.
6121         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6122         (sinh_upward_test_data): New variable.
6123         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6124         (sqrt_test_data): New variable.
6125         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6126         (tan_test_data): New variable.
6127         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6128         (tan_tonearest_test_data): New variable.
6129         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6130         (tan_towardzero_test_data): New variable.
6131         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6132         (tan_downward_test_data): New variable.
6133         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6134         (tan_upward_test_data): New variable.
6135         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6136         (tanh_test_data): New variable.
6137         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6138         (tgamma_test_data): New variable.
6139         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6140         (trunc_test_data): New variable.
6141         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6142         (y0_test_data): New variable.
6143         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6144         (y1_test_data): New variable.
6145         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6146         (significand_test_data): New variable.
6147         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6148
6149 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
6150
6151         [BZ #12387]
6152         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6153
6154 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
6155
6156         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6157
6158 2013-05-10  Andreas Jaeger  <aj@suse.de>
6159
6160         [BZ #15448]
6161         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6162         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6163
6164 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6165
6166         * math/gen-libm-test.pl (adjust_arg): New function.
6167         (special_functions): Handle generating output in both functions
6168         and arrays.
6169         (parse_args): Likewise.
6170         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
6171         $in_func argument to parse_args.
6172         * math/libm-test.inc (struct test_f_f_data): New type.
6173         (IF_ROUND_INIT_): New macro.
6174         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6175         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6176         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6177         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6178         (ROUND_RESTORE_): Likewise.
6179         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6180         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6181         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6182         (ROUND_RESTORE_FE_UPWARD): Likewise.
6183         (RUN_TEST_LOOP_f_f): New macro.
6184         (acos_test_data): New variable.
6185         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6186         (acos_tonearest_test_data): New variable.
6187         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6188
6189 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6190
6191         * benchtests/bench-skeleton.c (startup): Fix coding style.
6192
6193 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
6194
6195         [BZ #6809]
6196         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6197         negative infinity argument.
6198         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6199         negative infinity argument.
6200         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6201         negative infinity argument.
6202         * math/libm-test.inc (tgamma_test): Expect errno to be set for
6203         domain errors.
6204
6205 2013-05-10  Florian Weimer  <fweimer@redhat.com>
6206
6207         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6208         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6209         * iconv/iconv_prog.c (main): Likewise.
6210         * locale/programs/charmap-dir.c (charmap_readdir)
6211         (fopen_uncompressed): Likewise.
6212         * locale/programs/locfile.c (siblings_uncached)
6213         (write_locale_data): Use lstat64 instead of lstat.
6214         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6215         stat.
6216
6217 2013-05-10  Andreas Jaeger  <aj@suse.de>
6218
6219         [BZ #15395]
6220         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6221         localization.
6222         Include <locale.h>.
6223
6224 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
6225
6226         * elf/dl-close.c (_dl_close_worker): Add comments.
6227
6228 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
6229
6230         [BZ #15359]
6231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6232         high part of pi/2.
6233         (__ieee754_rem_pio2l): Update comments.
6234
6235         [BZ #15429]
6236         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6237         high part of pi/2.
6238         (__ieee754_rem_pio2l): Update comments.
6239
6240         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6241         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6242
6243         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6244         M_PI_4l.
6245
6246         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6247         (M_PI_34_LOG10El): Likewise.
6248         (M_PI2_LOG10El): Likewise.
6249         (M_PI4_LOG10El): Likewise.
6250         (M_PI_LOG10El): Likewise.
6251
6252 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6253
6254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6255
6256 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
6257
6258         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6259         (MINUS_ZERO_INIT): Likewise.
6260         (PLUS_INFTY_INIT): Likewise.
6261         (MINUS_INFTY_INIT): Likewise.
6262         (QNAN_VALUE_INIT): Likewise.
6263         (MAX_VALUE_INIT): Likewise.
6264         (MIN_VALUE_INIT): Likewise.
6265         (MIN_SUBNORM_VALUE_INIT): Likewise.
6266         (plus_zero): Initialize with PLUS_ZERO_INIT.
6267         (minus_zero): Initialize with MINUS_ZERO_INIT.
6268         (plus_infty): Initialize with PLUS_INFTY_INIT.
6269         (minus_infty): Initialize with MINUS_INFTY_INIT.
6270         (qnan_value): Initialize with QNAN_VALUE_INIT.
6271         (max_value): Initialize with MAX_VALUE_INIT.
6272         (min_value): Initialize with MIN_VALUE_INIT.
6273         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6274
6275         * math/libm-test.inc (RUN_TEST_if_f): New macro.
6276         (jn_test): Use TEST_if_f instead of TEST_ff_f.
6277         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6278         (yn_test): Use TEST_if_f instead of TEST_ff_f.
6279
6280         * math/libm-test.inc (RUN_TEST_f_f): New macro.
6281         (RUN_TEST_2_f): Likewise.
6282         (RUN_TEST_ff_f): Likewise.
6283         (RUN_TEST_fi_f): Likewise.
6284         (RUN_TEST_fl_f): Likewise.
6285         (RUN_TEST_fff_f): Likewise.
6286         (RUN_TEST_c_f): Likewise.
6287         (RUN_TEST_f_f1): Likewise.
6288         (RUN_TEST_fF_f1): Likewise.
6289         (RUN_TEST_fI_f1): Likewise.
6290         (RUN_TEST_ffI_f1): Likewise.
6291         (RUN_TEST_c_c): Likewise.
6292         (RUN_TEST_cc_c): Likewise.
6293         (RUN_TEST_f_i): Likewise.
6294         (RUN_TEST_f_i_tg): Likewise.
6295         (RUN_TEST_ff_i_tg): Likewise.
6296         (RUN_TEST_f_b): Likewise.
6297         (RUN_TEST_f_b_tg): Likewise.
6298         (RUN_TEST_f_l): Likewise.
6299         (RUN_TEST_f_L): Likewise.
6300         (RUN_TEST_sincos): Likewise.
6301         * math/gen-libm-test.pl (new_test): Take new argument to indicate
6302         whether to show exceptions.  Do not include ");\n" in return
6303         value.
6304         (special_functions): Output call to RUN_TEST_sincos instead of
6305         check_float calls.  Update calls to new_test.
6306         (parse_args): Output call to single RUN_TEST_* macro instead of
6307         check_* calls and other assignments.  Update calls to new_test.
6308
6309         [BZ #2546]
6310         [BZ #2560]
6311         [BZ #5159]
6312         [BZ #15426]
6313         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6314         input to result for tgamma overflow.
6315         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6316         (gamma_coeff): New variable.
6317         (NCOEFF): New macro.
6318         (gamma_positive): New function.
6319         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6320         underflow here.  Use gamma_positive instead of exp (lgamma) for
6321         other arguments.
6322         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6323         (gamma_coeff): New variable.
6324         (NCOEFF): New macro.
6325         (gammaf_positive): New function.
6326         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6327         underflow here.  Use gamma_positive instead of exp (lgamma) for
6328         other arguments.
6329         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6330         (gamma_coeff): New variable.
6331         (NCOEFF): New macro.
6332         (gammal_positive): New function.
6333         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6334         underflow here.  Use gamma_positive instead of exp (lgamma) for
6335         other arguments.
6336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6337         (gamma_coeff): New variable.
6338         (NCOEFF): New macro.
6339         (gammal_positive): New function.
6340         (__ieee754_gammal_r): Handle positive infinity, overflow and
6341         underflow here.  Handle NaN the same as positive infinity.  Remove
6342         check x < 0xffffffff for negative integers.  Use gamma_positive
6343         instead of exp (lgamma) for other arguments.
6344         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6345         (gamma_coeff): New variable.
6346         (NCOEFF): New macro.
6347         (gammal_positive): New function.
6348         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6349         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6353         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6354         * sysdeps/generic/math_private.h (__gamma_productf): New
6355         prototype.
6356         (__gamma_product): Likewise.
6357         (__gamma_productl): Likewise.
6358         * math/Makefile (libm-calls): Add gamma_product.
6359         * math/libm-test.inc (tgamma_test): Add more tests.
6360         * sysdeps/i386/fpu/libm-test-ulps: Update.
6361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6362
6363 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
6364
6365         * benchtests/bench-skeleton.c (main): Preheat CPU.
6366
6367 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
6368
6369         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6370
6371 2013-05-07  Roland McGrath  <roland@hack.frob.com>
6372
6373         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6374         and _dl_skip_args_internal.
6375
6376 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
6377
6378         * manual/message.texi (Message Translation): Talk about users.
6379         Message to key mapping impacts design.
6380
6381 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6382
6383         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6384
6385         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6386
6387         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6388         * sysdeps/wordsize-64/glob64.c: ... here.
6389
6390         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6391         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6392         New macros.
6393
6394         * debug/getlogin_r_chk.c: Moved to ...
6395         * login/getlogin_r_chk.c: ... here.
6396         * debug/Makefile (routines): Move getlogin_r_chk to ...
6397         * login/Makefile (routines): ... here.
6398         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6399         * login/Versions (libc: GLIBC_2.4): ... here.
6400
6401         * io/poll.c (__poll): Renamed from poll.
6402         Add libc_hidden_def.
6403         (poll): Define as weak alias.
6404
6405         * debug/ptsname_r_chk.c: Moved to ...
6406         * login/ptsname_r_chk.c: ... here.
6407         * debug/Makefile (routines): Move ptsname_r_chk to ...
6408         * login/Makefile (routines): ... here.
6409         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6410         * login/Versions (libc: GLIBC_2.4): ... here.
6411
6412         * posix/getlogin.c: Moved to ...
6413         * login/getlogin.c: ... here.
6414         * posix/getlogin_r.c: Moved to ...
6415         * login/getlogin_r.c: ... here.
6416         * posix/getlogin_r.c: Moved to ...
6417         * login/getlogin_r.c: ... here.
6418         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6419         * login/Makefile (routines): ... here.
6420         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6421         * login/Versions (libc: GLIBC_2.0): ... here.
6422
6423         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6424         (setrlimit): Define as weak alias.
6425
6426         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6427         Call __ names for open, ftruncate, and close.
6428         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6429         (truncate): Define as weak alias.
6430
6431 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
6432
6433         * math/gen-libm-test.pl (parse_args): Initialize x before each
6434         test of frexp, modf and remquo.
6435
6436         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6437         test signgam value.
6438
6439 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6440
6441         [BZ #15418]
6442         [BZ #15419]
6443         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6444         internal tests.
6445         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6446
6447 2013-05-06  Roland McGrath  <roland@hack.frob.com>
6448
6449         * elf/dl-writev.h: New file.
6450         * elf/dl-misc.c: Include it.
6451         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6452         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6453
6454 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
6455
6456         * math/libm-test.inc (noXFails): Remove variable.
6457         (noXPasses): Likewise.
6458         (BUILD_COMPLEX_INT): Remove macro.
6459         (print_screen): Remove xfail argument.
6460         (print_screen_max_error): Likewise.
6461         (update_stats): Likewise.
6462         (print_max_error): Likewise.  Update calls to other affected
6463         functions.
6464         (print_complex_max_error): Likewise.
6465         (test_single_exception): Update calls to print_screen.
6466         (test_single_errno): Likewise.
6467         (check_float_internal): Remove xfail argument.  Update calls to
6468         other affected functions.
6469         (check_float): Likewise.
6470         (check_complex): Likewise.
6471         (check_int): Likewise.
6472         (check_long): Likewise.
6473         (check_bool): Likewise.
6474         (check_longlong): Likewise.
6475         (main): Don't print noXFails and noXPasses.
6476         * math/gen-libm-test.pl (top level): Don't mention expected
6477         failure handling in comment.
6478         (new_test): Don't handle expected failures.
6479         (parse_args): Don't mention expected failure handling in comment.
6480         (generate_testfile): Don't handle expected failures.
6481         (parse_ulps): Likewise.
6482         (print_ulps_file): Likewise.
6483         (get_failure): Remove function.
6484         (output_test): Don't handle expected failures.
6485         * make/README.libm-test: Don't mention expected failure handling.
6486
6487         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
6488         (minus_zero): Likewise.
6489         (plus_infty): Likewise.
6490         (minus_infty): Likewise.
6491         (qnan_value): Likewise.
6492         (max_value): Likewise.
6493         (min_value): Likewise.
6494         (min_subnorm_value): Likewise.
6495         (initialize): Do not initialize those variables dynamically.
6496
6497 2013-05-03  Roland McGrath  <roland@hack.frob.com>
6498
6499         * io/open.c (__open_2): Moved to ...
6500         * io/open_2.c: ... this new file.
6501         * io/open64.c (__open64_2): Moved to ...
6502         * io/open64_2.c: ... this new file.
6503         * io/openat.c (__openat_2): Moved to ...
6504         * io/openat_2.c: ... this new file.
6505         * io/openat64.c (__openat64_2): Moved to ...
6506         * io/openat64_2.c: ... this new file.
6507         * io/Makefile (routines): Add them.
6508         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6509         * sysdeps/unix/sysv/linux/open_2.c: File removed.
6510         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6511         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6512         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6513         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6514         (__openat64): Add hidden_ver.
6515         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6516         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6517
6518         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6519         Separately conditionalize setting of GLRO(dl_sysinfo) so
6520         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6521         as well, but the actual setting is only under [NEED_DL_SYSINFO].
6522
6523 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6524
6525         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6526         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6527         definition.
6528         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6529         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6530         (_libc_vdso_platform_setup): Add __vdso_time initialization.
6531         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6532         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6533
6534 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
6535
6536         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6537         test signgam value.
6538
6539         * math/libm-test.inc (hypot_test): Do not use
6540         IGNORE_ZERO_INF_SIGN.
6541
6542 2013-05-03  Andreas Jaeger  <aj@suse.de>
6543
6544         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6545         Linux 3.9.
6546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6547         (PF_MAX): Adjust for VSOCK change.
6548
6549 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6550
6551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6552
6553 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
6554
6555         [BZ #15264]
6556         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6557         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6558         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6559
6560 2013-05-02  David S. Miller  <davem@davemloft.net>
6561
6562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6563
6564 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
6565
6566         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6567
6568 2013-05-01  Roland McGrath  <roland@hack.frob.com>
6569
6570         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6571
6572 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
6573
6574         [BZ #14952]
6575         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6576         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6577         Use __attribute__ ((__gnu_inline__)).
6578         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6579         Don't use __attribute__ ((__gnu_inline__)).
6580
6581 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
6582
6583         [BZ #15423]
6584         * math/s_catan.c (__catan): Handle small real or imaginary part of
6585         input specially to avoid spurious underflow.
6586         * math/s_catanf.c (__catanf): Likewise.
6587         * math/s_catanh.c (__catanh): Likewise.
6588         * math/s_catanhf.c (__catanhf): Likewise.
6589         * math/s_catanhl.c (__catanhl): Likewise.
6590         * math/s_catanl.c (__catanl): Likewise.
6591         * math/libm-test.inc (catan_test): Add more tests.
6592         (catanh_test): Likewise.
6593         * sysdeps/i386/fpu/libm-test-ulps: Update.
6594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6595
6596 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6597
6598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6599
6600 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
6601
6602         [BZ #15416]
6603         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6604         accurately for denominator in atan2.
6605         * math/s_catanf.c (__catanf): Likewise.
6606         * math/s_catanh.c (__catanh): Likewise.
6607         * math/s_catanhf.c (__catanhf): Likewise.
6608         * math/s_catanhl.c (__catanhl): Likewise.
6609         * math/s_catanl.c (__catanl): Likewise.
6610         * math/libm-test.inc (catan_test): Add more tests.
6611         (catanh_test): Likewise.
6612         * sysdeps/i386/fpu/libm-test-ulps: Update.
6613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6614
6615 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6616
6617         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6618
6619         * benchtests/Makefile (bench): Remove slow benchmarks.
6620         * benchtests/atan-inputs: Add slow benchmark inputs.
6621         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6622         (BENCH_FUNC): Accept variant offset.
6623         (VARIANT): Define.
6624         * benchtests/bench-skeleton.c (main): Run benchmark for each
6625         variant.
6626         * benchtests/cos-inputs: Add slow benchmark inputs.
6627         * benchtests/exp-inputs: Likewise.
6628         * benchtests/pow-inputs: Likewise.
6629         * benchtests/sin-inputs: Likewise.
6630         * benchtests/slowatan-inputs: Remove.
6631         * benchtests/slowatan.c: Remove.
6632         * benchtests/slowcos-inputs: Remove.
6633         * benchtests/slowcos.c: Remove.
6634         * benchtests/slowexp-inputs: Remove.
6635         * benchtests/slowexp.c: Remove.
6636         * benchtests/slowpow-inputs: Remove.
6637         * benchtests/slowpow.c: Remove.
6638         * benchtests/slowsin-inputs: Remove.
6639         * benchtests/slowsin.c: Remove.
6640         * benchtests/slowtan-inputs: Remove.
6641         * benchtests/slowtan.c: Remove.
6642         * benchtests/tan-inputs: Add slow benchmark inputs.
6643         * scripts/bench.pl: Parse comments and directives.
6644
6645         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
6646         in CPPFLAGS.
6647         ($(objpfx)bench-%.c): Remove *-ITER.
6648         * benchtests/bench-modf.c: Remove definition of ITER.
6649         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6650         (main): Loop for DURATION seconds instead of fixed number of
6651         iterations.
6652         * scripts/bench.pl: Don't expect iterations in parameters.
6653
6654 2013-04-29  Roland McGrath  <roland@hack.frob.com>
6655
6656         * io/fchdir.c (__fchdir): Renamed from fchdir.
6657         (fchdir): Define as weak alias.
6658
6659 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6660
6661         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6662         (ERRNO_EDOM): Likewise.
6663         (ERRNO_ERANGE): Likewise.
6664         (noErrnoTests): New variable.
6665         (init_max_error): Set errno to 0.
6666         (test_single_errno): New function.
6667         (test_errno): Likewise.
6668         (check_float_internal): Call test_errno.  Set errno to 0.
6669         (check_complex): Refer to errno tests in comment.
6670         (check_int): Call test_errno.  Set errno to 0.
6671         (check_long): Likewise.
6672         (check_bool): Likewise.
6673         (check_longlong): Likewise.
6674         (cos_test): Use ERRNO_* flags for errno tests instead of
6675         check_int.
6676         (expm1_test): Likewise.
6677         (fmod_test): Likewise.
6678         (ilogb_test): Likewise.
6679         (lgamma_test): Likewise.
6680         (pow_test): Likewise.
6681         (remainder_test): Likewise.
6682         (sin_test): Likewise.
6683         (tan_test): Likewise.
6684         (yn_test): Likewise.
6685         (initialize): Set errno to 0.
6686         (main): Print number of errno tests.
6687         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6688
6689 2013-04-29  Andreas Jaeger  <aj@suse.de>
6690
6691         [BZ #15084]
6692         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6693         and RES_USEVC.
6694
6695         [BZ #15085]
6696         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6697         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6698         unimplemented.
6699
6700         [BZ #15380]
6701         * stdlib/random.c (__initstate): Return NULL if
6702         __initstate fails.
6703
6704         [BZ #15086]
6705         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6706         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6707         RES_SNGLKUPREOP.
6708
6709 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6710
6711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6712
6713 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
6714
6715         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6716         of individual tests.
6717         (casin_test): Likewise.
6718         (casinh_test): Likewise.
6719
6720 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
6721
6722         [BZ #15409]
6723         * math/s_catan.c (__catan): Handle arguments with large real or
6724         imaginary part separately without squaring.
6725         * math/s_catanf.c (__catanf): Likewise.
6726         * math/s_catanh.c (__catanh): Likewise.
6727         * math/s_catanhf.c (__catanhf): Likewise.
6728         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6729         and redefine.
6730         (__catanhl): Handle arguments with large real or imaginary part
6731         separately without squaring.
6732         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6733         and redefine.
6734         (__catanl): Handle arguments with large real or imaginary part
6735         separately without squaring.
6736         * math/libm-test.inc (catan_test): Add more tests.
6737         (catanh_test): Likewise.
6738         * sysdeps/i386/fpu/libm-test-ulps: Update.
6739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6740
6741 2013-04-27  Andreas Jaeger  <aj@suse.de>
6742
6743         [BZ #15007]
6744         * stdlib/stdlib.h: Update guards for qecvt.
6745         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6746         <stdlib.h>.
6747
6748 2013-04-27  Allan McRae  <allan@archlinux.org>
6749
6750         * sysdeps/i386/fpu/libm-test-ulps: Update.
6751
6752 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
6753
6754         [BZ #15406]
6755         * math/s_catan.c: Include <float.h>.
6756         (__catan): Ensure underflow exception occurs for underflowed
6757         result.
6758         * math/s_catanf.c: Include <float.h>.
6759         (__catanf): Ensure underflow exception occurs for underflowed
6760         result.
6761         * math/s_catanh.c: Include <float.h>.
6762         (__catanh): Ensure underflow exception occurs for underflowed
6763         result.
6764         * math/s_catanhf.c: Include <float.h>.
6765         (__catanhf): Ensure underflow exception occurs for underflowed
6766         result.
6767         * math/s_catanhl.c: Include <float.h>.
6768         (__catanhl): Ensure underflow exception occurs for underflowed
6769         result.
6770         * math/s_catanl.c: Include <float.h>.
6771         (__catanl): Ensure underflow exception occurs for underflowed
6772         result.
6773         * math/libm-test.inc (catan_test): Add more tests.
6774         (catanh_test): Likewise.
6775
6776         [BZ #15405]
6777         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6778         underflowed result.
6779         * math/s_ccoshf.c (__ccoshf): Likewise.
6780         * math/s_ccoshl.c (__ccoshl): Likewise.
6781         * math/s_csin.c (__csin): Likewise.
6782         * math/s_csinf.c (__csinf): Likewise.
6783         * math/s_csinh.c (__csinh): Likewise.
6784         * math/s_csinhf.c (__csinhf): Likewise.
6785         * math/s_csinhl.c (__csinhl): Likewise.
6786         * math/s_csinl.c (__csinl): Likewise.
6787         * math/libm-test.inc (ccos_test): Add more tests.
6788         (ccosh_test): Likewise.
6789         (csin_test): Likewise.
6790         (csinh_test): Likewise.
6791
6792 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6793
6794         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6795         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6796         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6797         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6798         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6799         powerpc/power5+/fpu folders.
6800         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6801
6802
6803 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
6804
6805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6806
6807 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
6808
6809         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6810         additions to variable.
6811         [$(config-machine) = x86_64] (modules-names): Likewise.
6812         ($(objpfx)tst-audit3): Remove dependency.
6813         ($(objpfx)tst-audit3.out): Likewise.
6814         ($(objpfx)tst-audit4): Likewise.
6815         ($(objpfx)tst-audit4.out): Likewise.
6816         ($(objpfx)tst-audit5): Likewise.
6817         ($(objpfx)tst-audit5.out): Likewise.
6818         ($(objpfx)tst-audit6): Likewise.
6819         ($(objpfx)tst-audit6.out): Likewise.
6820         ($(objpfx)tst-audit7): Likewise.
6821         ($(objpfx)tst-audit7.out): Likewise.
6822         (tst-audit3-ENV): Remove variable.
6823         (tst-audit4-ENV): Likewise.
6824         (tst-audit5-ENV): Likewise.
6825         (tst-audit6-ENV): Likewise.
6826         (tst-audit7-ENV): Likewise.
6827         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6828         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6829         addition to variable.
6830         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6831         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6832         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6833         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6834         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6835         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6836         tst-audit3, tst-audit4 and tst-audit5.
6837         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6838         tst-audit6 and tst-audit7.
6839         [$(subdir) = elf] (modules-names): Add audit modules for those
6840         tests.
6841         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6842         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6843         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6844         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6845         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6846         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6847         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6848         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6849         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6850         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6851         [$(subdir) = elf] (tst-audit3-ENV): New variable.
6852         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6853         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6854         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6855         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6856         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6857         Likewise.
6858         [$(subdir) = elf && $(config-cflags-avx) = yes]
6859         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6860         [$(subdir) = elf && $(config-cflags-avx) = yes]
6861         (CFLAGS-tst-auditmod4a.c): Likewise.
6862         [$(subdir) = elf && $(config-cflags-avx) = yes]
6863         (CFLAGS-tst-auditmod4b.c): Likewise.
6864         [$(subdir) = elf && $(config-cflags-avx) = yes]
6865         (CFLAGS-tst-auditmod6b.c): Likewise.
6866         [$(subdir) = elf && $(config-cflags-avx) = yes]
6867         (CFLAGS-tst-auditmod6c.c): Likewise.
6868         [$(subdir) = elf && $(config-cflags-avx) = yes]
6869         (CFLAGS-tst-auditmod7b.c): Likewise.
6870         * elf/tst-audit3.c: Move to ...
6871         * sysdeps/x86_64/tst-audit3.c: ... here.
6872         * elf/tst-audit4.c: Move to ...
6873         * sysdeps/x86_64/tst-audit4.c: ... here.
6874         * elf/tst-audit5.c: Move to ...
6875         * sysdeps/x86_64/tst-audit5.c: ... here.
6876         * elf/tst-audit6.c: Move to ...
6877         * sysdeps/x86_64/tst-audit6.c: ... here.
6878         * elf/tst-audit7.c: Move to ...
6879         * sysdeps/x86_64/tst-audit7.c: ... here.
6880         * elf/tst-auditmod3a.c: Move to ...
6881         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6882         * elf/tst-auditmod3b.c: Move to ...
6883         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6884         * elf/tst-auditmod4a.c: Move to ...
6885         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6886         * elf/tst-auditmod4b.c: Move to ...
6887         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6888         * elf/tst-auditmod5a.c: Move to ...
6889         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6890         * elf/tst-auditmod5b.c: Move to ...
6891         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6892         * elf/tst-auditmod6a.c: Move to ...
6893         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6894         * elf/tst-auditmod6b.c: Move to ...
6895         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6896         * elf/tst-auditmod6c.c: Move to ...
6897         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6898         * elf/tst-auditmod7a.c: Move to ...
6899         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6900         * elf/tst-auditmod7b.c: Move to ...
6901         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6902
6903 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
6904
6905         [BZ #15366]
6906         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6907         define unconditionally.
6908         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6909         define unconditionally.
6910         (INT8_C, INT16_C, etc.): Likewise.
6911
6912 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
6913
6914         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6915         __ehdr_start with hidden visibility.
6916
6917         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6918
6919 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
6920
6921         * math/libm-test.inc (cos_test): Use accurate hex constants.
6922         (sincost_test): Likewise.
6923
6924 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
6925
6926         * math/libm-test.inc (catan_test): Add more tests.
6927         (catanh_test): Likewise.
6928
6929         * math/s_catanf.c (__catanf): Use suffixed floating-point
6930         constants.
6931         * math/s_catanhf.c (__catanhf): Likewise.
6932         * math/s_catanhl.c (__catanhl): Likewise.
6933         * math/s_catanl.c (__catanl): Likewise.
6934
6935         [BZ #15394]
6936         * math/s_catan.c (__catan): Calculate imaginary part of result
6937         with log1p not log unless computing log of number close to 0.
6938         * math/s_catanf.c (__catanf): Likewise.
6939         * math/s_catanl.c (__catanl): Likewise.
6940         * math/s_catanh.c (__catanh): Calculate real part of result with
6941         log1p not log unless computing log of number close to 0.
6942         * math/s_catanhf.c (__catanhf): Likewise.
6943         * math/s_catanhl.c (__catanhl): Likewise.
6944         * math/libm-test.inc (catan_test): Add more tests.
6945         (catanh_test): Likewise.
6946         * sysdeps/i386/fpu/libm-test-ulps: Update.
6947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948
6949 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6950
6951         * benchtests/Makefile: Mention files in which fast and slow
6952         paths of math functions are implemented.
6953
6954 2013-04-23  Roland McGrath  <roland@hack.frob.com>
6955
6956         * sysdeps/posix/timespec_get.c: New file.
6957
6958 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6959
6960         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6961         POWER.
6962         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6963         for POWER.
6964         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6965         powerpc/power5/fpu folders.
6966         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6967         * benchtests/Makefile: Add modf testcase.
6968         * benchtests/bench-modf.c: New file: Benchmark test for mo
6969
6970 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6971
6972         [BZ #14888]
6973         * time/Makefile (tests): Add tst-strptime-whitespace.
6974         * time/strptime_l.c (get_number): Use ISSPACE.
6975         (__strptime_internal): Likewise.
6976         * time/tst-strptime-whitespace.c: New test case.
6977
6978 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
6979
6980         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6981         member.
6982         (_nss_files_init): Set it here.
6983
6984 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
6985
6986         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6987         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6988         unsigned.
6989
6990 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
6991
6992         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6993
6994 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6995
6996         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6997         size just once.
6998
6999 2013-04-21  David S. Miller  <davem@davemloft.net>
7000
7001         * po/ru.po: Update Russion translation from translation project.
7002
7003 2013-04-17  Adam Conrad  <adconrad@0c3.net>
7004
7005         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7006         and setfsgid.
7007
7008 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
7009
7010         * configure.in: Remove i386 configure warning. Remove i386 case.
7011         * configure: Regenerate.
7012         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7013         Add example to error message.
7014         * sysdeps/i386/configure: Regenerate.
7015
7016 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7017
7018         * benchtests/Makefile (bench): Add cos, tan, slowcos and
7019         slowtan.
7020         * benchtests/cos-inputs: New file.
7021         * benchtests/slowcos-inputs: New file.
7022         * benchtests/slowcos.c: New file.
7023         * benchtests/slowtan-inputs: New file.
7024         * benchtests/slowtan.c: New file.
7025         * benchtests/tan-inputs: New file.
7026
7027 2013-04-16  Roland McGrath  <roland@hack.frob.com>
7028
7029         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7030         considered kosher.
7031
7032 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7033
7034         * benchtests/Makefile: Include cppflags-iterator.mk to add
7035         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7036
7037         * Makefile.in (bench-clean): New target.
7038         * benchtests/Makefile (bench-clean): Likewise.
7039
7040 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
7041
7042         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7043
7044 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
7045
7046         * stdio-common/tstdiomisc.c: Fix coding-style violation.
7047
7048 2013-04-15  Andreas Schwab  <schwab@suse.de>
7049
7050         * nscd/grpcache.c (cache_addgr): Properly check for short write.
7051         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7052         * nscd/pwdcache.c (cache_addpw): Likewise.
7053         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
7054         more than recsize.
7055
7056 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7057
7058         * benchtests/Makefile (bench): Write all output to
7059         bench-out.tmp together.
7060
7061 2013-04-15  Andreas Schwab  <schwab@suse.de>
7062
7063         * nscd/nscd.c (main): Don't fork again after closing files.
7064
7065 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7066
7067         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7068
7069         * benchtests/Rules (bench-deps): Collect dependencies into a
7070         single variable.  Add Makefile to dependencies.
7071         ($(objpfx)bench-%.c): Depend on bench-deps.
7072
7073 2013-04-12  Roland McGrath  <roland@hack.frob.com>
7074             Xavier Roche  <roche+kml2@exalead.com>
7075
7076         [BZ #15361]
7077         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7078         just that it's a file descriptor.
7079         * manual/llio.texi (Synchronizing AIO Operations): Update description
7080         for EBADF error from aio_fsync.
7081
7082 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7083
7084         * Rules (bench): Move target definition...
7085         * benchtests/Makefile: ... here.
7086
7087 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
7088
7089         * math/libm-test.inc (cos_test): Fix PI/2 test.
7090         (sincos_test): Likewise.
7091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7092         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7093
7094 2013-04-11  Andreas Schwab  <schwab@suse.de>
7095
7096         [BZ #13988]
7097         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7098         accept exponent character only when digits were seen.
7099         * stdio-common/Makefile (tests): Add bug26.
7100         * stdio-common/bug26.c: New file.
7101
7102         [BZ #14293]
7103         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7104         non-freeable.
7105
7106 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7107
7108         * Makeconfig (rtld-prefix): Define built linker prefix.
7109         * Rules (run-bench): Use it.
7110         * math/Makefile (run-regen-ulps): Likewise.
7111
7112         * Rules (bench): Remove eval.
7113
7114 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7115             Roland McGrath  <roland@hack.frob.com>
7116             Ondrej Bilka  <neleai@seznam.cz>
7117
7118         [BZ #15346]
7119         * time/getdate.c: Include ctype.h and alloca.h.
7120         (__getdate_r): Trim leading and trailing spaces of input.
7121         * time/tst-getdate.c (tests): Add tests with leading and
7122         trailing spaces.
7123
7124 2013-04-08  Roland McGrath  <roland@hack.frob.com>
7125
7126         [BZ #14280]
7127         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7128         when computing value.
7129
7130 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7131
7132         * math/README.libm-test (How can I generate "libm-test-ulps"?):
7133         Use testrun.sh to run libm tests.
7134
7135         [BZ #15309]
7136         * elf/dl-open.c (dl_open_worker): memset all of seen array.
7137
7138 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
7139
7140         [BZ #15264]
7141         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7142
7143 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7144
7145         * Makefile.in (regen-ulps): New target.
7146         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7147         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7148         [ifneq (no,$(PERL)] (regen-ulps): New target.
7149         [ifeq (no,$(PERL)] (regen-ulps): New target.
7150         * math/libm-test.inc (ulps_file_name): Define.
7151         (output_dir): New variable.
7152         (options): Add "output-dir" option.
7153         (parse_opt): Handle 'o' case.
7154         (main): If output_dir is non-NULL use it as a prefix
7155         otherwise use "".
7156         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7157
7158 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7159
7160         [BZ #10060, #10062]
7161         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7162         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7163         fail configure if __sync_val_compare_and_swap is not inlined.
7164         * sysdeps/i386/configure: Regenerate.
7165         * configure.in: Build for i686 when configured for i386.
7166         * configure: Regenerate.
7167         * README: Remove i386 reference.
7168
7169 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
7170
7171         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7173
7174 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
7175
7176         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7177         (lmsnanval): New variables.
7178         (F): Add conversion tests.
7179         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7180         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7181
7182         * stdio-common/tstdiomisc.c (F): Properly collect individual
7183         tests' results.
7184
7185         [BZ #14686, #15336]
7186         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7187         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7188         Instead, use input NaN values or generate a qNaN by arithmetic
7189         operation.  Also fix bugs to comply with the standard.
7190         * math/libm-test.inc (remainder_test): Add more tests.
7191
7192         [BZ #15335, #15342]
7193         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7195         input NaN values or generate a qNaN by arithmetic operation.
7196
7197         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7198         unreachable code.
7199
7200         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7201         definitions.
7202
7203 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
7204
7205         [BZ #14478]
7206         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7207         underflowed result.
7208         * math/s_cexpf.c (__cexpf): Likewise.
7209         * math/s_cexpl.c (__cexpl): Likewise.
7210         * math/libm-test.inc (cexp_test): Add more tests.
7211
7212 2013-04-03  Andreas Schwab  <schwab@suse.de>
7213
7214         [BZ #15330]
7215         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7216         order arrays from heap if bigger than alloca cutoff.
7217
7218 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
7219
7220         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7221         (SNAN_TESTS_double): Refer to GCC PR56831.
7222         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7223         GCC PR56828.
7224
7225 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226
7227         * Rules (bench): Move bench.out after the run is complete.
7228
7229         * Rules (bench): Echo currently running benchmark.
7230
7231         * benchtests/Makefile (bench): Add atan and slowatan.
7232         * benchtests/atan-inputs: New file.
7233         * benchtests/slowatan-inputs: New file.
7234         * benchtests/slowatan.c: New file.
7235
7236         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7237         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7238         its value.
7239
7240         [BZ #15305]
7241         * sysdeps/unix/sysv/linux/kernel-features.h
7242         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7243         __ASSUME_XFS_RESTRICTED_CHOWN.
7244         * sysdeps/unix/sysv/linux/pathconf.c
7245         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7246         Save and restore errno.
7247
7248 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
7249
7250         [BZ #15327]
7251         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7252         arguments using __kernel_casinh.
7253         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7254         arguments using __kernel_casinhf.
7255         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7256         arguments using __kernel_casinhl.
7257         * math/libm-test.inc (cacosh_test): Add more tests.
7258         * sysdeps/i386/fpu/libm-test-ulps: Update.
7259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7260
7261 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7262
7263         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7264         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7265
7266         * bench/Makefile (bench): Add sin and slowsin.
7267         * benchtests/sin-inputs: New file.
7268         * benchtests/slowsin-inputs: New file.
7269         * benchtests/slowsin.c: New file.
7270
7271         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7272         (bench): Add slowexp and slowpow.
7273         (exp-ITER): Increase iterations.
7274         (pow-ITER): Likewise.
7275         * benchtests/exp-inputs: Change input.
7276         * benchtests/pow-inputs: Likewise.
7277         * benchtests/slowexp-inputs: New file.
7278         * benchtests/slowexp.c: New file.
7279         * benchtests/slowpow-inputs: New file.
7280         * benchtests/slowpow.c: New file.
7281
7282 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7283
7284         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7285         instructions.
7286         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7287         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7288         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7289         * benchtests/Makefile: Add rint benchtest.
7290         * benchtests/rint-inputs: Input for rint benchtest.
7291
7292 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
7293
7294         * Versions.def (libm): Add GLIBC_2.18.
7295         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7296         hidden libm prototypes.
7297         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7298         * math/Makefile (libm-calls): Add s_issignaling.
7299         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7300         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
7301         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7302         declaration.
7303         * math/math.h [__USE_GNU] (issignaling): New macro.
7304         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7305         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7306         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7307         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7308         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7309         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7310         * manual/arith.texi (issignaling): New section.
7311         * manual/libm-err-tab.pl (@all_functions): Update comment.
7312         * math/gen-libm-test.pl (parse_args): Apply special handling for
7313         issignaling.
7314         * math/libm-test.inc (print_float, issignaling_test): New
7315         functions.
7316         (check_float_internal): Add issignaling checks.
7317         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7318         default definition.
7319         * sysdeps/powerpc/math-tests.h: New file.
7320         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7321         tests.
7322         * math/test-snan.c (TEST_FUNC): Likewise.
7323
7324 2013-03-30  David S. Miller  <davem@davemloft.net>
7325
7326         * po/de.po: Update from translation team.
7327
7328 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
7329
7330         [BZ #10357]
7331         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7332         imaginary part less than 1.0 and real part less than 0.5
7333         specially.
7334         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7335         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7336         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7337         (cacos_test): Add more tests.
7338         (casin_test): Likewise.
7339         (casinh_test): Likewise.
7340         * sysdeps/i386/fpu/libm-test-ulps: Update.
7341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7342
7343 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7344
7345         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7346         ONE with its value.
7347
7348         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7349         (__pow_mp): Replace ONE and MONE with their values.
7350         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7351         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7352         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7353         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7354         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7355         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7356
7357         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7358
7359         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7360         (__pow_mp): Replace ZERO and MZERO with their values.
7361         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7365         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7366         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7367         (__sqr): Likewise.
7368
7369         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7370
7371         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7372
7373 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7374
7375         * include/stdlib.h [!SHARED] (__call_tls_dtors):
7376         Declare with __attribute__ ((weak)).
7377         * stdlib/exit.c (__libc_atexit) [!SHARED]:
7378         Call __call_tls_dtors only if it's not NULL.
7379
7380 2013-03-28  Roland McGrath  <roland@hack.frob.com>
7381
7382         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7383         didn't do it already, then set _dl_phdr and _dl_phnum based on the
7384         magic __ehdr_start linker symbol if it's defined.
7385         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7386         them up here if it was already done.
7387
7388         * elf/dl-support.c (_dl_phdr): Make pointer to const.
7389         (_dl_aux_init): Use const in cast when setting it.
7390         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7391         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7392         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7393
7394         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7395         Declare them here.
7396         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7397         * csu/libc-tls.c: Nor here.
7398         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7399
7400         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7401         (__libc_message): Never call vsyslog.
7402
7403 2013-03-28  Alan Modra  <amodra@gmail.com>
7404
7405         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7406         Define as empty.
7407         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7408         Likewise.
7409
7410 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7411
7412         [BZ #15214]
7413         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7414         underflow.
7415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7416
7417 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7418
7419         [BZ #15304]
7420         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7421         Don't add gid passed as argument.
7422
7423         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7424
7425 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
7426
7427         [BZ #15307]
7428         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7429         imaginary part between 1.0 and 1.5 and real part less than 0.5
7430         specially.
7431         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7432         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7433         * math/libm-test.inc (cacos_test): Add more tests.
7434         (casin_test): Likewise.
7435         (casinh_test): Likewise.
7436         * sysdeps/i386/fpu/libm-test-ulps: Update.
7437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7438
7439 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7440
7441         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7442         constants.
7443         (norm): Likewise.
7444         (denorm): Likewise.
7445         (__dbl_mp): Likewise.
7446         (add_magnitudes): Likewise.
7447         (sub_magnitudes): Likewise.
7448         (__add): Likewise.
7449         (__sub): Likewise.
7450         (__mul): Likewise.
7451         (__sqr): Likewise.
7452         (__inv): Likewise.
7453         (__dvd): Likewise.
7454
7455         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7456         commented code.
7457         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7458         (__dubcos): Likewise.
7459         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7460         (__ieee754_acos): Likewise.
7461         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7462         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7463         (__exp1): Likewise.
7464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7466         (log1): Likewise.
7467         (my_log2): Likewise.
7468         (checkint): Likewise.
7469         * sysdeps/ieee754/dbl-64/e_remainder.c
7470         (__ieee754_remainder): Likewise.
7471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7473         (bsloww): Likewise.
7474         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7475
7476         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7477         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7478         MANTISSA_STORE_T to store computations on mantissa.  Use
7479         macros for rounding and division.
7480         (denorm): Likewise.
7481         (__dbl_mp): Likewise.
7482         (add_magnitudes): Likewise.
7483         (sub_magnitudes): Likewise.
7484         (__mul): Likewise.
7485         (__sqr): Likewise.
7486         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7487         powers of two in terms of TWOPOW macro.
7488         (mp_no): Make type of mantissa as MANTISSA_T.
7489         [!RADIXI]: Define RADIXI.
7490         [!TWO52]: Define TWO52.
7491         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7492
7493 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7494
7495         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7496         llroundl symbol when building for PPC32.
7497
7498 2013-03-24  Mark H Weaver  <mhw@netris.org>
7499
7500         * manual/arith.texi (Normalization Functions): Fix prototypes for
7501         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7502
7503 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7504
7505         [BZ #13889]
7506         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7507         high value to check if expl overflow.
7508         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7509         to check for underflow and overflow.
7510         * math/libm-test.inc: Add exp test.
7511
7512 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
7513
7514         [BZ #11120]
7515         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7516         with NOT_IN_libc.
7517
7518 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7519
7520         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7521         symbol.
7522
7523 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
7524
7525         * math/gen-libm-test.pl (parse_args, special_functions): Properly
7526         wrap blocks consisting of several statements.
7527
7528         * sysdeps/generic/math-tests.h: New file.
7529         * sysdeps/i386/fpu/math-tests.h: Likewise.
7530         * math/test-snan.c: Include it.
7531         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7532
7533 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7534
7535         [BZ #15285]
7536         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7537         (__ieee754_j0l): Do not improve calculations using cos of twice
7538         input for inputs above LDBL_MAX / 2.0L.
7539         (__ieee754_y0l): Likewise.
7540         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7541         (__ieee754_j1l): Do not improve calculations using cos of twice
7542         input for inputs above LDBL_MAX / 2.0L.
7543         (__ieee754_y1l): Likewise.
7544         * math/libm-test.inc (j0_test): Add another test.
7545         (j1_test): Likewise.
7546         (y0_test): Likewise.
7547         (y1_test): Likewise.
7548         * sysdeps/i386/fpu/libm-test-ulps: Update.
7549
7550 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7551
7552         * Rules ($(objpfx)bench-%.c): Include code from a C source
7553         file.
7554
7555 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
7556
7557         [BZ #15287]
7558         * math/k_casinh.c (__kernel_casinh): Handle arguments with
7559         imaginary part 1.0 and real part less than 0.5 specially.
7560         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7561         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7562         * math/libm-test.inc (cacos_test): Add more tests.
7563         (casin_test): Likewise.
7564         (casinh_test): Likewise.
7565         * sysdeps/i386/fpu/libm-test-ulps: Update.
7566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567
7568 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7569
7570         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7571         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7572
7573 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
7574
7575         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7576         * config.make.in (config-cflags-sse4): Remove variable.
7577         (config-cflags-avx): Likewise.
7578         (config-cflags-sse2avx): Likewise.
7579         (config-cflags-novzeroupper): Likewise.
7580         (config-asflags-i686): Likewise.
7581         (have-mfma4): Likewise.
7582         (have-as-vis3): Likewise.
7583         (MIG): Likewise.
7584         * configure.in (MIG): Do not AC_SUBST.
7585         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7586         (libc_cv_cc_sse4): Do not AC_SUBST.
7587         (libc_cv_cc_avx): Likewise.
7588         (libc_cv_cc_sse2avx): Likewise.
7589         (libc_cv_cc_novzeroupper): Likewise.
7590         (libc_cv_cc_fma4): Likewise.
7591         (libc_cv_as_i686): Likewise.
7592         (libc_cv_sparc_as_vis3): Likewise.
7593         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7594         LIBC_CONFIG_VAR.
7595         (config-asflags-i686): Likewise.
7596         (config-cflags-avx): Likewise.
7597         (config-cflags-sse2avx): Likewise.
7598         (have-mfma4): Likewise.
7599         (config-cflags-novzeroupper): Likewise.
7600         * sysdeps/mach/configure.in (MIG): Likewise.
7601         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7602         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7603         LIBC_CONFIG_VAR.
7604         (config-cflags-avx): Likewise.
7605         (config-cflags-sse2avx): Likewise.
7606         (have-mfma4): Likewise.
7607         (config-cflags-novzeroupper): Likewise.
7608         * configure: Regenerated.
7609         * sysdeps/i386/configure: Likewise.
7610         * sysdeps/mach/configure: Likewise.
7611         * sysdeps/sparc/configure: Likewise.
7612         * sysdeps/x86_64/configure: Likewise.
7613
7614 2013-03-20  Roland McGrath  <roland@hack.frob.com>
7615
7616         [BZ #14812]
7617         * locale/programs/localedef.c (options): Put N_ translation marker
7618         on argument names, not just descriptions.
7619
7620 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7621
7622         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7623
7624 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
7625
7626         [BZ #14176]
7627         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7628
7629 2013-03-19  Roland McGrath  <roland@hack.frob.com>
7630
7631         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7632         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7633         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7634         [!BEFORE_ABORT] (before_abort): New function.
7635         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7636         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7637         (writev_for_fatal): New function.
7638         (WRITEV_FOR_FATAL): New macro; call that.
7639         (backtrace_and_maps): New function.
7640         (BEFORE_ABORT): New macro; call that.
7641         (struct str_list): Type removed.
7642         (__libc_message, __libc_fatal): Functions removed.
7643         Include <sysdeps/posix/libc_fatal.c> instead.
7644
7645 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
7646
7647         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7648         constants.
7649         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7650         double constants.
7651
7652 2013-03-19  Andreas Schwab  <schwab@suse.de>
7653
7654         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7655         * sysdeps/gnu/configure: Regenerate.
7656
7657         * configure.in: Substitute libc_cv_rtlddir.
7658         * configure: Regenerate.
7659         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7660         * Makeconfig (rtlddir, inst_rtlddir): New variables.
7661         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7662         * elf/Makefile (install-others, CFLAGS-interp.c)
7663         (ldso_install, common-ldd-rewrite): Likewise.
7664         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7665         $(inst_slibdir)/$(rtld-installed-name).
7666         * scripts/rellns-sh: Add -p option.
7667         * Makerules (make-shlib-link): Use rellns-sh to get relative name
7668         for source.
7669
7670 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671
7672         * manual/nptl.texi: Renamed to ...
7673         * manual/threads.texi: ... this.
7674         * manual/Makefile (chapters): Update.
7675
7676 2013-03-18  Roland McGrath  <roland@hack.frob.com>
7677
7678         [BZ #14812]
7679         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7680         on argument names, not just descriptions.
7681         * malloc/memusagestat.c (options): Likewise.
7682         * nss/getent.c (options): Likewise.
7683
7684 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
7685
7686         [BZ #14812]
7687         * iconv/iconv_prog.c (options): Put N_ translation marker
7688         on argument names, not just descriptions.
7689         * iconv/iconvconfig.c (options): Likewise.
7690
7691 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
7692
7693         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7694         implementation which is faster on all x86_64 architectures.
7695         Tested on AMD, Intel Nehalem, SNB, IVB.
7696         * sysdeps/x86_64/strnlen.S: Likewise.
7697
7698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7699         Remove all multiarch strlen and strnlen versions.
7700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7701         Remove strlen and strnlen related parts.
7702
7703         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7704         Inline strlen part.
7705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7706
7707         * sysdeps/x86_64/multiarch/strlen.S: Remove.
7708         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7709         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7710         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7711         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7712         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7713
7714 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
7715
7716         * manual/memory.texi (Malloc Tunable Parameters):
7717         Sort parameters alphabetically. Add comments for missing entries.
7718
7719 2013-03-17  David S. Miller  <davem@davemloft.net>
7720
7721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7722
7723 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
7724
7725         [BZ #15283]
7726         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7727         for arguments at most half maximum finite value.
7728         * math/libm-test.inc (j0_test): Add more tests.
7729         (j1_test): Likewise.
7730         (y0_test): Likewise.
7731         (y1_test): Likewise.
7732         * sysdeps/i386/fpu/libm-test-ulps: Update.
7733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
7735         [BZ #14155]
7736         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7737         1 / x and functions P and Q for arguments above 0x1p256L.
7738         (__ieee754_y0l): Likewise.
7739         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7740         (__ieee754_y1l): Likewise.
7741         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7742         (j1_test): Likewise.
7743         (y0_test): Likewise.
7744         (y1_test): Likewise.
7745
7746 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
7747
7748         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7749         variable.
7750
7751 2013-03-15  Roland McGrath  <roland@hack.frob.com>
7752
7753         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7754         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7755         zero since it's initialized to EXEC_PAGESIZE.
7756
7757         * sysdeps/unix/sysv/linux/ldsodefs.h
7758         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7759         * sysdeps/generic/ldsodefs.h: ... here.
7760
7761 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
7762
7763         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7764
7765         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7766         math/test-snan.c.
7767         * math/test-snan.c: Renamed from
7768         sysdeps/powerpc/fpu/test-powerpc-snan.c.
7769         * math/Makefile (tests): Add test-snan.
7770         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7771         test-powerpc-snan.
7772
7773         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7774         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
7775         functions.
7776         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
7777         __builtin_nan family of functions.
7778         * math/libm-test.inc (initialize): Initialize qnan_value with
7779         __builtin_nan family of functions.
7780         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7781         Remove variables.
7782         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7783         Remove functions.
7784         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
7785         storage class.  Initialize qNaN_var and sNaN_var with
7786         __builtin_nan and __builtin_nans families of functions,
7787         respectively.
7788
7789         * math/libm-test.inc (acosh_test): Also test with qNaN input.
7790         (sqrt_test): Remove duplicate test with qNaN input.
7791         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7792         (round_test, signbit_test, significand_test): Note missing +/-Inf
7793         as well as qNaN tests.
7794
7795         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7796         qNaN_var.  Fix a few strings, too.
7797         * math/libm-test.inc (nan_value): Rename to qnan_value.
7798         * math/gen-libm-test.pl (%beautify): Adjust to that.
7799         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7800         * math/test-misc.c (main): Likewise.
7801         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7802         to __qnan_bytes, and __qnan_union, respectively.
7803         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7804         Likewise.
7805         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7806         and lqnanval, respectively.
7807         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7808         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7809         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7810         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7811
7812         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7813         * math/test-misc.c (main) [__x86_64__]: Enable test for long
7814         doubles.
7815
7816         * math/test-misc.c (main): Fix copy'n'pastos.
7817         * misc/tst-efgcvt.c (special): Likewise.
7818
7819         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7820         Remove declarations.
7821
7822 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7823
7824         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7825         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7826         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7827         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7828
7829 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7830
7831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7832         macro to return vdso values correctly in IFUNC implementations.
7833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7834         Optimization by using IFUNC.
7835
7836 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7837             Richard Henderson  <rth@redhat.com>
7838             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7839
7840         * Makefile.in (bench): New target.
7841         * NEWS: Mention the benchmark framework.
7842         * Rules (bench): Likewise.
7843         (binaries-bench): Generate binaries for functions to
7844         benchmark.
7845         * benchtests/Makefile: New makefile for benchmark tests.
7846         * benchtests/bench-skeleton.c: New skeleton file for benchmark
7847         programs.
7848         * benchtests/exp-inputs: New input file for EXP function.
7849         * benchtests/pow-inputs: New input file for POW function.
7850         * scripts/bench.pl: New script to generate source files for
7851         benchmark programs.
7852
7853 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7854
7855         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7856         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7857         computations on mantissa.  Use macros for rounding and
7858         division.
7859         (denorm): Likewise.
7860         (__dbl_mp): Likewise.
7861         (add_magnitudes): Likewise.
7862         (sub_magnitudes): Likewise.
7863         (__mul): Likewise.
7864         (__sqr): Likewise.
7865         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
7866         powers of two in terms of TWOPOW macro.
7867         (mp_no): Make type of mantissa as MANTISSA_T.
7868         [!RADIXI]: Define RADIXI.
7869         [!TWO52]: Define TWO52.
7870         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7871
7872         * manual/nptl.texi (cindex): Modify threads to pthreads.
7873
7874 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
7875
7876         * sysdeps/x86_64/preconfigure: Regenerated.
7877
7878 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
7879
7880         [BZ #14155]
7881         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7882         0x1p28 and above.
7883         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7884         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7885         0x1p28 and above.
7886         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7887         * math/libm-test.inc (j0_test): Do not allow one spurious
7888         underflow exception.
7889         (y1_test): Likewise.
7890
7891 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7892
7893         * manual/Makefile (chapters): Add nptl.
7894         * manual/debug.texi (Debugging Support): Add link to Threads
7895         chapter.
7896         * manual/nptl.texi: New file.
7897
7898         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7899
7900 2013-03-14  Petr Baudis  <pasky@ucw.cz>
7901
7902         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7903         for non-NULL pointer before the memory validity test. Pointed
7904         out by Holger Brunck <holger.brunck@keymile.com>.
7905
7906 2013-03-13  Andreas Schwab  <schwab@suse.de>
7907
7908         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7909         instead of .os.
7910
7911 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
7912
7913         * timezone/zic.c: Update from tzcode 2013b.
7914
7915 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
7916
7917         * manual/install.texi (Configuring and compiling):
7918         Mention i686 and i586.
7919         * INSTALL: Regenerate.
7920
7921 2013-03-12  Roland McGrath  <roland@hack.frob.com>
7922
7923         * sysdeps/init_array/elf-init.c: New file.
7924         * csu/elf-init.c
7925         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7926         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7927
7928         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7929         __gmon_start__ as global, but as static with a .preinit_array pointer.
7930         * sysdeps/init_array/gmon-start.c: New file.  Use that.
7931         * sysdeps/init_array/crti.S: New file, empty except for comments.
7932         * sysdeps/init_array/crtn.S: Likewise.
7933
7934 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
7935
7936         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7937         definining bcopy.
7938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7939         Remove Prefer_SSE_for_memop.
7940         * sysdeps/x86_64/multiarch/init-arch.h: Remove
7941         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7942         HAS_PREFER_SSE_FOR_MEMOP.
7943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7944         memset-x86-64.
7945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7946         Remove bzero, memset ifunc support.
7947         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7948         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7949         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7950         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7951
7952 2013-03-11  Andreas Schwab  <schwab@suse.de>
7953
7954         [BZ #15234]
7955         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7956         by SHLIB_COMPAT.
7957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7958         (GLIBC_2.16): Remove pthread_atfork.
7959
7960 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7961
7962         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7963         (ptestcases.h): Likewise.
7964
7965 2013-03-08  Roland McGrath  <roland@hack.frob.com>
7966
7967         * Makeconfig ($(common-objpfx)config.status): Depend on
7968         sysdeps/*/preconfigure{,.in} too.
7969
7970 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
7971
7972         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7973         (__free_hook): Use void * instead of __malloc_ptr_t.
7974         (__malloc_hook): Likewise.
7975         (__realloc_hook): Likewise.
7976         (__memalign_hook): Likewise.
7977         (__after_morecore_hook): Likewise.
7978         * malloc/arena.c (save_malloc_hook): Likewise.
7979         (save_free_hook): Likewise.
7980         * malloc/hooks.c (malloc_hook_ini): Likewise.
7981         (realloc_hook_ini): Likewise.
7982         (memalign_hook_ini): Likewise.
7983         * malloc/malloc.c (malloc_hook_ini): Likewise.
7984         (realloc_hook_ini): Likewise.
7985         (memalign_hook_ini): Likewise.
7986         (__free_hook): Likewise.
7987         (__malloc_hook): Likewise.
7988         (__realloc_hook): Likewise.
7989         (__memalign_hook): Likewise.
7990         (__libc_malloc): Likewise.
7991         (__libc_free): Likewise.
7992         (__libc_realloc): Likewise.
7993         (__libc_memalign): Likewise.
7994         (__libc_valloc): Likewise.
7995         (__libc_pvalloc): Likewise.
7996         (__libc_calloc): Likewise.
7997         (__posix_memalign): Likewise.
7998         * malloc/morecore.c (__sbrk): Likewise.
7999         (__default_morecore): Likewise.
8000
8001         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8002
8003         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8004         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8005         __malloc_ptrdiff_t.
8006
8007         * malloc/malloc.h (__malloc_size_t): Remove macro.
8008         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8009         __malloc_size_t.
8010         (old_memalign_hook): Likewise.
8011         (old_realloc_hook): Likewise.
8012         (struct hdr): Likewise.
8013         (flood): Likewise.
8014         (mallochook): Likewise.
8015         (memalignhook): Likewise.
8016         (reallochook): Likewise.
8017         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8018         (tr_old_realloc_hook): Likewise.
8019         (tr_old_memalign_hook): Likewise.
8020         (tr_mallochook): Likewise.
8021         (tr_reallochook): Likewise.
8022         (tr_memalignhook): Likewise.
8023
8024 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8025
8026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8027         default_ldbl_pack and using as default implementation.
8028         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8029         implementation.
8030         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8031         redundant definition.
8032         (ldbl_insert_mantissa): Likewise.
8033         (ldbl_canonicalize): Likewise.
8034         (ldbl_nearbyint): Likewise.
8035         (ldbl_pack): Rename to ldbl_pack_ppc.
8036         (ldbl_unpack): Rename to ldbl_unpack_ppc.
8037         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8038         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8039
8040 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8041
8042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8043         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8044         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8045         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8047         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8048         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8049         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8050
8051 2013-03-07  Andreas Jaeger  <aj@suse.de>
8052
8053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8054         bits/mman-linux.h.
8055
8056 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8057
8058         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8059         Include mpa.h and declare __MPEXP.
8060         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8061         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8062         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8063         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8064         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8065         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8066         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8067
8068         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8069         (__slowpow): Use long double EXPL and LOGL functions to
8070         compute POW.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8072         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8073         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8074         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8075         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8076         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8077
8078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8079         intermediate variable to calculate exponent.
8080         (__sqr): Likewise.
8081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8082         Likewise.
8083         (__sqr): Likewise.
8084
8085         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8086         [!NO__SQR]: Define __sqr.
8087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8088         and NO__SQR.  Remove all code except __mul and __sqr.  Include
8089         sysdeps/ieee754/dbl-64/mpa.c.
8090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8091
8092         [BZ #12723]
8093         * posix/Makefile (tests): Add tst-pathconf.
8094         * posix/tst-pathconf.c: New test case.
8095         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8096         _PC_PIPE_BUF.
8097         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8098
8099 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
8100
8101         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8102
8103 2013-03-06  Andreas Jaeger  <aj@suse.de>
8104
8105         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8106         definition via __MAP_ANONYMOUS.
8107
8108         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8109         it's not part of Linux headers.
8110
8111         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8112         (MAP_HUGE_MASK): Define.
8113
8114         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8115         Define.
8116         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8117         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8118         Define.
8119         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8120         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8121         Define.
8122         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8124         Define.
8125         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8126
8127         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8128         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8129         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8130         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8131         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8132         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8133
8134         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8135         Handle f2fs.
8136
8137         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8138         Handle f2fs and efivarfs.
8139
8140         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8141         f2fs.
8142
8143         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8144         (EFIVARFS_MAGIC): Add.
8145         (F2FS_LINK_MAX): Add.
8146
8147 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8148
8149         * stdio-common/vfprintf.c: Replace __builtin_expect with
8150         __glibc_unlikely.
8151
8152 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
8153
8154         [BZ #13550]
8155         * sysdeps/generic/bp-sym.h: Remove file.
8156         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8157         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8158         <bp-sym.h> and <bp-asm.h>.
8159         (__longjmp): Don't use BP_SYM.
8160         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8161         and <bp-asm.h>.
8162         (memcpy): Don't use BP_SYM.
8163         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8164         <bp-sym.h> and <bp-asm.h>.
8165         (memcpy): Don't use BP_SYM.
8166         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8167         <bp-asm.h>.
8168         (memcpy): Don't use BP_SYM.
8169         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8170         <bp-asm.h>.
8171         (memset): Don't use BP_SYM.
8172         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8173         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8174         (__bzero): Don't use BP_SYM.
8175         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8176         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8177         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8178         <bp-sym.h> and <bp-asm.h>.
8179         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8180         pointers.
8181         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8182         <bp-sym.h> and <bp-asm.h>.
8183         (memcpy): Don't use BP_SYM.
8184         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8185         <bp-sym.h> and <bp-asm.h>.
8186         (memset): Don't use BP_SYM.
8187         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8188         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8189         (__bzero): Don't use BP_SYM.
8190         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8191         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8192         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8193         <bp-sym.h> and <bp-asm.h>.
8194         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8195         pointers.
8196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8197         <bp-sym.h> and <bp-asm.h>.
8198         (memcpy): Don't use BP_SYM.
8199         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8200         <bp-sym.h> and <bp-asm.h>.
8201         (memset): Don't use BP_SYM.
8202         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8203         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8204         (__bzero): Don't use BP_SYM.
8205         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8206         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8207         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8208         <bp-sym.h> and <bp-asm.h>.
8209         (__memchr): Don't use BP_SYM.
8210         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8211         <bp-sym.h> and <bp-asm.h>.
8212         (memcmp): Don't use BP_SYM.  Remove comment about bounded
8213         pointers.
8214         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8215         <bp-sym.h> and <bp-asm.h>.
8216         (memcpy): Don't use BP_SYM.
8217         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8218         <bp-sym.h> and <bp-asm.h>.
8219         (__mempcpy): Don't use BP_SYM.
8220         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8221         <bp-sym.h> and <bp-asm.h>.
8222         (__memrchr): Don't use BP_SYM.
8223         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8224         <bp-sym.h> and <bp-asm.h>.
8225         (memset): Don't use BP_SYM.
8226         (__bzero): Likewise.
8227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8228         <bp-sym.h> and <bp-asm.h>.
8229         (__rawmemchr): Don't use BP_SYM.
8230         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8231         <bp-sym.h> and <bp-asm.h>.
8232         (__STRCMP): Don't use BP_SYM.
8233         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8234         <bp-sym.h> and <bp-asm.h>.
8235         (strchr): Don't use BP_SYM.
8236         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8237         <bp-sym.h> and <bp-asm.h>.
8238         (__strchrnul): Don't use BP_SYM.
8239         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8240         <bp-sym.h> and <bp-asm.h>.
8241         (strlen): Don't use BP_SYM.
8242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8243         <bp-sym.h> and <bp-asm.h>.
8244         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8245         pointers.
8246         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8247         <bp-sym.h> and <bp-asm.h>.
8248         (__strnlen): Don't use BP_SYM.
8249         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8250         <bp-sym.h> and <bp-asm.h>.
8251         (__GI__setjmp): Don't use BP_SYM.
8252         (_setjmp): Likewise.
8253         (__sigsetjmp): Likewise.
8254         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8255         (L(start_addresses)): Don't use BP_SYM.
8256         (_start): Likewise.
8257         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8258         <bp-asm.h>.
8259         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8260         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8261         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8262         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8263         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8264         <bp-asm.h>.
8265         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8266         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
8267         about bounded pointers.
8268         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8269         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8270         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8271         <bp-asm.h>.
8272         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8273         about bounded pointers.  Remove GKM FIXME comments.
8274         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8275         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8276         <bp-asm.h>.
8277         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8278         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
8279         Remove GKM FIXME comments.
8280         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8281         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8282         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8283         <bp-asm.h>.
8284         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
8285         about bounded pointers.  Remove GKM FIXME comment.
8286         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8287         and <bp-asm.h>.
8288         (strncmp): Don't use BP_SYM.  Remove comment about bounded
8289         pointers.
8290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8291         <bp-sym.h> and <bp-asm.h>.
8292         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8294         <bp-sym.h> and <bp-asm.h>.
8295         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8296         comment.
8297
8298 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8299
8300         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8301         call free(NULL).
8302
8303 2013-03-05  David S. Miller  <davem@davemloft.net>
8304
8305         * po/es.po: Update from translation team.
8306
8307 2013-03-05  Andreas Jaeger  <aj@suse.de>
8308
8309         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8310         <bits/mman-linux.h>.
8311         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8312         is fine.
8313         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8314         <bits/mman-linux.h> to end of file.
8315         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8316         is fine.
8317         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8318         <bits/mman-linux.h> to end of file.
8319         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8320         is fine.
8321         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8322         <bits/mman-linux.h> to end of file.
8323
8324         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8325         (MCL_CURRENT, MCL_FUTURE): Define here.
8326
8327 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8328
8329         [BZ #15232]
8330         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8331         attribute_hidden.
8332         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8333
8334 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8335
8336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8337         fourth parameter needed for rt_sigprocmask syscall.
8338         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8339         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8341         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8342         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8343         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8344
8345 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
8346
8347         [BZ #13550]
8348         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8349         comment about bounded pointers.
8350         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8351         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8352
8353 2013-03-04  Andreas Jaeger  <aj@suse.de>
8354
8355         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8356         common definitions.
8357
8358         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8359         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8360         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8361         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8363         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8364
8365 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8366
8367         [BZ #15055]
8368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8369         __ieee754_sqrl instead of __sqrl.
8370
8371 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
8372
8373         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8374         * sysdeps/powerpc/fpu_control.h: ... here.
8375         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8376         * sysdeps/powerpc/bits/fenvinline.h: ... here.
8377         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8378         * sysdeps/powerpc/bits/mathinline.h: ... here.
8379
8380 2013-03-01  Roland McGrath  <roland@hack.frob.com>
8381
8382         * elf/dl-hwcaps.c (_dl_important_hwcaps):
8383         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8384         to just [NEED_DL_SYSINFO_DSO].
8385         * elf/dl-support.c: Likewise.
8386         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8387         * elf/rtld.c (dl_main): Likewise.
8388         * elf/setup-vdso.h (setup_vdso): Likewise.
8389         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8390         * sysdeps/unix/sysv/linux/dl-sysdep.c
8391         (_dl_discover_osversion): Likewise.
8392
8393 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
8394
8395         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8396         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8397
8398 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8399
8400         * NEWS: Mention libm performance improvements and non-x86 PI
8401         futex support.
8402
8403         * csu/libc-start.c (__pthread_initialize_minimal): Change
8404         function arguments.
8405         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8406
8407 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
8408
8409         [BZ #13550]
8410         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8411         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8412         <bp-sym.h> and <bp-asm.h>.
8413         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8414         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8415         and <bp-asm.h>.
8416         (memcpy): Don't use BP_SYM.
8417         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8418         <bp-asm.h>.
8419         (__mpn_add_n): Don't use BP_SYM.
8420         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8421         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8422         and <bp-asm.h>.
8423         (__mpn_addmul_1): Don't use BP_SYM.
8424         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8425         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8426         <bp-sym.h>.
8427         (_setjmp): Don't use BP_SYM.
8428         (__novmx_setjmp): Likewise.
8429         (__GI__setjmp): Likewise.
8430         (__vmx_setjmp): Likewise.
8431         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8432         <bp-sym.h>.
8433         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8434         (__bzero): Don't use BP_SYM.
8435         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8436         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8437         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8438         <bp-sym.h> and <bp-asm.h>.
8439         (memcpy): Don't use BP_SYM.
8440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8441         <bp-sym.h> and <bp-asm.h>.
8442         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8443         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8444         <bp-sym.h> and <bp-asm.h>.
8445         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8446         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8447         <bp-asm.h>.
8448         (__mpn_lshift): Don't use BP_SYM.
8449         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8450         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8451         <bp-asm.h>.
8452         (memset): Don't use BP_SYM.
8453         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8454         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8455         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8456         <bp-asm.h>.
8457         (__mpn_mul_1): Don't use BP_SYM.
8458         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8459         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8460         <bp-sym.h> and <bp-asm.h>.
8461         (memcmp): Don't use BP_SYM.
8462         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8463         <bp-sym.h> and <bp-asm.h>.
8464         (memcpy): Don't use BP_SYM.
8465         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8466         <bp-sym.h> and <bp-asm.h>.
8467         (memset): Don't use BP_SYM.
8468         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8469         <bp-sym.h> and <bp-asm.h>.
8470         (strncmp): Don't use BP_SYM.
8471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8472         <bp-sym.h> and <bp-asm.h>.
8473         (memcpy): Don't use BP_SYM.
8474         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8475         <bp-sym.h> and <bp-asm.h>.
8476         (memset): Don't use BP_SYM.
8477         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8478         <bp-sym.h> and <bp-asm.h>.
8479         (__memchr): Don't use BP_SYM.
8480         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8481         <bp-sym.h> and <bp-asm.h>.
8482         (memcmp): Don't use BP_SYM.
8483         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8484         <bp-sym.h> and <bp-asm.h>.
8485         (memcpy): Don't use BP_SYM.
8486         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8487         <bp-sym.h> and <bp-asm.h>.
8488         (__mempcpy): Don't use BP_SYM.
8489         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8490         <bp-sym.h> and <bp-asm.h>.
8491         (__memrchr): Don't use BP_SYM.
8492         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8493         <bp-sym.h> and <bp-asm.h>.
8494         (memset): Don't use BP_SYM.
8495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8496         <bp-sym.h> and <bp-asm.h>.
8497         (__rawmemchr): Don't use BP_SYM.
8498         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8499         <bp-sym.h> and <bp-asm.h>.
8500         (__STRCMP): Don't use BP_SYM.
8501         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8502         <bp-sym.h> and <bp-asm.h>.
8503         (strchr): Don't use BP_SYM.
8504         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8505         <bp-sym.h> and <bp-asm.h>.
8506         (__strchrnul): Don't use BP_SYM.
8507         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8508         <bp-sym.h> and <bp-asm.h>.
8509         (strlen): Don't use BP_SYM.
8510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8511         <bp-sym.h> and <bp-asm.h>.
8512         (strncmp): Don't use BP_SYM.
8513         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8514         <bp-sym.h> and <bp-asm.h>.
8515         (__strnlen): Don't use BP_SYM.
8516         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8517         <bp-asm.h>.
8518         (__mpn_rshift): Don't use BP_SYM.
8519         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8520         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8521         <bp-sym.h> and <bp-asm.h>.
8522         (__sigsetjmp): Don't use BP_SYM.
8523         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8524         (L(start_addresses)): Don't use BP_SYM.
8525         (_start): Likewise.
8526         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8527         <bp-asm.h>.
8528         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8529         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8530         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8531         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8532         <bp-asm.h>.
8533         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8534         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8535         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8536         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8537         <bp-asm.h>.
8538         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8539         comments.
8540         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8541         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8542         <bp-asm.h>.
8543         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
8544         FIXME comments.
8545         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8546         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8547         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8548         <bp-asm.h>.
8549         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
8550         comment.
8551         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8552         and <bp-asm.h>.
8553         (strncmp): Don't use BP_SYM,
8554         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8555         <bp-asm.h>.
8556         (__mpn_sub_n): Don't use BP_SYM.
8557         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8558         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8559         and <bp-asm.h>.
8560         (__mpn_submul_1): Don't use BP_SYM.
8561         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8563         <bp-sym.h> and <bp-asm.h>.
8564         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8566         <bp-sym.h> and <bp-asm.h>.
8567         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
8568         comment.
8569
8570 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8571
8572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8573         Use ZK to minimize writes to Z.
8574         (sub_magnitudes): Simplify code a bit.
8575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8576         Use ZK to minimize writes to Z.
8577         (sub_magnitudes): Simplify code a bit.
8578
8579 2013-02-27  Roland McGrath  <roland@hack.frob.com>
8580
8581         * csu/gmon-start.c: Add special exception to license text.
8582
8583 2013-02-27  Richard Henderson  <rth@redhat.com>
8584
8585         * scripts/config.guess: Update from config.git.
8586         * scripts/config.sub: Likewise.
8587
8588 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589
8590         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8591
8592         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8593
8594         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8595
8596         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8597
8598         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8599
8600 2013-02-26  Roland McGrath  <roland@hack.frob.com>
8601
8602         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8603         [$(build-shared = yes].
8604
8605 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8606
8607         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8608         (__mul): Reduce iterations for calculating mantissa.
8609
8610         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8611         MPTWO.
8612         (__mpranred): Likewise.
8613
8614         [BZ #15160]
8615         * malloc/memusagestat.c (main): Draw graphs for heap and stack
8616         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8617
8618 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
8619
8620         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8621         Define __attribute__.
8622
8623 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8624
8625         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8626         unused.
8627         * posix/regex_internal.h (__attribute): Remove.
8628         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8629         (re_string_context_at): Likewise.
8630         (bitset_not): Use __attribute__ and mark function as possibly
8631         unused.
8632         (bitset_merge): Likewise.
8633         (bitset_mask): Likewise.
8634         (re_string_char_size_at): Likewise.
8635         (re_string_wchar_at): Likewise.
8636         (re_string_elem_size_at): Likewise.
8637
8638 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8639
8640         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8641         code.
8642         (cc32): Likewise.
8643
8644         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8645         (__acr): Likewise.
8646         (__cpy): Likewise.
8647         (norm): Likewise.
8648         (denorm): Likewise.
8649         (__dbl_mp): Likewise.
8650         (add_magnitudes): Likewise.
8651         (sub_magnitudes): Likewise.
8652         (__mul): Likewise.
8653         (__inv): Likewise.
8654
8655         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8656         style.
8657
8658         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8659         style.
8660
8661         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8662         code.
8663
8664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8665         up changes with default code.
8666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8667         Likewise.
8668
8669 2013-02-24  Allan McRae  <allan@archlinux.org>
8670
8671         * manual/socket.texi (The Internet Namespace): Order menu items
8672         to match that in the file.
8673
8674         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8675         node listing of the info page menu.
8676
8677 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
8678
8679         [BZ #13550]
8680         * sysdeps/i386/bp-asm.h: Remove file.
8681         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8682         (PARMS): Do not use macros from bp-asm.h.
8683         (S1): Likewise.
8684         (S2): Likewise.
8685         (SIZE): Likewise.
8686         (__mpn_add_n): Do not use BP_SYM
8687         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8688         "bp-asm.h".
8689         (PARMS): Do not use macros from bp-asm.h.
8690         (S1): Likewise.
8691         (SIZE): Likewise.
8692         (__mpn_addmul_1): Do not use BP_SYM
8693         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8694         "bp-asm.h".
8695         (PARMS): Do not use macros from bp-asm.h.
8696         (SIGMSK): Likewise.
8697         (_setjmp): Likewise.  Do not use BP_SYM.
8698         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8699         "bp-asm.h".
8700         (PARMS): Do not use macros from bp-asm.h.
8701         (SIGMSK): Likewise.
8702         (setjmp): Likewise.  Do not use BP_SYM.
8703         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8704         "bp-asm.h".
8705         (PARMS): Do not use macros from bp-asm.h.
8706         (__frexp): Do not use BP_SYM.
8707         (frexp): Likewise.
8708         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8709         "bp-asm.h".
8710         (PARMS): Do not use macros from bp-asm.h.
8711         (__frexpf): Do not use BP_SYM.
8712         (frexpf): Likewise.
8713         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8714         "bp-asm.h".
8715         (PARMS): Do not use macros from bp-asm.h.
8716         (__frexpl): Do not use BP_SYM.
8717         (frexpl): Likewise.
8718         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8719         "bp-asm.h".
8720         (PARMS): Do not use macros from bp-asm.h.
8721         (__remquo): Do not use BP_SYM.
8722         (remquo): Likewise.
8723         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8724         "bp-asm.h".
8725         (PARMS): Do not use macros from bp-asm.h.
8726         (__remquof): Do not use BP_SYM.
8727         (remquof): Likewise.
8728         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8729         "bp-asm.h".
8730         (PARMS): Do not use macros from bp-asm.h.
8731         (__remquol): Do not use BP_SYM.
8732         (remquol): Likewise.
8733         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8734         "bp-asm.h".
8735         (PARMS): Do not use macros from bp-asm.h.
8736         (DEST): Likewise.
8737         (SRC): Likewise.
8738         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
8739         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8740         "bp-asm.h".
8741         (PARMS): Do not use macros from bp-asm.h.
8742         (strlen): Do not use BP_SYM.
8743         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8744         "bp-asm.h".
8745         (PARMS): Do not use macros from bp-asm.h.
8746         (S1): Likewise.
8747         (S2): Likewise.
8748         (SIZE): Likewise.
8749         (__mpn_add_n): Do not use BP_SYM.
8750         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8751         "bp-asm.h".
8752         (PARMS): Do not use macros from bp-asm.h.
8753         (S1): Likewise.
8754         (SIZE): Likewise.
8755         (__mpn_addmul_1): Do not use BP_SYM.
8756         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8757         weak_alias.
8758         (bzero): Likewise.
8759         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8760         "bp-asm.h".
8761         (PARMS): Do not use macros from bp-asm.h.
8762         (S): Likewise.
8763         (SIZE): Likewise.
8764         (__mpn_lshift): Do not use BP_SYM.
8765         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8766         "bp-asm.h".
8767         (PARMS): Do not use macros from bp-asm.h.
8768         (DEST): Likewise.
8769         (SRC): Likewise.
8770         (LEN): Likewise.
8771         (memcpy): Likewise.  Do not use BP_SYM.
8772         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8773         libc_hidden_def and weak_alias.
8774         (mempcpy): Do not use BP_SYM in weak_alias.
8775         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8776         "bp-asm.h".
8777         (PARMS): Do not use macros from bp-asm.h.
8778         (DEST): Likewise.
8779         (LEN): Likewise.
8780         [!BZERO_P] (CHR): Likewise.
8781         (memset): Likewise.  Do not use BP_SYM.
8782         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8783         "bp-asm.h".
8784         (PARMS): Do not use macros from bp-asm.h.
8785         (S1): Likewise.
8786         (SIZE): Likewise.
8787         (__mpn_mul_1): Do not use BP_SYM.
8788         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8789         "bp-asm.h".
8790         (PARMS): Do not use macros from bp-asm.h.
8791         (S): Likewise.
8792         (SIZE): Likewise.
8793         (__mpn_rshift): Do not use BP_SYM.
8794         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8795         "bp-asm.h".
8796         (PARMS): Do not use macros from bp-asm.h.
8797         (STR): Likewise.
8798         (CHR): Likewise.
8799         (strchr): Likewise.  Do not use BP_SYM.
8800         (index): Do not use BP_SYM in weak_alias.
8801         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8802         "bp-asm.h".
8803         (PARMS): Do not use macros from bp-asm.h.
8804         (DEST): Likewise.
8805         (SRC): Likewise.
8806         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
8807         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8808         "bp-asm.h".
8809         (PARMS): Do not use macros from bp-asm.h.
8810         (strlen): Do not use BP_SYM.
8811         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8812         "bp-asm.h".
8813         (PARMS): Do not use macros from bp-asm.h.
8814         (S1): Likewise.
8815         (S2): Likewise.
8816         (SIZE): Likewise.
8817         (__mpn_sub_n): Do not use BP_SYM.
8818         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8819         "bp-asm.h".
8820         (PARMS): Do not use macros from bp-asm.h.
8821         (S1): Likewise.
8822         (SIZE): Likewise.
8823         (__mpn_submul_1): Do not use BP_SYM.
8824         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8825         "bp-asm.h".
8826         (PARMS): Do not use macros from bp-asm.h.
8827         (S1): Likewise.
8828         (S2): Likewise.
8829         (SIZE): Likewise.
8830         (__mpn_add_n): Do not use BP_SYM.
8831         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8832         weak_alias.
8833         (bzero): Likewise.
8834         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8835         "bp-asm.h".
8836         (PARMS): Do not use macros from bp-asm.h.
8837         (BLK2): Likewise.
8838         (LEN): Likewise.
8839         (memcmp): Do not use BP_SYM.
8840         (bcmp): Do not use BP_SYM in weak_alias.
8841         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8842         "bp-asm.h".
8843         (PARMS): Do not use macros from bp-asm.h.
8844         (DEST): Likewise.
8845         (SRC): Likewise.
8846         (LEN): Likewise.
8847         (memcpy): Likewise.  Do not use BP_SYM.
8848         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8849         "bp-asm.h".
8850         (PARMS): Do not use macros from bp-asm.h.
8851         (DEST): Likewise.
8852         (SRC): Likewise.
8853         (LEN): Likewise.
8854         (memmove): Likewise.  Do not use BP_SYM.
8855         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8856         "bp-asm.h".
8857         (PARMS): Do not use macros from bp-asm.h.
8858         (DEST): Likewise.
8859         (SRC): Likewise.
8860         (LEN): Likewise.
8861         (__mempcpy): Likewise.  Do not use BP_SYM.
8862         (mempcpy): Do not use BP_SYM in weak_alias.
8863         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8864         "bp-asm.h".
8865         (PARMS): Do not use macros from bp-asm.h.
8866         (DEST): Likewise.
8867         (LEN): Likewise.
8868         [!BZERO_P] (CHR): Likewise.
8869         (memset): Likewise.  Do not use BP_SYM.
8870         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8871         "bp-asm.h".
8872         (PARMS): Do not use macros from bp-asm.h.
8873         (STR2): Likewise.
8874         (strcmp): Do not use BP_SYM.
8875         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8876         "bp-asm.h".
8877         (PARMS): Do not use macros from bp-asm.h.
8878         (STR): Likewise.
8879         (DELIM): Likewise.
8880         [USE_AS_STRTOK_R] (SAVE): Likewise.
8881         (FUNCTION): Likewise.  Do not use BP_SYM.
8882         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8883         aliases.
8884         (strtok_r): Likewise.
8885         (__GI___strtok_r): Likewise.
8886         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8887         (PARMS): Do not use macros from bp-asm.h.
8888         (S): Likewise.
8889         (SIZE): Likewise.
8890         (__mpn_lshift): Do not use BP_SYM.
8891         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8892         (PARMS): Do not use macros from bp-asm.h.
8893         (STR): Likewise.
8894         (CHR): Likewise.
8895         (__memchr): Do not use BP_SYM.
8896         (memchr): Do not use BP_SYM in weak_alias.
8897         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8898         (PARMS): Do not use macros from bp-asm.h.
8899         (BLK2): Likewise.
8900         (LEN): Likewise.
8901         (memcmp): Do not use BP_SYM.
8902         (bcmp): Do not use BP_SYM in weak_alias.
8903         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8904         (PARMS): Do not use macros from bp-asm.h.
8905         (S1): Likewise.
8906         (SIZE): Likewise.
8907         (__mpn_mul_1): Do not use BP_SYM.
8908         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8909         "bp-asm.h".
8910         (PARMS): Do not use macros from bp-asm.h.
8911         (STR): Likewise.
8912         (CHR): Likewise.
8913         (__rawmemchr): Do not use BP_SYM.
8914         (rawmemchr): Do not use BP_SYM in weak_alias.
8915         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8916         (PARMS): Do not use macros from bp-asm.h.
8917         (S): Likewise.
8918         (SIZE): Likewise.
8919         (__mpn_rshift): Do not use BP_SYM.
8920         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8921         (PARMS): Do not use macros from bp-asm.h.
8922         (SIGMSK): Likewise.
8923         (__sigsetjmp): Likewise.  Do not use BP_SYM.
8924         * sysdeps/i386/start.S: Do not include "bp-sym.h".
8925         (_start): Do not use BP_SYM.
8926         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8927         (PARMS): Do not use macros from bp-asm.h.
8928         (DEST): Likewise.
8929         (SRC): Likewise.
8930         (__stpcpy): Likewise.  Do not use BP_SYM.
8931         (stpcpy): Do not use BP_SYM in weak_alias.
8932         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8933         "bp-asm.h".
8934         (PARMS): Do not use macros from bp-asm.h.
8935         (DEST): Likewise.
8936         (SRC): Likewise.
8937         (LEN): Likewise.
8938         (__stpncpy): Likewise.  Do not use BP_SYM.
8939         (stpncpy): Do not use BP_SYM in weak_alias.
8940         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8941         (PARMS): Do not use macros from bp-asm.h.
8942         (STR): Likewise.
8943         (CHR): Likewise.
8944         (strchr): Likewise.  Do not use BP_SYM.
8945         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8946         "bp-asm.h".
8947         (PARMS): Do not use macros from bp-asm.h.
8948         (STR): Likewise.
8949         (CHR): Likewise.
8950         (__strchrnul): Likewise.  Do not use BP_SYM.
8951         (strchrnul): Do not use BP_SYM in weak_alias.
8952         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8953         "bp-asm.h".
8954         (PARMS): Do not use macros from bp-asm.h.
8955         (STOP): Likewise.
8956         (strcspn): Do not use BP_SYM.
8957         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8958         "bp-asm.h".
8959         (PARMS): Do not use macros from bp-asm.h.
8960         (STR): Likewise.
8961         (STOP): Likewise.
8962         (strpbrk): Likewise.  Do not use BP_SYM.
8963         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8964         "bp-asm.h".
8965         (PARMS): Do not use macros from bp-asm.h.
8966         (STR): Likewise.
8967         (CHR): Likewise.
8968         (strrchr): Likewise.  Do not use BP_SYM.
8969         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8970         (PARMS): Do not use macros from bp-asm.h.
8971         (SKIP): Likewise.
8972         (strspn): Do not use BP_SYM.
8973         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8974         (PARMS): Do not use macros from bp-asm.h.
8975         (STR): Likewise.
8976         (DELIM): Likewise.
8977         (SAVE): Likewise.
8978         (FUNCTION): Likewise.  Do not use BP_SYM.
8979         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8980         aliases.
8981         (strtok_r): Likewise.
8982         (__GI___strtok_r): Likewise.
8983         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8984         (PARMS): Do not use macros from bp-asm.h.
8985         (S1): Likewise.
8986         (S2): Likewise.
8987         (SIZE): Likewise.
8988         (__mpn_sub_n): Do not use BP_SYM.
8989         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8990         "bp-asm.h".
8991         (PARMS): Do not use macros from bp-asm.h.
8992         (S1): Likewise.
8993         (SIZE): Likewise.
8994         (__mpn_submul_1): Do not use BP_SYM.
8995         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8996         <bp-sym.h>.
8997         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8998         and <bp-asm.h>.
8999         (PARMS): Do not use macros from bp-asm.h.
9000         (FLAGS): Likewise.
9001         (PTID): Likewise.
9002         (TLS): Likewise.
9003         (CTID): Likewise.
9004         (__clone): Do not use BP_SYM.
9005         (clone): Do not use BP_SYM in weak_alias.
9006         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9007         and <bp-asm.h>.
9008         (PARMS): Do not use macros from bp-asm.h.
9009         (LEN): Likewise.
9010         (__mmap64): Do not use BP_SYM.
9011         (mmap64): Do not use BP_SYM in weak_alias.
9012         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9013         <bp-sym.h> and <bp-asm.h>.
9014         (PARMS): Do not use macros from bp-asm.h.
9015         (__posix_fadvise64_l64): Do not use BP_SYM.
9016         * sysdeps/unix/sysv/linux/i386/semtimedop.S
9017         (PARMS): Do not use macros from bp-asm.h.
9018         (NSOPS): Likewise.
9019         (semtimedop): Do not use BP_SYM.
9020         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9021         and <bp-asm.h>.
9022
9023 2013-02-21  Allan McRae  <allan@archlinux.org>
9024
9025         * manual/message.texi (Charset conversion in gettext):
9026         Move @end statement to beginning of line.
9027
9028 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9029
9030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9031         static.
9032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9033         Likewise.
9034
9035         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9036         (denorm): Likewise.
9037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9039
9040 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9041
9042         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9043         tail-call to the resolved function if pltexit isn't needed.
9044
9045 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9046
9047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9048         or Y being zero as being unlikely.
9049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9050         Likewise.
9051
9052 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
9053
9054         * manual/nss.texi (System Databases and Name Service Switch):
9055         Remove frobnicate @pxref.
9056
9057 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9058
9059         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9060         __attribute__ ((unused)) to __attribute__ ((__unused__)).
9061
9062 2013-02-20  Petr Machata  <pmachata@redhat.com>
9063
9064         * elf/elf.h (R_ARM_TARGET1): New macro.
9065         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9066         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9067         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9068         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9069         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9070         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9071         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9072         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9073         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9074         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9075         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9076         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9077         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9078         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9079         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9080         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9081         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9082         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9083         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9084         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9085         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9086         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9087         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9088         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9089         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9090         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9091         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9092         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9093         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9094         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9095         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9096         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9097         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9098         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9099         (R_ARM_THM_GOT_BREL12): Likewise.
9100         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9101         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9102         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9103         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9104         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9105         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9106         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9107         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9108         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9109
9110 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
9111
9112         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9113         __attribute_used__ to __attribute__ ((unused)).
9114
9115 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9116
9117         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9118         powerpc mpa.c.
9119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9120         comment formatting.
9121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9122
9123 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
9124
9125         [BZ #13550]
9126         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9127         Remove macro.
9128         (ENTER): Remove both macro definitions.
9129         (LEAVE): Likewise.
9130         (CHECK_BOUNDS_LOW): Likewise.
9131         (CHECK_BOUNDS_HIGH): Likewise.
9132         (CHECK_BOUNDS_BOTH): Likewise.
9133         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9134         (RETURN_BOUNDED_POINTER): Likewise.
9135         (RETURN_NULL_BOUNDED_POINTER): Likewise.
9136         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9137         (POP_ERRNO_LOCATION_RETURN): Likewise.
9138         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9139         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9140         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9141         macros.
9142         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9143         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9144         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9145         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9146         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9147         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9148         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9149         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9150         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9151         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9152         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9153         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9154         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9155         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9156         removed macros.
9157         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9158         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9159         macros.
9160         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9161         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9162         * sysdeps/i386/i586/memset.S (memset): Likewise.
9163         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9164         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9165         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9166         macros.
9167         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9168         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9169         Change uses of L(2) to L(out).
9170         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9171         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9172         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9173         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9174         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9175         removed macros.
9176         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9177         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9178         macros.
9179         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9180         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9181         (RETURN): Do not use macro LEAVE.
9182         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9183         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9184         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9185         * sysdeps/i386/i686/memset.S (memset): Likewise.
9186         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9187         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9188         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9189         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9190         Likewise.
9191         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9192         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
9193         L(1_2) and L(1_3) into L(1).
9194         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9195         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9196         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9197         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9198         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9199         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9200         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9201         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9202         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9203         macros.
9204         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9205         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9206         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9207         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9208         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9209         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9210         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9211         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9212         * sysdeps/i386/strcspn.S (strcspn): Likewise.
9213         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9214         * sysdeps/i386/strrchr.S (strrchr): Likewise.
9215         * sysdeps/i386/strspn.S (strspn): Likewise.
9216         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9217         conditional code.
9218         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9219         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9220         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9221         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
9222         L(1_3) into L(1_1).
9223         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9224         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9225         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9226         macros.
9227         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9228
9229 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
9230
9231         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9232         macro.
9233
9234 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9235
9236         * math/atest-exp.c (exp_mpn): Remove ROUND.
9237         * math/atest-exp2.c (exp_mpn): Likewise.
9238         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9239
9240         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9241         * stdlib/tst-tls-atexit-lib.c: Likewise.
9242         * stdlib/tst-tls-atexit.c: Likewise.
9243
9244 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9245
9246         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9247         and __attribute_alloc_size__.
9248
9249 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9250
9251         * include/programs/xmalloc.h: Change __attribute_alloc_size to
9252         __attribute_alloc_size__.
9253         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9254         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9255
9256 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
9257
9258         * include/programs/xmalloc.h: New file.
9259         * catgets/gencat.c: Include it.
9260         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9261         * elf/pldd.c: Likewise.
9262         * iconv/iconv_charmap.c: Likewise.
9263         * iconv/iconvconfig.c: Likewise.
9264         * iconv/strtab.c: Likewise.
9265         * locale/programs/locale.c: Likewise.
9266         * locale/programs/localedef.h: Likewise.
9267         * locale/programs/simple-hash.c: Likewise.
9268         * nscd/nscd.h: Likewise.
9269         * nss/makedb.c: Likewise.
9270         * sysdeps/generic/ldconfig.h: Likewise.
9271
9272 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9273
9274         * Versions.def: Add GLIBC_2.18.
9275         * include/link.h (struct link_map): New member l_tls_dtor_count.
9276         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9277         (__call_tls_dtors): Likewise.
9278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9279         __cxa_thread_atexit_impl.
9280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9283         Likewise.
9284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9285         Likewise.
9286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9287         Likewise.
9288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9290         Likewise.
9291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9295         Likewise.
9296         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9297         (tests): Add test case tst-tls-atexit.
9298         (modules-names): Add shared library for tst-tls-atexit.
9299         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9300         (GLIBC_PRIVATE): Add __call_tls_dtors.
9301         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9302         for libstdc++.
9303         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9304         * stdlib/tst-tls-atexit.c: New test case.
9305         * stdlib/tst-tls-atexit-lib.c: New test case.
9306
9307         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9308
9309         * elf/Versions (ld): Add _dl_find_dso_for_object.
9310         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9311         * elf/dl-open.c (_dl_find_dso_for_object): New function.
9312         (dl_open_worker): Use _dl_find_dso_for_object.
9313         * elf/dl-sym.c (do_sym): Likewise.
9314         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9315
9316 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9317
9318         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9319         Syntactic changes only.
9320         (_dl_runtime_profile): Do a tail-call to the resolved function.
9321
9322 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
9323
9324         [BZ #13550]
9325         * sysdeps/x86_64/bp-asm.h: Remove file.
9326         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9327         <bp-sym.h> and <bp-asm.h>.
9328         (__clone): Do not use BP_SYM.
9329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9330         <bp-sym.h> and <bp-asm.h>.
9331         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9332         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9333         "bp-asm.h".
9334         (_setjmp): Do not use BP_SYM.
9335         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9336         "bp-asm.h".
9337         (setjmp): Do not use BP_SYM.
9338         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9339         libc_hidden_def.
9340         (mempcpy): Do not use BP_SYM in weak_alias.
9341         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9342         "bp-asm.h".
9343         (strchr): Do not use BP_SYM.
9344         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9345         "bp-asm.h".
9346         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9347         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9348         (_start): Do not use BP_SYM.
9349         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9350         "bp-asm.h".
9351         (strcat): Do not use BP_SYM.
9352         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9353         "bp-asm.h".
9354         (STRCMP): Do not use BP_SYM.
9355         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9356         "bp-asm.h".
9357         (STRCPY): Do not use BP_SYM.
9358         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9359         "bp-asm.h".
9360         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9361         "bp-asm.h".
9362         (FUNCTION): Do not use BP_SYM.
9363         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9364         weak_alias.
9365         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9366
9367 2013-02-17  Andreas Jaeger  <aj@suse.de>
9368
9369         * time/Versions: Sort entries.
9370         * string/Versions: Likewise.
9371         * resolv/Versions: Likewise.
9372         * posix/Versions: Likewise.
9373         * iconv/Versions: Likewise.
9374         * elf/Versions: Likewise.
9375         * wcsmbs/Versions: Likewise.
9376
9377 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9378
9379         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9380         loop termination condition.
9381
9382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9383         variable to calculate EZ.
9384         (__sqr): Likewise.
9385
9386         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9387         the lower precision input.
9388
9389 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
9390
9391         [BZ #13550]
9392         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9393         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9394         (run-via-rtld-prefix): Do not handle %-bp tests.
9395         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9396         (all-object-suffixes): Remove .ob.
9397         (bppfx): Remove variable.
9398         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9399         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9400         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9401         [$(build-bounded) = yes] (libtype.ob): Likewise.
9402         * Makerules (elide-routines.ob): Remove variable.
9403         (do-tests-clean): Do not handle *-bp.out.
9404         (common-mostlyclean): Do not handle *-bp and *-bp.out.
9405         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9406         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9407         (tests): Do not include $(tests-bp.out).
9408         (xtests): Do not include $(xtests-bp.out).
9409         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9410         [$(build-bounded) = yes] ($(addprefix
9411         $(objpfx),$(binaries-bounded))): Remove rule.
9412         ($(objpfx)%-bp.out): Remove rule.
9413         * config.make.in (build-bounded): Remove variable.
9414         * crypt/Makefile [$(build-bounded) = yes]
9415         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9416         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9417         append to variable.
9418         [$(build-bounded) = yes] (install-lib): Likewise.
9419         [$(build-bounded) = yes] (generated): Likewise.
9420         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9421         Remove rule.
9422         * intl/Makefile [$(build-bounded) = yes]
9423         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9424         * math/Makefile [$(build-bounded) = yes]
9425         ($(tests:%=$(objpfx)%-bp): Likewise.
9426         * misc/Makefile [$(build-bounded) = yes]
9427         ($(objpfx)tst-tsearch-bp): Likewise.
9428         * nptl/Makeconfig (bounded-thread-library): Remove variable.
9429         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9430         Remove dependency.
9431         * string/Makefile (o-objects.ob): Remove variable.
9432         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9433         (CFLAGS-.ob): Remove variable.
9434         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9435         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9436         both definitions of variable.
9437         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9438         (ASFLAGS-.ob): Remove variable.
9439
9440 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
9441
9442         [BZ #13550]
9443         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9444         Remove __BOUNDED_POINTERS__ from condition.
9445         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9446         * string/bits/string2.h [!__NO_STRING_INLINES &&
9447         !__BOUNDED_POINTERS__]: Likewise.
9448         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9449         Likewise.
9450         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9451         Remove conditional code.
9452         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9453         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9454         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9455         condition.
9456
9457         [BZ #13550]
9458         * csu/libc-start.c: Do not include <bp-sym.h>.
9459         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9460         * elf/dl-open.c: Do not include <bp-sym.h>.
9461         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9462         * math/fegetenv.c: Do not include <bp-sym.h>.
9463         (fegetenv): Do not use BP_SYM in versioned symbols.
9464         * nptl/sysdeps/pthread/bits/libc-lockP.h
9465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9466         <bp-sym.h>.
9467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9468         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9470         (__pthread_mutex_destroy): Likewise.
9471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9472         (__pthread_mutex_lock): Likewise.
9473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9474         (__pthread_mutex_trylock): Likewise.
9475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9476         (__pthread_mutex_unlock): Likewise.
9477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9478         (__pthread_mutexattr_init): Likewise.
9479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9480         (__pthread_mutexattr_destroy): Likewise.
9481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9482         (__pthread_mutexattr_settype): Likewise.
9483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9484         (__pthread_rwlock_init): Likewise.
9485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9486         (__pthread_rwlock_destroy): Likewise.
9487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9488         (__pthread_rwlock_rdlock): Likewise.
9489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9490         (__pthread_rwlock_tryrdlock): Likewise.
9491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9492         (__pthread_rwlock_wrlock): Likewise.
9493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9494         (__pthread_rwlock_trywrlock): Likewise.
9495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9496         (__pthread_rwlock_unlock): Likewise.
9497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9498         (__pthread_key_create): Likewise.
9499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9500         (__pthread_setspecific): Likewise.
9501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9502         (__pthread_getspecific): Likewise.
9503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9504         Likewise.
9505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9506         (_pthread_cleanup_push_defer): Likewise.
9507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9508         (_pthread_cleanup_pop_restore): Likewise.
9509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9510         (pthread_setcancelstate): Likewise.
9511         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9512         <bp-sym.h>.
9513         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9514         (memchr): Do not use BP_SYM in weak_alias.
9515         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9516         (fegetenv): Do not use BP_SYM in versioned symbols.
9517         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9518         (fesetenv): Do not use BP_SYM in versioned symbols.
9519         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9520         (feupdateenv): Do not use BP_SYM in versioned symbols.
9521         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9522         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9523         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9524         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9525         (open64): Do not use BP_SYM in weak_alias.
9526         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9527         (fegetenv): Do not use BP_SYM in versioned symbols.
9528         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9529         (fesetenv): Do not use BP_SYM in versioned symbols.
9530         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9531         (feupdateenv): Do not use BP_SYM in versioned symbols.
9532         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9533         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9534         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9535         (feraiseexcept): Do not use BP_SYM in versioned symbols.
9536         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9537         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9538         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9539         <bp-sym.h>.
9540         (__libc_start_main): Do not use BP_SYM.
9541
9542 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9543
9544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9545         redundant return line.
9546         (norm): Likewise.
9547         (denorm): Likewise.
9548         (dbl_mp): Likewise.
9549         (sub_magnitudes): Likewise.
9550         (__add): Likewise.
9551         (__sub): Likewise.
9552         (__mul): Likewise.
9553         (__inv): Likewise.
9554         (__dvd): Likewise.
9555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9556         (norm): Likewise.
9557         (denorm): Likewise.
9558         (dbl_mp): Likewise.
9559         (sub_magnitudes): Likewise.
9560         (__add): Likewise.
9561         (__sub): Likewise.
9562         (__mul): Likewise.
9563         (__inv): Likewise.
9564         (__dvd): Likewise.
9565
9566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9567         instead of __mul.
9568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9569         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9570         (cc32): Likewise.
9571
9572         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9573         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9575         of __mul for squares.
9576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9577         function
9578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9579         Likewise.
9580         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9581         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9582
9583 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
9584
9585         [BZ #13550]
9586         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9587         code.
9588         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9589         prototype or function definition.  Rename ubp_* variables and
9590         parameters.  Remove argv definitions conditional on
9591         [__BOUNDED_POINTERS__].
9592         * debug/backtrace.c (__backtrace): Do not use __unbounded.
9593         * elf/dl-runtime.c (_dl_fixup): Likewise.
9594         * include/set-hooks.h (RUN_HOOK): Likewise.
9595         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9596         definition.
9597         * string/strcpy.c (strcpy): Do not use __unbounded.
9598         * sysdeps/generic/frame.h (struct layout): Likewise.
9599         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9600         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9601         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9602         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9603         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9604         (__backtrace): Likewise.
9605         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9606         use __ptrvalue.
9607         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9608         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9609         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9610         Likewise.
9611         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9612         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9613         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9614         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9615         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9616         Do not use __unbounded.
9617         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9618         Rename __unboundedrlimits parameter to rlimits in prototype.
9619         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9620         Do not use __unbounded.
9621         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9622         not use __ptrvalue.
9623         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9624         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9625         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9626         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9627         __ptrvalue or __unbounded.
9628         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9629         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9630         use __unbounded.
9631         (__new_msgctl): Do not use __ptrvalue.
9632         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9633         __unbounded.
9634         (__libc_msgrcv): Do not use __ptrvalue.
9635         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9636         startup_info): Do not use __unbounded.
9637         (__libc_start_main): Likewise.  Rename ubp_* variables and
9638         parameters.  Remove argv definitions conditional on
9639         [__BOUNDED_POINTERS__].
9640         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9641         __ptrvalue.
9642         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9643         use __unbounded.
9644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9645         or __ptrvalue.
9646         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9647         use __unbounded.
9648         (__new_shmctl): Do not use __ptrvalue.
9649         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9650         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9653         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9654         (__libc_sigaction): Likewise.
9655         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9657         Likewise.
9658         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9659
9660 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
9661
9662         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9663
9664         * string/mempcpy.c: Implement by calling memcpy.
9665
9666 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9667
9668         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9669
9670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9671         evaluation.
9672
9673         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9674         values in the mantissa.
9675
9676         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9677         minimize writes to Z.
9678         (sub_magnitudes): Simplify code a bit.
9679
9680 2013-02-12  Roland McGrath  <roland@hack.frob.com>
9681
9682         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9683         from the message.  The linker prefixes all warnings with that already.
9684
9685 2013-02-12  Andreas Schwab  <schwab@suse.de>
9686
9687         [BZ #15078]
9688         * posix/regexec.c (extend_buffers): Add parameter min_len.
9689         (check_matching): Pass minimum needed length.
9690         (clean_state_log_if_needed): Likewise.
9691         (get_subexp): Likewise.
9692         * posix/Makefile (tests): Add bug-regex34.
9693         (bug-regex34-ENV): Define.
9694         * posix/bug-regex34.c: New file.
9695
9696         [BZ #11561]
9697         * posix/regcomp.c (parse_bracket_exp): When looking up collating
9698         elements compare against the byte sequence of it, not its name.
9699         * posix/Makefile (tests): Add bug-regex35.
9700         (bug-regex35-ENV): Define.
9701         * posix/bug-regex35.c: New file.
9702
9703 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9704
9705         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
9706         comment.
9707         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9708         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9709         (CHECK_EOL): Add undef.
9710
9711 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
9712
9713         * bits/stdlib-bsearch.h: New file.
9714         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9715         * stdlib/stdlib.h: Likewise.
9716
9717 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9718
9719         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9720         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9721         declaration.
9722         * manual/search.texi (Array Search Function): Add missing const in
9723         lfind prototype.
9724         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9725         declaration to use rlim_t.
9726         (Basic Scheduling Functions): Remove erroneous const from
9727         sched_getparam prototype.  Remove erroneous * from
9728         sched_get_priority_max and sched_get_priority_min prototypes.
9729         (Resource Usage): Fix summary @comment on vtimes to refer to
9730         sys/vtimes.h rather than vtimes.h.
9731         Add missing *s in vtimes prototype.
9732         (Limits on Resources): Fix ulimit prototype to return long int.
9733         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9734         prototypes to use long int rather than double.
9735         (BSD Random): Fix initstate and setstate to use char *, not void *.
9736         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9737         prototype to make second argument 'struct aiocb64 *const[]'.
9738         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9739         (Status of AIO Operations): Remove erroneous const in aio_return and
9740         aio_return64 prototypes.
9741         (Synchronizing I/O): Fix sync prototype to return void.
9742         * manual/startup.texi (Suboptions): Remove an erroneous const in
9743         getsubopt prototype.
9744         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9745         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9746         use size_t rather than int.
9747         (Scanning All Users): Likewise for getpwent_r.
9748         (Setting Groups): Add missing const to setgroups prototype.
9749         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9750         * manual/socket.texi (Host Names): Fix gethostbyaddr and
9751         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9752         'const void *' rather than 'const char *'.
9753         (Host Address Functions): Likewise for inet_ntop.
9754         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9755         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9756         ssize_t for return value.
9757         (Sending Data): Likewise for send, sendto, sendmsg.
9758         (Socket Option Functions): Add a missing const in setsockopt prototype.
9759         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9760         use wchar_t for the argument.
9761         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9762         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9763         take no arguments.
9764         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9765         double/float/long double for second argument.
9766         Fix return types of significand, significandf, significandl.
9767         * manual/filesys.texi (Setting Permissions): Use mode_t for second
9768         argument in fchmod prototype.
9769         (File Owner): Use uid_t and gid_t in fchown prototype.
9770         (File Times): Add const to utimes, futimes, and lutimes prototypes.
9771         (Making Special Files): Use mode_t and dev_t in mknod prototype.
9772         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9773         use 'const struct dirent **' as argument types to CMP function pointer
9774         argument.
9775         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9776         (File Times): Fix summary magic @comment for struct utimbuf and utime
9777         to refer to utime.h, not time.h.
9778         * manual/string.texi (Argz Functions): Add missing const in
9779         argz_extract and argz_next prototypes.
9780         (Finding Tokens in a String): Likewise for basename.
9781         (String/Array Comparison): Fix typo in wcscasecmp prototype.
9782         (Copying and Concatenation): Fix typo in wmemmove prototype.
9783         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9784         (Signal Stack): Remove erroneous const in sigstack prototype.
9785         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9786         prototype.
9787         (Simple Calendar Time): Likewise for stime.
9788         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9789         prototype.
9790         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9791         say sys/sysctl.h instead.
9792         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9793         and vsyslog prototypes.
9794
9795 2013-02-11  Tom de Vries  <tom@codesourcery.com>
9796
9797         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9798         Remove.
9799
9800 2013-02-11  Roland McGrath  <roland@hack.frob.com>
9801
9802         * misc/sys/mman.h: Fix typo in mremap comment.
9803
9804 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9805
9806         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9807         the '\0' terminator.
9808
9809 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9810
9811         [BZ #13550]
9812         * debug/segfault.c: Don't include <bp-checks.h>.
9813         * sysdeps/generic/bp-checks.h: Remove file.
9814         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9815         (__GETDENTS): Don't use CHECK_N.
9816         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9817         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9818         (__getgroups): Don't use CHECK_N.
9819         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9820         (setgroups): Don't use CHECK_N.
9821         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9822         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9823         (__libc_msgrcv): Don't use CHECK_N.
9824         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9825         (__libc_msgsnd): Don't use CHECK_N.
9826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9827         <bp-checks.h>.
9828         (__libc_pread): Don't use CHECK_N.
9829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9830         include <bp-checks.h>.
9831         (__libc_pread64): Don't use CHECK_N.
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9833         include <bp-checks.h>.
9834         (__libc_pwrite): Don't use CHECK_N.
9835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9836         include <bp-checks.h>.
9837         (__libc_pwrite64): Don't use CHECK_N.
9838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9839         <bp-checks.h>.
9840         (__libc_pread): Don't use CHECK_N.
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9842         include <bp-checks.h>.
9843         (__libc_pread64): Don't use CHECK_N.
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9845         include <bp-checks.h>.
9846         (__libc_pwrite): Don't use CHECK_N.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9848         include <bp-checks.h>.
9849         (__libc_pwrite64): Don't use CHECK_N.
9850         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9851         (do_pread): Don't use CHECK_N.
9852         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9853         (do_pread64): Don't use CHECK_N.
9854         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9855         (do_pwrite): Don't use CHECK_N.
9856         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9857         (do_pwrite64): Don't use CHECK_N.
9858         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9859         (__libc_readv): Don't use CHECK_N.
9860         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9861         (semop): Don't use CHECK_N.
9862         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9863         <bp-checks.h>.
9864         (semtimedop): Don't use CHECK_N.
9865         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9866         (__libc_pread): Don't use CHECK_N.
9867         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9868         <bp-checks.h>.
9869         (__libc_pread64): Don't use CHECK_N.
9870         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9871         <bp-checks.h>.
9872         (__libc_pwrite): Don't use CHECK_N.
9873         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9874         <bp-checks.h>.
9875         (__libc_pwrite64): Don't use CHECK_N.
9876         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9877         <bp-checks.h>.
9878         (__libc_msgrcv): Don't use CHECK_N.
9879         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9880         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
9881         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9882         (__libc_writev): Don't use CHECK_N.
9883
9884 2013-02-08  Roland McGrath  <roland@hack.frob.com>
9885
9886         * string/strcpy.c: Removed unused variable.
9887
9888         * Makeconfig (+sysdep-includes): Define with := rather than =.
9889         Use an existing include/ subdir of each sysdeps dir before it.
9890
9891 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9892
9893         * nscd/connection.c (register_traced_file): Comment function.
9894         [HAVE_INOTIFY] (union __inev): Define.
9895         [HAVE_INOTIFY] (inotify_check_files): New function.
9896         [HAVE_INOTIFY] (clear_db_cache): Likewise.
9897         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9898         clear_db_cache.
9899         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9900
9901 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9902
9903         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9904         loaded if not already and that a failure is permanent.
9905
9906 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
9907
9908         [BZ #15006]
9909         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9910         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9911
9912 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
9913
9914         [BZ #13550]
9915         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9916         (CHECK_1_NULL_OK): Likewise.
9917         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9918         (__fxstat): Do not use CHECK_1.
9919         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9920         <bp-checks.h>.
9921         (___fxstat64): Do not use CHECK_1.
9922         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9923         <bp-checks.h>.
9924         (__fxstatat): Do not use CHECK_1.
9925         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9926         <bp-checks.h>.
9927         (__fxstatat64): Do not use CHECK_1.
9928         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9929         <bp-checks.h>.
9930         (__fxstat): Do not use CHECK_1.
9931         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9932         <bp-checks.h>.
9933         (__fxstatat): Do not use CHECK_1.
9934         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9935         <bp-checks.h>.
9936         (__getresgid): Do not use CHECK_1.
9937         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9938         <bp-checks.h>.
9939         (__getresuid): Do not use CHECK_1.
9940         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9941         <bp-checks.h>.
9942         (__lxstat): Do not use CHECK_1.
9943         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9944         <bp-checks.h>.
9945         (__old_msgctl): Do not use CHECK_1.
9946         (__new_msgctl): Likewise.
9947         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9948         <bp-checks.h>.
9949         (__new_setrlimit): Do not use CHECK_1.
9950         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9951         <bp-checks.h>.
9952         (__old_shmctl): Do not use CHECK_1.
9953         (__new_shmctl): Likewise.
9954         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9955         <bp-checks.h>.
9956         (__xstat): Do not use CHECK_1.
9957         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9958         (__lxstat): Do not use CHECK_1.
9959         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9960         <bp-checks.h>.
9961         (___lxstat64): Do not use CHECK_1.
9962         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9963         (__old_msgctl): Do not use CHECK_1.
9964         (__new_msgctl): Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9966         <bp-checks.h>.
9967         (__gettimeofday): Do not use CHECK_1.
9968         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9969         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9970         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9971         <bp-checks.h>.
9972         (__gettimeofday): Do not use CHECK_1.
9973         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9974         (__old_shmctl): Do not use CHECK_1_NULL_OK.
9975         (__new_shmctl): Do not use CHECK_1.
9976         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9977         <bp-checks.h>.
9978         (do_sigtimedwait): Do not use CHECK_1.
9979         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9980         <bp-checks.h>.
9981         (do_sigwaitinfo): Do not use CHECK_1.
9982         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9983         <bp-checks.h>.
9984         (msgctl): Do not use CHECK_1.
9985         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9986         <bp-checks.h>.
9987         (shmctl): Do not use CHECK_1.
9988         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9989         (ustat): Do not use CHECK_1.
9990         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9991         <bp-checks.h>.
9992         (__fxstat): Do not use CHECK_1.
9993         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9994         <bp-checks.h>.
9995         (__fxstatat): Do not use CHECK_1.
9996         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9997         <bp-checks.h>.
9998         (__lxstat): Do not use CHECK_1.
9999         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10000         <bp-checks.h>.
10001         (__xstat): Do not use CHECK_1.
10002         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10003         (__xstat): Do not use CHECK_1.
10004         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10005         (___xstat64): Do not use CHECK_1.
10006
10007         [BZ #13550]
10008         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10009         definitions.
10010         (CHECK_BOUNDS_HIGH): Likewise.
10011         * string/strcpy.c: Do not include <bp-checks.h>.
10012         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10013
10014 2013-02-07  Roland McGrath  <roland@hack.frob.com>
10015
10016         * nscd/nscd-client.h (__nscd_drop_map_ref):
10017         Add __attribute__ ((unused)).
10018         * nis/nss-nisplus.h (niserr2nss): Likewise.
10019
10020         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10021         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10022
10023         * csu/libc-tls.c (init_static_tls, init_slotinfo):
10024         Remove inline keyword.
10025         * include/rounding-mode.h (round_away): Likewise.
10026         * libio/wfileops.c (adjust_wide_data): Likewise.
10027         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10028         (__m128i_strloadu_tolower): Likewise.
10029         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10030         (__m128i_strloadu_tolower): Likewise.
10031         * time/mktime.c (ydhms_diff): Likewise.
10032         * locale/elem-hash.h (elem_hash): Likewise.
10033         * locale/setlocale.c (setdata): Likewise.
10034         * posix/regex_internal.h (re_string_char_size_at): Likewise.
10035         (re_string_wchar_at): Likewise.
10036         (bitset_not, bitset_merge, bitset_mask): Likewise.
10037         [!(__GNUC__ > 3)] (inline): Remove macro.
10038         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10039         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10040         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10041         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10042         * string/memcmp.c (memcmp_bytes): Likewise.
10043         * locale/programs/locarchive.c (compute_hashval): Likewise.
10044         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10045         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10046         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10047         * nss/getent.c (print_rpc, print_protocols): Likewise.
10048         (print_passwd, print_group, print_aliases): Likewise.
10049         * nis/nss-nisplus.h (niserr2nss): Likewise.
10050         * nscd/connections.c (restart_p): Likewise.
10051         Change return type to bool.
10052
10053 2013-02-05  Roland McGrath  <roland@hack.frob.com>
10054
10055         * Makeconfig (all-Depend-files): Add existing
10056         $(sorted-subdirs:=/Depend) files.
10057         (all-subdirs): Remove nss.
10058         * sysdeps/unix/inet/Subdirs: Add it here instead.
10059         * hesiod/Depend: New file.
10060
10061         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10062         instead of calling alloca.
10063
10064         * io/lseek.c (__lseek): Rename to __libc_lseek.
10065         Define __lseek as an alias.
10066
10067         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10068
10069 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
10070
10071         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10072         else clause and remove check for non-standard endianness.
10073
10074 2013-02-04  David S. Miller  <davem@davemloft.net>
10075
10076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10077
10078 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
10079
10080         [BZ #13550]
10081         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10082         (__ubp_memchr): Remove prototype.
10083         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10084         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10085         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10086         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10087         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10088         Remove alias.
10089         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10090         (__ubp_memchr): Likewise.
10091         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10092         (__ubp_memchr): Likewise.
10093         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10094         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10095         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10096         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10097         CHECK_STRING.
10098         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10099         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10100         (__getcwd): Do not use CHECK_STRING.
10101         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10102         <bp-checks.h>.
10103         (__real_chown): Do not use CHECK_STRING.
10104         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10105         <bp-checks.h>.
10106         (fchownat): Do not use CHECK_STRING.
10107         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10108         CHECK_STRING.
10109         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10110         <bp-checks.h>.
10111         (__lchown): Do not use CHECK_STRING.
10112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10113         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10114         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10115         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10117         include <bp-checks.h>.
10118         (truncate64): Do not use CHECK_STRING.
10119         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10120         <bp-checks.h>.
10121         (__real_chown): Do not use CHECK_STRING.
10122         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10123         <bp-checks.h>.
10124         (__lchown): Do not use CHECK_STRING.
10125         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10126         <bp-checks.h>.
10127         (__chown): Do not use CHECK_STRING.
10128         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10129         <bp-checks.h>.
10130         (truncate64): Do not use CHECK_STRING.
10131         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10134         (__xmknod): Do not use CHECK_STRING.
10135         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10136         <bp-checks.h>.
10137         (__xmknodat): Do not use CHECK_STRING.
10138         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10139         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10140
10141 2013-02-04  Andreas Schwab  <schwab@suse.de>
10142
10143         [BZ #14142]
10144         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10145         * include/netdb.h: Likewise for h_errno.
10146         * elf/tst-stackguard1.c: Include <tls.h>.
10147
10148 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
10149
10150         * elf/link.h (struct link_map): Extend the l_addr comment.
10151         * include/link.h (struct link_map): Likewise.
10152
10153 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
10154
10155         [BZ #13550]
10156         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10157         (BOUNDED_1): Remove macro.
10158         * debug/backtrace.c: Don't include <bp-checks.h>.
10159         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10160         (__backtrace): Likewise.
10161         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10162         <bp-checks.h>.
10163         (__backtrace): Don't use BOUNDED_1.
10164         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10165         <bp-checks.h>.
10166         (__backtrace): Don't use BOUNDED_1.
10167         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10168         (__backtrace): Don't use BOUNDED_1.
10169         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10170         (shmat): Don't use BOUNDED_N.
10171
10172 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
10173
10174         [BZ #13550]
10175         * sysdeps/generic/bp-start.h: Remove file.
10176         * csu/libc-start.c: Don't include <bp-start.h>.
10177         (LIBC_START_MAIN): Set up __environ directly instead of using
10178         INIT_ARGV_and_ENVIRON.
10179         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10180         <bp-start.h>.
10181
10182         [BZ #13550]
10183         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10184         definitions.
10185         (CHECK_FCNTL): Likewise.
10186         (CHECK_N_PAGES): Likewise.
10187
10188         [BZ #13550]
10189         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10190         definitions.
10191         (CHECK_SIGSET_NULL_OK): Likewise.
10192         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10193         <bp-checks.h>.
10194         (sigpending): Don't use CHECK_SIGSET.
10195         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10196         <bp-checks.h>.
10197         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10198         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10199         <bp-checks.h>.
10200         (do_sigsuspend): Don't use CHECK_SIGSET.
10201         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10202         use CHECK_SIGSET.
10203         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10204         (do_sigwait): Don't use CHECK_SIGSET.
10205         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10206         use CHECK_SIGSET.
10207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10208         include <bp-checks.h>.
10209         (sigpending): Don't use CHECK_SIGSET.
10210         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10211         include <bp-checks.h>.
10212         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10213         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10214         <bp-checks.h>.
10215         (sigpending): Don't use CHECK_SIGSET.
10216         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10217         <bp-checks.h>.
10218         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10219
10220         [BZ #13550]
10221         * sysdeps/generic/bp-semctl.h: Remove file.
10222         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10223         <bp-checks.h> and <bp-semctl.h>.
10224         (__old_semctl): Don't use CHECK_SEMCTL.
10225         (__new_semctl): Likewise.
10226         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10227         and <bp-semctl.h>.
10228         (__old_semctl): Don't use CHECK_SEMCTL.
10229         (__new_semctl): Likewise.
10230         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10231         <bp-checks.h> and <bp-semctl.h>.
10232         (__old_semctl): Don't use CHECK_SEMCTL.
10233         (__new_semctl): Likewise.
10234         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10235         <bp-checks.h> and <bp-semctl.h>.
10236         (semctl): Don't use CHECK_SEMCTL.
10237
10238         [BZ #13550]
10239         * Makerules (elide-bp-thunks): Remove variable.
10240         (elide-routines.oS): Don't use $(elide-bp-thunks).
10241         (elide-routines.os): Likewise.
10242         (elide-routines.o): Likewise.
10243         (elide-routines.op): Likewise.
10244         (elide-routines.og): Likewise.
10245         (objects): Don't use $(bp-thunks).
10246         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10247         include.
10248         (common-generated): Do not add s-proto-bp.d.
10249         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10250         (int): Likewise.
10251         (typ): Likewise.
10252         Do not generate makefile rules for bounded-pointer thunks.
10253         * sysdeps/generic/bp-thunks.h: Remove file.
10254         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10255         * sysdeps/unix/s-proto-bp.S: Likewise.
10256
10257         [BZ #15062]
10258         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10259         parts of result separately when argument is not close to line from
10260         -i to i and one part of argument is small.
10261         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10262         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10263         * math/libm-test.inc (cacos_test): Add more tests.
10264         (casin_test): Likewise.
10265         (casinh_test): Likewise.
10266         * sysdeps/i386/fpu/libm-test-ulps: Update.
10267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10268
10269 2013-01-31  David S. Miller  <davem@davemloft.net>
10270
10271         * po/de.po: Update from translation team.
10272
10273 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
10274
10275         * time/tzfile.c: Include stdint.h for SIZE_MAX.
10276
10277 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
10278
10279         * configure.in (_AC_PROG_CC_C89): New definition.
10280         * configure: Regenerate.
10281
10282         * configure.in (AC_PROG_CPP): New definition.
10283         * configure: Regenerate.
10284
10285 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10286
10287         * debug/tst-backtrace.h: New file.
10288         * debug/tst-backtrace2.c: Include tst-backtrace.h.
10289         (ret): Remove variable.
10290         (x): Likewise.
10291         (FAIL): Remove macro.
10292         (NO_INLINE): Likewise.
10293         (fn1): Use match function instead of strstr.
10294         * debug/tst-backtrace3.c: Include tst-backtrace.h.
10295         (ret): Remove variable.
10296         (x): Likewise.
10297         (FAIL): Remove macro.
10298         (NO_INLINE): Likewise.
10299         (fn): Use match function instead of strstr.
10300         * debug/tst-backtrace4.c: Include tst-backtrace.h.
10301         (ret): Remove variable.
10302         (x): Likewise.
10303         (FAIL): Remove macro.
10304         (NO_INLINE): Likewise.
10305         (handle_signal): Use match function instead of strstr.
10306         * debug/tst-backtrace5.c: Include tst-backtrace.h.
10307         (ret): Remove variable.
10308         (x): Likewise.
10309         (FAIL): Remove macro.
10310         (NO_INLINE): Likewise.
10311         (handle_signal): Use match function instead of strstr.
10312
10313 2013-01-23  Roland McGrath  <roland@hack.frob.com>
10314
10315         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10316
10317 2013-01-23  David S. Miller  <davem@davemloft.net>
10318
10319         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10320         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10321         argument of CAS if possible.
10322         * sysdeps/sparc/sparc64/bits/atomic.h
10323         (__arch_compare_and_exchange_val_32_acq): Likewise.
10324         (__arch_compare_and_exchange_val_64_acq): Likewise.
10325
10326 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
10327
10328         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10329         * sysdeps/posix/ulimit.c: ... this.
10330         Include <limits.h>.
10331         * sysdeps/unix/bsd/ulimit.c: Remove file.
10332
10333 2013-01-23  Adam Conrad  <adconrad@0c3.net>
10334
10335         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10336         (LDFLAGS-tst-array5): Likewise.
10337
10338 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
10339
10340         [BZ #15036]
10341         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10342         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10343         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10344         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10345
10346 2013-01-21  David S. Miller  <davem@davemloft.net>
10347
10348         * sysdeps/sparc/backtrace.c: New file.
10349         * sysdeps/sparc/sparc32/backtrace.h: New file.
10350         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10351         * sysdeps/sparc/sparc64/backtrace.h: New file.
10352         * sysdeps/sparc/sparc64/backtrace.c: Delete.
10353         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10354         -funwind-tables.
10355
10356 2013-01-21  Andreas Schwab  <schwab@suse.de>
10357
10358         [BZ #15020]
10359         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10360         closed its stdout.
10361
10362 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
10363
10364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10365         "mpa2.h".
10366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10367
10368 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
10369             Mark Mitchell  <mark@codesourcery.com>
10370             Tom de Vries  <tom@codesourcery.com>
10371             Paul Pluzhnikov  <ppluzhnikov@google.com>
10372
10373         * debug/tst-backtrace2.c: New file.
10374         * debug/tst-backtrace3.c: Likewise.
10375         * debug/tst-backtrace4.c: Likewise.
10376         * debug/tst-backtrace5.c: Likewise.
10377         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10378         (CFLAGS-tst-backtrace3.c): Likewise.
10379         (CFLAGS-tst-backtrace4.c): Likewise.
10380         (CFLAGS-tst-backtrace5.c): Likewise.
10381         (LDFLAGS-tst-backtrace2): Likewise.
10382         (LDFLAGS-tst-backtrace3): Likewise.
10383         (LDFLAGS-tst-backtrace4): Likewise.
10384         (LDFLAGS-tst-backtrace5): Likewise.
10385         (tests): Add new tests tst-backtrace2, tst-backtrace3,
10386         tst-backtrace4 and tst-backtrace5.
10387
10388 2013-01-18  Anton Blanchard  <anton@samba.org>
10389             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10390
10391         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10392         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10393         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10394         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10396         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10397         "+r" and remove output regs list as redundant.  Add explicit inline
10398         asm to specify register of return val to work around compiler codegen
10399         bug.  Remove (int) cast on return value.  Add return type parameter to
10400         use in macro so that this macro does not truncate return value for
10401         64-bit values.
10402         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10403         pass to INTERNAL_VSYSCALL_NCS.
10404         (INLINE_VSYSCALL): Add 'long int' as return type to
10405         INTERNAL_VSYSCALL_NCS macro invocation.
10406         (INTERNAL_VSYSCALL): Add 'long int' as return type to
10407         INTERNAL_VSYSCALL_NCS macro invocation.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10409
10410 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10411
10412         [BZ #14496]
10413         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10414         Fix application of SIMD FP exception mask.
10415
10416         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10417         mp_no from a power of two.
10418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10419         __mpexp_twomm1.  Use __pow_mp.
10420
10421         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10422         multiplication.
10423
10424 2013-01-17  David S. Miller  <davem@davemloft.net>
10425
10426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10427
10428 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10429
10430         [BZ #15023]
10431         * include/complex.h: Condition contents on [!_COMPLEX_H].
10432         (__kernel_casinhf): New prototype.
10433         (__kernel_casinh): Likewise.
10434         (__kernel_casinhl): Likewise.
10435         * math/Makefile (libm_calls): Add k_casinh.
10436         * math/k_casinh.c: New file.
10437         * math/k_casinhf.c: Likewise.
10438         * math/k_casinhl.c: Likewise.
10439         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10440         finite nonzero arguments.
10441         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10442         finite nonzero arguments.
10443         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10444         finite nonzero arguments.
10445         * math/s_casinh.c: Do not include <float.h>.
10446         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10447         * math/s_casinhf.c: Do not include <float.h>.
10448         (__casinhf): Move code for finite nonzero arguments to
10449         k_casinhf.c.
10450         * math/s_casinhl.c: Do not include <float.h>.
10451         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10452         redefine.
10453         (__casinhl): Move code for finite nonzero arguments to
10454         k_casinhl.c.
10455         * math/libm-test.inc (cacos_test): Add more tests.
10456         * sysdeps/i386/fpu/libm-test-ulps: Update.
10457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10458
10459 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
10460
10461         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10462         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10463         [!HAVE_MREMAP]: Remove [defined linux] case.
10464         * malloc/arena.c: Do not include <malloc-sysdep.h>.
10465
10466 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10467
10468         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10469
10470 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
10471
10472         * elf/elf.h (R_386_SIZE32): New relocation.
10473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10474         R_386_SIZE32.
10475         (elf_machine_rela): Likewise.
10476         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10477         R_X86_64_SIZE64 and R_X86_64_SIZE32.
10478
10479 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
10480
10481         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10482         (FP_FAST_FMA): Do not define.
10483         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10484         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10485         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10486         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10487         !_SOFT_FLOAT]: Likewise.
10488         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10489         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10490         value.
10491         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10492         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10493         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10494         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10495         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10496         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10497         file.
10498
10499 2013-01-16  Andreas Schwab  <schwab@suse.de>
10500
10501         [BZ #14327]
10502         * include/stdlib.h (__mktemp): Add declaration.
10503         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10504         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10505
10506 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10507
10508         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10509         definitions.
10510         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10511         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10512         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10513         definitions here.
10514         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10515         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10516         definitions.
10517         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10518         and ONE.
10519         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10520         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10521         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10522         definitions.
10523         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10524         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10525         definitions.
10526         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10527
10528         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10529
10530 2013-01-15  David S. Miller  <davem@davemloft.net>
10531
10532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10533         trunc{,f} to libm-sysdep_routes.
10534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10536         file.
10537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10539         file.
10540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10541         file.
10542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10544         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10545         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10546         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10547         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10548         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10549         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10550
10551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10552         nearbyint{,f} to libm-sysdep_routes.
10553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10555         New file.
10556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10557         file.
10558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10559         New file.
10560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10561         file.
10562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10564         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10565         file.
10566         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10567         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10568         file.
10569         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10570         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10571         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10572
10573         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10574         libc_feholdexcept and libc_fesetenv.
10575
10576 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
10577
10578         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10579
10580 2013-01-14  David S. Miller  <davem@davemloft.net>
10581
10582         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10583         (SPARC_ASM_VIS2_IFUNC): Likewise.
10584         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10586         use of 'siam' instruction.
10587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10588         Likewise.
10589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10590         Likewise.
10591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10592         Likewise.
10593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10598         file.
10599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10600         file.
10601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10602         file.
10603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10604         file.
10605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10610         new VIS2 routines.
10611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10614         Likewise.
10615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10620         routines to libm-sysdep_routines.
10621         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10622
10623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10624         fdim/fdimf to libm-sysdep_routines.
10625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10626         file.
10627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10629         file.
10630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10633         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10634         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10635         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10636         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10637
10638 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639
10640         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10641         to optimize copies.
10642
10643         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10646
10647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10648         local variable MPTWO.
10649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10650         Likewise.
10651
10652 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10653
10654         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10655         GLOB_NOESCAPE.
10656
10657 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10658
10659         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10660
10661 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
10662
10663         * manual/pattern.texi (glob_t): Document gl_flags.
10664         (glob64_t): Likewise.
10665
10666 2013-01-11  David S. Miller  <davem@davemloft.net>
10667
10668         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10669         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10670         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
10671         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10672         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10673         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10674         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10675         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10676         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10677         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10678         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10679         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10680         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10681
10682         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10683         sparc V9 rather than using V8 code.
10684         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10685         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10686
10687         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10688         Move to...
10689         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10690         Here.
10691
10692 2013-01-11  Roland McGrath  <roland@hack.frob.com>
10693
10694         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10695         not in the main loop.
10696         * configure: Regenerated.
10697
10698 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
10699
10700         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10701         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10702         to just #else.
10703         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
10704         [!__GLIBC_HAVE_LONG_LONG] case.
10705         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10706         condition to just #else.
10707         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10708         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10709         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10710         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10711         unconditional.
10712         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10713         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10714         #elif condition to just #else.
10715         * sysdeps/unix/sysv/linux/sys/sysmacros.h
10716         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10717         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10718         #elif condition to just #else.
10719
10720 2013-01-11  Steve Ellcey  <sellcey@mips.com>
10721
10722         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10723         (EF_MIPS_ARCH_64): Fix value.
10724         (EF_MIPS_ARCH_32R2): New.
10725         (EF_MIPS_ARCH_64R2): New.
10726
10727 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
10728
10729         * Makeconfig (+link-pie-before-libc): New.
10730         (+link-pie-after-libc): Likewise.
10731         (+link-pie-tests): Likewise.
10732         (+link-pie): Rewritten.
10733         (link-before-libc): Remove $(config-LDFLAGS).
10734         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10735         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10736         (config-LDFLAGS): Renamed to ...
10737         (rtld-LDFLAGS): This.
10738         (rtld-tests-LDFLAGS): New macro.
10739         (link-libc-rpath-link): Likewise.
10740         (link-libc-tests-rpath-link): Likewise.
10741         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10742         (link-libc): Prepand $(link-libc-rpath-link).
10743         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10744         (test-program-prefix): New macro.
10745         (test-via-rtld-prefix): Likewise.
10746         (test-program-cmd): Likewise.
10747         (host-test-program-cmd): Likewise.
10748         * Makefile ($(common-objpfx)testrun.sh): Replace
10749         $(run-program-prefix) with $(test-program-prefix).
10750         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10751         $(rtld-LDFLAGS).
10752         ($(common-objpfx)shlib.lds): Likewise.
10753         (build-module-helper): Likewise.
10754         ($(common-objpfx)format.lds): Likewise.
10755         * Rules (binaries-pie-tests): New.
10756         (binaries-pie-notests): Likewise.
10757         (binaries-pie): Rewritten.
10758         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10759         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10760         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10761         (make-test-out): Replace $(host-built-program-cmd) with
10762         $(host-test-program-cmd).
10763         * config.make.in (build-hardcoded-path-in-tests): New variable.
10764         * configure.in (--enable-hardcoded-path-in-tests): New configure
10765         option.
10766         (hardcoded_path_in_tests): New AC_SUBST.
10767         * configure: Regenerated.
10768         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10769         $(built-program-cmd) with $(test-program-cmd).
10770         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10771         (test_program_cmd): This.
10772         * elf/Makefile ($(objpfx)order.out): Run test with
10773         $(test-program-prefix).
10774         ($(objpfx)order2.out): Likewise.
10775         ($(objpfx)tst-initorder.out): Likewise.
10776         ($(objpfx)tst-initorder2.out): Likewise.
10777         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10778         $(test-program-cmd).
10779         ($(objpfx)tst-array1-static.out): Likewise.
10780         ($(objpfx)tst-array2.out): Likewise.
10781         ($(objpfx)tst-array3.out): Likewise.
10782         ($(objpfx)tst-array4.out): Likewise.
10783         ($(objpfx)tst-array5.out): Likewise.
10784         ($(objpfx)tst-array5-static.out): Likewise.
10785         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10786         $(test-program-cmd).
10787         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10788         $(run-program-prefix) with $(test-program-prefix).
10789         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10790         (test_program_prefix): This.
10791         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10792         $(run-program-prefix) with $(test-program-prefix).
10793         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10794         (test_program_prefix): This.
10795         * iconvdata/tst-tables.sh: Likewise.
10796         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10797         $(run-program-prefix) with $(test-program-prefix).
10798         ($(objpfx)tst-translit.out): Likewise.
10799         ($(objpfx)tst-gettext2.out): Likewise.
10800         ($(objpfx)tst-gettext4.out): Likewise.
10801         ($(objpfx)tst-gettext6.out): Likewise.
10802         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10803         (test_program_prefix): This.
10804         * intl/tst-gettext2.sh: Likewise.
10805         * intl/tst-gettext4.sh  Likewise.
10806         * intl/tst-gettext6.sh: Likewise.
10807         * intl/tst-translit.sh: Likewise.
10808         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10809         with $(test-program-cmd).
10810         * libio/Makefile ($(objpfx)test-freopen.out): Replace
10811         $(run-program-prefix) with $(test-program-prefix).
10812         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10813         (test_program_prefix): This.
10814         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10815         $(run-program-prefix) with $(test-program-prefix).
10816         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10817         (test_program_prefix): This.
10818         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10819         * posix/Makefile ($(objpfx)globtest.out): Replace
10820         $(run-via-rtld-prefix) and $(test-wrapper) with
10821         $(test-program-prefix) and $(test-via-rtld-prefix).
10822         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10823         $(test-program-prefix).
10824         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10825         $(host-test-program-cmd).
10826         (tst-spawn-ARGS): Likewise.
10827         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10828         $(test-program-prefix).
10829         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10830         (test_via_rtld_prefix): This.
10831         (test_wrapper): Renamed to ...
10832         (test_program_prefix): This.
10833         (run_program_prefix): Replaced by test_program_prefix.
10834         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10835         (test_program_prefix): This.
10836         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10837         with $(host-test-program-cmd).
10838         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10839         $(run-program-prefix) with $(test-program-prefix).
10840         ($(objpfx)tst-printf.out): Likewise.
10841         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10842         $(test-program-cmd).
10843         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10844         (test_program_prefix): This.
10845         * stdio-common/tst-unbputc.sh: Likewise.
10846         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10847         $(run-program-prefix) with $(test-program-prefix).
10848         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10849         (test_program_prefix): This.
10850         * string/Makefile ($(objpfx)tst-svc.out):  Replace
10851         $(built-program-cmd) with $(test-program-cmd).
10852
10853 2013-01-11  Andreas Jaeger  <aj@suse.de>
10854
10855         [BZ #15003]
10856         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10857         value. Sync with Linux 3.7.
10858
10859 2013-01-10  David S. Miller  <davem@davemloft.net>
10860
10861         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10862         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10863         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10864
10865 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10866
10867         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10868         never set.
10869         * configure: Regenerated.
10870
10871 2013-01-10  David S. Miller  <davem@davemloft.net>
10872
10873         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10874         sparc V9 rather than using V8 code.
10875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10877
10878 2013-01-10  Roland McGrath  <roland@hack.frob.com>
10879
10880         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10881         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10882         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10883         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10884         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10885         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10886         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10887         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10888         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10889         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10890         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10891         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10892         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10893         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10894         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10895         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10896         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10897         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10898         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10899         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10900         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10901         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10902         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10903         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10904         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10905         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10906         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10907
10908 2013-01-10  David S. Miller  <davem@davemloft.net>
10909
10910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10911
10912 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10913
10914         * posix/Makefile (tests-static): New variable.
10915         (tests): Add $(tests-static).
10916         (tst-exec-static-ARGS): New variable.
10917         (tst-spawn-static-ARGS): Likewise.
10918         * posix/tst-exec-static.c: New file.
10919         * posix/tst-spawn-static.c: Likewise.
10920         * posix/tst-exec.c: Support run directly.
10921         * posix/tst-spawn.c: Likewise.
10922
10923 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
10924
10925         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10926         long.
10927         * math/bits/mathcalls.h (llrint): Likewise.
10928         (llround): Likewise.
10929         * stdlib/stdlib.h (struct drand48_data): Likewise.
10930         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10931         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10932         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10935         Likewise.
10936         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10937         (elf_greg_t): Likewise.
10938         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10939         (__jmp_buf): Likewise.
10940         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10941         definitions.
10942         (llrint): Likewise, for all definitions.
10943         (llrintl): Likewise.
10944
10945         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10946         Remove [__GNUC__] condition.
10947         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10948         condition to just [__USE_ISOC99].
10949         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10950
10951 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
10952
10953         [BZ #14200]
10954         * sysdeps/unix/sysv/linux/x86/bits/environments.h
10955         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10956         defined.
10957         (_POSIX_V6_ILP32_OFF32): Likewise.
10958         (_XBS5_ILP32_OFF32): Likewise.
10959         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10960         (__ILP32_OFFBIG_LDFLAGS): Likewise.
10961
10962 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10963
10964         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10965
10966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10967         doubles __mpexp_twomm1.  Adjust usage.
10968         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10969         Remove.
10970
10971 2013-01-10  Andreas Schwab  <schwab@suse.de>
10972
10973         [BZ #14964]
10974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10975         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10976
10977 2013-01-09  David S. Miller  <davem@davemloft.net>
10978
10979         [BZ #15003]
10980         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10981         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10982         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10983         TCP_FASTOPEN): Define.
10984         (tcp_repair_opt): New structure.
10985         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10986         enum values.
10987         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10988         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10989         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10990         (tcp_cookie_transactions): New structure.
10991
10992 2013-01-09  Anton Blanchard  <anton@samba.org>
10993
10994         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10995         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10996         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10997         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10998
10999 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
11000
11001         * include/features.h (__USE_ANSI): Remove.
11002
11003 2013-01-09  Roland McGrath  <roland@hack.frob.com>
11004
11005         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11006
11007         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11008
11009 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11010
11011         * sysdeps/s390/fpu/libm-test-ulps: Update.
11012
11013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11014
11015         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11016         (__acr): Likewise.
11017         (__cpy): Likewise.
11018         (norm): Likewise.
11019         (denorm): Likewise.
11020         (__mp_dbl): Likewise.
11021         (__dbl_mp): Likewise.
11022         (add_magnitudes): Likewise.
11023         (sub_magnitudes): Likewise.
11024         (__add): Likewise.
11025         (__sub): Likewise.
11026         (__mul): Likewise.
11027         (__inv): Likewise.
11028         (__dvd): Likewise.
11029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11030         (__acr): Likewise.
11031         (__cpy): Likewise.
11032         (norm): Likewise.
11033         (denorm): Likewise.
11034         (__mp_dbl): Likewise.
11035         (__dbl_mp): Likewise.
11036         (add_magnitudes): Likewise.
11037         (sub_magnitudes): Likewise.
11038         (__add): Likewise.
11039         (__sub): Likewise.
11040         (__mul): Likewise.
11041         (__inv): Likewise.
11042         (__dvd): Likewise.
11043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11044         (__acr): Likewise.
11045         (__cpy): Likewise.
11046         (norm): Likewise.
11047         (denorm): Likewise.
11048         (__mp_dbl): Likewise.
11049         (__dbl_mp): Likewise.
11050         (add_magnitudes): Likewise.
11051         (sub_magnitudes): Likewise.
11052         (__add): Likewise.
11053         (__sub): Likewise.
11054         (__mul): Likewise.
11055         (__inv): Likewise.
11056         (__dvd): Likewise.
11057
11058 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
11059
11060         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11061         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11062         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11063         2 && __USE_EXTERN_INLINES]: Likewise.
11064
11065 2013-01-08  Andreas Jaeger  <aj@suse.de>
11066
11067         [BZ# 14985]
11068         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11069         Remove.
11070         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11071         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11072
11073 2013-01-07  Anton Blanchard  <anton@samba.org>
11074
11075         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11076         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11077         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11078         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11079         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11080         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11081         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11082         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11084         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11085         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11088         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11089         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11090         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11091         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11092         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11093         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11094         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11095         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11096         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11098         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11099         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11101         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11102         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11103         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11104         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11105         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11107         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11108         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11109         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11110         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11111         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11113         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11114         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11115         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11117         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11118
11119 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
11120
11121         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11122         (__MALLOC_PMT): Likewise.
11123         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11124         [__GNUC__], only on [_LIBC].
11125         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11126         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11127         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11128         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11129         forward declaration.
11130         (realloc_hook_ini): Likewise.
11131         (memalign_hook_ini): Likewise.
11132         (__libc_memalign): Do not use __MALLOC_PMT in variable
11133         declaration.
11134         (__libc_valloc): Likewise.
11135         (__libc_pvalloc): Likewise.
11136         (__libc_calloc): Likewise.
11137         (__posix_memalign): Likewise.
11138
11139         [BZ #14996]
11140         * math/s_casinh.c: Include <float.h>.
11141         (__casinh): Do not do computation with squaring and square root
11142         for large arguments.
11143         * math/s_casinhf.c: Include <float.h>.
11144         (__casinhf): Do not do computation with squaring and square root
11145         for large arguments.
11146         * math/s_casinhl.c: Include <float.h>.
11147         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11148         (__casinhl): Do not do computation with squaring and square root
11149         for large arguments.
11150         * math/libm-test.inc (casin_test): Add more tests.
11151         (casinh_test): Likewise.
11152         * sysdeps/i386/fpu/libm-test-ulps: Update.
11153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11154
11155 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
11156
11157         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11158         (__x86_64_raw_data_cache_size): Likewise.
11159         (__x86_64_data_cache_size_half): Likewise.
11160         (__x86_64_raw_data_cache_size_half): Likewise.
11161         (__x86_64_shared_cache_size): Likewise.
11162         (__x86_64_raw_shared_cache_size): Likewise.
11163         (__x86_64_shared_cache_size_half): Likewise.
11164         (__x86_64_raw_shared_cache_size_half): Likewise.
11165         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11166         to ...
11167         (__x86_data_cache_size): This.
11168         (__x86_64_raw_data_cache_size): Renamed to ...
11169         (__x86_raw_data_cache_size): This.
11170         (__x86_64_data_cache_size_half): Renamed to ...
11171         (__x86_data_cache_size_half): This.
11172         (__x86_64_raw_data_cache_size_half): Renamed to ...
11173         (__x86_raw_data_cache_size_half): This.
11174         (__x86_64_shared_cache_size): Renamed to ...
11175         (__x86_shared_cache_size): This.
11176         (__x86_64_raw_shared_cache_size): Renamed to ...
11177         (__x86_raw_shared_cache_size): This.
11178         (__x86_64_shared_cache_size_half): Renamed to ...
11179         (__x86_shared_cache_size_half): This.
11180         (__x86_64_raw_shared_cache_size_half): Renamed to ...
11181         (__x86_raw_shared_cache_size_half): This.
11182         * sysdeps/x86_64/memcpy.S: Updated.
11183         * sysdeps/x86_64/memset.S: Likewise.
11184         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11187
11188 2013-01-04  David S. Miller  <davem@davemloft.net>
11189
11190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11191
11192 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
11193
11194         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11195         1 to avoid redefinition warning.
11196         (__USE_GNU): Don't define.
11197         (init_signaling_nan): Protoize.
11198
11199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11200
11201 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11202
11203         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11205         (__cpymn): Likewise.
11206         (norm): Remove commented code.
11207         (denorm): Likewise.
11208         (__mp_dbl): Likewise.
11209         (__inv): Likewise.
11210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11211         (__cpymn): Likewise.
11212         (norm): Remove commented code.
11213         (denorm): Likewise.
11214         (__mp_dbl): Likewise.
11215         (__inv): Likewise.
11216
11217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11218         mp_no value for 1.0 and 2.0.
11219         (norm): Use RADIXI instead of radixi.d.
11220         (denorm): Likewise.
11221         (__mul): Use 0.0 instead of zero.d.
11222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11223         mp_no value for 1.0 and 2.0.
11224         (norm): Use RADIXI instead of radixi.d.
11225         (denorm): Likewise.
11226         (__mul): Use 0.0 instead of zero.d.
11227
11228 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
11229
11230         [BZ #14994]
11231         * math/s_casinh.c (__casinh): Reduce finite argument to first
11232         quadrant then set signs of results at the end.
11233         * math/s_casinhf.c (__casinhf): Likewise.
11234         * math/s_casinhl.c (__casinhl): Likewise.
11235         * math/libm-test.inc (casin_test): Add more tests.
11236         (casinh_test): Likewise.
11237         * sysdeps/i386/fpu/libm-test-ulps: Update.
11238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11239
11240 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11241
11242         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11243
11244         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11245
11246         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11247         declarations.
11248         (denorm): Likewise.
11249         (__mp_dbl): Likewise.
11250         (__inv): Likewise.
11251
11252         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11253         and adjust the header comment.
11254
11255         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11256         variable name from declaration.
11257
11258 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
11259
11260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11261         Initialize COMMON_CPUID_INDEX_7 element.
11262         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11263         (CPUID_RTM): Likewise.
11264         (HAS_RTM): Likewise.
11265         (COMMON_CPUID_INDEX_7): New enum.
11266
11267 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
11268
11269         [BZ #14981]
11270         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11271         size is zero, record memory as freed.
11272
11273 2013-01-03  Andreas Jaeger  <aj@suse.de>
11274
11275         * po/ia.po: Add new Interlingua translation.
11276
11277 2012-01-03  Allan McRae  <allan@archlinux.org>
11278
11279         * locale/programs/localedef.c: Fix description of '--posix' flag.
11280
11281 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
11282
11283         * NEWS: Update dates in second copyright notice.
11284         * README: Update copyright dates in example.
11285         * manual/libc.texinfo: Update copyright dates.
11286         * scripts/test-installation.pl: Update copyright date in --version
11287         output.
11288
11289         * hurd/ctty-input.c: Fix copyright notice formatting.
11290         * hurd/ctty-output.c: Likewise.
11291         * hurd/dtable.c: Likewise.
11292         * hurd/hurd-raise.c: Likewise.
11293         * hurd/hurdprio.c: Likewise.
11294         * hurd/msgportdemux.c: Likewise.
11295         * misc/sys/file.h: Likewise.
11296         * misc/sys/ioctl.h: Likewise.
11297         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11298         * sysdeps/mach/hurd/chdir.c: Likewise.
11299         * sysdeps/mach/hurd/fchdir.c: Likewise.
11300         * sysdeps/mach/hurd/rename.c: Likewise.
11301         * sysdeps/mach/hurd/rmdir.c: Likewise.
11302         * sysdeps/mach/hurd/seekdir.c: Likewise.
11303         * sysdeps/mach/hurd/setsid.c: Likewise.
11304         * sysdeps/posix/wait3.c: Likewise.
11305
11306         * All files with FSF copyright notices: Update copyright dates
11307         using scripts/update-copyrights.
11308         * intl/plural.c: Regenerated.
11309         * locale/programs/charmap-kw.h: Likewise.
11310         * locale/programs/locfile-kw.h: Likewise.
11311
11312 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11313
11314         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11315         four values.
11316
11317         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11318         calculation loop and add branch prediction.
11319
11320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11321         check access beyond bounds of m1np.
11322
11323         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11324         MPTWO.
11325         (__inv): Remove local variable MPTWO to use the global
11326         constant.
11327         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11329         variable MPTWO.
11330         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11331         MP3HALFS static const.
11332
11333 2013-01-01  David S. Miller  <davem@davemloft.net>
11334
11335         * po/ca.po: Update from translation team.
11336
11337 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
11338
11339         * scripts/update-copyrights: New file.
11340         * Makeconfig: Reformat copyright notice.
11341         * ctype/ctype.h: Likewise.
11342         * debug/swprintf_chk.c: Likewise.
11343         * elf/dl-cache.c: Likewise.
11344         * elf/dl-debug.c: Likewise.
11345         * elf/dl-object.c: Likewise.
11346         * grp/initgroups.c: Likewise.
11347         * hurd/Makefile: Likewise.
11348         * hurd/hurd/signal.h: Likewise.
11349         * hurd/hurdfault.c: Likewise.
11350         * hurd/hurdioctl.c: Likewise.
11351         * hurd/hurdlookup.c: Likewise.
11352         * hurd/intr-msg.c: Likewise.
11353         * iconv/gconv_open.c: Likewise.
11354         * libio/swprintf.c: Likewise.
11355         * locale/lc-ctype.c: Likewise.
11356         * locale/nl_langinfo.c: Likewise.
11357         * mach/Machrules: Likewise.
11358         * mach/Makefile: Likewise.
11359         * malloc/obstack.h: Likewise.
11360         * manual/Makefile: Likewise.
11361         * manual/tsort.awk: Likewise.
11362         * misc/bits/stab.def: Likewise.
11363         * nis/nis_print_group_entry.c: Likewise.
11364         * nis/nis_table.c: Likewise.
11365         * nis/nss_compat/compat-pwd.c: Likewise.
11366         * nis/nss_compat/compat-spwd.c: Likewise.
11367         * po/Makefile: Likewise.
11368         * posix/fnmatch.c: Likewise.
11369         * posix/regex.h: Likewise.
11370         * resolv/Makefile: Likewise.
11371         * resolv/nss_dns/dns-network.c: Likewise.
11372         * resolv/res_hconf.c: Likewise.
11373         * scripts/gen-sorted.awk: Likewise.
11374         * soft-fp/soft-fp.h: Likewise.
11375         * stdio-common/printf.h: Likewise.
11376         * stdlib/monetary.h: Likewise.
11377         * stdlib/random.c: Likewise.
11378         * stdlib/random_r.c: Likewise.
11379         * sysdeps/generic/Makefile: Likewise.
11380         * sysdeps/gnu/Makefile: Likewise.
11381         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11383         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11385         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11388         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11389         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11391         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11392         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11393         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11394         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11395         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11396         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11397         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11399         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11401         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11402         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11403         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11404         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11405         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11406         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11407         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11408         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11409         * sysdeps/mach/hurd/errnos.awk: Likewise.
11410         * sysdeps/mach/hurd/fork.c: Likewise.
11411         * sysdeps/mach/hurd/getcwd.c: Likewise.
11412         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11413         * sysdeps/mach/hurd/mmap.c: Likewise.
11414         * sysdeps/mach/hurd/utimes.c: Likewise.
11415         * sysdeps/mach/hurd/xmknod.c: Likewise.
11416         * sysdeps/posix/profil.c: Likewise.
11417         * sysdeps/posix/readdir_r.c: Likewise.
11418         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11419         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11420         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11421         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11423         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11424         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11425         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11427         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11428         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11429         * sysdeps/pthread/lio_listio.c: Likewise.
11430         * sysdeps/sparc/dl-procinfo.h: Likewise.
11431         * sysdeps/unix/i386/sysdep.S: Likewise.
11432         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11433         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11434         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11435         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11437         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11438         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11439         * sysdeps/unix/sysv/linux/speed.c: Likewise.
11440         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11441         * sysdeps/wordsize-32/divdi3.c: Likewise.
11442         * time/sys/time.h: Likewise.
11443         * wcsmbs/Makefile: Likewise.
11444
11445 2013-01-01  David S. Miller  <davem@davemloft.net>
11446
11447         * po/fr.po: Update from translation team.
11448
11449         * catgets/gencat.c: Update copyright year.
11450         * csu/version.c: Likewise.
11451         * debug/catchsegv.sh: Likewise.
11452         * debug/pcprofiledump.c: Likewise.
11453         * debug/xtrace.sh: Likewise.
11454         * elf/ldconfig.c: Likewise.
11455         * elf/ldd.bash.in: Likewise.
11456         * elf/pldd.c: Likewise.
11457         * elf/sotruss.ksh: Likewise.
11458         * elf/sprof.c: Likewise.
11459         * iconv/iconv_prog.c: Likewise.
11460         * iconv/iconvconfig.c: Likewise.
11461         * locale/programs/locale.c: Likewise.
11462         * locale/programs/localedef.c: Likewise.
11463         * login/programs/pt_chown.c: Likewise.
11464         * malloc/memusage.sh: Likewise.
11465         * malloc/memusagestat.c: Likewise.
11466         * malloc/mtrace.pl: Likewise.
11467         * nscd/nscd.c: Likewise.
11468         * nss/getent.c: Likewise.
11469         * nss/makedb.c: Likewise.
11470         * posix/getconf.c: Likewise.
11471
11472 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11473
11474         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11475         numbers.
11476
11477 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
11478
11479         * math/bits/mathcalls.h (modf): Use __nonnull.
11480
11481 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11482
11483         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11484         (split): Use macro CN instead of the bare value.
11485         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11486         could be used.
11487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11488         instead of the bare value.
11489         (power1): Likewise.
11490
11491 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11492
11493         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11494         __ATAN_TWOM.
11495         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11496
11497         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11498         their values.
11499         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11500         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11501         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11502         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11503
11504 2012-12-28  Andreas Jaeger  <aj@suse.de>
11505
11506         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
11507         values are from Linux 3.7.
11508
11509         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11510         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
11511
11512 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11513
11514         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11515         TRUE case.
11516
11517         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11518         (norm): Likewise.
11519         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11520         variables with preprocessor constants.
11521         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11522         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11523         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11524
11525 2012-12-27  Bruno Haible  <bruno@clisp.org>
11526
11527         [BZ #14317]
11528         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11529         only if needed.
11530
11531 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11532
11533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11534         and use variable directly.
11535         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11536
11537         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11538         MPONE.
11539         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11541         variable MPONE.
11542         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11544         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11545         include directive.  Remove local variable MPONE.
11546         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11547         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11548         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11549
11550 2012-12-25  David S. Miller  <davem@davemloft.net>
11551
11552         * version.h (RELEASE): Set to "development".
11553         (VERSION): Set to "2.17.90".
11554         * NEWS: Add 2.18 section.
11555
11556 2012-12-21  David S. Miller  <davem@davemloft.net>
11557
11558         * po/hr.po: Update from translation team.
11559
11560 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11561
11562         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11563
11564 2012-12-19  Steve Ellcey  <sellcey@mips.com>
11565
11566         * NEWS:  Mention new memcpy for MIPS.
11567
11568 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11569
11570         * manual/contrib.texi (Contributors): Spelling correction.
11571
11572 2012-12-15  David S. Miller  <davem@davemloft.net>
11573
11574         * po/ru.po: Update from translation team.
11575
11576 2012-12-13  David S. Miller  <davem@davemloft.net>
11577
11578         * NEWS: Mention IFUNC testsuite enhancements.
11579
11580         * po/pl.po: Update from translation team.
11581         * po/bg.po: Likewise.
11582
11583         * manual/contrib.texi (Contributors): Update entries for Hongjiu
11584         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
11585
11586 2012-12-11  David S. Miller  <davem@davemloft.net>
11587
11588         * po/sv.po: Update from translation team.
11589
11590         * po/vi.po: Update from translation team.
11591
11592         * po/cs.po: Update from translation team.
11593
11594         * po/de.po: Update from translation team.
11595         * po/eo.po: Likewise.
11596         * po/nl.po: Likewise.
11597
11598 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11599
11600         [BZ #14246]
11601         * manual/argp.texi (Argp Helper Functions): Move node to follow
11602         Argp Parsing State.
11603
11604         [BZ #14872]
11605         * manual/conf.texi (Limits on File System Capacity): Mention if
11606         terminating null is included in the max size.
11607
11608 2012-12-10  Andreas Jaeger  <aj@suse.de>
11609
11610         * po/cs.po: Update from translation team.
11611
11612 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11613
11614         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11615         void pointer and cast to uintptr_t.
11616         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11617         path.
11618         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11619         * sysdeps/s390/s390-64/memset.S: Likewise.
11620
11621 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
11622
11623         [BZ #14833]
11624         * menual/message.texi (Message Translation): Fix typos.
11625         (Helper programs for gettext): Likewise.
11626
11627 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
11628
11629         [BZ #14898]
11630         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11631         Change to -1.
11632
11633 2012-12-07  David S. Miller  <davem@davemloft.net>
11634
11635         * po/libc.pot: Update.
11636
11637 2012-12-07  Richard Henderson  <rth@redhat.com>
11638
11639         [BZ #10114]
11640         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11641         normal/normal case to before the switch.
11642         (_FP_DIV): Likewise.
11643
11644 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
11645             Mike Frysinger  <vapier@gentoo.org>
11646
11647         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11648         check for __NR_fadvise64_64.
11649
11650 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
11651
11652         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11653         0, not just to plain "0" as a statement.
11654         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11655         with cw.
11656
11657 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
11658
11659         * NEWS: Use sourceware.org in Bugzilla URL.
11660
11661 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11662
11663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11664         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11665
11666         * stdio-common/tst-put-error.c (do_test): Add newline to the
11667         padded test to ensure flush.
11668
11669 2012-12-05  Jeff Law  <law@redhat.com>
11670
11671         * sunrpc/etc.rpc (fedfs_admin): Add entry.
11672
11673 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
11674
11675         * README: Don't refer to ports add-on as distributed separately.
11676         Mention AArch64 in list of systems supported in the ports add-on.
11677
11678         * LICENSES: Add more non-FSF copyright and license notices.
11679
11680         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11681         ((unused)).
11682
11683         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11684
11685         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11686         10000 as width of padded output.
11687
11688 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11689
11690         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11691
11692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11693         variable LX with __attribute__ ((unused)).
11694         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11695         Likewise.
11696         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11699         with __attribute__ ((unused)).
11700
11701 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
11702
11703         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11704
11705 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
11706
11707         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11708         (CFLAGS-nldbl-acos.c): New variable.
11709         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11710         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11711         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11712         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11713         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11714         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11715         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11716         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11717         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11718         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11719         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11720         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11721         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11722         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11723         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11724         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11725         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11726         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11727         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11728         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11729         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11730         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11731         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11732         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11733         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11734         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11735         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11736         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11737         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11738         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11739         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11740         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11741         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11742         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11743         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11744         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11745         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11746         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11747         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11748         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11749         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11750         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11751         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11752         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11753         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11754         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11755         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11756         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11757         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11758         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11759         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11760         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11761         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11762         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11763         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11764         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11765         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11766         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11767         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11768         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11769         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11770         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11771         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11772         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11773         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11774         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11775         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11776         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11777         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11778         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11779         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11780         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11781         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11782         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11783         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11784         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11785         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11786         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11787         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11788         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11789         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11790         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11791         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11792         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11793         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11794         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11795         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11796         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11797         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11798         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11799         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11800         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11801         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11802         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11803         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11804         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11805         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11806
11807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11808         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11809
11810         [BZ #14914]
11811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11812         whole low double instead of just low 47 bits when splitting values
11813         into two parts.
11814
11815 2012-12-03  Allan McRae  <allan@archlinux.org>
11816
11817         * manual/stdio.texi (Predefined Printf Handlers): Remove
11818         @hsep and @vsep usage.
11819
11820 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
11821
11822         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11823         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11824
11825 2012-12-03  Jeff Law  <law@redhat.com>
11826
11827         * time/sys/time.h (settimeofday): Do not mark TV argument
11828         as __nonnull.
11829
11830 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
11831
11832         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11833         when currently writing and seek to current position when not.
11834         * libio/Makefile (tests): Remove bug-fclose1.
11835         * libio/bug-fclose1.c: Delete.
11836
11837 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
11838
11839         * manual/arith.texi (feenableexcept): Fix typo.
11840         (fedisableexcept): Likewise.
11841
11842 2012-11-30  Roland McGrath  <roland@hack.frob.com>
11843
11844         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11845         second, differently-typed declaration, rather than a cast.
11846
11847 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11848
11849         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11850         * include/rpc/svc.h: ... here.
11851
11852 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
11853
11854         [BZ #13013]
11855         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11856         depending n and resplen2 to catch cases where answer
11857         equals answerp2.
11858
11859 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
11860
11861         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11862         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11863
11864 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
11865
11866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11867
11868 2012-11-29  Roland McGrath  <roland@hack.frob.com>
11869
11870         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11871
11872 2012-11-28  Jeff Law  <law@redhat.com>
11873
11874         [BZ #13761]
11875         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11876         dataset_temporary.  Track alloca usage into alloca_used.
11877         If dataset is large allocate and release it via malloc/free.
11878
11879 2012-06-04  Florian Weimer  <fweimer@redhat.com>
11880
11881         [BZ #14197]
11882         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11883
11884 2012-11-28  David S. Miller  <davem@davemloft.net>
11885
11886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11887
11888 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11889
11890         [BZ #14803]
11891         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11892         of pi/2 rounded to nearest to 64 bits.
11893         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11894         nearest to 64 bits.
11895         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11896         bits.
11897
11898 2012-11-28  Jeff Law <law@redhat.com>
11899             Martin Osvald <mosvald@redhat.com>
11900
11901         [BZ #14889]
11902         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11903         * sunrpc/svc.c: Include time.h.
11904         (__svc_accept_failed): New function.
11905         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11906         any reason other than EINTR, call __svc_accept_failed.
11907         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11908         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11909
11910 2012-11-28  Andreas Schwab  <schwab@suse.de>
11911
11912         * scripts/abilist.awk: Also handle indirect functions in .opd
11913         section.
11914
11915 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
11916
11917         [BZ #13881]
11918         * sysdeps/x86/fpu/powl_helper.c: New file.
11919         * sysdeps/x86/fpu/Makefile: Likewise.
11920         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11921         (p3): New object.
11922         (__ieee754_powl): Use __powl_helper for finite arguments except
11923         integer exponents below 8.
11924         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11925         (p3): New object.
11926         (__ieee754_powl): Use __powl_helper for finite arguments except
11927         integer exponents below 8.
11928         * math/libm-test.inc (pow_test): Add more tests and enable some
11929         previously disabled tests.
11930         * sysdeps/i386/fpu/libm-test-ulps: Update.
11931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11932
11933 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11934             Carlos O'Donell  <carlos_odonell@mentor.com>
11935
11936         * nss/makedb.c (is_prime): Assert that input is odd and greater
11937         than 4.  Note that fact in a comment too.
11938         (next_prime): Add 4 to input.
11939
11940 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11941
11942         [BZ #11741]
11943         * libio/Makefile (tests): Add test case tst-fwrite-error.
11944         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11945         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11946         * libio/tst-fwrite-error.c: New test case.
11947
11948 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
11949
11950         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11951         before casting to void *.
11952         * include/libc-internal.h (__pointer_type): New macro.
11953         (__integer_if_pointer_type_sub): Likewise.
11954         (__integer_if_pointer_type): Likewise.
11955         (cast_to_integer): Likewise.
11956         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11957         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11958         before casting to atomic64_t.
11959         (atomic_exchange_acq): Likewise.
11960         (__arch_exchange_and_add_body): Likewise.
11961         (__arch_add_body): Likewise.
11962         (atomic_add_negative): Likewise.
11963         (atomic_add_zero): Likewise.
11964
11965 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
11966
11967         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11968         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11969         (add_fdes): Likewise.
11970         (linear_search_fdes): Likewise.
11971         (binary_search_unencoded_fdes): Likewise.
11972
11973 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
11974
11975         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11976
11977 2012-11-24  Adam Conrad  <adconrad@0c3.net>
11978
11979         * configure.in: Autodetect C++ header directories.
11980         * configure: Regenerated.
11981
11982 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
11983
11984         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11985
11986 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
11987
11988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11989
11990 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
11991
11992         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11993         LDBL_MANT_DIG == 106]: Disable some tests.
11994         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11995         Likewise.
11996         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11997         Likewise.
11998
11999         [BZ #14871]
12000         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12001         input for small inputs.  Return +/- pi/2 for large inputs.
12002         * math/libm-test.inc (atan_test): Add more tests.
12003
12004         * sysdeps/generic/unwind-dw2-fde-glibc.c
12005         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12006         __attribute__ ((unused)).
12007
12008         [BZ #14645]
12009         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12010         x * y if x and y are nonzero and z is zero.
12011
12012         [BZ #14811]
12013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12014         nonzero exponents with absolute value below 0x1p-117 to +/-
12015         0x1p-117.
12016
12017         [BZ #14869]
12018         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12019         up arguments below 2**-450, not just those below 2**-500.
12020         * math/libm-test.inc (hypot_test): Add another test.
12021
12022         [BZ #14868]
12023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12024         Return a+b for ratio over 2**120, not 2**60.
12025         * math/libm-test.inc (hypot_test): Add another test.
12026
12027         * math/libm-test.inc (clog_test): Use
12028         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12029         (clog10_test): Likewise.
12030
12031         [BZ #6778]
12032         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12033
12034 2012-11-22  Andreas Schwab  <schwab@suse.de>
12035
12036         * sysdeps/i386/fpu/libm-test-ulps: Update.
12037
12038 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
12039
12040         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12041         printf output with newline.
12042
12043 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
12044
12045         [BZ #14865]
12046         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12047         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12048         -z nodlopen, -z initfirst and -z execstack support.
12049         * configure: Regenerated.
12050
12051         * elf/elf.h (DF_1_NODIRECT): New macro.
12052         (DF_1_IGNMULDEF): Likewise.
12053         (DF_1_NOKSYMS): Likewise.
12054         (DF_1_NOHDR): Likewise.
12055         (DF_1_EDITED): Likewise.
12056         (DF_1_NORELOC): Likewise.
12057         (DF_1_SYMINTPOSE): Likewise.
12058         (DF_1_GLOBAUDIT): Likewise.
12059         (DF_1_SINGLETON): Likewise.
12060         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12061         DT_1_SUPPORTED_MASK bits.
12062         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12063
12064 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
12065
12066         * sysdeps/unix/make-syscalls.sh: Document prefixes.
12067
12068 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
12069
12070         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12071         macro.
12072
12073         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12074         (sendmmsg): Move declarations...
12075         * socket/sys/socket.h: ... here.
12076         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12077         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12078         include it from...
12079         * socket/recvmmsg.c: ... this new file.
12080         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12081         (sendmmsg): Rename to __sendmmsg, create weak alias and make
12082         definition of __sendmmsg hidden.
12083         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12084         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12085         Move ENOSYS stub into and include it from...
12086         * socket/sendmmsg.c: ... this new file.
12087         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12088         (sysdep_routines): Move recvmmsg and sendmmsg...
12089         * socket/Makefile (routines): ... here.
12090         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12091         (GLIBC_PRIVATE): Add __sendmmsg.
12092         * include/sys/socket.h (__sendmmsg): Add declarations.
12093         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12094         sendmmsg.
12095
12096 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
12097
12098         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12099         variable I1 with __attribute__ ((unused)).
12100         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12101
12102 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12103
12104         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12105         DUMMY variables with __attribute__ ((unused)).
12106
12107         * bits/byteswap.h: Include <bits/types.h>.
12108         (__bswap_64): Use __uint64_t instead of unsigned long long int.
12109
12110 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12111
12112         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12113         string_t.  Do not manually set errno.
12114         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12115         length with __strnlen.  Make sure to both set errno and return it on
12116         failure.
12117
12118 2012-11-19  David S. Miller  <davem@davemloft.net>
12119
12120         With help from Joseph Myers.
12121         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12122         very large arguments properly.
12123         * math/libm-test.inc (atan_test): New tests.
12124         (atan2_test): New tests.
12125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12127
12128 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
12129
12130         [BZ #14856]
12131         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12132         Define to 3.
12133
12134         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12135         [POSIX] (EADDRNOTAVAIL): Likewise.
12136         [POSIX] (EAFNOSUPPORT): Likewise.
12137         [POSIX] (EALREADY): Likewise.
12138         [POSIX] (ECONNABORTED): Likewise.
12139         [POSIX] (ECONNREFUSED): Likewise.
12140         [POSIX] (ECONNRESET): Likewise.
12141         [POSIX] (EDESTADDRREQ): Likewise.
12142         [POSIX] (EDQUOT): Likewise.
12143         [POSIX] (EHOSTUNREACH): Likewise.
12144         [POSIX] (EIDRM): Likewise.
12145         [POSIX] (EISCONN): Likewise.
12146         [POSIX] (ELOOP): Likewise.
12147         [POSIX] (EMULTIHOP): Likewise.
12148         [POSIX] (ENETDOWN): Likewise.
12149         [POSIX] (ENETUNREACH): Likewise.
12150         [POSIX] (ENOBUFS): Likewise.
12151         [POSIX] (ENODATA): Likewise.
12152         [POSIX] (ENOLINK): Likewise.
12153         [POSIX] (ENOMSG): Likewise.
12154         [POSIX] (ENOPROTOOPT): Likewise.
12155         [POSIX] (ENOSR): Likewise.
12156         [POSIX] (ENOSTR): Likewise.
12157         [POSIX] (ENOTCONN): Likewise.
12158         [POSIX] (ENOTSOCK): Likewise.
12159         [POSIX] (EOPNOTSUPP): Likewise.
12160         [POSIX] (EOVERFLOW): Likewise.
12161         [POSIX] (EPROTO): Likewise.
12162         [POSIX] (EPROTONOSUPPORT): Likewise.
12163         [POSIX] (EPROTOTYPE): Likewise.
12164         [POSIX] (ESTALE): Likewise.
12165         [POSIX] (ETIME): Likewise.
12166         [POSIX] (ETXTBSY): Likewise.
12167         [POSIX] (EWOULDBLOCK): Likewise.
12168         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12169         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12170         [POSIX] (SEEK_CUR): Likewise.
12171         [POSIX] (SEEK_END): Likewise.
12172         [POSIX || UNIX98] (mode_t): Do not require.
12173         [POSIX] (off_t): Likewise.
12174         [POSIX] (pid_t): Likewise.
12175         [POSIX] (sys/stat.h): Do not allow header.
12176         [POSIX] (unistd.h): Likewise.
12177         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12178         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12179         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12180         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12181         require.
12182         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12183         sigevent): Specify elements.
12184         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12185         entry.
12186         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12187         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12188
12189         * conform/data/cpio.h-data [POSIX]: Disable whole file.
12190         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12191         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12192         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12193         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12194         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12195         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12196         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12197         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12198         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12199         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12200         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12201         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12202         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12203         Likewise.
12204         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12205         Likewise.
12206         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12207         Likewise.
12208         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12209         Likewise.
12210         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12211         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12212         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12213         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12214         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12215         Specify lower bound on value.
12216         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12217         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12218         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12219         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12220         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12221         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12222         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12223         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12224         value.
12225         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12226         as optional.
12227         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12228         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12229         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12230         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12231         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12232         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12233         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12234         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12235         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12236         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12237         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12238         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12239         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12240         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12241         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12242         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12243         entry.
12244         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12245         optional.
12246         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12247         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12248         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12249         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12250         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12251         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12252         Likewise.
12253         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12254         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12255         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12256         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12257         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
12258         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12259         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12260         as optional.
12261         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12262         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12264         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12265         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12266         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12267         specify as optional.
12268         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12269         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12270         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12271         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12272         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12273         [XPG3] (NL_LANGMAX): Likewise.
12274         [POSIX || XPG3] (NL_MSGMAX): Likewise.
12275         [POSIX || XPG3] (NL_NMAX): Likewise.
12276         [POSIX || XPG3] (NL_SETMAX): Likewise.
12277         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12278         [XPG3] (NZERO): Likewise.
12279         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12280         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12281         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12282         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12283         (REG_ERANGE): Expect.
12284         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12285         optional-constant.
12286         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12287         Use (void) in prototype.
12288         [POSIX] (*_t): Allow.
12289         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12290         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12291         (WRDE_BADVAL): Expect.
12292
12293         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12294         expect.
12295         [XPG3 || XPG4] (O_RSYNC): Likewise.
12296         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12297         Likewise.
12298         [XPG3 || XPG4] (pthread_sigmask): Likewise.
12299         [XPG3 || XPG4] (sigqueue): Likewise.
12300         [XPG3 || XPG4] (sigtimedwait): Likewise.
12301         [XPG3 || XPG4] (sigwaitinfo): Likewise.
12302         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12303         [XPG3 || XPG4] (vsnprintf): Likewise.
12304         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12305         Likewise.
12306         [XPG3 || XPG4] (blksize_t): Likewise.
12307         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12308         Likewise.
12309         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12310         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12311         [XPG3 || XPG4] (struct itimerspec): Likewise.
12312         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12313         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12314         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12315         [XPG3 || XPG4] (clockid_t): Likewise.
12316         [XPG3 || XPG4] (timer_t): Likewise.
12317         [XPG3 || XPG4] (clock_getres): Likewise.
12318         [XPG3 || XPG4] (clock_gettime): Likewise.
12319         [XPG3 || XPG4] (clock_settime): Likewise.
12320         [XPG3 || XPG4] (nanosleep): Likewise.
12321         [XPG3 || XPG4] (timer_create): Likewise.
12322         [XPG3 || XPG4] (timer_delete): Likewise.
12323         [XPG3 || XPG4] (timer_gettime): Likewise.
12324         [XPG3 || XPG4] (timer_getoverrun): Likewise.
12325         [XPG3 || XPG4] (timer_settime): Likewise.
12326         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12327         [XPG3 || XPG4] (getlogin_r): Likewise.
12328         [XPG3 || XPG4] (pread): Likewise.
12329         [XPG3 || XPG4] (pthread_atfork): Likewise.
12330         [XPG3 || XPG4] (pwrite): Likewise.
12331
12332         [BZ #14835]
12333         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12334         <bits/siginfo.h>.
12335
12336 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
12337
12338         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12339         finalizing MALLSTREAM.
12340
12341         * sysdeps/mach/hurd/syncfs.c: New file.
12342
12343 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12344
12345         [BZ #14719]
12346         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12347         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12348         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12349         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12350         (_nss_dns_gethostbyname4_r): Likewise.
12351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12352         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12353
12354 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
12355
12356         [BZ #13763]
12357         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12358
12359 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
12360
12361         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12362         * elf/cache.c (print_entry): Print ",AArch64" for
12363         FLAG_AARCH64_LIB64
12364
12365         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12366         * elf/cache.c (print_entry): Print ",hard-float" for
12367         FLAG_ARM_LIBHF.
12368
12369 2012-11-18  David S. Miller  <davem@davemloft.net>
12370
12371         With help from Joseph Myers.
12372         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12373         cutoff to 2**-13.
12374         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12375         cutoff to 2**-25.
12376         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12377         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12378         small.
12379         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12380         * math/libm-test.inc (y0_test): New tests.
12381         (y1_test): New tests.
12382         * sysdeps/i386/fpu/libm-test-ulps: Update.
12383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12385
12386 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
12387
12388         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12389         64-bit targets.
12390         * configure: Regenerated.
12391
12392 2012-11-17  David S. Miller  <davem@davemloft.net>
12393
12394         [BZ #14811]
12395         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12396         nonzero exponents with absolute value below 0x1p-128 to +/-
12397         0x1p-128.
12398
12399 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
12400
12401         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12402
12403         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12404
12405         * posix/getconf-speclist.c: New file.
12406         * posix/posix-envs.def: Likewise.
12407         * posix/confstr.c (START_ENV_GROUP): New macro.
12408         (END_ENV_GROUP): Likewise.
12409         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12410         (KNOWN_PRESENT_ENV_STRING): Likewise.
12411         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12412         (UNKNOWN_ENVIRONMENT): Likewise.
12413         (confstr): Include posix-envs.def instead of handling
12414         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12415         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12416         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12417         (END_ENV_GROUP): Likewise.
12418         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12419         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12420         (UNKNOWN_ENVIRONMENT): Likewise.
12421         (__sysconf): Include posix-envs.def instead of handling associated
12422         cases directly here.
12423         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12424         preprocessing getconf-speclist.c rather than running getconf or
12425         generating empty file.
12426
12427 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
12428
12429         * scripts/check-local-headers.sh: Ignore 'mach' headers.
12430
12431 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
12432
12433         [BZ #14672]
12434         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12435
12436 2012-11-16  David S. Miller  <davem@davemloft.net>
12437
12438         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12439         smaller than LDBL_EPSILON/2.0L, just return xm1.
12440
12441 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
12442
12443         * elf/tst-array1.c (init): Set constructor priority to 1000.
12444         (fini): Set destructor priority to 1000.
12445         * elf/tst-array2dep.c: Likewise.
12446
12447 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12448
12449         [BZ #11741]
12450         * libio/fileops.c (_IO_new_file_write): Correctly return error.
12451         (_IO_new_file_xsputn): Also return EOF if none of the input
12452         data was written when overflow failed.
12453         * libio/iopadn.c (_IO_padn): Likewise.
12454         * libio/iowpadn.c (_IO_wpadn): Likewise.
12455         * stdio-common/tst-put-error.c: Add copyright notice.
12456         (do_test): Add case for printing padded string.
12457         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12458         _IO_padn returned error.
12459         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12460         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12461         return EOF.
12462
12463 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12464
12465         * libio/libioP.h: Add comment note that the references to C++
12466         bits are now obsolete.
12467
12468 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12469
12470         * math/libm-test.inc (check_complex): Use asprintf.
12471
12472 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
12473
12474         * debug/pcprofiledump.c (print_version): Update copyright year.
12475         * malloc/memusagestat.c (print_version): Likewise.
12476
12477 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12478
12479         [BZ #14831]
12480         * elf/Makefile (tests): Add tst-audit8.
12481         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12482         ($(objpfx)tst-audit8.out): New target.
12483         (tst-audit8-ENV): New variable.
12484         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12485         audit if l_reloc_result is NULL.
12486         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12487         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12488         * elf/tst-audit8.c: New file.
12489
12490 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12491
12492         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12493         * misc/Makefile (CFLAGS-select.c): Define.
12494         * posix/Makefile (CFLAGS-pause.c): Define.
12495
12496 2012-11-13  David S. Miller  <davem@davemloft.net>
12497
12498         * crypt/Makefile: Move test targets after toplevel Rules
12499         inclusion.  Grab any necessary sysdep routines when linking.
12500         * crypt/md5.c (md5_process_block): Remove define, we will always
12501         name it __md5_process_block.
12502         (md5_finish_ctx): Update md5_process_block call.
12503         (md5_stream): Likewise.
12504         (md5_process_bytes): Likewise.
12505         (md5_process_block): Rename to __md5_process_block and move to ...
12506         * crypt/md5-block.c: ... here.
12507         * crypt/sha256.c (sha256_process_block): Move to ...
12508         * crypt/sha256-block.c: ... here.
12509         * crypt/sha512.c (sha512_process_block): Move to ...
12510         * crypt/sha512-block.c: ... here.
12511         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12512         path.
12513         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12514         * sysdeps/sparc/sparc64/multiarch/Makefile
12515         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12516         crypt subdir.
12517         (localedef-aux): Add md5 crypto assembler when in locale subdir.
12518         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12519         multiarch changes.
12520         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12521         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12522         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12523         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12524         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12525         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12526         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12527         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12528         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12529         file.
12530         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12531         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12532         file.
12533         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12534
12535 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
12536
12537         * timezone/tzselect.ksh: Update from tzcode git revision
12538         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12539         * timezone/zdump.c: Likewise.
12540         * timezone/zic.c: Likewise.
12541         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12542         in TZVERSION setting, not $(PKGVERSION).
12543         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
12544         REPORT_BUGS_TO settings.
12545
12546         [BZ #14838]
12547         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12548         macro.
12549
12550 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12551
12552         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12553         detection to immediately after _FP_ROUND().
12554         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12555         bits are 0.
12556
12557 2012-11-11  David S. Miller  <davem@davemloft.net>
12558
12559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12560         inttypes.h
12561         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12562         __close rather than their public counterparts.
12563
12564 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
12565
12566         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12567         file.
12568         [UNIX98] (sem_timedwait): Do not expect.
12569         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12570         [XPG4 || UNIX98] (sockatmark): Do not expect.
12571         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12572         (clock_getcpuclockid): Do not expect.
12573         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12574         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12575         Do not expect.
12576         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12577         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12578         [UNIX98] (vwscanf): Likewise.
12579         [UNIX98] (vswscanf): Likewise.
12580
12581 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
12582
12583         * timezone/version.h: Remove file.
12584         * timezone/README: Do not refer to version.h.
12585         * timezone/Makefile ($(objpfx)zic.o): New dependency on
12586         $(objpfx)version.h.
12587         ($(objpfx)zdump.o): Likewise.
12588         ($(objpfx)version.h): New target.
12589
12590         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12591         2012i.
12592         * timezone/README: Don't mention modification to tzselect.ksh.
12593         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12594         work on unmodified tzselect.ksh.  Substitute version numbers in
12595         tzselect.ksh.
12596
12597         * Makefile (format-me): Remove.
12598         (INSTALL): Adjust indentation.  Use commands directly instead of
12599         using $(format-me).
12600
12601         * aclocal.m4 (ACX_PKGVERSION): New macro.
12602         (ACX_BUGURL): Likewise.
12603         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12604         (PKGVERSION): New AC_DEFINE_UNQUOTED.
12605         (REPORT_BUGS_TO): Likewise.
12606         * configure: Regenerated.
12607         * config.h.in (PKGVERSION): New macro.
12608         (REPORT_BUGS_TO): Likewise.
12609         * config.make.in (PKGVERSION): New variable.
12610         (PKGVERSION_TEXI): Likewise.
12611         (REPORT_BUGS_TO): Likewise.
12612         (REPORT_BUGS_TEXI): Likewise.
12613         * Makefile (format-me): Use -I$(common-objpfx)manual.
12614         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12615         ($(common-objpfx)manual/%): New target.
12616         (manual/%): Remove target.
12617         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12618         (print_version): Use PKGVERSION.
12619         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12620         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12621         and REPORT_BUGS_TO.
12622         ($(objpfx)xtrace): Likewise.
12623         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12624         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12625         (print_version): Use PKGVERSION.
12626         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12627         (do_version): Use PKGVERSION.
12628         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12629         REPORT_BUGS_TO.
12630         (common-ldd-rewrite): Likewise.
12631         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12632         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12633         (print_version): Use PKGVERSION.
12634         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12635         * elf/pldd.c (argp_program_bug_address): Remove variable.
12636         (more_help): New function.
12637         (argp): Use more_help.
12638         (print_version): Use PKGVERSION.
12639         * elf/sln.c (main): Use PKGVERSION.
12640         (usage): Use REPORT_BUGS_TO.
12641         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12642         (top level): Use PKGVERSION.
12643         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12644         (print_version): Use PKGVERSION.
12645         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12646         (print_version): Use PKGVERSION.
12647         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12648         (print_version): Use PKGVERSION.
12649         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12650         (print_version): Use PKGVERSION.
12651         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12652         (print_version): Use PKGVERSION.
12653         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12654         (print_version): Use PKGVERSION.
12655         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12656         and BUGURL.
12657         ($(objpfx)memusage): Likewise.
12658         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12659         (do_version): Use PKGVERSION.
12660         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12661         (print_version): Use PKGVERSION.
12662         * malloc/mtrace.pl ($PACKAGE): Remove variable.
12663         ($PKGVERSION): New variable.
12664         ($REPORT_BUGS_TO): Likewise.
12665         (usage): Use $REPORT_BUGS_TO.
12666         (top level): Use $PKGVERSION.
12667         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12668         ($(objpfx)pkgvers.texi): New rule.
12669         ($(objpfx)stamp-pkgvers): Likewise.
12670         * manual/install.texi: Include pkgvers.texi.
12671         (--with-pkgversion): Document new configure option.
12672         (--with-bugurl): Likewise.
12673         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12674         than necessarily for this particular distribution.  Use
12675         REPORT_BUGS_TO for where to report bugs.
12676         * INSTALL: Regenerated.
12677         * manual/libc.texinfo: Include pkgvers.texi.
12678         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12679         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12680         (print_version): Use PKGVERSION.
12681         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12682         (print_version): Use PKGVERSION.
12683         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12684         (print_version): Use PKGVERSION.
12685         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12686         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12687         macro.
12688         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12689         (print_version): Use PKGVERSION.
12690         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12691         (print_version): Use PKGVERSION.
12692         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12693         and PKGVERSION.
12694
12695         * timezone/checktab.awk: Update from tzcode 2012i.
12696         * timezone/ialloc.c: Likewise.
12697         * timezone/private.h: Likewise.
12698         * timezone/scheck.c: Likewise.
12699         * timezone/tzfile.h: Likewise.
12700         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12701         (TZVERSION): Hardcode tzcode version number.
12702         * timezone/zdump.c: Update from tzcode 2012i.
12703         * timezone/zic.c: Likewise.
12704         * timezone/version.h: New file.
12705         * timezone/README: Describe version.h.  Update upstream location.
12706
12707         [BZ #14824]
12708         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12709         (mktemp): Enable declaration.
12710         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12714         Likewise.
12715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12716         Likewise.
12717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12718         Likewise.
12719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12720         Likewise.
12721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12722         Likewise.
12723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12724         Likewise.
12725
12726         [BZ #14821]
12727         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12728         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
12729         for copies of such integer values.
12730         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12731         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12732
12733 2012-11-09  Andreas Jaeger  <aj@suse.de>
12734
12735         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12736         definitions and declarations that are provided by
12737         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12738
12739 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12740
12741         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12742         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12743         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12744         definition.
12745
12746 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12747
12748         * elf/elf.h: Update comment before AArch64 relocations.
12749
12750 2012-11-07  David S. Miller  <davem@davemloft.net>
12751
12752         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12753         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12754         (__start_context): Declare.
12755         (__makecontext_ret): Delete.
12756         (__makecontext): Hook up __start_context instead of
12757         __makecontext_ret.
12758         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12759         (sysdep_routines): Add __start_context when in stdlib.
12760
12761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12762
12763         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12764         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12765         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
12766         hardcoded "nm".
12767         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
12768         (READELF): New variable.  Use it instead of hardcoded "readelf".
12769
12770 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12771
12772         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12773         * sysdeps/x86/Makefile: Here.
12774         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12775         * sysdeps/x86/tst-xmmymm.sh: This.
12776
12777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
12778
12779         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12780         expectations.
12781         [UNIX98] (pthread_barrier_t): Do not expect.
12782         [UNIX98] (pthread_barrierattr_t): Likewise.
12783         [UNIX98] (pthread_spinlock_t): Likewise.
12784         [UNIX98] (pthread_barrier_destroy): Likewise.
12785         [UNIX98] (pthread_barrier_init): Likewise.
12786         [UNIX98] (pthread_barrier_wait): Likewise.
12787         [UNIX98] (pthread_barrierattr_destroy): Likewise.
12788         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12789         [UNIX98] (pthread_barrierattr_init): Likewise.
12790         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12791         [UNIX98] (pthread_getcpuclockid): Likewise.
12792         [UNIX98] (pthread_mutex_timedlock): Likewise.
12793         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12794         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12795         [UNIX98] (pthread_sigmask): Likewise.
12796         [UNIX98] (pthread_spin_destroy): Likewise.
12797         [UNIX98] (pthread_spin_init): Likewise.
12798         [UNIX98] (pthread_spin_lock): Likewise.
12799         [UNIX98] (pthread_spin_trylock): Likewise.
12800         [UNIX98] (pthread_spin_unlock): Likewise.
12801         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12802         Do not expect.
12803         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12804         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12805         [XPG3 || XPG4] (pthread_cond_t): Likewise.
12806         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12807         [XPG3 || XPG4] (pthread_key_t): Likewise.
12808         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12809         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12810         [XPG3 || XPG4] (pthread_once_t): Likewise.
12811         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12812         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12813         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12814         [XPG3 || XPG4] (pthread_t): Likewise.
12815
12816         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12817         not expect.
12818         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12819
12820         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12821         Change function return type to int.
12822
12823         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12824         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12825         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12826         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12827         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12828         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12829         [!POSIX] (posix_madvise): Likewise.
12830         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12831         && !UNIX98].
12832         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12833         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12834         (mode_t): Likewise.
12835         (posix_mem_offset): Likewise.
12836         (posix_typed_mem_get_info): Likewise.
12837         (posix_typed_mem_open): Likewise.
12838
12839         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12840         Change condition to [XOPEN2K8].
12841
12842         * conform/conformtest.pl: Preprocess allow-header data with -x c
12843         instead of from stdin.
12844         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12845         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12846         [C99-based standards] (cerfc): Likewise.
12847         [C99-based standards] (cexp2): Likewise.
12848         [C99-based standards] (cexpm1): Likewise.
12849         [C99-based standards] (clog10): Likewise.
12850         [C99-based standards] (clog1p): Likewise.
12851         [C99-based standards] (clog2): Likewise.
12852         [C99-based standards] (clgamma): Likewise.
12853         [C99-based standards] (ctgamma): Likewise.
12854         [C99-based standards] (cerff): Likewise.
12855         [C99-based standards] (cerfcf): Likewise.
12856         [C99-based standards] (cexp2f): Likewise.
12857         [C99-based standards] (cexpm1f): Likewise.
12858         [C99-based standards] (clog10f): Likewise.
12859         [C99-based standards] (clog1pf): Likewise.
12860         [C99-based standards] (clog2f): Likewise.
12861         [C99-based standards] (clgammaf): Likewise.
12862         [C99-based standards] (ctgammaf): Likewise.
12863         [C99-based standards] (cerfl): Likewise.
12864         [C99-based standards] (cerfcl): Likewise.
12865         [C99-based standards] (cexp2l): Likewise.
12866         [C99-based standards] (cexpm1l): Likewise.
12867         [C99-based standards] (clog10l): Likewise.
12868         [C99-based standards] (clog1pl): Likewise.
12869         [C99-based standards] (clog2l): Likewise.
12870         [C99-based standards] (clgammal): Likewise.
12871         [C99-based standards] (ctgammal): Likewise.
12872         * conform/data/inttypes.h-data [C99-based standards]: Include
12873         stdint.h-data.  Remove all expectations for stdint.h contents.
12874         [C99-based standards] (PRI*): Do not allow.
12875         [C99-based standards] (SCN*): Likewise.
12876         [C99-based standards] (*_t): Likewise.
12877         [C99-based-standards] (PRId8): Expect macro.
12878         [C99-based-standards] (PRIi8): Likewise.
12879         [C99-based-standards] (PRIo8): Likewise.
12880         [C99-based-standards] (PRIu8): Likewise.
12881         [C99-based-standards] (PRIx8): Likewise.
12882         [C99-based-standards] (PRIX8): Likewise.
12883         [C99-based-standards] (SCNd8): Likewise.
12884         [C99-based-standards] (SCNi8): Likewise.
12885         [C99-based-standards] (SCNo8): Likewise.
12886         [C99-based-standards] (SCNu8): Likewise.
12887         [C99-based-standards] (SCNx8): Likewise.
12888         [C99-based-standards] (PRIdLEAST8): Likewise.
12889         [C99-based-standards] (PRIiLEAST8): Likewise.
12890         [C99-based-standards] (PRIoLEAST8): Likewise.
12891         [C99-based-standards] (PRIuLEAST8): Likewise.
12892         [C99-based-standards] (PRIxLEAST8): Likewise.
12893         [C99-based-standards] (PRIXLEAST8): Likewise.
12894         [C99-based-standards] (SCNdLEAST8): Likewise.
12895         [C99-based-standards] (SCNiLEAST8): Likewise.
12896         [C99-based-standards] (SCNoLEAST8): Likewise.
12897         [C99-based-standards] (SCNuLEAST8): Likewise.
12898         [C99-based-standards] (SCNxLEAST8): Likewise.
12899         [C99-based-standards] (PRIdFAST8): Likewise.
12900         [C99-based-standards] (PRIiFAST8): Likewise.
12901         [C99-based-standards] (PRIoFAST8): Likewise.
12902         [C99-based-standards] (PRIuFAST8): Likewise.
12903         [C99-based-standards] (PRIxFAST8): Likewise.
12904         [C99-based-standards] (PRIXFAST8): Likewise.
12905         [C99-based-standards] (SCNdFAST8): Likewise.
12906         [C99-based-standards] (SCNiFAST8): Likewise.
12907         [C99-based-standards] (SCNoFAST8): Likewise.
12908         [C99-based-standards] (SCNuFAST8): Likewise.
12909         [C99-based-standards] (SCNxFAST8): Likewise.
12910         [C99-based-standards] (PRId16): Likewise.
12911         [C99-based-standards] (PRIi16): Likewise.
12912         [C99-based-standards] (PRIo16): Likewise.
12913         [C99-based-standards] (PRIu16): Likewise.
12914         [C99-based-standards] (PRIx16): Likewise.
12915         [C99-based-standards] (PRIX16): Likewise.
12916         [C99-based-standards] (SCNd16): Likewise.
12917         [C99-based-standards] (SCNi16): Likewise.
12918         [C99-based-standards] (SCNo16): Likewise.
12919         [C99-based-standards] (SCNu16): Likewise.
12920         [C99-based-standards] (SCNx16): Likewise.
12921         [C99-based-standards] (PRIdLEAST16): Likewise.
12922         [C99-based-standards] (PRIiLEAST16): Likewise.
12923         [C99-based-standards] (PRIoLEAST16): Likewise.
12924         [C99-based-standards] (PRIuLEAST16): Likewise.
12925         [C99-based-standards] (PRIxLEAST16): Likewise.
12926         [C99-based-standards] (PRIXLEAST16): Likewise.
12927         [C99-based-standards] (SCNdLEAST16): Likewise.
12928         [C99-based-standards] (SCNiLEAST16): Likewise.
12929         [C99-based-standards] (SCNoLEAST16): Likewise.
12930         [C99-based-standards] (SCNuLEAST16): Likewise.
12931         [C99-based-standards] (SCNxLEAST16): Likewise.
12932         [C99-based-standards] (PRIdFAST16): Likewise.
12933         [C99-based-standards] (PRIiFAST16): Likewise.
12934         [C99-based-standards] (PRIoFAST16): Likewise.
12935         [C99-based-standards] (PRIuFAST16): Likewise.
12936         [C99-based-standards] (PRIxFAST16): Likewise.
12937         [C99-based-standards] (PRIXFAST16): Likewise.
12938         [C99-based-standards] (SCNdFAST16): Likewise.
12939         [C99-based-standards] (SCNiFAST16): Likewise.
12940         [C99-based-standards] (SCNoFAST16): Likewise.
12941         [C99-based-standards] (SCNuFAST16): Likewise.
12942         [C99-based-standards] (SCNxFAST16): Likewise.
12943         [C99-based-standards] (PRId32): Likewise.
12944         [C99-based-standards] (PRIi32): Likewise.
12945         [C99-based-standards] (PRIo32): Likewise.
12946         [C99-based-standards] (PRIu32): Likewise.
12947         [C99-based-standards] (PRIx32): Likewise.
12948         [C99-based-standards] (PRIX32): Likewise.
12949         [C99-based-standards] (SCNd32): Likewise.
12950         [C99-based-standards] (SCNi32): Likewise.
12951         [C99-based-standards] (SCNo32): Likewise.
12952         [C99-based-standards] (SCNu32): Likewise.
12953         [C99-based-standards] (SCNx32): Likewise.
12954         [C99-based-standards] (PRIdLEAST32): Likewise.
12955         [C99-based-standards] (PRIiLEAST32): Likewise.
12956         [C99-based-standards] (PRIoLEAST32): Likewise.
12957         [C99-based-standards] (PRIuLEAST32): Likewise.
12958         [C99-based-standards] (PRIxLEAST32): Likewise.
12959         [C99-based-standards] (PRIXLEAST32): Likewise.
12960         [C99-based-standards] (SCNdLEAST32): Likewise.
12961         [C99-based-standards] (SCNiLEAST32): Likewise.
12962         [C99-based-standards] (SCNoLEAST32): Likewise.
12963         [C99-based-standards] (SCNuLEAST32): Likewise.
12964         [C99-based-standards] (SCNxLEAST32): Likewise.
12965         [C99-based-standards] (PRIdFAST32): Likewise.
12966         [C99-based-standards] (PRIiFAST32): Likewise.
12967         [C99-based-standards] (PRIoFAST32): Likewise.
12968         [C99-based-standards] (PRIuFAST32): Likewise.
12969         [C99-based-standards] (PRIxFAST32): Likewise.
12970         [C99-based-standards] (PRIXFAST32): Likewise.
12971         [C99-based-standards] (SCNdFAST32): Likewise.
12972         [C99-based-standards] (SCNiFAST32): Likewise.
12973         [C99-based-standards] (SCNoFAST32): Likewise.
12974         [C99-based-standards] (SCNuFAST32): Likewise.
12975         [C99-based-standards] (SCNxFAST32): Likewise.
12976         [C99-based-standards] (PRId64): Likewise.
12977         [C99-based-standards] (PRIi64): Likewise.
12978         [C99-based-standards] (PRIo64): Likewise.
12979         [C99-based-standards] (PRIu64): Likewise.
12980         [C99-based-standards] (PRIx64): Likewise.
12981         [C99-based-standards] (PRIX64): Likewise.
12982         [C99-based-standards] (SCNd64): Likewise.
12983         [C99-based-standards] (SCNi64): Likewise.
12984         [C99-based-standards] (SCNo64): Likewise.
12985         [C99-based-standards] (SCNu64): Likewise.
12986         [C99-based-standards] (SCNx64): Likewise.
12987         [C99-based-standards] (PRIdLEAST64): Likewise.
12988         [C99-based-standards] (PRIiLEAST64): Likewise.
12989         [C99-based-standards] (PRIoLEAST64): Likewise.
12990         [C99-based-standards] (PRIuLEAST64): Likewise.
12991         [C99-based-standards] (PRIxLEAST64): Likewise.
12992         [C99-based-standards] (PRIXLEAST64): Likewise.
12993         [C99-based-standards] (SCNdLEAST64): Likewise.
12994         [C99-based-standards] (SCNiLEAST64): Likewise.
12995         [C99-based-standards] (SCNoLEAST64): Likewise.
12996         [C99-based-standards] (SCNuLEAST64): Likewise.
12997         [C99-based-standards] (SCNxLEAST64): Likewise.
12998         [C99-based-standards] (PRIdFAST64): Likewise.
12999         [C99-based-standards] (PRIiFAST64): Likewise.
13000         [C99-based-standards] (PRIoFAST64): Likewise.
13001         [C99-based-standards] (PRIuFAST64): Likewise.
13002         [C99-based-standards] (PRIxFAST64): Likewise.
13003         [C99-based-standards] (PRIXFAST64): Likewise.
13004         [C99-based-standards] (SCNdFAST64): Likewise.
13005         [C99-based-standards] (SCNiFAST64): Likewise.
13006         [C99-based-standards] (SCNoFAST64): Likewise.
13007         [C99-based-standards] (SCNuFAST64): Likewise.
13008         [C99-based-standards] (SCNxFAST64): Likewise.
13009         [C99-based-standards] (PRIdMAX): Likewise.
13010         [C99-based-standards] (PRIiMAX): Likewise.
13011         [C99-based-standards] (PRIoMAX): Likewise.
13012         [C99-based-standards] (PRIuMAX): Likewise.
13013         [C99-based-standards] (PRIxMAX): Likewise.
13014         [C99-based-standards] (PRIXMAX): Likewise.
13015         [C99-based-standards] (SCNdMAX): Likewise.
13016         [C99-based-standards] (SCNiMAX): Likewise.
13017         [C99-based-standards] (SCNoMAX): Likewise.
13018         [C99-based-standards] (SCNuMAX): Likewise.
13019         [C99-based-standards] (SCNxMAX): Likewise.
13020         [C99-based-standards] (PRIdPTR): Likewise.
13021         [C99-based-standards] (PRIiPTR): Likewise.
13022         [C99-based-standards] (PRIoPTR): Likewise.
13023         [C99-based-standards] (PRIuPTR): Likewise.
13024         [C99-based-standards] (PRIxPTR): Likewise.
13025         [C99-based-standards] (PRIXPTR): Likewise.
13026         [C99-based-standards] (SCNdPTR): Likewise.
13027         [C99-based-standards] (SCNiPTR): Likewise.
13028         [C99-based-standards] (SCNoPTR): Likewise.
13029         [C99-based-standards] (SCNuPTR): Likewise.
13030         [C99-based-standards] (SCNxPTR): Likewise.
13031         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13032         allow.
13033         * conform/data/stdint.h-data: Update comments to clarify
13034         requirements.
13035         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
13036         type.
13037         [C99-based standards] (INT8_MAX): Likewise.
13038         [C99-based standards] (INT16_MIN): Likewise.
13039         [C99-based standards] (INT16_MAX): Likewise.
13040         [C99-based standards] (INT32_MIN): Likewise.
13041         [C99-based standards] (INT32_MAX): Likewise.
13042         [C99-based standards] (INT64_MIN): Likewise.
13043         [C99-based standards] (INT64_MAX): Likewise.
13044         [C99-based standards] (UINT8_MAX): Likewise.
13045         [C99-based standards] (UINT16_MAX): Likewise.
13046         [C99-based standards] (UINT32_MAX): Likewise.
13047         [C99-based standards] (UINT64_MAX): Likewise.
13048         [C99-based standards] (INT_LEAST8_MIN): Likewise.
13049         [C99-based standards] (INT_LEAST8_MAX): Likewise.
13050         [C99-based standards] (INT_LEAST16_MIN): Likewise.
13051         [C99-based standards] (INT_LEAST16_MAX): Likewise.
13052         [C99-based standards] (INT_LEAST32_MIN): Likewise.
13053         [C99-based standards] (INT_LEAST32_MAX): Likewise.
13054         [C99-based standards] (INT_LEAST64_MIN): Likewise.
13055         [C99-based standards] (INT_LEAST64_MAX): Likewise.
13056         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13057         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13058         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13059         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13060         [C99-based standards] (INT_FAST8_MIN): Likewise.
13061         [C99-based standards] (INT_FAST8_MAX): Likewise.
13062         [C99-based standards] (INT_FAST16_MIN): Likewise.
13063         [C99-based standards] (INT_FAST16_MAX): Likewise.
13064         [C99-based standards] (INT_FAST32_MIN): Likewise.
13065         [C99-based standards] (INT_FAST32_MAX): Likewise.
13066         [C99-based standards] (INT_FAST64_MIN): Likewise.
13067         [C99-based standards] (INT_FAST64_MAX): Likewise.
13068         [C99-based standards] (UINT_FAST8_MAX): Likewise.
13069         [C99-based standards] (UINT_FAST16_MAX): Likewise.
13070         [C99-based standards] (UINT_FAST32_MAX): Likewise.
13071         [C99-based standards] (UINT_FAST64_MAX): Likewise.
13072         [C99-based standards] (INTPTR_MIN): Likewise.
13073         [C99-based standards] (INTPTR_MAX): Likewise.
13074         [C99-based standards] (UINTPTR_MAX): Likewise.
13075         [C99-based standards] (INTMAX_MIN): Likewise.
13076         [C99-based standards] (INTMAX_MAX): Likewise.
13077         [C99-based standards] (UINTMAX_MAX): Likewise.
13078         [C99-based standards] (PTRDIFF_MIN): Likewise.
13079         [C99-based standards] (PTRDIFF_MAX): Likewise.
13080         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13081         [C99-based standards] (SIZE_MAX): Likewise.
13082         [C99-based standards] (WCHAR_MAX): Likewise.
13083         [C99-based standards] (WINT_MAX): Likewise.
13084         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
13085         constraint on value.
13086         [C99-based standards] (WCHAR_MIN): Likewise.
13087         [C99-based standards] (WINT_MIN): Likewise.
13088         [C99-based standards] (*_t): Allow.
13089         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13090         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13091         Include math.h-data and complex.h-data.  Remove all expectations
13092         of math.h and complex.h contents.
13093         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13094         at end of line.
13095         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13096         (struct tm): Expect tag.
13097         [C99-based-standards] (wcstof): Expect function.
13098         [C99-based-standards] (wcstold): Likewise.
13099         [C99-based-standards] (wcstoll): Likewise.
13100         [C99-based-standards] (wcstoull): Likewise.
13101         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13102         macro-int-constant.  Specify type.
13103         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
13104         constraint on value.
13105         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13106         Specify type.
13107         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13108         Specify value.
13109         [ISO C standards]: Do not allow headers.
13110         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13111         wcs[abcdefghijklmnopqrstuvwxyz]*.
13112         [ISO C standards] (*_t): Do not allow.
13113         * conform/data/wctype.h-data [C99-based standards] (iswblank):
13114         Expect function.
13115         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13116         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13117         Specify type.
13118         [ISO C standards]: Do not allow headers.
13119         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13120         is[abcdefghijklmnopqrstuvwxyz]*.
13121         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13122         to[abcdefghijklmnopqrstuvwxyz]*.
13123         [ISO C standards] (*_t): Do not allow.
13124         * conform/data/stdalign.h-data: New file.
13125         * conform/data/stdbool.h-data: Likewise.
13126         * conform/data/stdnoreturn.h-data: Likewise.
13127
13128 2012-11-07  Roland McGrath  <roland@hack.frob.com>
13129
13130         [BZ #14815]
13131         * manual/filesys.texi (Directory Entries): Typo fix.
13132         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13133
13134 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13135
13136         * elf/elf.h (EM_AARCH64): New macro.
13137         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13138         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13139         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13140         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13141         (R_AARCH64_TLSDESC): Likewise.
13142         (NT_ARM_TLS): Likewise.
13143         (NT_ARM_HW_BREAK): Likewise.
13144         (NT_ARM_HW_WATCH): Likewise.
13145
13146 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13147
13148         [BZ #14811]
13149         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13150         (__ieee754_powl): Saturate nonzero exponents with absolute value
13151         below 0x1p-79 to +/- 0x1p-79.
13152         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13153         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13154         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13155         nonzero exponents with absolute value below 0x1p-32 to +/-
13156         0x1p-32.
13157         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13158         (__ieee754_powl): Saturate nonzero exponents with absolute value
13159         below 0x1p-79 to +/- 0x1p-79.
13160         * math/libm-test.inc (pow_test): Add more tests.
13161
13162 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13163
13164         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13165         _dl_s390_cap_flags with kernel. Increase string length.
13166         (_dl_s390_platforms): Add z196 and zEC12.
13167
13168 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
13169
13170         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13171         Change XOPEN21K to XOPEN2K.
13172
13173 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
13174
13175         * string/memmove.c: Use memcpy when possible.
13176
13177 2012-11-06  Andreas Jaeger  <aj@suse.de>
13178
13179         * po/eo.po: Update from translation team.
13180
13181 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
13182
13183         [BZ #14793]
13184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13185         exponent and small x and y exponents, scale x or y up.  Increase
13186         by 2 the exponent used in scaling up.
13187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13189         * math/libm-test.inc (fma_test): Add more tests.
13190         (fma_test_towardzero): Likewise.
13191         (fma_test_downward): Likewise.
13192         (fma_test_upward): Likewise.
13193
13194 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
13195
13196         [BZ #14805]
13197         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13198         fenv_t *.
13199
13200         [BZ #14801]
13201         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13202         namespace for names of struct fields.
13203         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13204         fenv_t fields.
13205         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13206         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13207
13208 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13209
13210         [BZ #3665]
13211         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13212
13213 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13214
13215         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13216         PTR_DEMANGLE.
13217
13218         [BZ #5246]
13219         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13220         PTR_DEMANGLE.
13221
13222 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
13223
13224         [BZ #14797]
13225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13226         definitely overflow as x * y not x * y + z.
13227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13229         * math/libm-test.inc (fma_test): Add more tests.
13230         (fma_test_towardzero): Likewise.
13231         (fma_test_downward): Likewise.
13232         (fma_test_upward): Likewise.
13233
13234 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
13235
13236         [BZ #157]
13237
13238         * include/stub-tag.h: Remove file.
13239         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13240         '#include' of it.
13241         * manual/maint.texi (Porting): Don't reference it.
13242         * Makerules ($(objpfx)stubs): Likewise.
13243         * dirent/closedir.c: Don't include <stub-tag.h>.
13244         * dirent/dirfd.c: Likewise.
13245         * dirent/fdopendir.c: Likewise.
13246         * dirent/getdents.c: Likewise.
13247         * dirent/getdents64.c: Likewise.
13248         * dirent/opendir.c: Likewise.
13249         * dirent/readdir.c: Likewise.
13250         * dirent/readdir64.c: Likewise.
13251         * dirent/readdir64_r.c: Likewise.
13252         * dirent/readdir_r.c: Likewise.
13253         * dirent/rewinddir.c: Likewise.
13254         * dirent/seekdir.c: Likewise.
13255         * dirent/telldir.c: Likewise.
13256         * gmon/profil.c: Likewise.
13257         * grp/setgroups.c: Likewise.
13258         * inet/if_index.c: Likewise.
13259         * io/access.c: Likewise.
13260         * io/chdir.c: Likewise.
13261         * io/chmod.c: Likewise.
13262         * io/chown.c: Likewise.
13263         * io/close.c: Likewise.
13264         * io/dup.c: Likewise.
13265         * io/dup2.c: Likewise.
13266         * io/dup3.c: Likewise.
13267         * io/euidaccess.c: Likewise.
13268         * io/faccessat.c: Likewise.
13269         * io/fchdir.c: Likewise.
13270         * io/fchmod.c: Likewise.
13271         * io/fchmodat.c: Likewise.
13272         * io/fchown.c: Likewise.
13273         * io/fchownat.c: Likewise.
13274         * io/fcntl.c: Likewise.
13275         * io/flock.c: Likewise.
13276         * io/fstatfs.c: Likewise.
13277         * io/fstatfs64.c: Likewise.
13278         * io/fstatvfs.c: Likewise.
13279         * io/fstatvfs64.c: Likewise.
13280         * io/futimens.c: Likewise.
13281         * io/fxstat.c: Likewise.
13282         * io/fxstat64.c: Likewise.
13283         * io/fxstatat.c: Likewise.
13284         * io/fxstatat64.c: Likewise.
13285         * io/getcwd.c: Likewise.
13286         * io/isatty.c: Likewise.
13287         * io/lchmod.c: Likewise.
13288         * io/lchown.c: Likewise.
13289         * io/link.c: Likewise.
13290         * io/linkat.c: Likewise.
13291         * io/lseek.c: Likewise.
13292         * io/lseek64.c: Likewise.
13293         * io/lxstat64.c: Likewise.
13294         * io/mkdir.c: Likewise.
13295         * io/mkdirat.c: Likewise.
13296         * io/mkfifo.c: Likewise.
13297         * io/mkfifoat.c: Likewise.
13298         * io/open.c: Likewise.
13299         * io/open64.c: Likewise.
13300         * io/openat.c: Likewise.
13301         * io/openat64.c: Likewise.
13302         * io/pipe.c: Likewise.
13303         * io/pipe2.c: Likewise.
13304         * io/poll.c: Likewise.
13305         * io/posix_fadvise.c: Likewise.
13306         * io/posix_fadvise64.c: Likewise.
13307         * io/posix_fallocate.c: Likewise.
13308         * io/posix_fallocate64.c: Likewise.
13309         * io/read.c: Likewise.
13310         * io/readlink.c: Likewise.
13311         * io/readlinkat.c: Likewise.
13312         * io/rmdir.c: Likewise.
13313         * io/sendfile.c: Likewise.
13314         * io/sendfile64.c: Likewise.
13315         * io/statfs.c: Likewise.
13316         * io/statfs64.c: Likewise.
13317         * io/statvfs.c: Likewise.
13318         * io/statvfs64.c: Likewise.
13319         * io/symlink.c: Likewise.
13320         * io/symlinkat.c: Likewise.
13321         * io/ttyname.c: Likewise.
13322         * io/ttyname_r.c: Likewise.
13323         * io/umask.c: Likewise.
13324         * io/unlink.c: Likewise.
13325         * io/unlinkat.c: Likewise.
13326         * io/utime.c: Likewise.
13327         * io/utimensat.c: Likewise.
13328         * io/write.c: Likewise.
13329         * io/xmknod.c: Likewise.
13330         * io/xmknodat.c: Likewise.
13331         * io/xstat.c: Likewise.
13332         * io/xstat64.c: Likewise.
13333         * login/getpt.c: Likewise.
13334         * login/grantpt.c: Likewise.
13335         * login/unlockpt.c: Likewise.
13336         * math/e_acoshl.c: Likewise.
13337         * math/e_acosl.c: Likewise.
13338         * math/e_asinl.c: Likewise.
13339         * math/e_atan2l.c: Likewise.
13340         * math/e_atanhl.c: Likewise.
13341         * math/e_coshl.c: Likewise.
13342         * math/e_expl.c: Likewise.
13343         * math/e_fmodl.c: Likewise.
13344         * math/e_gammal_r.c: Likewise.
13345         * math/e_hypotl.c: Likewise.
13346         * math/e_j0l.c: Likewise.
13347         * math/e_j1l.c: Likewise.
13348         * math/e_jnl.c: Likewise.
13349         * math/e_lgammal_r.c: Likewise.
13350         * math/e_log10l.c: Likewise.
13351         * math/e_log2l.c: Likewise.
13352         * math/e_logl.c: Likewise.
13353         * math/e_powl.c: Likewise.
13354         * math/e_rem_pio2l.c: Likewise.
13355         * math/e_sinhl.c: Likewise.
13356         * math/e_sqrtl.c: Likewise.
13357         * math/fclrexcpt.c: Likewise.
13358         * math/fedisblxcpt.c: Likewise.
13359         * math/feenablxcpt.c: Likewise.
13360         * math/fegetenv.c: Likewise.
13361         * math/fegetexcept.c: Likewise.
13362         * math/fegetround.c: Likewise.
13363         * math/feholdexcpt.c: Likewise.
13364         * math/fesetenv.c: Likewise.
13365         * math/fesetround.c: Likewise.
13366         * math/feupdateenv.c: Likewise.
13367         * math/fgetexcptflg.c: Likewise.
13368         * math/fraiseexcpt.c: Likewise.
13369         * math/fsetexcptflg.c: Likewise.
13370         * math/ftestexcept.c: Likewise.
13371         * math/k_cosl.c: Likewise.
13372         * math/k_rem_pio2l.c: Likewise.
13373         * math/k_sinl.c: Likewise.
13374         * math/k_tanl.c: Likewise.
13375         * math/s_asinhl.c: Likewise.
13376         * math/s_atanl.c: Likewise.
13377         * math/s_cbrtl.c: Likewise.
13378         * math/s_erfl.c: Likewise.
13379         * math/s_expm1l.c: Likewise.
13380         * math/s_log1pl.c: Likewise.
13381         * math/s_tanhl.c: Likewise.
13382         * misc/acct.c: Likewise.
13383         * misc/brk.c: Likewise.
13384         * misc/chflags.c: Likewise.
13385         * misc/chroot.c: Likewise.
13386         * misc/fchflags.c: Likewise.
13387         * misc/fgetxattr.c: Likewise.
13388         * misc/flistxattr.c: Likewise.
13389         * misc/fremovexattr.c: Likewise.
13390         * misc/fsetxattr.c: Likewise.
13391         * misc/fsync.c: Likewise.
13392         * misc/ftruncate.c: Likewise.
13393         * misc/futimes.c: Likewise.
13394         * misc/futimesat.c: Likewise.
13395         * misc/getdomain.c: Likewise.
13396         * misc/getdtsz.c: Likewise.
13397         * misc/gethostid.c: Likewise.
13398         * misc/gethostname.c: Likewise.
13399         * misc/getloadavg.c: Likewise.
13400         * misc/getpagesize.c: Likewise.
13401         * misc/getsysstats.c: Likewise.
13402         * misc/getxattr.c: Likewise.
13403         * misc/gtty.c: Likewise.
13404         * misc/ioctl.c: Likewise.
13405         * misc/lgetxattr.c: Likewise.
13406         * misc/listxattr.c: Likewise.
13407         * misc/llistxattr.c: Likewise.
13408         * misc/lremovexattr.c: Likewise.
13409         * misc/lsetxattr.c: Likewise.
13410         * misc/lutimes.c: Likewise.
13411         * misc/madvise.c: Likewise.
13412         * misc/mincore.c: Likewise.
13413         * misc/mlock.c: Likewise.
13414         * misc/mlockall.c: Likewise.
13415         * misc/mmap.c: Likewise.
13416         * misc/mprotect.c: Likewise.
13417         * misc/msync.c: Likewise.
13418         * misc/munlock.c: Likewise.
13419         * misc/munlockall.c: Likewise.
13420         * misc/munmap.c: Likewise.
13421         * misc/preadv.c: Likewise.
13422         * misc/preadv64.c: Likewise.
13423         * misc/ptrace.c: Likewise.
13424         * misc/pwritev.c: Likewise.
13425         * misc/pwritev64.c: Likewise.
13426         * misc/readv.c: Likewise.
13427         * misc/reboot.c: Likewise.
13428         * misc/remap_file_pages.c: Likewise.
13429         * misc/removexattr.c: Likewise.
13430         * misc/revoke.c: Likewise.
13431         * misc/select.c: Likewise.
13432         * misc/setdomain.c: Likewise.
13433         * misc/setegid.c: Likewise.
13434         * misc/seteuid.c: Likewise.
13435         * misc/sethostid.c: Likewise.
13436         * misc/sethostname.c: Likewise.
13437         * misc/setregid.c: Likewise.
13438         * misc/setreuid.c: Likewise.
13439         * misc/setxattr.c: Likewise.
13440         * misc/sstk.c: Likewise.
13441         * misc/stty.c: Likewise.
13442         * misc/swapoff.c: Likewise.
13443         * misc/swapon.c: Likewise.
13444         * misc/sync.c: Likewise.
13445         * misc/syncfs.c: Likewise.
13446         * misc/syscall.c: Likewise.
13447         * misc/truncate.c: Likewise.
13448         * misc/ualarm.c: Likewise.
13449         * misc/usleep.c: Likewise.
13450         * misc/ustat.c: Likewise.
13451         * misc/utimes.c: Likewise.
13452         * misc/vhangup.c: Likewise.
13453         * misc/writev.c: Likewise.
13454         * posix/_exit.c: Likewise.
13455         * posix/alarm.c: Likewise.
13456         * posix/execve.c: Likewise.
13457         * posix/fexecve.c: Likewise.
13458         * posix/fork.c: Likewise.
13459         * posix/fpathconf.c: Likewise.
13460         * posix/getaddrinfo.c: Likewise.
13461         * posix/getegid.c: Likewise.
13462         * posix/geteuid.c: Likewise.
13463         * posix/getgid.c: Likewise.
13464         * posix/getgroups.c: Likewise.
13465         * posix/getlogin.c: Likewise.
13466         * posix/getlogin_r.c: Likewise.
13467         * posix/getpgid.c: Likewise.
13468         * posix/getpid.c: Likewise.
13469         * posix/getppid.c: Likewise.
13470         * posix/getresgid.c: Likewise.
13471         * posix/getresuid.c: Likewise.
13472         * posix/getsid.c: Likewise.
13473         * posix/getuid.c: Likewise.
13474         * posix/glob64.c: Likewise.
13475         * posix/nanosleep.c: Likewise.
13476         * posix/pathconf.c: Likewise.
13477         * posix/pause.c: Likewise.
13478         * posix/posix_madvise.c: Likewise.
13479         * posix/pread.c: Likewise.
13480         * posix/pread64.c: Likewise.
13481         * posix/pwrite.c: Likewise.
13482         * posix/pwrite64.c: Likewise.
13483         * posix/sched_getaffinity.c: Likewise.
13484         * posix/sched_getp.c: Likewise.
13485         * posix/sched_gets.c: Likewise.
13486         * posix/sched_primax.c: Likewise.
13487         * posix/sched_primin.c: Likewise.
13488         * posix/sched_rr_gi.c: Likewise.
13489         * posix/sched_setaffinity.c: Likewise.
13490         * posix/sched_setp.c: Likewise.
13491         * posix/sched_sets.c: Likewise.
13492         * posix/sched_yield.c: Likewise.
13493         * posix/setgid.c: Likewise.
13494         * posix/setlogin.c: Likewise.
13495         * posix/setpgid.c: Likewise.
13496         * posix/setresgid.c: Likewise.
13497         * posix/setresuid.c: Likewise.
13498         * posix/setsid.c: Likewise.
13499         * posix/setuid.c: Likewise.
13500         * posix/sleep.c: Likewise.
13501         * posix/spawni.c: Likewise.
13502         * posix/sysconf.c: Likewise.
13503         * posix/times.c: Likewise.
13504         * posix/wait.c: Likewise.
13505         * posix/wait3.c: Likewise.
13506         * posix/wait4.c: Likewise.
13507         * posix/waitpid.c: Likewise.
13508         * resolv/gai_sigqueue.c: Likewise.
13509         * resource/getpriority.c: Likewise.
13510         * resource/getrlimit.c: Likewise.
13511         * resource/getrusage.c: Likewise.
13512         * resource/nice.c: Likewise.
13513         * resource/setpriority.c: Likewise.
13514         * resource/setrlimit.c: Likewise.
13515         * resource/ulimit.c: Likewise.
13516         * rt/aio_cancel.c: Likewise.
13517         * rt/aio_fsync.c: Likewise.
13518         * rt/aio_read.c: Likewise.
13519         * rt/aio_sigqueue.c: Likewise.
13520         * rt/aio_suspend.c: Likewise.
13521         * rt/aio_write.c: Likewise.
13522         * rt/clock_getres.c: Likewise.
13523         * rt/clock_gettime.c: Likewise.
13524         * rt/clock_nanosleep.c: Likewise.
13525         * rt/clock_settime.c: Likewise.
13526         * rt/lio_listio.c: Likewise.
13527         * rt/mq_close.c: Likewise.
13528         * rt/mq_getattr.c: Likewise.
13529         * rt/mq_notify.c: Likewise.
13530         * rt/mq_open.c: Likewise.
13531         * rt/mq_receive.c: Likewise.
13532         * rt/mq_send.c: Likewise.
13533         * rt/mq_setattr.c: Likewise.
13534         * rt/mq_timedreceive.c: Likewise.
13535         * rt/mq_timedsend.c: Likewise.
13536         * rt/mq_unlink.c: Likewise.
13537         * rt/shm_open.c: Likewise.
13538         * rt/shm_unlink.c: Likewise.
13539         * rt/timer_create.c: Likewise.
13540         * rt/timer_delete.c: Likewise.
13541         * rt/timer_getoverr.c: Likewise.
13542         * rt/timer_gettime.c: Likewise.
13543         * rt/timer_settime.c: Likewise.
13544         * setjmp/__longjmp.c: Likewise.
13545         * setjmp/setjmp.c: Likewise.
13546         * signal/kill.c: Likewise.
13547         * signal/killpg.c: Likewise.
13548         * signal/raise.c: Likewise.
13549         * signal/sigaction.c: Likewise.
13550         * signal/sigaltstack.c: Likewise.
13551         * signal/sigblock.c: Likewise.
13552         * signal/sigignore.c: Likewise.
13553         * signal/sigintr.c: Likewise.
13554         * signal/signal.c: Likewise.
13555         * signal/sigpause.c: Likewise.
13556         * signal/sigpending.c: Likewise.
13557         * signal/sigqueue.c: Likewise.
13558         * signal/sigreturn.c: Likewise.
13559         * signal/sigset.c: Likewise.
13560         * signal/sigsetmask.c: Likewise.
13561         * signal/sigstack.c: Likewise.
13562         * signal/sigsuspend.c: Likewise.
13563         * signal/sigtimedwait.c: Likewise.
13564         * signal/sigvec.c: Likewise.
13565         * signal/sigwait.c: Likewise.
13566         * signal/sigwaitinfo.c: Likewise.
13567         * signal/sysv_signal.c: Likewise.
13568         * socket/accept.c: Likewise.
13569         * socket/accept4.c: Likewise.
13570         * socket/bind.c: Likewise.
13571         * socket/connect.c: Likewise.
13572         * socket/getpeername.c: Likewise.
13573         * socket/getsockname.c: Likewise.
13574         * socket/getsockopt.c: Likewise.
13575         * socket/isfdtype.c: Likewise.
13576         * socket/listen.c: Likewise.
13577         * socket/recv.c: Likewise.
13578         * socket/recvfrom.c: Likewise.
13579         * socket/recvmsg.c: Likewise.
13580         * socket/send.c: Likewise.
13581         * socket/sendmsg.c: Likewise.
13582         * socket/sendto.c: Likewise.
13583         * socket/setsockopt.c: Likewise.
13584         * socket/shutdown.c: Likewise.
13585         * socket/sockatmark.c: Likewise.
13586         * socket/socket.c: Likewise.
13587         * socket/socketpair.c: Likewise.
13588         * stdio-common/ctermid.c: Likewise.
13589         * stdio-common/cuserid.c: Likewise.
13590         * stdio-common/remove.c: Likewise.
13591         * stdio-common/rename.c: Likewise.
13592         * stdio-common/renameat.c: Likewise.
13593         * stdio-common/tempname.c: Likewise.
13594         * stdlib/getcontext.c: Likewise.
13595         * stdlib/makecontext.c: Likewise.
13596         * stdlib/setcontext.c: Likewise.
13597         * stdlib/swapcontext.c: Likewise.
13598         * stdlib/system.c: Likewise.
13599         * streams/fattach.c: Likewise.
13600         * streams/fdetach.c: Likewise.
13601         * streams/getmsg.c: Likewise.
13602         * streams/getpmsg.c: Likewise.
13603         * streams/putmsg.c: Likewise.
13604         * streams/putpmsg.c: Likewise.
13605         * sysdeps/unix/bsd/getpt.c: Likewise.
13606         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13607         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13608         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13610         Likewise.
13611         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13612         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13613         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13614         * sysvipc/msgctl.c: Likewise.
13615         * sysvipc/msgget.c: Likewise.
13616         * sysvipc/msgrcv.c: Likewise.
13617         * sysvipc/msgsnd.c: Likewise.
13618         * sysvipc/semctl.c: Likewise.
13619         * sysvipc/semget.c: Likewise.
13620         * sysvipc/semop.c: Likewise.
13621         * sysvipc/semtimedop.c: Likewise.
13622         * sysvipc/shmat.c: Likewise.
13623         * sysvipc/shmctl.c: Likewise.
13624         * sysvipc/shmdt.c: Likewise.
13625         * sysvipc/shmget.c: Likewise.
13626         * termios/tcdrain.c: Likewise.
13627         * termios/tcflow.c: Likewise.
13628         * termios/tcflush.c: Likewise.
13629         * termios/tcgetattr.c: Likewise.
13630         * termios/tcgetpgrp.c: Likewise.
13631         * termios/tcsendbrk.c: Likewise.
13632         * termios/tcsetattr.c: Likewise.
13633         * termios/tcsetpgrp.c: Likewise.
13634         * time/adjtime.c: Likewise.
13635         * time/clock.c: Likewise.
13636         * time/getitimer.c: Likewise.
13637         * time/gettimeofday.c: Likewise.
13638         * time/setitimer.c: Likewise.
13639         * time/settimeofday.c: Likewise.
13640         * time/stime.c: Likewise.
13641         * time/time.c: Likewise.
13642
13643 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
13644
13645         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13646         /usr/old/bin.
13647
13648         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13649         instead of spaces.
13650         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13651
13652 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
13653
13654         [BZ #14796]
13655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13656         FE_TONEAREST before applying Dekker multiplication and Knuth
13657         addition.  Clear inexact exceptions and check for exact zero
13658         results afterwards.
13659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13660         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13662         * math/libm-test.inc (fma_test): Add more tests.
13663         (fma_test_towardzero): Likewise.
13664         (fma_test_downward): Likewise.
13665         (fma_test_upward): Likewise.
13666         * sysdeps/generic/math_private.h (default_libc_fesetround): New
13667         function.
13668         (libc_fesetround): New macro.
13669         (libc_fesetroundf): Likewise.
13670         (libc_fesetroundl): Likewise.
13671         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13672         function.
13673         (libc_fesetround_387): Likewise.
13674         (libc_fesetroundf): New macro.
13675         (libc_fesetround): Likewise.
13676         (libc_fesetroundl): Likewise.
13677         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13678         function.
13679         (libc_fesetroundf): New macro.
13680         (libc_fesetround): Likewise.
13681         (libc_fesetroundl): Likewise.
13682         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13683         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13684         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13685         libm_hidden_ver.
13686         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13687         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13688         libm_hidden_def.
13689         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13690         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13691         libm_hidden_ver.
13692         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13693         libm_hidden_def.
13694
13695         [BZ #3439]
13696         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13697         integer constant usable in #if and use that to give value to enum
13698         constant.
13699         (FE_DIVBYZERO): Likewise.
13700         (FE_UNDERFLOW): Likewise.
13701         (FE_OVERFLOW): Likewise.
13702         (FE_INVALID): Likewise.
13703         (FE_INVALID_SNAN): Likewise.
13704         (FE_INVALID_ISI): Likewise.
13705         (FE_INVALID_IDI): Likewise.
13706         (FE_INVALID_ZDZ): Likewise.
13707         (FE_INVALID_IMZ): Likewise.
13708         (FE_INVALID_COMPARE): Likewise.
13709         (FE_INVALID_SOFTWARE): Likewise.
13710         (FE_INVALID_SQRT): Likewise.
13711         (FE_INVALID_INTEGER_CONVERSION): Likewise.
13712         (FE_TONEAREST): Likewise.
13713         (FE_TOWARDZERO): Likewise.
13714         (FE_UPWARD): Likewise.
13715         (FE_DOWNWARD): Likewise.
13716         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13717         (FE_DIVBYZERO): Likewise.
13718         (FE_OVERFLOW): Likewise.
13719         (FE_UNDERFLOW): Likewise.
13720         (FE_INEXACT): Likewise.
13721         (FE_TONEAREST): Likewise.
13722         (FE_DOWNWARD): Likewise.
13723         (FE_UPWARD): Likewise.
13724         (FE_TOWARDZERO): Likewise.
13725         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13726         (FE_UNDERFLOW): Likewise.
13727         (FE_OVERFLOW): Likewise.
13728         (FE_DIVBYZERO): Likewise.
13729         (FE_INVALID): Likewise.
13730         (FE_TONEAREST): Likewise.
13731         (FE_TOWARDZERO): Likewise.
13732         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13733         (FE_OVERFLOW): Likewise.
13734         (FE_UNDERFLOW): Likewise.
13735         (FE_DIVBYZERO): Likewise.
13736         (FE_INEXACT): Likewise.
13737         (FE_TONEAREST): Likewise.
13738         (FE_TOWARDZERO): Likewise.
13739         (FE_UPWARD): Likewise.
13740         (FE_DOWNWARD): Likewise.
13741         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13742         (FE_DIVBYZERO): Likewise.
13743         (FE_OVERFLOW): Likewise.
13744         (FE_UNDERFLOW): Likewise.
13745         (FE_INEXACT): Likewise.
13746         (FE_TONEAREST): Likewise.
13747         (FE_DOWNWARD): Likewise.
13748         (FE_UPWARD): Likewise.
13749         (FE_TOWARDZERO): Likewise.
13750
13751 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
13752
13753         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13754
13755 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
13756
13757         * scripts/cross-test-ssh.sh (command): Use newlines to separate
13758         commands.  Quote $PWD.
13759         (blacklist_exports): Don't use remove_newlines.  Replace "declare
13760         -x" by "export".
13761         (remove_newlines): Remove.
13762
13763 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
13764
13765         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13766         * stdlib/stdlib.h (atof): Moved to ...
13767         * include/bits/stdlib-float.h: Here.  New file.
13768         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13769         * stdlib/bits/stdlib-float.h: New file.
13770         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13771         -mno-sse -mno-mmx.
13772         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13773         <xmmintrin.h>.
13774
13775 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13776
13777         * conform/conformtest.pl (@headers): Add fenv.h.
13778         * conform/data/fenv.h-data: New file.
13779         * include/fenv.h [_ISOMAC]: Disable all contents of file except
13780         include of <math/fenv.h>.
13781
13782         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13783         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13784         && !UNIX98].  Enables tests for XOPEN2K8.
13785         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13786         POSIX2008]: Likewise.
13787
13788         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13789         (struct rusage): Do not expect type or its members.
13790
13791         [BZ #3439]
13792         * math/math.h (FP_NAN): Define macro to integer constant usable in
13793         #if and use that to give value to enum constant.
13794         (FP_INFINITE): Likewise.
13795         (FP_ZERO): Likewise.
13796         (FP_SUBNORMAL): Likewise.
13797         (FP_NORMAL): Likewise.
13798
13799 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
13800
13801         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13802         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13803         arguments.
13804
13805 2012-11-02  Roland McGrath  <roland@hack.frob.com>
13806
13807         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13808         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13809         autoconf-time if not.
13810         * configure.in: Remove AC_PREREQ.
13811
13812 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13813
13814         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13815         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13816         of the internal implementation.
13817
13818 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
13819
13820         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13821         except include of <misc/sys/syslog.h>.
13822
13823 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13824
13825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13826         function returns with a NULL context exit with zero.
13827
13828 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13829
13830         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13831
13832 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
13833
13834         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13835         (run_program_cmd): This.
13836         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13837         (tst_langinfo): New variable.  Use it.
13838
13839 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
13840
13841         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13842         floating point opcodes.
13843
13844 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13845
13846         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13847         variable.
13848
13849         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13850
13851         * sysdeps/mach/hurd/powerpc: Remove directory.
13852         * sysdeps/mach/powerpc: Likewise.
13853
13854 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13855
13856         * scripts/check-local-headers.sh: Ignore c++ headers.
13857
13858 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13859
13860         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13861         __libc_cleanup_region_start argument.
13862
13863 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
13864
13865         [BZ #14784]
13866         [BZ #14785]
13867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13868         x * y using scaling, not as x * y + z.
13869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13871         * math/libm-test.inc (fma_test): Add more tests.
13872         (fma_test_towardzero): Likewise.
13873         (fma_test_downward): Likewise.
13874         (fma_test_upward): Likewise.
13875
13876 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
13877
13878         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13879
13880 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13881
13882         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13883         New variable.
13884
13885 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
13886
13887         * rt/tst-shm.c (worker): Correct checking for mmap failure.
13888
13889 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13890
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13892         Fix sort order.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13894         Likewise.
13895
13896 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13897
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13899         Fix the order of the list for glibc 2.17.
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13901         Likewise.
13902
13903 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13904
13905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13906
13907 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
13908
13909         [BZ #14610]
13910         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13911         for low part of x being zero before using __atanl (y).
13912         * math/libm-test.inc (atan2_test): Add another test.
13913
13914         * manual/install.texi (Configuring and compiling): Document
13915         general use of test-wrapper and test-wrapper-env.
13916         * INSTALL: Regenerated.
13917
13918         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13919         (__fma): Do not extract and scale down low bits on after-rounding
13920         systems when result rounded to normal precision would have normal
13921         exponent.
13922         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13923         (__fmal): Do not extract and scale down low bits on after-rounding
13924         systems when result rounded to normal precision would have normal
13925         exponent.
13926         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13927         (__fmal): Do not extract and scale down low bits on after-rounding
13928         systems when result rounded to normal precision would have normal
13929         exponent.
13930         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13931         macro.
13932         (fma_test): Add more tests.
13933         (fma_test_towardzero): Likewise.
13934         (fma_test_downward): Likewise.
13935         (fma_test_upward): Likewise.
13936
13937 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
13938
13939         * sysdeps/i386/tininess.h: Renamed to ...
13940         * sysdeps/x86/tininess.h: This.
13941         * sysdeps/x86_64/tininess.h: Removed.
13942
13943 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13944
13945         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13946         input.  Use $(build-program-cmd).
13947         ($(objpfx)tst-array1-static.out): Likewise.
13948         ($(objpfx)tst-array2.out): Likewise.
13949         ($(objpfx)tst-array3.out): Likewise.
13950         ($(objpfx)tst-array4.out): Likewise.
13951         ($(objpfx)tst-array5.out): Likewise.
13952         ($(objpfx)tst-array5-static.out): Likewise.
13953
13954 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
13955
13956         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13957         if defined.
13958
13959         * nss/nsswitch.h (nss_interface_function): Provide new
13960         macro for use with NSS functions.
13961         * grp/initgroups.c: Use new macro.
13962         * nss/getXXbyYY.c: Likewise.
13963         * nss/getXXbyYY_r.c: Likewise.
13964         * nss/getXXent.c: Likewise.
13965         * nss/getXXent_r.c: Likewise.
13966         * sysdeps/posix/getaddrinfo.c: Likewise.
13967
13968 2012-10-30  Andreas Jaeger  <aj@suse.de>
13969
13970         * po/ru.po: Update Russion translation from translation project.
13971
13972 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
13973
13974         [BZ #14152]
13975         [BZ #14783]
13976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13977         result and shift together with sticky bit instead of replicating
13978         round-to-nearest rounding.
13979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13981         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
13982         missing underflow exceptions.
13983         (fma_test_towardzero): Add more tests.
13984         (fma_test_downward): Likewise.
13985         (fma_test_upward): Likewise.
13986
13987         [BZ #14047]
13988         * sysdeps/generic/tininess.h: New file.
13989         * sysdeps/i386/tininess.h: Likewise.
13990         * sysdeps/sh/tininess.h: Likewise.
13991         * sysdeps/x86_64/tininess.h: Likewise.
13992         * stdlib/tst-strtod-underflow.c: Likewise.
13993         * stdlib/tst-tininess.c: Likewise.
13994         * stdlib/strtod_l.c: Include <tininess.h>.
13995         (round_and_return): Do not set errno for exact underflow cases.
13996         Force an underflow exception when setting errno for underflow.
13997         Determine underflow based on rounding to normal precision if
13998         TININESS_AFTER_ROUNDING.
13999         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14000         ERANGE for exact underflow cases.
14001         * stdlib/Makefile (tests): Add tst-tininess and
14002         tst-strtod-underflow.
14003         ($(objpfx)tst-tininess): Use $(link-libm).
14004         ($(objpfx)tst-strtod-underflow): Likewise.
14005
14006 2012-10-30  Andreas Jaeger  <aj@suse.de>
14007
14008         [BZ#14767]
14009         * elf/Makefile (tests): Remove conditional for have-initfini-array
14010         since this is now always required and the variable does not exist
14011         anymore.
14012         (tests-static): Likewise.
14013         (modules-names): Likewise.
14014
14015         * po/eo.po: Add Esperanto translation from translation project.
14016
14017         * elf/tst-array1.c (fini_array): Make writeable so that it can be
14018         merged with constructor/destructor.
14019         (init_array): Likewise.
14020         * elf/tst-array2dep.c (fini_array): Likewise.
14021         (init_array): Likewise.
14022
14023 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
14024
14025         * manual/message.texi: Delete @cartouche tags.
14026
14027 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
14028
14029         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14030         EOPNOTSUPP.
14031         * sysdeps/mach/hurd/fsync.c: Likewise.
14032
14033         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14034         [_POSIX_REALTIME_SIGNALS]: Change condition to
14035         [_POSIX_REALTIME_SIGNALS > 0].
14036
14037 2012-10-27  Andreas Jaeger  <aj@suse.de>
14038
14039         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14040         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14042         [__WORDSIZE != 64]: Likewise.
14043
14044 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
14045
14046         *  iconvdata/tst-table.sh: Remove ${SHELL}.
14047         *  iconvdata/tst-tables.sh: Likewise.
14048
14049 2012-10-25  David S. Miller  <davem@davemloft.net>
14050
14051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14052         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14053         of strtoull.
14054
14055         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14056         ifunc-impl-list.c
14057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14058         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14059         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14060         file.
14061
14062 2012-10-25  Roland McGrath  <roland@hack.frob.com>
14063
14064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14065         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14066         __getdirentries.
14067
14068 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14069             Jim Blandy  <jimb@codesourcery.com>
14070
14071         * scripts/cross-test-ssh.sh: New file.
14072         * manual/install.texi (Configuring and compiling): Document use of
14073         cross-test-ssh.sh.
14074         * INSTALL: Regenerated.
14075
14076 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
14077
14078         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14079         EOPNOTSUPP.
14080
14081 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
14082
14083         * Makeconfig (run-program-prefix): Fix comment.
14084
14085 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14086             Jim Blandy  <jimb@codesourcery.com>
14087
14088         * Makeconfig (test-wrapper): New variable,
14089         (test-wrapper-env): Likewise.
14090         [$(cross-compiling) = yes && $(test-wrapper) != ""]
14091         (run-built-tests): Define to yes.
14092         (run-program-prefix): Use $(test-wrapper).
14093         (built-program-cmd): Likewise.
14094         * Rules (make-test-out): Use $(test-wrapper-env) and
14095         $(host-built-program-cmd).
14096         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14097         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14098         tst-pathopt.sh.
14099         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14100         $(test-wrapper-env) to tst-rtld-load-self.sh.
14101         ($(objpfx)order2.out): Use $(test-wrapper).
14102         ($(objpfx)tst-initorder.out): Likewise.
14103         ($(objpfx)tst-initorder2.out): Likewise.
14104         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14105         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14106         (test_wrapper_env): New variable.  Use it to run ld.so.
14107         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14108         Use it to run ld.so.
14109         (test_wrapper_env): Likewise.
14110         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14111         $(test-wrapper) to run-iconv-test.sh.
14112         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14113         (ICONV): Use $test_wrapper.
14114         * posix/Makefile ($(objpfx)globtest.out): Pass
14115         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14116         globtest.sh, not $(run-program-prefix).
14117         * posix/globtest.sh (run_via_rtld_prefix): New variable.
14118         (test_wrapper): Likewise.
14119         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
14120         set together with run_via_rtld_prefix.
14121         (run_program_prefix): Define in terms of test_wrapper and
14122         run_via_rtld_prefix.
14123
14124 2012-10-24  Roland McGrath  <roland@hack.frob.com>
14125
14126         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14127         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14128         Targets removed.
14129
14130         [BZ #14743]
14131         * include/time.h: Remove librt_hidden_proto (clock_gettime).
14132         Declare __clock_getres, __clock_gettime, __clock_settime,
14133         __clock_nanosleep, and __clock_getcpuclockid.
14134         * rt/clock_gettime.c: Define __clock_gettime as an alias.
14135         Remove librt_hidden_def (clock_gettime).
14136         * sysdeps/unix/clock_gettime.c: Likewise.
14137         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14139         * rt/clock_getres.c: Define __clock_getres as an alias.
14140         * sysdeps/posix/clock_getres.c: Likewise.
14141         * rt/clock_settime.c: Define __clock_settime as an alias.
14142         * sysdeps/unix/clock_settime.c: Likewise.
14143         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14144         * sysdeps/unix/clock_nanosleep.c: Likewise.
14145         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14146         * rt/clock-compat.c: New file.
14147         * rt/Makefile (librt-routines): Add clock-compat and move
14148         $(clock-routines) to ...
14149         (routines): ... here, new variable.
14150         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14151         Don't add get_clockfreq here.
14152         * rt/Versions (libc: GLIBC_2.17): New version set.
14153         Add clock_* symbols here.
14154         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
14155         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14156         (GLIBC_2.17): Add clock_* symbols.
14157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14161         Likewise.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14163         Likewise.
14164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14168         * NEWS: Mention the move.
14169
14170         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14171         Use __open, __read, __close rather than their public counterparts.
14172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14173         (__get_clockfreq_via_cpuinfo): Likewise.
14174         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14175         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14176
14177         * config.h.in (HAVE_IFUNC): New #undef.
14178         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14179         was successful.
14180         * configure: Regenerated.
14181
14182 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14183
14184         * configure.in: Move READELF check to start of file.
14185         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14186         libc_cv_asm_gnu_indirect_function in the process.
14187         * configure: Regenerated.
14188
14189 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
14190
14191         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14192         send the output to /dev/null.
14193         (libc_cv_cc_with_libunwind): Likewise.
14194         (libc_cv_as_noexecstack): Likewise.
14195         * configure: Regenerate.
14196
14197 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
14198
14199         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14200
14201         * posix/globtest.sh (TMPDIR): Do not set.
14202         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14203         (testout): Likewise.
14204
14205 2012-10-24  Andreas Jaeger  <aj@suse.de>
14206
14207         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14208         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14209         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14210         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14211         posix_fadvise64, posix_fallocate64.
14212
14213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14214         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14215         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14216         Likewise.
14217         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14218         Likewise.
14219         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14220
14221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14222         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14223         <bits/fcntl-linux.h>.
14224         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14225
14226         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14227         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14228         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14229         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14230         [__WORDSIZE != 64]: Likewise.
14231
14232 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14233
14234         * Makeconfig (run-built-tests): New variable.
14235         * Rules [$(cross-compiling) = yes]: Change condition to
14236         [$(run-built-tests) = no].
14237         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14238         to [$(run-built-tests) = yes].
14239         * elf/Makefile [$(cross-compiling) = no]: Likewise
14240         * grp/Makefile [$(cross-compiling) = no]: Likewise.
14241         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14242         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14243         * intl/Makefile [$(cross-compiling) = no]: Likewise.
14244         * io/Makefile [$(cross-compiling) = no]: Likewise.
14245         * libio/Makefile [$(cross-compiling) = no]: Likewise.
14246         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14247         * misc/Makefile [$(cross-compiling) = no]: Likewise.
14248         * posix/Makefile [$(cross-compiling) = no]: Likewise.
14249         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14250         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14251         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14252         * string/Makefile [$(cross-compiling) = no]: Likewise.
14253
14254         * posix/Makefile ($(objpfx)globtest.out): Pass
14255         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14256         $(rtld-installed-name).
14257         * posix/globtest.sh (elf_objpfx): Remove variable.
14258         (rtld_installed_name): Likewise.
14259         (library_path): Likewise.
14260         (run_program_prefix): New variable.  Use for running globtest
14261         binary.
14262
14263 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
14264             Joseph Myers  <joseph@codesourcery.com>
14265
14266         * Makeconfig (host-built-program-cmd): New variable.
14267         * elf/Makefile (tst-stackguard1-ARGS): Use
14268         $(host-built-program-cmd).
14269         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14270         (tst-spawn-ARGS): Likewise.
14271         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14272
14273 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
14274             Jim Blandy  <jimb@codesourcery.com>
14275
14276         * Makeconfig (run-via-rtld-prefix): New variable.
14277         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14278         (built-program-cmd): Likewise.
14279
14280 2012-10-22  Andreas Jaeger  <aj@suse.de>
14281
14282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14283         __O_RSYNC if it exists, otherwise to O_SYNC.
14284
14285 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
14286             Joseph Myers  <joseph@codesourcery.com>
14287
14288         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14289         /dev/null.
14290         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14291         from /dev/null
14292         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14293         /dev/null.
14294
14295 2012-10-22  Andreas Jaeger  <aj@suse.de>
14296
14297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14298         Define always.
14299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14300
14301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14302         bits/fcntl-linux.h.
14303
14304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14305         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14306
14307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14308         to __O_LARGEFILE.
14309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14310         to __O_LARGEFILE.
14311
14312 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
14313             Joseph Myers  <joseph@codesourcery.com>
14314
14315         * config.make.in (NM): New variable.
14316
14317 2012-10-21  Andreas Jaeger  <aj@suse.de>
14318
14319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14320         definitions and declarations that are provided by
14321         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14322
14323 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14324
14325         [BZ #14683]
14326         * elf/Makefile (tests-static): Add tst-leaks1-static.
14327         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14328         ($(objpfx)tst-leaks1-static): New rule.
14329         ($(objpfx)tst-leaks1-static-mem): Likewise.
14330         (tst-leaks1-static-ENV): New macro.
14331         * elf/dl-open.c (dl_open_worker): Check the main application
14332         only if SHARED is defined.
14333         * elf/tst-leaks1-static.c: New file.
14334
14335 2012-10-20  Andreas Jaeger  <aj@suse.de>
14336
14337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14338         generic values for Linux.
14339         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14340         and declarations that are provided by <bits/fcntl-linux.h> and
14341         include <bits/fcntl-linux.h>.
14342         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14344
14345 2012-10-20  Roland McGrath  <roland@hack.frob.com>
14346
14347         * io/fcntl.h: Move include of <bits/types.h> to the top and
14348         include it unconditionally.
14349
14350 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
14351
14352         * wcsmbs/Makefile (tests-ifunc): New variable.
14353         (tests): Add $(tests-ifunc).
14354         * wcsmbs/test-wcschr-ifunc.c: New file.
14355         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14356         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14357         * wcsmbs/test-wcslen-ifunc.c: Likewise.
14358         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14359         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14360
14361         * string/Makefile (tests-ifunc): New variable.
14362         (tests): Add $(tests-ifunc).
14363         * string/test-memccpy.c (TEST_NAME): New macro.
14364         * string/test-memchr.c (TEST_NAME): Likewise.
14365         * string/test-memcmp.c (TEST_NAME): Likewise.
14366         * string/test-memcpy.c (TEST_NAME): Likewise.
14367         * string/test-memmem.c (TEST_NAME): Likewise.
14368         * string/test-memmove.c (TEST_NAME): Likewise.
14369         * string/test-memset.c (TEST_NAME): Likewise.
14370         * string/test-rawmemchr.c (TEST_NAME): Likewise.
14371         * string/test-stpcpy.c (TEST_NAME): Likewise.
14372         * string/test-stpncpy.c (TEST_NAME): Likewise.
14373         * string/test-strcasecmp.c (TEST_NAME): Likewise.
14374         * string/test-strcasestr.c (TEST_NAME): Likewise.
14375         * string/test-strcat.c (TEST_NAME): Likewise.
14376         * string/test-strchr.c (TEST_NAME): Likewise.
14377         * string/test-strcmp.c(TEST_NAME): Likewise.
14378         * string/test-strcpy.c (TEST_NAME): Likewise.
14379         * string/test-strcspn.c (TEST_NAME): Likewise.
14380         * string/test-strlen.c (TEST_NAME): Likewise.
14381         * string/test-strncasecmp.c (TEST_NAME): Likewise.
14382         * string/test-strncmp.c (TEST_NAME): Likewise.
14383         * string/test-strncpy.c (TEST_NAME): Likewise.
14384         * string/test-strnlen.c (TEST_NAME): Likewise.
14385         * string/test-strpbrk.c (TEST_NAME): Likewise.
14386         * string/test-strrchr.c (TEST_NAME): Likewise.
14387         * string/test-strspn.c (TEST_NAME): Likewise.
14388         * string/test-strstr.c (TEST_NAME): Likewise.
14389         * string/test-bcopy-ifunc.c: New file.
14390         * string/test-bzero-ifunc.c: Likewise.
14391         * string/test-memccpy-ifunc.c: Likewise.
14392         * string/test-memchr-ifunc.c: Likewise.
14393         * string/test-memcmp-ifunc.c: Likewise.
14394         * string/test-memcpy-ifunc.c: Likewise.
14395         * string/test-memmem-ifunc.c: Likewise.
14396         * string/test-memmove-ifunc.c: Likewise.
14397         * string/test-mempcpy-ifunc.c: Likewise.
14398         * string/test-memset-ifunc.c: Likewise.
14399         * string/test-rawmemchr-ifunc.c: Likewise.
14400         * string/test-stpcpy-ifunc.c: Likewise.
14401         * string/test-stpncpy-ifunc.c: Likewise.
14402         * string/test-strcasecmp-ifunc.c: Likewise.
14403         * string/test-strcasestr-ifunc.c: Likewise.
14404         * string/test-strcat-ifunc.c: Likewise.
14405         * string/test-strchr-ifunc.c: Likewise.
14406         * string/test-strchrnul-ifunc.c: Likewise.
14407         * string/test-strcmp-ifunc.c: Likewise.
14408         * string/test-strcpy-ifunc.c: Likewise.
14409         * string/test-strcspn-ifunc.c: Likewise.
14410         * string/test-strlen-ifunc.c: Likewise.
14411         * string/test-strncasecmp-ifunc.c: Likewise.
14412         * string/test-strncat-ifunc.c: Likewise.
14413         * string/test-strncmp-ifunc.c: Likewise.
14414         * string/test-strncpy-ifunc.c: Likewise.
14415         * string/test-strnlen-ifunc.c: Likewise.
14416         * string/test-strpbrk-ifunc.c: Likewise.
14417         * string/test-strrchr-ifunc.c: Likewise.
14418         * string/test-strspn-ifunc.c: Likewise.
14419         * string/test-strstr-ifunc.c: Likewise.
14420
14421         * debug/Makefile (tests-ifunc): New variable.
14422         (tests): Add $(tests-ifunc).
14423         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14424         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14425         * debug/test-stpcpy_chk-ifunc.c: New file.
14426         * debug/test-strcpy_chk-ifunc.c: Likewise.
14427
14428 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14429
14430         [BZ #13601]
14431         * elf/dl-load.c (open_verify): Retry read if the entire ELF
14432         header is not read in.
14433
14434 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
14435
14436         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
14437         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
14438         directly.  Pass built executable to script as
14439         $(built-program-cmd).
14440         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
14441         $testprogram without using LD_LIBRARY_PATH and $ldso.
14442
14443         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14444         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14445         $(rtld-installed-name).
14446         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14447         (rtld_installed_name): Likewise.
14448         (library_path): Likewise.
14449         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
14450         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14451         $(run-program-prefix) to tst-tables.sh.
14452         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
14453         it to run tst-table-from and tst-table-to.
14454         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14455         Pass it to tst-table.sh.
14456         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14457         $(run-program-prefix) to tst-gettext.sh.
14458         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14459         tst-translit.sh.
14460         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14461         tst-gettext2.sh.
14462         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
14463         to run tst-gettext.
14464         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
14465         to run tst-gettext2.
14466         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
14467         to run tst-translit.
14468         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14469         $(run-program-prefix) to tst-mtrace.sh.
14470         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
14471         to run tst-mtrace.
14472         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14473         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14474         $(rtld-installed-name).
14475         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14476         (rtld_installed_name): Likewise.
14477         (run_program_prefix): New variable.  Use it to run wordexp-test.
14478
14479         * Makeconfig (ARCH): Remove all definitions.
14480         (machine): Likewise.
14481         [ARCH]: Remove conditional code.
14482         [!objdir]: Give error.
14483         [!objdir] (objpfx): Remove.
14484         [!objdir] (common-objpfx): Likewise.
14485         [!objdir] (common-objdir): Likewise.
14486         * configure.in (config_makefile): Remove.  Hardcode Makefile in
14487         AC_CONFIG_FILES call.
14488         * configure: Regenerated.
14489
14490         [BZ #13888]
14491         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14492         or TMPDIR.
14493         (testout): Likewise.
14494
14495         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14496         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14497         $(rtld-installed-name).
14498         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14499         (rtld_installed_name): Likwise.
14500         (runit): Remove function.
14501         (run_getconf): New variable,  Use it for running getconf binary.
14502
14503 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
14504
14505         [BZ #14716]
14506         * string/test-memmem.c (check_result): New function.
14507         (do_one_test): Use it.
14508         (check1): New function.
14509         (test_main): Use it.
14510
14511 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
14512
14513         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14514
14515 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
14516
14517         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14518         (_G_LSEEK64): Likewise.
14519         (_G_MMAP64): Likewise.
14520         (_G_FSTAT64): Likewise.
14521         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14522         (_G_LSEEK64): Likewise.
14523         (_G_MMAP64): Likewise.
14524         (_G_FSTAT64): Likewise.
14525         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14526         unconditional.  Call __mmap64 directly.
14527         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14528         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
14529         __lseek64 directly.
14530         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14531         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
14532         __mmap64 directly.
14533         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14534         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14535         __lseek64 directly.
14536         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14537         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
14538         __lseek64 directly.
14539         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14540         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
14541         __lseek64 directly.
14542         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14543         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
14544         __fxstat64 directly.
14545         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14546         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14547         unconditional.
14548         (freopen64) [!_G_OPEN64]: Remove conditional code.
14549         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14550         unconditional.
14551         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14552         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14553         unconditional.
14554         (ftello64) [!_G_LSEEK64]: Remove conditional code.
14555         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14556         unconditional.
14557         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14558         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14559         unconditional.
14560         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14561         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14562         unconditional.
14563         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14564         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14565         unconditional.
14566         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14567         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14568         unconditional.
14569         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14570
14571 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14572
14573         [BZ #12140]
14574         * manual/memory.texi (Malloc Tunable Parameters): Add note
14575         about free list pointers overwriting some perturb bytes.
14576         Wording suggested by Roland McGrath.
14577
14578 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
14579
14580         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14581         (lgamma_test): Likewise.
14582         (tgamma_test): Likewise.
14583
14584 2012-10-16  Florian Weimer  <fweimer@redhat.com>
14585
14586         [BZ #14700]
14587         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14588         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14589
14590 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
14591
14592         * NEWS: Mention BZ #14716.
14593         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14594         when removing AVAILABLE1_USES_J macro.
14595
14596 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14597
14598         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14599         (__bswap_64): __uint64_t for unsigned 64-bit int.
14600
14601 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
14602
14603         * include/string.h (memmem): Declare libc hidden alias.
14604         * string/memmem.c (memmem): Define libc hidden alias.
14605         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14606         __read, __close instead of open, read, close.
14607
14608 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
14609
14610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14611         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14612         global and hidden.
14613         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14614         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14615         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14616         Likewise.
14617         (__rawmemchr_sse2): Likewise.
14618         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14619         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14620         (__strchr_sse2): Likewise.
14621         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14622         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14623         (__strcasecmp_sse2): Likewise.
14624         (__strncasecmp_sse2): Likewise.
14625         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14626         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14627         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14628         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14629         (__strrchr_sse2): Likewise.
14630         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14631         ifunc-impl-list.c.
14632         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14633         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14634         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14635         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14636         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14638         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14639         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14640         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14641         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14642         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14644         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14645         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14646         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14647         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14648         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14649         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14650         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14651         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14652         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14653         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14654         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14655         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14656         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14657         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14658         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14659         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14660         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14661         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14662
14663         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14664         global and hidden.
14665         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14666         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14667         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14668         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14669         Likewise.
14670         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14671         Likewise.
14672         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14673         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14674         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14675         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14676         ifunc-impl-list.c.
14677         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14678         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14679         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14680         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14681         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14682         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14684         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14686         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14687         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14688         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14689         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14690         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14691         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14693         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14694         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14697         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14698         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14699         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14700         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14701         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14702         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14703         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14704         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14705         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14706         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14707         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14708         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14709         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14710         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14711         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14712         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14713         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14714         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14715         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14716         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14717         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14718
14719         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14720         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14721         * include/ifunc-impl-list.h: New file.
14722         * misc/ifunc-impl-list.c: Likewise.
14723         * misc/Makefile (routines): Add ifunc-impl-list.
14724         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14725         * string/test-string.h: Include <ifunc-impl-list.h>.
14726         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14727         impl_array): New variables.
14728         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14729         are defined.
14730         (test_init): Call __libc_ifunc_impl_list to initialize
14731         func_list if TEST_IFUNC and TEST_NAME are defined.
14732
14733         * string/Makefile (strop-tests): Add bcopy and bzero.
14734         * string/test-bcopy.c: New file.
14735         * string/test-bzero.c: Likewise.
14736         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14737         defined.
14738         * string/test-memset.c: Support bzero test if TEST_BZERO is
14739         defined.
14740         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14741         __libc_memmove.
14742         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14743         __libc_memset.
14744         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14745         of memset.
14746
14747 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
14748
14749         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14750         * configure: Regenerated.
14751
14752         * Makeconfig (+link-static-before-libc): Don't include
14753         $(link-static-libc).
14754
14755         * libio/libio.h (_IO_pos_t): Remove.
14756
14757 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14758
14759         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
14760         McGrath.
14761
14762 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14763
14764         * crypt/crypt-entry.c: Include fips-private.h.
14765         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14766         * crypt/md5c-test.c (main): Tolerate disabled MD5.
14767         * sysdeps/unix/sysv/linux/fips-private.h: New file.
14768         * sysdeps/generic/fips-private.h: New file, dummy fallback.
14769
14770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
14771
14772         * crypt/crypt-private.h: Include stdbool.h.
14773         (_ufc_setup_salt_r): Return bool.
14774         * crypt/crypt-entry.c: Include errno.h.
14775         (__crypt_r): Return NULL with EINVAL for bad salt.
14776         * crypt/crypt_util.c (bad_for_salt): New.
14777         (_ufc_setup_salt_r): Check that salt is long enough and within
14778         the specified alphabet.
14779         * crypt/badsalttest.c: New file.
14780         * crypt/Makefile (tests): Add it.
14781         ($(objpfx)badsalttest): New.
14782
14783 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
14784
14785         * NEWS: Add entry for BZ #14602.
14786
14787 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14788
14789         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14790         type-generic.
14791         * math/libm-test.inc: Update comment listing what functions and
14792         macros are tested.
14793         (isgreater_test): New function.
14794         (isgreaterequal_test): Likewise.
14795         (isless_test): Likewise.
14796         (islessequal_test): Likewise.
14797         (islessgreater_test): Likewise.
14798         (isunordered_test): Likewise.
14799         (main): Call the new functions.
14800
14801 2012-10-09  Roland McGrath  <roland@hack.frob.com>
14802
14803         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14804         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14805         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14806         * sysdeps/i386/configure: Regenerated.
14807         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14808         * sysdeps/mach/configure: Regenerated.
14809         * sysdeps/mach/hurd/configure: Regenerated.
14810         * sysdeps/powerpc/configure: Regenerated.
14811         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14812         * sysdeps/powerpc/powerpc64/configure: Regenerated.
14813         * sysdeps/s390/s390-32/configure: Regenerated.
14814         * sysdeps/s390/s390-64/configure: Regenerated.
14815         * sysdeps/sh/configure: Regenerated.
14816         * sysdeps/sparc/configure: Regenerated.
14817         * sysdeps/unix/sysv/linux/configure: Regenerated.
14818         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14819         * sysdeps/x86_64/configure: Regenerated.
14820
14821         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14822         defined.  Don't check if MAP is NULL.
14823
14824 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
14825
14826         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14827         (_G_stat64): Likewise.
14828         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14829         (_G_stat64): Likewise.
14830         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14831         instead of struct _G_stat64.
14832         * libio/fileops.c (mmap_remap_check): Likewise.
14833         (decide_maybe_mmap): Likewise.
14834         (_IO_new_file_seekoff): Likewise.
14835         (_IO_file_stat): Likewise.
14836         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14837         _G_off64_t.
14838         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14839         instead of struct _G_stat64.
14840         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14841
14842 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
14843
14844         [BZ #14602]
14845         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14846         Replace with ...
14847         (CHECK_EOL): New macro.
14848         (two_way_short_needle): Check beginning of haystack for EOL.  Use
14849         CHECK_EOL.
14850         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14851         Replace with CHECK_EOL.
14852         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14853         Replace with CHECK_EOL.
14854
14855 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
14856
14857         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14858         type-generic.
14859         * math/libm-test.inc: Update comment listing what functions and
14860         macros are tested.
14861         (finite_test): New function.
14862         (isinf_test): Likewise.
14863         (isnan_test): Likewise.
14864         (fpclassify_test): Test subnormal input.
14865         (isfinite_test): Likewise.
14866         (isnormal_test): Likewise.
14867         (main): Call the new functions.
14868
14869 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
14870
14871         [BZ #14660]
14872         * Makerules (%.dynsym): Force C locale when running
14873         $(OBJDUMP) --dynamic-syms.
14874
14875 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
14876
14877         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14878         <stdint.h>.
14879
14880 2012-10-06  David S. Miller  <davem@davemloft.net>
14881
14882         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14883         upper 32-bits of the length value in %o2 since we use branch-on-register
14884         tests which consider the entire 64-bit register.
14885
14886 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
14887
14888         * string/test-strstr.c (check2): Add a test for page boundary.
14889
14890 2012-10-05  David S. Miller  <davem@davemloft.net>
14891
14892         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14893         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14894         file.
14895         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14896         sysdep_routines.
14897         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14898         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14899         and bzero when HWCAP_SPARC_CRYPTO is present.
14900
14901 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
14902
14903         [BZ #14602]
14904         * string/test-strstr.c (check2): New function.
14905         (test_main): Call check2.
14906
14907         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14908         and bug-strchr1.
14909         * string/bug-strcasestr1.c (do_test): Moved to ...
14910         * string/test-strcasestr.c (check1): Here.  New function.
14911         (do_one_test): Break out result checking code into ...
14912         (check_result): This.  New function.
14913         (do_one_test): Call check_result.
14914         (test_main): Call check1.
14915         * string/bug-strchr1.c (do_test): Moved to ...
14916         * string/test-strchr.c (check1): Here.  New function.
14917         (do_one_test): Break out result checking code into ...
14918         (check_result): This.  New function.
14919         (do_one_test): Call check_result.
14920         (test_main): Call check1.
14921         * string/bug-strstr1.c (main): Moved to ...
14922         * string/test-strstr.c (check1): Here.  New function.
14923         (do_one_test): Break out result checking code into ...
14924         (check_result): This.  New function.
14925         (do_one_test): Call check_result.
14926         (test_main): Call check1.
14927         * string/bug-strcasestr1.c: Removed.
14928         * string/bug-strchr1.c: Likewise.
14929         * string/bug-strstr1.c: Likewise.
14930
14931         * elf/Makefile (dl-routines): Add hwcaps.
14932         * elf/dl-support.c (_dl_important_hwcaps): Removed.
14933         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14934         (_dl_important_hwcaps): Moved to ...
14935         * elf/dl-hwcaps.c: Here.  New file.
14936         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14937
14938         [BZ #14557]
14939         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14940         if IS_IN_rtld isn't defined.
14941
14942         * elf/dl-support.c (_dl_sysinfo_map): New.
14943         Include "get-dynamic-info.h" and "setup-vdso.h".
14944         (_dl_non_dynamic_init): Call setup_vdso.
14945         * elf/dynamic-link.h: Don't include <assert.h>.
14946         (elf_get_dynamic_info): Moved to ...
14947         * elf/get-dynamic-info.h: Here.  New file.
14948         * elf/dynamic-link.h: Include "get-dynamic-info.h".
14949         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14950         * elf/setup-vdso.h: Here.  New file.
14951         * elf/rtld.c: Include "setup-vdso.h".
14952         (dl_main): Call setup_vdso.
14953
14954 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
14955
14956         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14957         creal in comment listing functions tested.  List finite, isinf,
14958         isnan, isless, islessequal, isgreater, isgreaterequal,
14959         islessgreater, isunordered, lgamma_r and pow10 as functions and
14960         macros not tested.  Mention which functions not tested are aliases
14961         for other functions.  Fix typo.  Note that signs of NaNs are not
14962         tested.
14963
14964         * scripts/config.guess: Update from config.git.
14965         * scripts/config.sub: Likewise.
14966
14967 2012-10-04  Roland McGrath  <roland@hack.frob.com>
14968
14969         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14970         * misc/madvise.c (madvise): Renamed to __madvise.
14971         Make madvise a weak alias.
14972         * include/sys/mman.h: Declare __madvise.
14973         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14974         * sysdeps/unix/syscalls.list
14975         (madvise): Make __madvise the strong name, and madvise a weak alias.
14976         * sysdeps/unix/sysv/linux/syscalls.list
14977         (madvise, mmap): Remove redundant entries.
14978         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14979         * malloc/malloc.c (mtrim): Likewise.
14980         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14981
14982 2012-10-03  Roland McGrath  <roland@hack.frob.com>
14983
14984         * sysdeps/mach/hurd/dl-cache.c: File removed.
14985         * config.h.in (USE_LDCONFIG): New #undef.
14986         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14987         * configure: Regenerated.
14988         * elf/Makefile (dl-routines): Add dl-cache only under
14989         [$(use-ldconfig) = yes].
14990         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14991         cache on [USE_LDCONFIG].
14992         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14993         [USE_LDCONFIG].
14994         * elf/rtld.c (dl_main): Likewise.
14995
14996 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
14997
14998         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14999         _SC_LEVEL4_CACHE_LINESIZE.
15000
15001 2012-10-03  Roland McGrath  <roland@hack.frob.com>
15002
15003         * sysdeps/unix/bsd/confstr.h: File removed.
15004
15005 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
15006
15007         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15008         sys/sdt-config.h.
15009
15010 2012-10-02  Roland McGrath  <roland@hack.frob.com>
15011
15012         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15013         Make 'mapoff' field ElfW(Off) rather than off_t.
15014
15015 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
15016
15017         * nscd/Makefile: Remove nscd-cflags and all its users.
15018         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15019         (CFLAGS-nonlib): Add compiler flags for nscd modules.
15020
15021         [BZ #10631]
15022         * malloc.c (malloc_printerr): Clarify error message.
15023
15024 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
15025
15026         [BZ #14648]
15027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15028         Set bit_FMA_Usable if FMA is supported.
15029         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15030         macro.
15031         (bit_FMA4_Usable): Updated.
15032         (index_FMA_Usable): New macro.
15033         (CPUID_FMA): Likewise
15034         (HAS_FMA): Defined with bit_FMA_Usable.
15035
15036 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15037
15038         * bits/types.h (__swblk_t): Type removed.
15039         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15040         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15042         (__SWBLK_T_TYPE): Likewise.
15043         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15044         (__SWBLK_T_TYPE): Likewise.
15045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15046         (__SWBLK_T_TYPE): Likewise.
15047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15048         (__SWBLK_T_TYPE): Likewise.
15049
15050 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
15051             Honza Horak <hhorak@redhat.com>
15052
15053         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15054         (xdr_mapname): Use YPMAXMAP as maxsize.
15055         (xdr_peername): Use YPMAXPEER as maxsize.
15056         (xdr_keydat): Use YPAXRECORD as maxsize.
15057         (xdr_valdat): Use YPMAXRECORD as maxsize.
15058
15059 2012-10-01  Roland McGrath  <roland@hack.frob.com>
15060
15061         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15062
15063         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15064         * csu/init-first.c: ... here.
15065         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15066         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15067         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15068         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15069         * sysdeps/i386/init-first.c: File removed.
15070         * sysdeps/sh/init-first.c: File removed.
15071
15072 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
15073
15074         [BZ #14645]
15075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15076         if x * y might underflow to zero and z is zero.
15077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15079         * math/libm-test.inc (min_subnorm_value): New variable.
15080         (fma_test): Add more tests.
15081         (fma_test_towardzero): Likewise.
15082         (fma_test_downward): Likewise
15083         (fma_test_upward): Likewise.
15084         (initialize): Set min_subnorm_value.
15085
15086 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
15087
15088         [BZ #14638]
15089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15090         0 + 0.
15091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15092         mode for addition resulting in exact zero.
15093         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15095         exact 0 + 0.
15096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15098         * math/libm-test.inc (fma_test): Add more tests.
15099         (fma_test_towardzero): New function.
15100         (fma_test_downward): Likewise.
15101         (fma_test_upward): Likewise.
15102         (main): Call the new functions.
15103
15104 2012-09-28  David S. Miller  <davem@davemloft.net>
15105
15106         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15107
15108 2012-09-28  Roland McGrath  <roland@hack.frob.com>
15109
15110         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15111         instead of SIGALRM.
15112
15113         * sysdeps/gnu/_G_config.h: Moved to ...
15114         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15115         * sysdeps/mach/hurd/_G_config.h: Moved to ...
15116         * sysdeps/generic/_G_config.h: ... here.
15117
15118         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
15119
15120         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15121
15122         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15123         Conditionalize target on [libnss_test1.so-version].
15124
15125         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15126
15127         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15128         (elfobjdir): Move out of conditionals.
15129
15130         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15131         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15132         (__nss_lookup_function): Conditionalize label remove_from_tree on
15133         [!DO_STATIC_NSS || SHARED], matching its only use.
15134
15135 2012-09-28  David S. Miller  <davem@davemloft.net>
15136
15137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15138         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15139         file.
15140         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15141         sysdep_routines.
15142         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15144         when HWCAP_SPARC_CRYPTO is present.
15145
15146 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15147
15148         * io/tst-mknodat.c: Create a FIFO instead of a socket.
15149
15150 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15151
15152         [BZ #6530]
15153         * stdio-common/vfprintf.c (process_string_arg): Revert
15154         2000-07-22 change.
15155
15156 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
15157
15158         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15159         for testcase.
15160         * stdio-common/tst-sprintf.c: Include <locale.h>
15161         (main): Test sprintf's handling of incomplete multibyte
15162         characters.
15163
15164 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
15165
15166         * elf/dl-runtime.c (VERSYMIDX): Removed.
15167         * elf/dl-version.c (VERSYMIDX): Likewise.
15168         * elf/do-rel.h (VERSYMIDX): Likewise.
15169         (VALIDX): Likewise.
15170         * elf/dynamic-link.h (VERSYMIDX): Likewise.
15171         * elf/rtld.c (VALIDX): Likewise.
15172         (ADDRIDX): Likewise.
15173         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15174         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15175         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15176         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15177         (VALIDX): Likewise.
15178         (ADDRIDX): Likewise.
15179
15180 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15181
15182         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15183
15184 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
15185
15186         [BZ #11438]
15187         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15188         to global scope.
15189         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15190         addresses are in the same scope as 192.0.2/24.
15191         * posix/gai.conf: Document new scope table defaults.
15192
15193 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15194
15195         [BZ #5298]
15196         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15197         for ftell.  Compute offsets from write pointers instead.
15198         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15199
15200 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15201
15202         [BZ #14543]
15203         * libio/Makefile (tests): New test case tst-fseek.
15204         * libio/tst-fseek.c: New test case to verify that fseek/ftell
15205         combination works in wide mode.
15206         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15207         state when the external buffer state changes.
15208
15209 2012-09-27  David S. Miller  <davem@davemloft.net>
15210
15211         [BZ #14376]
15212         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15213         pass reloc->r_addend in as the 'high' argument to
15214         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15215
15216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15217
15218 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
15219
15220         * rt/tst-aio2.c: Include <pthread.h>.
15221         * rt/tst-aio3.c: Likewise.
15222
15223 2012-09-27  Steve Ellcey  <sellcey@mips.com>
15224
15225         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15226
15227 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
15228
15229         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15230         contents on [SHARED].
15231
15232 2012-09-26  Marek Polacek  <polacek@redhat.com>
15233
15234         [BZ #14530]
15235         [BZ #13741]
15236         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15237         for C++ and GCC <4.3 as well as for non GCC compilers.
15238
15239 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
15240
15241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15242
15243 2012-09-25  Roland McGrath  <roland@hack.frob.com>
15244
15245         * Makefile.in (all, install): Declare with .PHONY.
15246         Reported by Michael Hope <michael.hope@linaro.org>.
15247
15248 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15249
15250         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15251         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15252         system header.
15253         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15254         Likewise.
15255         (sydep_routines): Add the new and the internal functions.
15256         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15257         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15259         (GLIBC_2.17): Add the new function.
15260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15261         (GLIBC_2.17): Likewise.
15262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15263         (GLIBC_2.17): Likewise.
15264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15265         (GLIBC_2.17): Likewise.
15266         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15267
15268 2012-09-25  Alan Modra  <amodra@gmail.com>
15269
15270         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15271         Add release barrier before setting once_control to say
15272         initialisation is done.  Add hints on lwarx.  Use macro in
15273         place of isync.
15274         (clear_once_control): Add release barrier.
15275
15276 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15277
15278         [BZ #13629]
15279         * math/s_clog.c (__clog): Handle more values close to |z| = 1
15280         specially.
15281         * math/s_clog10.c (__clog10): Likewise.
15282         * math/s_clog10f.c (__clog10f): Likewise.
15283         * math/s_clog10l.c (__clog10l): Likewise.
15284         * math/s_clogf.c (__clogf): Likewise.
15285         * math/s_clogl.c (__clogl): Likewise.
15286         * math/Makefile (libm-calls): Add x2y2m1.
15287         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15288         (__x2y2m1): Likewise.
15289         (__x2y2m1l): Likewise.
15290         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15291         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15292         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15293         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15294         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15295         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15296         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15297         * sysdeps/i386/fpu/libm-test-ulps: Update.
15298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299
15300         [BZ #14621]
15301         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15302         int as type of variable DEPTH.
15303         (glob): Use size_t instead of int as type of variables NEWCOUNT
15304         and OLD_PATHC.
15305
15306 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15307
15308         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15309         Add s_sincosf-sse2.
15310         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15311         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15312         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15313         macros for using routine as __sincosf_ia32.
15314         Use macro for function declaration and weak_alias.
15315         * sysdeps/i386/fpu/libm-test-ulps: Update.
15316
15317         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15319
15320         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15321         subnormal argument.
15322         * math/s_cexpf.c (__cexpf): Likewise.
15323         * math/s_csinf.c (__csinf): Likewise.
15324         * math/s_csinhf.c (__csinhf): Likewise.
15325         * math/s_ctanf.c (__ctanf): Likewise.
15326         * math/s_ctanhf.c (__ctanhf): Likewise.
15327         * math/s_ccosh.c (__ccoshf): Likewise.
15328         * math/s_cexp.c (__cexpl): Likewise.
15329         * math/s_csin.c (__csin): Likewise.
15330         * math/s_csinh.c (__csinh): Likewise.
15331         * math/s_ctan.c (__ctan): Likewise.
15332         * math/s_ctanh.c (ctanh): Likewise.
15333         * math/s_ccoshl.c (__ccoshl): Likewise.
15334         * math/s_cexpl.c (__cexpl): Likewise.
15335         * math/s_csinl.c (__csinl): Likewise.
15336         * math/s_csinhl.c (__csinhl): Likewise.
15337         * math/s_ctanl.c (__ctanl): Likewise.
15338         * math/s_ctanhl.c (__ctanhl): Likewise.
15339
15340 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
15341
15342         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15343         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15344         (_IO_off_t): Define to __off_t, not _G_off_t.
15345         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15346         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15347         (_IO_wint_t): Define to wint_t, not _G_wint_t.
15348         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15349         type of __dummy and __dummy2 fields.
15350         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15351         (_G_ssize_t): Likewise.
15352         (_G_off_t): Likewise.
15353         (_G_pid_t): Likewise.
15354         (_G_uid_t): Likewise.
15355         (_G_wchar_t): Likewise.
15356         (_G_wint_t): Likewise.
15357         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15358         (_G_ssize_t): Likewise.
15359         (_G_off_t): Likewise.
15360         (_G_pid_t): Likewise.
15361         (_G_uid_t): Likewise.
15362         (_G_wchar_t): Likewise.
15363         (_G_wint_t): Likewise.
15364         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15365         (_G_ssize_t): Likewise.
15366         (_G_off_t): Likewise.
15367         (_G_pid_t): Likewise.
15368         (_G_uid_t): Likewise.
15369         (_G_wchar_t): Likewise.
15370         (_G_wint_t): Likewise.
15371
15372 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15373
15374         * malloc/arena.c: Include malloc-sysdep.h.
15375         (shrink_heap): Use check_may_shrink_heap to decide if madvise
15376         is sufficient to shrink the heap or an unmap is needed.
15377         * sysdeps/generic/malloc-sysdep.h: New file.  Define
15378         new function check_may_shrink_heap.
15379         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
15380         new function check_may_shrink_heap.
15381
15382 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15383
15384         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15385         comments.
15386
15387 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
15388
15389         * catgets/test-gencat.sh: Add "set -e".
15390         * elf/tst-pathopt.sh: Likewise.
15391         * grp/tst_fgetgrent.sh: Likewise.
15392         * iconvdata/run-iconv-test.sh: Likewise.
15393         * intl/tst-gettext.sh: Likewise.
15394         * intl/tst-gettext2.sh: Likewise.
15395         * intl/tst-gettext4.sh: Likewise.
15396         * intl/tst-gettext6.sh: Likewise.
15397         * intl/tst-translit.sh: Likewise.
15398         * io/ftwtest-sh: Likewise.
15399         * libio/test-freopen.sh: Likewise.
15400         * malloc/tst-mtrace.sh: Likewise.
15401         * posix/globtest.sh: Likewise.
15402         * posix/tst-getconf.sh: Likewise.
15403         * posix/wordexp-tst.sh: Likewise.
15404         * stdio-common/tst-printf.sh: Likewise.
15405         * stdio-common/tst-unbputc.sh: Likewise.
15406         * stdlib/tst-fmtmsg.sh: Likewise.
15407         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15408         * catgets/Makefile: Do not specify -e option when running
15409         testsuite shell scripts.
15410         * elf/Makefile: Likewise.
15411         * grp/Makefile: Likewise.
15412         * iconvdata/Makefile: Likewise.
15413         * intl/Makefile: Likewise.
15414         * io/Makefile: Likewise.
15415         * libio/Makefile: Likewise.
15416         * malloc/Makefile: Likewise.
15417         * posix/Makefile: Likewise.
15418         * stdio-common/Makefile: Likewise.
15419         * stdlib/Makefile: Likewise.
15420         * sysdeps/x86_64/Makefile: Likewise.
15421
15422         * io/ftwtest-sh: Add copyright header.
15423         * posix/globtest.sh: Likewise.
15424         * posix/tst-getconf.sh: Likewise.
15425         * posix/wordexp-tst.sh: Likewise.
15426         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15427
15428 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
15429
15430         [BZ #13679]
15431         * Makeconfig (+link): Defined as $(+link-static) if
15432         $(build-shared) isn't yes.
15433         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15434         isn't yes.
15435         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15436
15437         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15438
15439         [BZ #14562]
15440         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15441         new chunk size with MALLOC_ALIGN_MASK.
15442
15443 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
15444
15445         [BZ #5044]
15446         * stdio-common/printf_fphex.c: Include <stdbool.h> and
15447         <rounding-mode.h>.
15448         (__printf_fphex): Determine rounding using get_rounding_mode and
15449         round_away.
15450         * stdio-common/tst-printf-round.c (struct hex_test): New
15451         structure.
15452         (hex_tests): New variable.
15453         (test_hex_in_one_mode): New function.
15454         (do_test): Also run tests for hex float output.
15455
15456 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
15457
15458         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15459         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15460         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15461         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15462         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15463         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15464         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15465         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15466
15467 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
15468
15469         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15470         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15471         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15472         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15473
15474 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
15475
15476         [BZ #14579]
15477         * elf/rtld.c (dl_main): Limit the check for self loading to normal
15478         mode only.
15479         * elf/tst-rtld-load-self.sh: New test.
15480         * elf/Makefile: Run it.
15481
15482 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
15483
15484         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15485         (tst-writev-ENV): Remove.
15486         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15487
15488 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
15489
15490         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15491
15492 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
15493
15494         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15495         unconditional.
15496         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15497         Likewise.
15498         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15499         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15500         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15501         Likewise.
15502
15503 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
15504
15505         [BZ #14587]
15506         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15507         * config.make.in (have-cpp-asm-debuginfo): Removed.
15508         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15509         * configure: Regenerated.
15510
15511 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
15512
15513         [BZ #5044]
15514         * stdio-common/printf_fp.c: Include <stdbool.h> and
15515         <rounding-mode.h>.
15516         (___printf_fp): Determine rounding using get_rounding_mode and
15517         round_away.
15518         * stdio-common/tst-printf-round.c: New file.
15519         * stdio-common/Makefile (tests): Add tst-printf-round.
15520         (link-libm): New variable.
15521         ($(objpfx)tst-printf-round): Depend in $(link-libm).
15522
15523 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
15524
15525         [BZ #14576]
15526         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15527         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15528         Likewise.
15529         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15530         Likewise.
15531
15532 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
15533
15534         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15535         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15536         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15537         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15538
15539 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
15540
15541         [BZ #14518]
15542         * include/rounding-mode.h: New file.
15543         * sysdeps/generic/get-rounding-mode.h: Likewise.
15544         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15545         * stdlib/strtod_l.c: Include <rounding-mode.h>.
15546         (MAX_VALUE): New macro.
15547         (MIN_VALUE): Likewise.
15548         (overflow_value): New function.
15549         (underflow_value): Likewise.
15550         (round_and_return): Use overflow_value and underflow_value to
15551         determine return values in overflow and underflow cases.  Use
15552         round_away to determine rounding depending on rounding mode.
15553         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15554         determine return values in overflow and underflow cases.
15555         * stdlib/tst-strtod-round.c: Include <fenv.h>.
15556         (struct test_results): New structure.
15557         (struct test): Use struct test_results to store expected results
15558         for all rounding modes.
15559         (TEST): Include expected results for all rounding modes.
15560         (test_in_one_mode): New function.
15561         (do_test): Use test_in_one_mode to compute and check results.
15562         Check results for all rounding modes.
15563         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15564         $(link-libm).
15565
15566 2012-12-09  Allan McRae  <allan@archlinux.org>
15567
15568         * sysdeps/i386/fpu/libm-test-ulps: Update
15569
15570 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
15571
15572         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15573         (_G_int32_t): Likewise.
15574         (_G_uint16_t): Likewise.
15575         (_G_uint32_t): Likewise.
15576         (_G_HAVE_BOOL): Likewise.
15577         (_G_HAVE_ATEXIT): Likewise.
15578         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15579         (_G_HAVE_IO_FILE_OPEN): Likewise.
15580         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15581         (_G_int32_t): Likewise.
15582         (_G_uint16_t): Likewise.
15583         (_G_uint32_t): Likewise.
15584         (_G_HAVE_BOOL): Likewise.
15585         (_G_HAVE_ATEXIT): Likewise.
15586         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15587         (_G_HAVE_IO_FILE_OPEN): Likewise.
15588         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15589         (_G_int32_t): Likewise.
15590         (_G_uint16_t): Likewise.
15591         (_G_uint32_t): Likewise.
15592         (_G_HAVE_BOOL): Likewise.
15593         (_G_HAVE_ATEXIT): Likewise.
15594         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15595         (_G_HAVE_IO_FILE_OPEN): Likewise.
15596
15597 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
15598
15599         * csu/libc-tls.c: Update copyright years.
15600
15601 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
15602
15603         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15604         [!_G_USING_THUNKS]: Remove conditional code.
15605         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15606         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15607
15608         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15609         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15610         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15611         (_G_VTABLE_LABEL_PREFIX): Likewise.
15612         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15613         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15614         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15615         (_G_VTABLE_LABEL_PREFIX): Likewise.
15616         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15617         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15618         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15619         (_G_VTABLE_LABEL_PREFIX): Likewise.
15620         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15621
15622 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
15623
15624         * libio/Makefile: Include ../Makeconfig before tests.
15625         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15626         only if $(build-shared) is yes.
15627
15628         * iconv/gconv_db.c: Update copyright years.
15629
15630 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15631
15632         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15633         unwind info if defined PIC. Fix special cases description.
15634         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15635
15636         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15637         DP_HI_MASK entry.
15638         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15639
15640 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
15641
15642         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15643
15644         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15645         is NULL.
15646
15647         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15648         (LDLIBS-tst-chk4): This.
15649         (LDFLAGS-tst-chk5): Renamed to ...
15650         (LDLIBS-tst-chk5): This.
15651         (LDFLAGS-tst-chk6): Renamed to ...
15652         (LDLIBS-tst-chk6): This.
15653         (LDFLAGS-tst-lfschk4): Renamed to ...
15654         (LDLIBS-tst-lfschk4): This.
15655         (LDFLAGS-tst-lfschk5): Renamed to ...
15656         (LDLIBS-tst-lfschk5): This.
15657         (LDFLAGS-tst-lfschk6): Renamed to ...
15658         (LDLIBS-tst-lfschk6): This.
15659
15660         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15661         on $(common-objpfx)soversions.mk.
15662
15663 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
15664
15665         [BZ #10014]
15666         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15667         example host name.
15668
15669 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15670
15671         * malloc/arena.c (arena_get_retry): New function that gets
15672         another arena for the caller to try its request on.
15673         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15674         current arena cannot fulfill the request.
15675         (__libc_memalign): Likewise.
15676         (__libc_memalign): Likewise.
15677         (__libc_pvalloc): Likewise.
15678         (__libc_calloc): Likewise.
15679
15680 2012-09-05  John Tobey  <john.tobey@gmail.com>
15681
15682         [BZ #13542]
15683         * manual/arith.texi (Operations on Complex): Fix description
15684         of carg branch cut.
15685
15686 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15687
15688         [BZ #10014]
15689         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15690         host name.
15691
15692         [BZ #10038]
15693         * manual/memory.texi (Memory): Make order of menu items match
15694         order of sections.
15695
15696 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15697
15698         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15699         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
15700         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15701
15702 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15703
15704         * csu/libc-tls.c (static_dtv): Renamed to ...
15705         (_dl_static_dtv): This.  Make it global.
15706         (_dl_initial_dtv): Removed.
15707         (__libc_setup_tls): Updated.
15708         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15709         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15710         DL_INITIAL_DTV.
15711
15712 2012-09-06  Petr Machata  <pmachata@redhat.com>
15713
15714         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15715         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15716         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15717         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15718
15719 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15720
15721         [BZ #14545]
15722         * csu/libc-tls.c (_dl_initial_dtv): New variable.
15723         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15724         freeing dtv[-1].
15725
15726 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15727
15728         [BZ #14544]
15729         * Makeconfig (link-static-before-libc): Replace $(+prector)
15730         with $(+prectorT).
15731         (link-static-after-libc): Replace $(+postctor) with
15732         $(+postctorT).
15733         (link-bounded): Replace $(+prector)/$(+postctor) with
15734         $(+prectorT)/$(+postctorT).
15735         (+prectorT): New macro.
15736         (+postctorT): Likewise.
15737
15738 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
15739
15740         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15741         (round_str): Handle values above the maximum for IBM long double
15742         as inexact.
15743         * stdlib/tst-strtod-round.c (tests): Regenerated.
15744
15745 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15746
15747         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15748         assembler flag.
15749         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15750         zarch_nohighgprs around the zarch optimized routines.
15751         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15752         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15754         for zarch.
15755
15756 2012-09-05  David S. Miller  <davem@davemloft.net>
15757
15758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15759
15760         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15761         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15762         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15763         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15764         entries.
15765
15766 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15767
15768         * malloc/arena.c: Fold copyright years.
15769         * malloc/mcheck.c, malloc/memusage.c: Likewise.
15770
15771 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15772
15773         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15774
15775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15776
15777         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
15778
15779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15780
15781         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15782         change internal state upon failure.
15783
15784 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
15785
15786         * malloc/mcheck.c (mcheck_check_all): Fix typo.
15787         * malloc/memusage.c (mmap): Likewise.
15788         (mmap64, mremap): Likewise.  Adjust name in comment.
15789
15790 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15791
15792         * libio/fileops.c: Fix typos in comments.
15793         * libio/oldfileops.c: Likewise.
15794         * libio/wfileops.c: Likewise.
15795
15796 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15797
15798         [BZ #1349]
15799         * malloc/Makefile (tests): Add tst-malloc-usable test case.
15800         (tst-malloc-usable-ENV): Set environment for test case.
15801         * malloc/hooks.c (malloc_check_get_size): New function to get
15802         requested size.
15803         * malloc/malloc.c (musable): Use malloc_check_get_size.
15804         * malloc/tst-malloc-usable.c: New test case.
15805
15806 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15807
15808         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15809
15810 2012-09-05  Allan McRae  <allan@archlinux.org>
15811
15812         [BZ #13966]
15813         * configure.in (CXX_SYSINCLUDES): Use compiler output to
15814         determine header location.
15815         * configure: Regenerated.
15816
15817 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
15818
15819         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15820         float format.
15821         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15822         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15823         format.
15824         (test): Regenerate.
15825
15826 2012-09-04  David S. Miller  <davem@davemloft.net>
15827
15828         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15829         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15830         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15831
15832 2012-09-04  Florian Weimer  <fweimer@redhat.com>
15833
15834         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15835         failures.
15836
15837         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15838
15839 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
15840
15841         [BZ #9914]
15842         * libio/iogetdelim.c: Include <limits.h>.
15843         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15844         + len + 1 would overflow.
15845
15846 2012-09-03  Andreas Jaeger  <aj@suse.de>
15847
15848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15849         * sysdeps/i386/fpu/libm-test-ulps: Update.
15850
15851 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15852
15853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15854         Add s_sinf-sse2, s_conf-sse2.
15855
15856         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15857         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15858         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15859         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15860
15861         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15862         for using routine as __sinf_ia32.
15863         Use macro for function declaration and weak_alias.
15864         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15865         for using routine as __cosf_ia32.
15866         Use macro for function declaration and weak_alias.
15867
15868         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15869         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15870
15871         * sysdeps/x86_64/fpu/s_sinf.S: New file.
15872         * sysdeps/x86_64/fpu/s_cosf.S: New file.
15873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15874
15875         * math/libm-test.inc (cos_test): Add more test cases.
15876         (sin_test): Likewise.
15877         (sincos_test): Likewise.
15878
15879 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15880
15881         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15882         (IFUNC_RESOLVE): Make pointers to the specialized implementations
15883         hidden.
15884         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15885
15886 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
15887
15888         [BZ #14538]
15889         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15890         first element of the GOT.
15891         (elf_machine_load_address): Return the difference between
15892         the runtime address of _DYNAMIC and elf_machine_dynamic ().
15893
15894 2012-09-01  Allan McRae  <allan@archlinux.org>
15895
15896         [BZ #13412]
15897         * configure.in (AWK): Require gawk version 3.0 or later.
15898         * configure: Regenerated.
15899
15900 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
15901
15902         * sysdeps/unix/sysv/linux/kernel-features.h
15903         (__ASSUME_POSIX_CPU_TIMERS): Remove.
15904         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15905         [__NR_clock_getres]: Make code unconditional.
15906         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15907         (clock_getcpuclockid): Remove code left unreachable by removal of
15908         conditionals.
15909         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15910         code unconditional.
15911         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15912         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15913         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15914         Make code unconditional.
15915         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15916         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15917         * sysdeps/unix/sysv/linux/clock_settime.c
15918         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15919         conditional code.
15920         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15921         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15922
15923 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
15924
15925         [BZ #14476]
15926         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15927         scripts/test-installation.pl.
15928
15929         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15930         and $ld_so_version if it is set.
15931
15932 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15933
15934         [BZ #14516]
15935         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15936         failure if reading from procfs failed.
15937         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15938
15939 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15940
15941         * sysdeps/unix/sysv/linux/kernel-features.h
15942         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15943         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15944         Remove conditional code.
15945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15946         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15947         Remove conditional code.
15948         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15949         * sysdeps/unix/sysv/linux/i386/fxstat.c
15950         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15951         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15952         * sysdeps/unix/sysv/linux/i386/fxstatat.c
15953         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15954         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15955         * sysdeps/unix/sysv/linux/i386/lxstat.c
15956         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15957         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15958         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15959         Remove conditional code.
15960         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15961         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15962         Remove conditional code.
15963         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15964         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15965         <kernel-features.h>.
15966         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15967         Remove.
15968         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15969         Remove conditional code.
15970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15971         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15972         Remove conditional.
15973
15974 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
15975
15976         [BZ #5400]
15977         * NEWS: Add fixed bug number.
15978
15979 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
15980
15981         [BZ #14519]
15982         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15983         underflowing exponent in case of negative sign.
15984         * stdlib/tst-strtod-round-data: Add more tests.
15985         * stdlib/tst-strtod-round.c (tests): Regenerated.
15986
15987         [BZ #3479]
15988         * stdlib/strtod_l.c (NDIG): Remove.
15989         (HEXNDIG): Likewise.
15990         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15991         smallest representable value.
15992         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15993         lie within an exact representation of 1/2 ulp of the result.
15994         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15995         unconditionally.
15996         (TENS_P9_IDX): Define unconditionally.
15997         (TENS_P9_SIZE): Likewise.
15998         (TENS_P10_IDX): Likewise.
15999         (TENS_P10_SIZE): Likewise.
16000         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16001         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16002         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16003         entries for 10^2^13 and 10^2^14.
16004         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16005         (TENS_P13_IDX): Define.
16006         (TENS_P13_SIZE): Likewise.
16007         (TENS_P14_IDX): Likewise.
16008         (TENS_P14_SIZE): Likewise.
16009         (_fpioconst_pow10): Change array size to
16010         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
16011         unconditional.
16012         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16013         1024]: Add entries for 10^2^13 and 10^2^14.
16014         [LAST_POW10 > _LAST_POW10]: Remove #error.
16015         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16016         (_fpioconst_pow10): Change array size to
16017         FPIOCONST_POW10_ARRAY_SIZE.
16018         * stdlib/gen-fpioconst.c: New file.
16019         * stdlib/gen-tst-strtod-round.c: Likewise.
16020         * stdlib/tst-strtod-round-data: Likewise.
16021         * stdlib/tst-strtod-round.c: Likewise.
16022         * stdlib/Makefile (tests): Add tst-strtod-round.
16023
16024         [BZ #14459]
16025         * stdlib/strtod_l.c: Include <stdint.h>.
16026         (NDEBUG): Do not define.
16027         (round_and_return): Change EXPONENT parameter to type intmax_t.
16028         Rearrange calculations to avoid internal overflow possibilities.
16029         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16030         Rearrange calculations to avoid internal overflow possibilities.
16031         Assert that number fits inside MPNSIZE limbs.
16032         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16033         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
16034         calculations and add assertions to avoid internal overflow
16035         possibilities.  Add casts to avoid signed/unsigned operations.
16036         * stdlib/tst-strtod-overflow.c: New file.
16037         * stdlib/Makefile (tests): Add tst-strtod-overflow.
16038
16039 2012-08-25  Marek Polacek  <polacek@redhat.com>
16040
16041         * time/time.h: Fix some typos in comments.
16042
16043 2012-08-23  Roland McGrath  <roland@hack.frob.com>
16044
16045         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16046         * posix/tst-rfc3484-2.c: Likewise.
16047         * posix/tst-rfc3484-3.c: Likewise.
16048
16049 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
16050
16051         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16052         (EF_ARM_ABI_FLOAT_HARD): Likewise.
16053
16054 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
16055
16056         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16057         #include of fxstatat64.c.
16058
16059 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16060
16061         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16062         * shadow/getspent_r.c: Likewise.
16063         * shadow/getspnam.c: Likewise.
16064         * shadow/getspnam_r.c: Likewise.
16065         * gshadow/getsgent.c: Likewise.
16066         * gshadow/getsgent_r.c: Likewise.
16067         * gshadow/getsgnam.c: Likewise.
16068         * gshadow/getsgnam_r.c: Likewise.
16069         * inet/getnetbyad.c: Likewise.
16070         * inet/getnetbyad_r.c: Likewise.
16071         * inet/getnetbynm.c: Likewise.
16072         * inet/getnetbynm_r.c: Likewise.
16073         * inet/getnetent.c: Likewise.
16074         * inet/getnetent_r.c: Likewise.
16075         * inet/getproto.c: Likewise.
16076         * inet/getproto_r.c: Likewise.
16077         * inet/getprtent.c: Likewise.
16078         * inet/getprtent_r.c: Likewise.
16079         * inet/getprtname.c: Likewise.
16080         * inet/getprtname_r.c: Likewise.
16081         * inet/getrpcbyname.c: Likewise.
16082         * inet/getrpcbyname_r.c: Likewise.
16083         * inet/getrpcbynumber.c: Likewise.
16084         * inet/getrpcbynumber_r.c: Likewise.
16085         * inet/getrpcent.c: Likewise.
16086         * inet/getrpcent_r.c: Likewise.
16087         * inet/getaliasent.c: Likewise.
16088         * inet/getaliasent_r.c: Likewise.
16089         * inet/getaliasname.c: Likewise.
16090         * inet/getaliasname_r.c: Likewise.
16091         * nscd/getgrgid_r.c: Likewise.
16092         * nscd/getgrnam_r.c: Likewise.
16093         * nscd/gethstbyad_r.c: Likewise.
16094         * nscd/gethstbynm3_r.c: Likewise.
16095         * nscd/getpwnam_r.c: Likewise.
16096         * nscd/getpwuid_r.c: Likewise.
16097         * nscd/getsrvbynm_r.c: Likewise.
16098         * nscd/getsrvbypt_r.c: Likewise.
16099         * nscd/gai.c: Likewise.
16100
16101         * configure.in (build_nscd): New substituted variable, set
16102         by --disable-build-nscd and defaults to $use_nscd.
16103         * configure: Regenerated.
16104         * config.make.in (build-nscd): New substituted variable.
16105         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16106         Change conditional to require [$(build-nscd) = yes] as well.
16107         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16108
16109         [BZ# 13696]
16110         * configure.in (use_nscd): New substituted variable, set by
16111         --disable-nscd.  If enabled, define USE_NSCD.
16112         * configure: Regenerated.
16113         * config.h.in: Add USE_NSCD.
16114         * config.make.in (use-nscd): New substituted variable.
16115         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16116         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16117         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16118         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16119         (CFLAGS-getgrnam_r.c): Likewise.
16120         (CFLAGS-initgroups.c): Likewise.
16121         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16122         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16123         Variables removed.
16124         * inet/getnetgrent_r.c
16125         (nscd_setnetgrent): New function, broken out of ...
16126         (setnetgrent): ... here.  Call it.
16127         (innetgr): Conditionalize nscd bits on [USE_NSCD].
16128         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16129         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16130         * nscd/Makefile (routines, aux): Move definitions after include of
16131         Makeconfig.  Conditionalize on [$(use-nscd) != no].
16132         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16133         Conditionalize on [USE_NSCD].
16134         (is_nscd, nscd_init_cb): Likewise.
16135         (nss_load_library): Conditionalize init callback on [USE_NSCD].
16136         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16137         * nss/nss_db/db-init.c: Likewise.
16138         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16139         [USE_NSCD].
16140         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16141         (make_request): Use it.
16142         (cache_valid_p): New function.
16143         (__check_pf): Use it.
16144         * NEWS: Add item for --disable-nscd.
16145
16146 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
16147
16148         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16149         to support sed >= 4.2.1-20-ga9bf076.
16150         * configure: Regenerated.
16151
16152 2012-08-22  Roland McGrath  <roland@hack.frob.com>
16153
16154         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16155         Conditionalize whole body on [IREL].
16156
16157 2012-08-22  Jeff Law <law@redhat.com>
16158
16159         [BZ #14505]
16160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16161         if the family is PF_UNSPEC.
16162
16163 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
16164
16165         * Makerules (lib-version): Rename from V.
16166         (install-lib-nosubdir): Change V to lib-version.
16167
16168 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
16169
16170         [BZ #14252]
16171         * powerpc32/power6/wcschr.c: New file.
16172         * powerpc32/power6/wcscpy.c: New file.
16173         * powerpc32/power6/wcsrchr.c: New file.
16174         * powerpc64/power6/wcschr.c: New file.
16175         * powerpc64/power6/wcscpy.c: New file.
16176         * powerpc64/power6/wcsrchr.c: New file.
16177
16178 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16179
16180         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16181         (two_way_short_needle): Use it.
16182         * string/strstr.c (AVAILABLE1_USES_J): Define.
16183         * string/strcasestr.c: Likewise.
16184
16185         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16186         array references.
16187         * string/strcasestr.c (TOLOWER): Make side-effect safe.
16188
16189         [BZ #11607]
16190         * NEWS: Add an entry.
16191         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16192         define their defaults.
16193         (two_way_short_needle): Detect end-of-string on-the-fly.
16194         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16195         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16196         * string/bug-strcasestr1.c: New test.
16197         * string/Makefile: Run it.
16198
16199 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
16200
16201         [BZ #11607]
16202         * string/str-two-way.h (two_way_short_needle): Optimize matching of
16203         the first character.
16204
16205 2012-08-21  Roland McGrath  <roland@hack.frob.com>
16206
16207         * csu/elf-init.c (__libc_csu_irel): Function removed.
16208         * csu/libc-start.c (apply_irel): New function.
16209         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16210
16211 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
16212
16213         * sysdeps/unix/sysv/linux/kernel-features.h
16214         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16215         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16216         <kernel-features.h>.
16217         [__NR_fadvise64_64]: Make code unconditional.
16218         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16219         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16220         !__NR_fadvise64_64)]: Likewise.
16221         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16222         !__NR_fadvise64_64))]: Likewise.
16223         [__NR_fadvise64]: Make code unconditional.
16224         [!__NR_fadvise64]: Remove conditional code.
16225         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16226         <kernel-features.h>.
16227         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16228         unconditional.
16229         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16230         conditional code.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16232         not include <kernel-features.h>.
16233         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16234         unconditional.
16235         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16236         conditional code.
16237         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16238         include <kernel-features.h>.
16239         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16240         unconditional.
16241         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16242         conditional code.
16243
16244 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
16245
16246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16247         slight instruction rearrangements per scrollpipe analysis.
16248         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16249
16250 2012-08-20  Roland McGrath  <roland@hack.frob.com>
16251
16252         * manual/syslog.texi (syslog; vsyslog, closelog):
16253         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16254         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16255
16256         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16257         DSOCAPS to match condition on defining it.
16258
16259 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
16260
16261         * sysdeps/unix/sysv/linux/kernel-features.h
16262         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16264         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16265         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16267         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16268         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16270         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16271         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16272
16273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16274         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16275
16276         * sysdeps/unix/sysv/linux/kernel-features.h
16277         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16278         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16279         unconditional.
16280         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16281         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16282         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16283         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16284         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16285         Make code unconditional.
16286         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16287         (__mmap64) [!__NR_mmap2]: Likewise.
16288         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16289         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16290         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16291         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16292         [__NR_mmap2]: Make code unconditional.
16293         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16294         (__mmap64) [!__NR_mmap2]: Likewise.
16295
16296 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16297
16298         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16299
16300 2012-08-18  Andreas Jaeger  <aj@suse.de>
16301
16302         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16303
16304 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16305
16306         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16307         * include/unistd.h (__have_sock_cloexec): Likewise.
16308         (__have_pipe2): Likewise.
16309         (__have_dup3): Likewise.
16310
16311 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
16312
16313         [BZ #9685]
16314         * include/unistd.h (__have_pipe2): Change define into an extern int.
16315         (__have_dup3): Likewise.
16316         * socket/have_sock_cloexec.c: Include fcntl.h.
16317         (__have_pipe2): New variable.
16318         (__have_dup3): Likewise.
16319
16320 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
16321
16322         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16323
16324 2012-08-17  Marek Polacek  <polacek@redhat.com>
16325
16326         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16327         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16328
16329 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16330
16331         * configure.in: Add AC_SUBST for sysheaders.
16332         * configure: Regenerated.
16333         * config.make.in (sysheaders): New substituted variable.
16334
16335         * sysdeps/unix/mkfifo.c: Moved ...
16336         * sysdeps/posix/mkfifo.c: ... here.
16337         * sysdeps/unix/mkfifoat.c: Moved ...
16338         * sysdeps/posix/mkfifoat.c: ... here.
16339
16340         * sysdeps/unix/utime.c: Moved ...
16341         * sysdeps/posix/utime.c: ... here.
16342
16343         * sysdeps/unix/time.c: Moved ...
16344         * sysdeps/posix/time.c: ... here.
16345         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16346         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16347
16348         * sysdeps/unix/nice.c: Moved ...
16349         * sysdeps/posix/nice.c: ... here.
16350
16351         * sysdeps/unix/alarm.c: Moved ...
16352         * sysdeps/posix/alarm.c: ... here.
16353
16354         * intl/Makefile ($(codeset_mo)): Depend on the input file.
16355
16356 2012-08-17  Jeff Law <law@redhat.com>
16357
16358         * intl/Makefile (codeset_mo): New variable.
16359         ($(codeset_mo)): New target.
16360         (tst-codeset.out): Depend on that.  Remove explicit rule.
16361         (tst-gettext3.out, tst-gettext5.out): Likewise.
16362         (LOCPATH-ENV, tst-codeset-ENV): New variables.
16363         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16364         * intl/tst-codeset.sh: Remove.
16365         * intl/tst-gettext3.sh: Likewise.
16366         * intl/tst-gettext5.sh: Likewise.
16367
16368 2012-08-17  Roland McGrath  <roland@hack.frob.com>
16369
16370         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
16371         * sysdeps/unix/syscalls.list: ... here.
16372
16373         * sysdeps/posix/getaddrinfo.c
16374         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16375         (gaiconf_init, gaiconf_reload): Use them.
16376         [!_STATBUF_ST_NSEC]
16377         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16378         Define using time_t rather than struct timespec.
16379
16380         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16381         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16382         Macros removed.
16383         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16384         [!NO_THREADS].
16385         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16386         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16387         Likewise.
16388
16389         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16390         __libc_cleanup_push argument.
16391
16392         * bits/param.h: New file.
16393         * misc/sys/param.h: New file.
16394         * include/sys/param.h: New file.
16395         * misc/Makefile (headers): Add bits/param.h.
16396         * sysdeps/generic/sys/param.h: File removed.
16397         * sysdeps/unix/sysv/linux/bits/param.h: New file.
16398         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16399         * sysdeps/mach/hurd/bits/param.h: New file.
16400         * sysdeps/mach/hurd/sys/param.h: File removed.
16401
16402         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16403         last change.
16404
16405         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16406         [_IO_MTSAFE_IO].
16407         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16408         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16409         New macros.
16410
16411         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16412         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16413         rather than -D_IO_MTSAFE_IO conditionally.
16414         * stdio-common/Makefile (CPPFLAGS): Likewise.
16415         * wcsmbs/Makefile (CPPFLAGS): Likewise.
16416         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16417         Use $(libio-mtsafe).
16418         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16419         of -D_IO_MTSAFE_IO.
16420         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16421         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16422         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16423         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16424         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16425         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16426         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16427         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16428         (CFLAGS-fread_u_chk.c): Likewise.
16429         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16430         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16431         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16432         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16433         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16434         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16435         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16436         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16437         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16438
16439         * libio/Makefile: Test [$(libc-reentrant) = yes]
16440         instead of [$(filter %REENTRANT, $(defines)) nonempty].
16441
16442         * Makeconfig
16443         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16444         * sysdeps/pthread/configure: File removed.
16445         * sysdeps/pthread/Makeconfig: New file.
16446         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16447         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16448
16449 2012-08-16  Gary Benson  <gbenson@redhat.com>
16450
16451         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16452         unmapping the first object in a namespace.
16453
16454 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16455
16456         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16457         (__internal_setnetgrent): ... this.  Add internal_function to
16458         definition.  Add libc_hidden_def.
16459         (setnetgrent): Update caller.
16460         (internal_endnetgrent): Renamed to ...
16461         (__internal_endnetgrent): ... this.  Add internal_function to
16462         definition.  Add libc_hidden_def.
16463         (endnetgrent): Update caller.
16464         (internal_getnetgrent_r): Renamed to ...
16465         (__internal_getnetgrent_r): ... this.  Add internal_function to
16466         definition.  Add libc_hidden_def.
16467         (__getnetgrent_r): Update caller.
16468         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
16469
16470 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16471
16472         * stdlib/longlong.h: Update from GCC.
16473
16474 2012-08-16  Roland McGrath  <roland@hack.frob.com>
16475
16476         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16477         on _QL, which is set by umul_ppmm but never used.
16478         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16479         variables, which are set by GMP macros but never used.
16480         * stdio-common/_itowa.c (_itowa): Likewise.
16481         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16482         * stdlib/mod_1.c (mpn_mod_1): Likewise.
16483
16484 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
16485
16486         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16487         struct La_sh_regs is not constant.
16488         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16489         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16490         and struct La_sparc64_regs are not constant.
16491
16492 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
16493
16494         * sysdeps/unix/sysv/linux/kernel-features.h
16495         (__ASSUME_POSIX_TIMERS): Remove.
16496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16497         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16498         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16499         Make code unconditional.
16500         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16501         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16502         Make code unconditional.
16503         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16504         * sysdeps/unix/sysv/linux/clock_nanosleep.c
16505         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16506         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16507         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16508         Make code unconditional.
16509         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16510         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16511         (__libc_missing_posix_timers): Remove.
16512
16513 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16514
16515         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16516         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16517
16518         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16519
16520         * elf/dl-sym.c: Include <stdlib.h>.
16521
16522         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16523         constants, which avoids warnings in 32-bit builds.
16524
16525         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16526         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16527
16528         * misc/lseek.c: File moved to ...
16529         * io/lseek.c: ... here.
16530
16531         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16532
16533         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16534         shifting LEN more than 31 bits at once.
16535
16536 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16537
16538         [BZ #14195]
16539         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16540         segmentation fault for a case of two empty input strings.
16541         * string/test-strncasecmp.c (check1): Renamed to...
16542         (bz12205): ...this.
16543         (bz14195): Add new testcase for two empty input strings and N > 0.
16544         (test_main): Call new testcase, adapt for renamed function.
16545
16546 2012-08-15  Andreas Jaeger  <aj@suse.de>
16547
16548         [BZ #14090]
16549         * crypt/md5test2.c: New test, based on test supplied by Serge
16550         Belyshev <belyshev@depni.sinp.msu.ru>.
16551         * crypt/Makefile (xtests): Add md5test-giant..
16552         * crypt/Makefile ($(objpfx)md5test-giant): Add.
16553
16554 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
16555
16556         [BZ #14090]
16557         * crypt/md5.c (md5_process_block): Don't assume the buffer
16558         length is less than 2**32.
16559         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16560         length is less than 2**64.
16561
16562 2012-08-15  Roland McGrath  <roland@hack.frob.com>
16563
16564         * string/str-two-way.h: Include <sys/param.h>.
16565         (MAX): Macro removed.
16566
16567         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16568         Move #define and #undef of memmove to just before and after
16569         including <string.h>.
16570
16571         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16572         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16573         and after including <string.h>.  Move declarations of
16574         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16575         to before #include "string/memmove.c".
16576
16577         * include/dirent.h: Declare __getdirentries.
16578
16579         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16580         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16581
16582 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
16583
16584         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16585         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16586         * sysdeps/i386/configure: Regenerated.
16587         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16588         STABS_CURRENT_FILE, and STABS_FUN.
16589         (END): Remove call to STABS_FUN_END.
16590         (STABS_CURRENT_FILE1): Delete.
16591         (STABS_CURRENT_FILE): Likewise.
16592         (STABS_FUN): Likewise.
16593         (STABS_FUN_END): Likewise.
16594         (STABS_FUN2): Likewise.
16595         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16596         * sysdeps/x86_64/configure: Regenerated.
16597
16598 2012-08-14  Roland McGrath  <roland@hack.frob.com>
16599
16600         * elf/dl-open.c: Include <atomic.h>.
16601         * elf/dl-lookup.c: Likewise.
16602
16603 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
16604
16605         * sysdeps/unix/sysv/linux/kernel-features.h
16606         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16607         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16608         unconditionally.
16609         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16610         unconditionally.
16611         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16612         condition on __ASSUME_CLONE_THREAD_FLAGS.
16613
16614 2012-08-14  Andreas Jaeger  <aj@suse.de>
16615
16616         * sysdeps/i386/fpu/libm-test-ulps: Update.
16617
16618 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
16619
16620         * include/atomic.h (atomic_exchange_and_add): Split into ...
16621         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16622         New atomic macros.
16623
16624 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
16625
16626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16627
16628 2012-08-13  Jeff Law <law@redhat.com>
16629
16630         * manual/stdio.texi (snprintf): Clarify handling of the trailing
16631         null byte in the output string.
16632
16633 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
16634
16635         * sysdeps/unix/sysv/linux/kernel-features.h
16636         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16637         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16638         (__ASSUME_ARG_MAX_STACK_BASED): Define.
16639         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16640         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16641         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
16642         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16643
16644 2012-08-09  Jeff Law <law@redhat.com>
16645
16646         [BZ #13939]
16647         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16648         When avoid_arena is set, don't retry in the that arena.  Pick the
16649         next one, whatever it might be.
16650         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16651         (arena_lock): Pass in new parameter to arena_get2.
16652         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16653         arena_get2.
16654         (__libc_malloc): Unify retrying after main arena failure with
16655         __libc_memalign version.
16656         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16657
16658 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16659
16660         [BZ #14166]
16661         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16662         to __redirect_strstr.
16663         (__strstr_sse42): Use typeof __redirect_strstr.
16664         (__strstr_ia32): Likewise.
16665         (__libc_strstr): New prototype.
16666         (strstr): Renamed to ...
16667         (__libc_strstr): This.
16668         (strstr): New strong alias of __libc_strstr.
16669         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16670         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16671         __redirect_time.
16672         Include <time.h>.
16673         (__libc_time): New prototype.
16674         (time_ifunc): Replace time with __libc_time.
16675         (time): New strong alias and hidden definition of __libc_time.
16676         (__GI_time): Remove strong alias.
16677         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16678         Include <stddef.h>.
16679         (memmove): Redefined to __redirect_memmove.
16680         (__memmove_sse2): Use typeof __redirect_memmove.
16681         (__memmove_ssse3): Likewise.
16682         (__memmove_ssse3_back): Likewise.
16683         (__libc_memmove): New prototype.
16684         (memmove): Renamed to ...
16685         (__libc_memmove): This.
16686         (memmove): New strong alias of __libc_memmove.
16687
16688 2012-08-08  Mark Salter  <msalter@redhat.com>
16689
16690         * elf/elf.h
16691         (R_MN10300_TLS_GD): Define.
16692         (R_MN10300_TLS_LD): Likewise.
16693         (R_MN10300_TLS_LDO): Likewise.
16694         (R_MN10300_TLS_GOTIE): Likewise.
16695         (R_MN10300_TLS_IE): Likewise.
16696         (R_MN10300_TLS_LE): Likewise.
16697         (R_MN10300_TLS_DTPMOD): Likewise.
16698         (R_MN10300_TLS_DTPOFF): Likewise.
16699         (R_MN10300_TLS_TPOFF): Likewise.
16700         (R_MN10300_SYM_DIFF): Likewise.
16701         (R_MN10300_ALIGN): Likewise.
16702         (R_MN10300_NUM): Update.
16703
16704 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
16705
16706         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16707         Remove.
16708
16709 2012-08-08  Roland McGrath  <roland@hack.frob.com>
16710
16711         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16712
16713         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16714         sysdeps/unix -> sysdeps/posix move.
16715         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16716
16717 2012-08-07      Allan McRae     <allan@archlinux.org>
16718
16719         [BZ #14303]
16720         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16721         (SUNOS_CPP): Likewise.
16722         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16723         not found.
16724         (open_input): Call CPP using execvp.
16725
16726 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16727
16728         * sysdeps/unix/sysv/linux/kernel-features.h
16729         (__ASSUME_PROT_GROWSUPDOWN): Remove.
16730         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16731         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16732         (__ASSUME_WAITID_SYSCALL): Likewise.
16733         * sysdeps/unix/sysv/linux/dl-execstack.c
16734         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16735         code unconditional.
16736         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16737         conditional code.
16738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16739         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16740         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16741         code.
16742         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16743         unconditional.
16744         [__ASSUME_WAITID_SYSCALL]: Likewise.
16745         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16746
16747 2012-08-07  Roland McGrath  <roland@hack.frob.com>
16748
16749         * sysdeps/unix/closedir.c: Renamed to ...
16750         * sysdeps/posix/closedir.c: ... here.
16751         * sysdeps/unix/dirfd.c: Renamed to ...
16752         * sysdeps/posix/dirfd.c: ... here.
16753         * sysdeps/unix/dirstream.h: Renamed to ...
16754         * sysdeps/posix/dirstream.h: ... here.
16755         * sysdeps/unix/fdopendir.c: Renamed to ...
16756         * sysdeps/posix/fdopendir.c: ... here.
16757         * sysdeps/unix/opendir.c: Renamed to ...
16758         * sysdeps/posix/opendir.c: ... here.
16759         * sysdeps/unix/readdir.c: Renamed to ...
16760         * sysdeps/posix/readdir.c: ... here.
16761         * sysdeps/unix/readdir_r.c: Renamed to ...
16762         * sysdeps/posix/readdir_r.c: ... here.
16763         * sysdeps/unix/rewinddir.c: Renamed to ...
16764         * sysdeps/posix/rewinddir.c: ... here.
16765         * sysdeps/unix/seekdir.c: Renamed to ...
16766         * sysdeps/posix/seekdir.c: ... here.
16767         * sysdeps/unix/telldir.c: Renamed to ...
16768         * sysdeps/posix/telldir.c: ... here.
16769         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16770         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16771         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16772         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16773
16774         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16775         * bits/fcntl.h: ... here.
16776
16777         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16778         not 0.
16779         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16780         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16781         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16782         (struct flock): Move l_start, l_len to the beginning.
16783         Use __pid_t for l_pid.
16784         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16785         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16786         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16787         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16788         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16789         [__USE_LARGEFILE64] (struct flock64): New type.
16790         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16791
16792         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16793         * bits/dirent.h: ... here.
16794
16795         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16796         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16797
16798 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
16799
16800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16801         Change from 2.6.0 to 2.6.16.
16802         * sysdeps/unix/sysv/linux/configure: Regenerated.
16803         * sysdeps/unix/sysv/linux/kernel-features.h
16804         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16805         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16806         version.
16807         (__ASSUME_UTIMES): Likewise.
16808         (__ASSUME_CLONE_STOPPED): Remove.
16809         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16810         architectures, not kernel version.
16811         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16812         (__ASSUME_NO_CLONE_DETACHED): Likewise.
16813         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16814         (__ASSUME_WAITID_SYSCALL): Likewise.
16815         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16816         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16817         * README: State 2.6.16 as minimum Linux kernel version.  Do not
16818         refer to older versions.
16819
16820 2012-08-06  Roland McGrath  <roland@hack.frob.com>
16821
16822         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16823         Define alphasort64 as an alias.
16824         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16825         Define versionsort64 as an alias.
16826         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16827         Define scandir64 as an alias.
16828         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16829         Define scandirat64 as an alias.
16830         * dirent/alphasort64.c (alphasort64):
16831         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16832         * dirent/versionsort64.c: Likewise.
16833         * dirent/scandir64.c: Likewise.
16834         * dirent/scandirat64.c: Likewise.
16835         * sysdeps/wordsize-64/alphasort.c: File removed.
16836         * sysdeps/wordsize-64/alphasort64.c: File removed.
16837         * sysdeps/wordsize-64/scandir.c: File removed.
16838         * sysdeps/wordsize-64/scandir64.c: File removed.
16839         * sysdeps/wordsize-64/scandirat.c: File removed.
16840         * sysdeps/wordsize-64/scandirat64.c: File removed.
16841         * sysdeps/wordsize-64/versionsort.c: File removed.
16842         * sysdeps/wordsize-64/versionsort64.c: File removed.
16843         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16844         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16845         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16846         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16847         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16848         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16849         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16851
16852         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16853         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16854         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16855         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16856         [defined __arch64__ || defined __sparcv9]
16857         (__INO_T_MATCHES_INO64_T): New macro.
16858         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16859         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16860         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16861         * sysdeps/unix/sysv/linux/bits/dirent.h
16862         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16863         (_DIRENT_MATCHES_DIRENT64): New macro.
16864
16865         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16866         Define lockf64 as an alias.
16867         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16868         Define fseeko64 as an alias.
16869         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16870         Define ftello64 as an alias.
16871         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16872         Define _IO_fgetpos64 and fgetpos64 as aliases.
16873         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16874         Define _IO_fsetpos64 and fsetpos64 as aliases.
16875         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16876         Conditionalize body on this.
16877         * libio/fseeko64.c: Likewise.
16878         * libio/ftello64.c: Likewise.
16879         * libio/iofgetpos64.c: Likewise.
16880         * libio/iofsetpos64.c: Likewise.
16881         * sysdeps/wordsize-64/lockf.c: File removed.
16882         * sysdeps/wordsize-64/lockf64.c: File removed.
16883         * sysdeps/wordsize-64/fseeko.c: File removed.
16884         * sysdeps/wordsize-64/fseeko64.c: File removed.
16885         * sysdeps/wordsize-64/ftello.c: File removed.
16886         * sysdeps/wordsize-64/ftello64.c: File removed.
16887         * sysdeps/wordsize-64/iofgetpos.c: File removed.
16888         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16889         * sysdeps/wordsize-64/iofsetpos.c: File removed.
16890         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16891         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16892         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16893         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16894         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16895         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16896         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16897         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16898         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16899         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16901
16902         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16904         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16905         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16906         [defined __arch64__ || defined __sparcv9]
16907         (__OFF_T_MATCHES_OFF64_T): New macro.
16908         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16909         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16911         (__OFF_T_MATCHES_OFF64_T): New macro.
16912
16913 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16914
16915         * stdlib/secure-getenv.c (__secure_getenv): Replace
16916         GLIBC_2_16 with GLIBC_2_17.
16917
16918 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
16919
16920         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16921         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16922
16923 2012-08-03  David S. Miller  <davem@davemloft.net>
16924
16925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16926
16927 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16928
16929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16930         Remove.
16931         (__ASSUME_CORRECT_SI_PID): Likewise.
16932         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16933         (__ASSUME_TMPFS_NAME): Likewise.
16934         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16935         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16936         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16937         (HAVE_AUX_SECURE): Make definition unconditional.
16938         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16939         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16940
16941 2012-08-03  Roland McGrath  <roland@hack.frob.com>
16942
16943         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16944         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16945         * sysdeps/mach/hurd/eloop-threshold.h: New file.
16946         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16947         __eloop_threshold instead of SYMLOOP_MAX.
16948
16949         * sysdeps/generic/eloop-threshold.h: New file.
16950         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16951         of MAXSYMLINKS.
16952         * elf/chroot_canon.c (chroot_canon): Likewise.
16953
16954 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
16955
16956         [BZ #13717]
16957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16958         Change to 2.6.0 everywhere.
16959         * sysdeps/unix/sysv/linux/configure: Regenerated.
16960         * sysdeps/unix/sysv/linux/kernel-features.h
16961         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16962         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16963         kernel versions.
16964         (__ASSUME_POSIX_TIMERS): Define unconditionally.
16965         (__ASSUME_FUTEX_REQUEUE): Remove.
16966         (__ASSUME_STATFS64): Define unconditionally.
16967         (__ASSUME_AT_SECURE): Likewise.
16968         (__ASSUME_CORRECT_SI_PID): Likewise.
16969         (__ASSUME_TGKILL): Define without depending on kernel version for
16970         i386.
16971         (__ASSUME_UTIMES): Likewise.
16972         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16973         kernel version.
16974         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16975         (__ASSUME_TMPFS_NAME): Likewise.
16976         * README: Update reference to Linux kernel versions.
16977
16978 2012-08-02  Marek Polacek  <polacek@redhat.com>
16979
16980         [BZ# 14150]
16981         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
16982         libc_cv_asm_type_prefix with %.
16983         * configure: Regenerated.
16984         * include/libc-symbols.h: Remove comment about
16985         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16986         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16987         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16988         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16989         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16990         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16991         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16992         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16993         * elf/tst-unique2mod1.c: Likewise.
16994         * elf/tst-unique1mod2.c: Likewise.
16995         * elf/tst-unique1mod1.c: Likewise.
16996         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16997         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16998         Replace ASM_TYPE_DIRECTIVE with .type.
16999         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17000         * sysdeps/i386/sysdep.h: Likewise.
17001         * sysdeps/x86_64/sysdep.h: Likewise.
17002         * sysdeps/sh/sysdep.h: Likewise.
17003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17004         Do not define ASM_TYPE_DIRECTIVE.
17005         * sysdeps/powerpc/sysdep.h: Likewise.
17006         * sysdeps/powerpc/powerpc32/sysdep.h:
17007         Replace ASM_TYPE_DIRECTIVE with .type.
17008         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17009         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17010         * sysdeps/i386/fpu/e_powf.S: Likewise.
17011         * sysdeps/i386/fpu/e_expl.S: Likewise.
17012         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17013         * sysdeps/i386/fpu/e_acosh.S: Likewise.
17014         * sysdeps/i386/fpu/e_pow.S: Likewise.
17015         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17016         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17017         * sysdeps/i386/fpu/s_expm1.S: Likewise.
17018         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17019         * sysdeps/i386/fpu/e_log2.S: Likewise.
17020         * sysdeps/i386/fpu/e_log2l.S: Likewise.
17021         * sysdeps/i386/fpu/e_scalb.S: Likewise.
17022         * sysdeps/i386/fpu/e_powl.S: Likewise.
17023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
17024         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17025         * sysdeps/i386/fpu/e_logl.S: Likewise.
17026         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17027         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17028         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17029         * sysdeps/i386/fpu/e_log2f.S: Likewise.
17030         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17031         * sysdeps/i386/fpu/e_log.S: Likewise.
17032         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17033         * sysdeps/i386/fpu/e_logf.S: Likewise.
17034         * sysdeps/i386/fpu/e_log10l.S: Likewise.
17035         * sysdeps/i386/fpu/e_atanh.S: Likewise.
17036         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17037         * sysdeps/i386/fpu/e_log10.S: Likewise.
17038         * sysdeps/i386/fpu/s_frexp.S: Likewise.
17039         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17040         * sysdeps/i386/fpu/s_asinh.S: Likewise.
17041         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17042         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17043         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17044         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17045         * sysdeps/i386/i686/strtok.S: Likewise.
17046         * sysdeps/i386/i386-mcount.S: Likewise.
17047         * sysdeps/i386/strtok.S: Likewise.
17048         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17049         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17050         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17051         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17052         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17053         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17054         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17055         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17056         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17057         * sysdeps/x86_64/_mcount.S: Likewise.
17058         * sysdeps/x86_64/strtok.S: Likewise.
17059         * sysdeps/sh/_mcount.S: Likewise.
17060
17061 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17062
17063         * libio/iofopen.c: Include <fcntl.h>.
17064         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17065         (_IO_fopen64, fopen64): Define as aliases.
17066         * libio/iofopen64.c: Include <fcntl.h>.
17067         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17068         Conditionalize body on this.
17069         * sysdeps/wordsize-64/iofopen.c: File removed.
17070         * sysdeps/wordsize-64/iofopen64.c: File removed.
17071
17072 2012-08-01  Marek Polacek  <polacek@redhat.com>
17073
17074         * libc/Makeconfig: Use elf in place of binfmt-subdir.
17075         Use dlfcn directly instead of a variable.
17076         (binfmt-subdir): Do not define.
17077         (dlfcn): Likewise.
17078
17079 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
17080
17081         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17082         Remove all definitions.
17083         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17084         <kernel-features.h>.
17085         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17086         (miss_F_GETOWN_EX): Remove all definitions.
17087         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17088         macro definition.
17089         [!__ASSUME_FCNTL64]: Remove conditional code.
17090         [__ASSUME_FCNTL64]: Make code unconditional.
17091         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17092         <kernel-features.h>.
17093         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17094         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17095         (lockf64) [__NR_fcntl64]: Make code unconditional.
17096         (lockf64) [__ASSUME_FCNTL64]: Likewise.
17097
17098         * sysdeps/unix/sysv/linux/kernel-features.h
17099         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17100         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17101         Make code unconditional.
17102         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17103         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17105         [__NR_vfork]: Make code unconditional.
17106         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17107         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17109         [__NR_vfork]: Make code unconditional.
17110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17112
17113 2012-08-01  Roland McGrath  <roland@hack.frob.com>
17114
17115         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17116         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17117
17118         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17119         Define mkstemp64 as an alias.
17120         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17121         Define mkstemps64 as an alias.
17122         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17123         Define mkostemp64 as an alias.
17124         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17125         Define mkostemps64 as an alias.
17126         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17127         Conditionalize body on this.
17128         * misc/mkostemp64.c: Likewise.
17129         * misc/mkostemps64.c: Likewise.
17130         * misc/mkstemps64.c: Likewise.
17131         * sysdeps/wordsize-64/mkstemp64.c: File removed.
17132         * sysdeps/wordsize-64/mkostemp64.c: File removed.
17133         * sysdeps/wordsize-64/mkostemp.c: File removed.
17134         * sysdeps/wordsize-64/mkstemp.c: File removed.
17135         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17136         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17137         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17138         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17139
17140         [BZ #14138]
17141         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17142         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17143         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17144         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17145
17146         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17147         compat_symbol macros from <shlib-compat.h> rather than the underlying
17148         default_symbol_version and symbol_version macros, so that DEFAULT
17149         lines in shlib-versions are respected.
17150         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17151
17152 2012-08-01  Florian Weimer  <fweimer@redhat.com>
17153
17154         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17155         Declare with warn_unused_result.
17156         (setgid, setregid, setegid, setresgid): Likewise.
17157         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17158         Likewise.
17159         * WUR-REPORT: Remove set*id functions.
17160
17161 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
17162
17163         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17164
17165 2012-07-31  Roland McGrath  <roland@hack.frob.com>
17166
17167         [BZ #10191]
17168         * include/sys/socket.h (__libc_accept, __libc_accept4):
17169         Add attribute_hidden.
17170         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17171
17172         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17173         use of PTR_MANGLE.
17174         * inet/getnetgrent_r.c (setup): Likewise.
17175
17176         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17177
17178 2012-07-31  David S. Miller  <davem@davemloft.net>
17179
17180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17181
17182 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
17183
17184         [BZ #13629]
17185         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17186         value between 1.0 and 2.0 and smaller part has absolute value less
17187         than 1.0.
17188         * math/s_clog10.c (__clog10): Likewise.
17189         * math/s_clog10f.c (__clog10f): Likewise.
17190         * math/s_clog10l.c (__clog10l): Likewise.
17191         * math/s_clogf.c (__clogf): Likewise.
17192         * math/s_clogl.c (__clogl): Likewise.
17193         * math/libm-test.inc (clog_test): Add more tests.
17194         (clog10_test): Likewise.
17195         * sysdeps/i386/fpu/libm-test-ulps: Update.
17196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197
17198 2012-07-31  Florian Weimer  <fweimer@redhat.com>
17199
17200         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17201         Exit with zero in case no suitable GID is found, and write a
17202         message to standard error.
17203
17204 2012-07-30  Roland McGrath  <roland@hack.frob.com>
17205
17206         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17207         rather than to 1.
17208         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17209         (MAXPATHLEN): Removed.
17210         (NOGROUP, NODEV): New macros.
17211         (setbit, clrbit, isset, isclr): New macros.
17212         (howmany, roundup, powerof2): New macros.
17213         (DEV_BSIZE): New macro.
17214
17215         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17216         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17217
17218         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17219         definition on [!__NO_LONG_DOUBLE_MATH].
17220
17221         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17222         PTR_MANGLE and PTR_DEMANGLE.
17223
17224         * socket/accept4.c (accept4): Rename to __libc_accept4.
17225         Define accept4 as a weak alias.
17226
17227         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17228         on [_DIRENT_HAVE_D_TYPE].
17229         * io/ftw.c (ftw_dir): Likewise.
17230
17231         * io/xmknod.c (__xmknod): Don't check PATH for being null.
17232
17233         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17234
17235         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17236         Use the BSD numbers rather than the arbitrary ones we had.
17237         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17238         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17239         (SIGXCPU, SIGXFSZ): New macros.
17240         (_NSIG): Now 32.
17241
17242         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17243         initializer on [_LIBC_REENTRANT].
17244
17245         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17246         definitions inside [_POSIX_MAPPED_FILES].
17247
17248         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17249
17250         * dirent/opendir.c: Include <fcntl.h>.
17251
17252         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17253         (__libc_getspecific): Likewise.
17254         (__libc_key_create): Likewise.
17255
17256         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17257         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17258         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17259         (tmpfile64): Define as alias.
17260         * sysdeps/wordsize-64/tmpfile.c: File removed.
17261         * sysdeps/wordsize-64/tmpfile64.c: File removed.
17262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17264
17265         * stdio-common/vfscanf.c: Include <stdbool.h>.
17266         * nss/makedb.c: Likewise.
17267         * stdio-common/_i18n_number.h: Likewise.
17268         * argp/argp-help.c: Likewise.
17269         * posix/wordexp.c: Likewise.
17270         * sysdeps/posix/spawni.c: Likewise.
17271         * nss/nss_files/files-initgroups.c: Likewise.
17272         * stdio-common/reg-modifier.c: Include <stdlib.h>.
17273         * nss/nss_files/files-initgroups.c: Likewise.
17274         * nss/nss_db/db-netgrp.c: Likewise.
17275         * nss/nss_db/db-initgroups.c: Likewise.
17276         * io/fchmodat.c: Include <sys/stat.h>.
17277
17278         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17279         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17280
17281         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17282         [HAVE_MMAP].
17283
17284         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17285         Add multiple inclusion protection.
17286
17287 2012-07-27  David S. Miller  <davem@davemloft.net>
17288
17289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17290
17291 2012-07-27  Gary Benson  <gbenson@redhat.com>
17292
17293         [BZ #14298]
17294         * elf/rtld.c: Include <stap-probe.h>.
17295         (dl_main): Added static probes "init_start" and "init_complete".
17296         * elf/dl-load.c: Include <stap-probe.h>.
17297         (lose): Take new parameter "nsid".
17298         Added static probe "map_failed".
17299         (_dl_map_object_from_fd): Pass namespace id to lose.
17300         Added static probe "map_start".
17301         (open_verify): Pass namespace id to lose.
17302         * elf/dl-open.c: Include <stap-probe.h>.
17303         (dl_open_worker) Added static probes "map_complete", "reloc_start"
17304         and "reloc_complete".
17305         * elf/dl-close.c: Include <stap-probe.h>.
17306         (_dl_close_worker): Added static probes "unmap_start" and
17307         "unmap_complete".
17308         * elf/rtld-debugger-interface.txt: New file documenting the above.
17309
17310 2012-07-26  Roland McGrath  <roland@hack.frob.com>
17311
17312         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17313         rather than a string variable.
17314         * sunrpc/rpc_main.c (h_output): Likewise.
17315         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17316
17317 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
17318
17319         * inet/check_native.c: New file.
17320
17321 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
17322
17323         [BZ #13629]
17324         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17325         if larger part has absolute value 1.0.
17326         * math/s_clog10.c (__clog10): Likewise.
17327         * math/s_clog10f.c (__clog10f): Likewise.
17328         * math/s_clog10l.c (__clog10l): Likewise.
17329         * math/s_clogf.c (__clogf): Likewise.
17330         * math/s_clogl.c (__clogl): Likewise.
17331         * math/libm-test.inc (clog_test): Add more tests.
17332         (clog10_test): Likewise.
17333         * sysdeps/i386/fpu/libm-test-ulps: Update.
17334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17335
17336         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17337         (pltexit): Likewise.
17338         (La_regs): Likewise.
17339         (La_retval): Likewise.
17340         (int_retval): Likewise.
17341         Update #error for removed macros to refer only to definitions in
17342         tst-audit.h.
17343         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17344         macro.
17345         (pltexit): Likewise.
17346         (La_regs): Likewise.
17347         (La_retval): Likewise.
17348         (int_retval): Likewise.
17349         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17350         macro.
17351         (pltexit): Likewise.
17352         (La_regs): Likewise.
17353         (La_retval): Likewise.
17354         (int_retval): Likewise.
17355         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17356         macro.
17357         (pltexit): Likewise.
17358         (La_regs): Likewise.
17359         (La_retval): Likewise.
17360         (int_retval): Likewise.
17361         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17362         macro.
17363         (pltexit): Likewise.
17364         (La_regs): Likewise.
17365         (La_retval): Likewise.
17366         (int_retval): Likewise.
17367         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17368         macro.
17369         (pltexit): Likewise.
17370         (La_regs): Likewise.
17371         (La_retval): Likewise.
17372         (int_retval): Likewise.
17373         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17374         macro.
17375         (pltexit): Likewise.
17376         (La_regs): Likewise.
17377         (La_retval): Likewise.
17378         (int_retval): Likewise.
17379         * sysdeps/generic/tst-audit.h: Update comment to refer only to
17380         macro definitions in tst-audit.h.
17381         * sysdeps/i386/tst-audit.h: New file.
17382         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17383         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17384         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17385         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17386         * sysdeps/sh/tst-audit.h: Likewise.
17387         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17388         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17389         * sysdeps/x86_64/tst-audit.h: Likewise.
17390
17391 2012-07-26  Andreas Jaeger  <aj@suse.de>
17392
17393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17394         ptrace.
17395
17396         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17397         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17398         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17399         PTRACE_O_MASK.
17400         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17401         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17402         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17403
17404         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17405         value.
17406
17407         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17408         _sigsys.
17409         (si_call_addr, si_syscall, si_arch): Define new macro.
17410         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17411         _sigsys.
17412         (si_call_addr, si_syscall, si_arch): Define new marcro.
17413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17414         _sigsys.
17415         (si_call_addr, si_syscall, si_arch): Define new macro.
17416         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17417         _sigsys.
17418         (si_call_addr, si_syscall, si_arch): Define new macro.
17419
17420 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17421
17422         [BZ #13717]
17423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17424         Change to 2.4.21 where previously 2.4.1.
17425         * sysdeps/unix/sysv/linux/configure: Regenerated.
17426         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17427         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17428         Linux kernel version.
17429         (__ASSUME_STD_AUXV): Remove.
17430         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17431         kernel version.
17432         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17433         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17434         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17435         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17436         (__ASSUME_NETLINK_SUPPORT): Likewise.
17437         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17438         (__no_netlink_support): Remove conditional definition.
17439         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17440         Remove.
17441         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17442         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17443         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17444         (if_nameindex_ioctl): Remove.
17445         (if_nameindex_netlink): Do not handle __no_netlink_support.
17446         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17447         code.
17448         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17449         Remove conditional code.
17450         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17451         code.
17452         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17453         unconditional.
17454         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17455         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17456         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17457         Remove.
17458         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17459         [!__ASSUME_STD_AUXV]: Remove conditional code.
17460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17461         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17462         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17464         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17465         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17466         code.
17467         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17469         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17470         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17471         conditional code.
17472         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17474         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17475         code.
17476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17477         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17478         conditional code.
17479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17480         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17481         code unconditional.
17482         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17483         conditional code.
17484         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17485         unconditional.
17486         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17487         conditional code.
17488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17489         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17490         unconditional.
17491         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17492         conditional code.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17494         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17495         code unconditional.
17496         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17497         conditional code.
17498         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17499         unconditional.
17500         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17501         conditional code.
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17503         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17504         code unconditional.
17505         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17506         conditional code.
17507         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17508         unconditional.
17509         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17510         conditional code.
17511
17512 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
17513
17514         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17515         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17516         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17517         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17518         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17519         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17520         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17521         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17522         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17523         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17524         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17525         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17526         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17527         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17528         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17529         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17530         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17531         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17532         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17534         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17535         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17536         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17537
17538 2012-07-25  Florian Weimer  <fweimer@redhat.com>
17539
17540         * Versions.def: Add GLIBC_2.17.
17541         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17542         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17543         Introduce __libc_secure_getenv.
17544         * stdlib/Versions (2.17): Add secure_getenv
17545         (GLIBC_PRIVATE): Add __libc_secure_getenv.
17546         * stdlib/secure-getenv.c: Rename __secure_getenv to
17547         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
17548         symbol __secure_getenv for GLIBC_2.0.
17549         * stdlib/tst-secure-getenv.c: New.
17550         * stdlib/Makefile (tests): Add testcase.
17551         * manual/startup.texi (Environment Access): Document
17552         secure_getenv.
17553         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17554         __libc_secure_getenv.
17555         * inet/ruserpass.c (ruserpass): Likewise.
17556         * malloc/mtrace.c (mtrace): Likewise.
17557         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17558         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17559         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17560         * sysdeps/posix/tempname.c: Likewise.  Evaluate
17561         HAVE_SECURE_GETENV.
17562         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17563         __secure_getenv to __libc_secure_getenv.
17564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17566         Likewise.
17567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17568         Likewise.
17569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17576
17577 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
17578
17579         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17580         (struct La_i86_retval): Likewise.
17581         (struct La_x86_64_regs): Likewise.
17582         (struct La_x86_64_retval): Likewise.
17583         (struct La_x32_regs): Likewise.
17584         (struct La_x32_retval): Likewise.
17585         (struct La_ppc32_regs): Likewise.
17586         (struct La_ppc32_retval): Likewise.
17587         (struct La_ppc64_regs): Likewise.
17588         (struct La_ppc64_retval): Likewise.
17589         (struct La_sh_regs): Likewise.
17590         (struct La_sh_retval): Likewise.
17591         (struct La_s390_32_regs): Likewise.
17592         (struct La_s390_32_retval): Likewise.
17593         (struct La_s390_64_regs): Likewise.
17594         (struct La_s390_64_retval): Likewise.
17595         (struct La_sparc32_regs): Likewise.
17596         (struct La_sparc32_retval): Likewise.
17597         (struct La_sparc64_regs): Likewise.
17598         (struct La_sparc64_retval): Likewise.
17599         (struct audit_ifaces): Remove architecture-specific pltenter and
17600         pltexit members.
17601         * sysdeps/i386/ldsodefs.h: New file.
17602         * sysdeps/powerpc/ldsodefs.h: Likewise.
17603         * sysdeps/s390/ldsodefs.h: Likewise.
17604         * sysdeps/sh/ldsodefs.h: Likewise.
17605         * sysdeps/sparc/ldsodefs.h: Likewise.
17606         * sysdeps/x86_64/ldsodefs.h: Likewise.
17607
17608 2012-07-25  Marek Polacek  <polacek@redhat.com>
17609
17610         [BZ #6808]
17611         * math/libm-test.inc (yn_test): Add another test.
17612         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17613         to ERANGE when the result is +-Inf.
17614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17615         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17616         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17617         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17618
17619 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
17620
17621         * conform/data/time.h-data (NULL): Use macro-constant.  Require
17622         equal to 0.
17623         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
17624         clock_t.
17625         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
17626
17627 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
17628
17629         * configure.in <sysdeps resolving>: Correct printing
17630         Implies_before.
17631         * configure: Regenerate.
17632
17633 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
17634
17635         * math/w_ilogb.c: Include <limits.h>.
17636         * math/w_ilogbl.c: Likewise.
17637
17638 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17639
17640         * manual/lang.texi (__va_copy): Document primarily as ISO C99
17641         va_copy.  Document allowing for unavailable va_copy only as
17642         pre-C99 compatibility.
17643         * manual/string.texi (Copying and Concatenation): Use va_copy
17644         instead of __va_copy in concat example.
17645
17646 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
17647
17648         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17649         (__sendto): Use create_address_port.  Initialize APORT and deallocate
17650         it if not null.
17651
17652         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17653         with O_NOLINK passed to __file_name_lookup.
17654
17655         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17656         with O_NOLINK passed to __file_name_lookup.
17657
17658         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17659         negative N or less than NGIDS.
17660
17661         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17662         type to string_t.  Set ERANGE as errno and return it if NAME is not big
17663         enough.  Use memcpy instead of strncpy.
17664
17665 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
17666
17667         * elf/Makefile (check-data): Remove.
17668         (localplt.data): New vpath directive.
17669         ($(objpfx)check-localplt.out): Use localplt.data from vpath
17670         instead of $(check-data).
17671         * scripts/data/localplt-generic.data: Move to ...
17672         * sysdeps/generic/localplt.data: ... here.
17673         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17674         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17675         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17677         ... here.
17678         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17680         ... here.
17681         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17683         ... here.
17684         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17686         ... here.
17687         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17689         ... here.
17690         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17692         ... here.
17693
17694 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17695
17696         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17697         PPC32 and PPC64 files.
17698         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17699         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17700
17701 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17702
17703         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17704         __makecontext_ret to ...
17705         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17706         ... here and call exit if uc_link is NULL.  New file.
17707         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17708         __makecontext_ret.S.
17709         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17710         __makecontext_ret to ...
17711         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17712         ... here and call exit if uc_link is NULL.  New file.
17713         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17714         __makecontext_ret.S.
17715
17716 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17717
17718         * elf/elf.h (R_390_IRELATIVE): New definition.
17719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17720         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
17721         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17723         (elf_machine_lazy_rel): Likewise.
17724         * sysdeps/s390/dl-irel.h: New file.
17725         * sysdeps/s390/s390-64/memcpy.S: New asm code.
17726         * sysdeps/s390/s390-64/memset.S: New asm code.
17727         * sysdeps/s390/s390-64/memcmp.S: New asm code.
17728         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17729         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17730         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17731         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17732         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17733         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17734         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17735         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17736         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17737         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17738         * sysdeps/s390/s390-32/memcpy.S: New asm code.
17739         * sysdeps/s390/s390-32/memset.S: New asm code.
17740         * sysdeps/s390/s390-32/memcmp.S: New asm code.
17741
17742 2012-07-17  Marek Polacek  <polacek@redhat.com>
17743
17744         [BZ #14349]
17745         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17746         * sysdeps/s390/s390-64/configure.in: Likewise.
17747         * sysdeps/sparc/configure.in: Likewise.
17748         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17749         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17750         * sysdeps/i386/configure.in: Likewise.
17751         * sysdeps/x86_64/configure.in: Likewise.
17752         * sysdeps/sh/configure.in: Likewise.
17753         * sysdeps/s390/s390-32/configure: Regenerated.
17754         * sysdeps/s390/s390-64/configure: Likewise.
17755         * sysdeps/x86_64/configure: Likewise.
17756         * sysdeps/sh/configure: Likewise.
17757         * sysdeps/powerpc/powerpc64/configure: Likewise.
17758         * sysdeps/powerpc/powerpc32/configure: Likewise.
17759         * sysdeps/sparc/configure: Likwise.
17760         * sysdeps/i386/configure: Likewise.
17761
17762         * elf/dl-open.c: Comment fixes.
17763
17764 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
17765
17766         * Makefile [CXX] (check-data): Remove.
17767         [CXX] (c++-types.data): New vpath directive.
17768         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17769         vpath.  Do not allow for C++ type data being missing.
17770         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17771         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17772         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17773         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17774         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17775         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17776         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17778         ... here.
17779         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17781         ... here.
17782         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17784         ... here.
17785         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17787         ... here.
17788         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17790         ... here.
17791         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17793         ... here.
17794         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17796         ... here.
17797         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17799
17800         * elf/tls-macros.h (TLS_LE): Move architecture-specific
17801         definitions to architecture-specific files.
17802         (TLS_IE): Likewise.
17803         (TLS_LD): Likewise.
17804         (TLS_GD): Likewise.
17805         * sysdeps/i386/tls-macros.h: New file.
17806         * sysdeps/powerpc/tls-macros.h: Likewise.
17807         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17808         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17809         * sysdeps/sh/tls-macros.h: Likewise.
17810         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17811         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17812         * sysdeps/x86_64/tls-macros.h: Likewise.
17813
17814 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17815
17816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17817         zero value for regular exit case.
17818
17819         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17820         (__start_context): Preserve zero value for regular exit case.
17821
17822 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
17823             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17824
17825         * manual/setjmp.texi (setcontext): Clarify normal process
17826         termination when uc_link is the null pointer.
17827         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17828         exit call.
17829
17830 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
17831
17832         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17833         preprocessor.  Test for each exception mask separately.
17834
17835 2012-07-16  Andreas Jaeger  <aj@suse.de>
17836
17837         * po/ru.po: Update from translation team.
17838
17839 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
17840
17841         * conform/data/string.h-data (NULL): Use macro-constant.  Require
17842         equal to 0.
17843         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17844         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17845         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17846         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
17848
17849 2012-07-13  Andreas Jaeger  <aj@suse.de>
17850
17851         * po/fr.po: Update from translation team.
17852
17853 2012-07-12  Marek Polacek  <polacek@redhat.com>
17854
17855         [BZ #14173]
17856         * math/libm-test.inc (yn_test): Add test for BZ #14173.
17857         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17858         loop condition.
17859
17860 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
17861
17862         [BZ #13717]
17863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17864         Change to 2.4.1 where previously 2.4.0.
17865         * sysdeps/unix/sysv/linux/configure: Regenerated.
17866         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17867         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17868         version.
17869         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17870         (__ASSUME_AT_CLKTCK): Remove.
17871         (__ASSUME_AT_PAGESIZE): Likewise.
17872         (__ASSUME_AT_XID): Likewise.
17873         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17874         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17875         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17876         unconditionally.
17877         (HAVE_AUX_PAGESIZE): Likewise.
17878         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17879         [__ASSUME_AT_CLKTCK]: Make code unconditional.
17880         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17881
17882 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
17883
17884         [BZ #14307]
17885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17886         the temporary buffer used to invoke __gethostbyname2_r,
17887         __gethostbyaddr_r and gethostbyname4_r to make room for struct
17888         host_data / struct gaih_addrtuple.
17889         * resolv/nss_dns/dns-host.c (global scope): Move definition of
17890         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17891         header file nss/nsswitch.h.
17892         * nss/nsswitch.h (global scope): Add definition of implementation
17893         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17894         resolv/nss_dns/dns-host.c).
17895
17896 2012-07-11  Andreas Jaeger  <aj@suse.de>
17897
17898         * po/fr.po: Update from translation team.
17899
17900         * po/sv.po: Update from translation team
17901         * po/fr.po: Another update from translation team.
17902
17903 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17904
17905         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17906         for subnormals or multiply small sinh result by itself.
17907         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17909
17910 2012-07-11  David S. Miller  <davem@davemloft.net>
17911
17912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17913
17914 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
17915
17916         [BZ #14347]
17917         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17918         (INTERNAL_MARK): Shift it here.
17919
17920 2012-07-10  Marek Polacek  <polacek@redhat.com>
17921
17922         [BZ #14151]
17923         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
17924         libc_cv_asm_global_directive with .globl.
17925         * configure: Regenerated.
17926         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17927         with .globl.
17928         * sysdeps/i386/configure: Regenerated.
17929         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17930         with .globl.
17931         * sysdeps/x86_64/configure: Regenerated.
17932         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17933         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17934         * elf/tst-unique2mod2.c: Likewise.
17935         * elf/tst-unique2mod1.c: Likewise.
17936         * elf/tst-unique1mod2.c: Likewise.
17937         * elf/tst-unique1mod1.c: Likewise.
17938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
17939         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17941         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17942         * sysdeps/mach/sysdep.h: Likewise.
17943         * sysdeps/i386/sysdep.h: Likewise.
17944         * sysdeps/i386/i386-mcount.S: Likewise.
17945         * sysdeps/x86_64/_mcount.S: Likewise.
17946         * sysdeps/x86_64/sysdep.h: Likewise.
17947         * sysdeps/sh/_mcount.S: Likewise.
17948         * sysdeps/sh/sysdep.h: Likewise.
17949         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17950         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17951         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17952         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17953         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17954         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17955         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17956         * locale/localeinfo.h: Likewise.
17957         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17958         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17959
17960 2012-07-09  Roland McGrath  <roland@hack.frob.com>
17961
17962         [BZ #14336]
17963         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17964         system".
17965         * manual/message.texi (The Uniforum approach): Likewise.
17966         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17967         (glibc iconv Implementation): Likewise.
17968
17969 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
17970
17971         [BZ #14337]
17972         * math/s_clog.c (__clog): Avoid scaling a value down where that
17973         could result in underflow.
17974         * math/s_clog10.c (__clog10): Likewise.
17975         * math/s_clog10f.c (__clog10f): Likewise.
17976         * math/s_clog10l.c (__clog10l): Likewise.
17977         * math/s_clogf.c (__clogf): Likewise.
17978         * math/s_clogl.c (__clogl): Likewise.
17979         * math/libm-test.inc (clog_test): Add more tests.
17980         (clog10_test): Likewise.
17981         * sysdeps/i386/fpu/libm-test-ulps: Update.
17982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17983
17984 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
17985
17986         [BZ #14283]
17987         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17988         by 7 not 8 to examine high bit of fractional part.
17989
17990         [BZ #14042]
17991         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17992         for call to __mcount_internal.
17993         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17994         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17995         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17996
17997 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
17998
17999         [BZ #14154]
18000         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18001         approximation for values within 0x1p-13f of an odd multiple of
18002         pi/4.
18003         * math/libm-test.inc (tan_test): Do not allow spurious underflow
18004         exception.  Add more tests.
18005         * sysdeps/i386/fpu/libm-test-ulps: Update.
18006
18007         [BZ #6778]
18008         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18009         inputs and return -1 for them.  Do not check for +Inf in case not
18010         reachable for +Inf.
18011         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18012         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18013         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18014         and return -1 for them.  Do not check for +Inf in case not
18015         reachable for +Inf.
18016         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18017         define.
18018         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18019         and return -1 for them.  Do not check for +Inf in case not
18020         reachable for +Inf.
18021         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
18022         spurious underflow.
18023         * sysdeps/i386/fpu/libm-test-ulps: Update.
18024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025
18026 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
18027
18028         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18029
18030 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
18031
18032         [BZ #14157]
18033         [BZ #14331]
18034         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18035         could result in spurious underflow.  Scale down values above
18036         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18037         * math/s_csqrtf.c (__csqrtf): Likewise.
18038         * math/s_csqrtl.c (__csqrtl): Likewise.
18039         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
18040         spurious underflow.
18041         * sysdeps/i386/fpu/libm-test-ulps: Update.
18042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043
18044 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18045
18046         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18047         xopen-msg.sed.
18048         * catgets/xopen-msg.awk: New file.
18049         * catgets/xopen-msg.sed: Removed.
18050
18051         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18052         po2text.sed.
18053         * intl/po2test.awk: New file.
18054         * intl/po2test.sed: Removed.
18055
18056 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
18057
18058         [BZ #14328]
18059         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18060         or multiply small sinh result by itself.
18061         * math/s_ctanf.c (__ctanf): Likewise.
18062         * math/s_ctanh.c (__ctanh): Likewise.
18063         * math/s_ctanhf.c (__ctanhf): Likewise.
18064         * math/s_ctanhl.c (__ctanhl): Likewise.
18065         * math/s_ctanl.c (__ctanl): Likewise.
18066         * math/libm-test.inc (ctan_test_tonearest): New function.
18067         (ctan_test_towardzero): Likewise.
18068         (ctan_test_downward): Likewise.
18069         (ctan_test_upward): Likewise.
18070         (ctanh_test_tonearest): Likewise.
18071         (ctanh_test_towardzero): Likewise.
18072         (ctanh_test_downward): Likewise.
18073         (ctanh_test_upward): Likewise.
18074         (main): Call these new functions.
18075         * sysdeps/i386/fpu/libm-test-ulps: Update.
18076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077
18078 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
18079
18080         * .gitignore: Delete /ports entry.
18081
18082 2012-07-03  Andreas Jaeger  <aj@suse.de>
18083
18084         * po/bg.po: Update from translation team.
18085         * po/cs.po: Likewise.
18086         * po/de.po: Likewise.
18087         * po/hr.po: Likewise.
18088         * po/nl.pl: Likewise.
18089         * po/pl.po: Likewise.
18090         * po/vi.po: Likewise.
18091
18092 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
18093
18094         * Makeconfig [!+link] (+link-before-libc): New variable.
18095         [!+link] (+link-after-libc): Likewise.
18096         [!+link] (+link-tests): Likewise.
18097         [!+link] (+link): Define in terms of $(+link-before-libc) and
18098         $(+link-after-libc).
18099         [!+link-static] (+link-static-before-libc): New variable.
18100         [!+link-static] (+link-static-after-libc): Likewise.
18101         [!+link-static] (+link-static-tests): Likewise.
18102         [!+link-static] (+link-static): Define in terms of
18103         $(+link-static-before-libc) and $(+link-static-after-libc).
18104         [build-shared] (link-libc-before-gnulib): New variable.
18105         [build-shared] (link-libc-tests): Likewise.
18106         [build-shared] (link-libc): Define in terms of
18107         $(link-libc-before-gnulib).
18108         [!build-shared] (link-libc-tests): New variable.
18109         (link-libc-static-tests): New variable.
18110         [!gnulib] (gnulib-arch): New variable.
18111         [!gnulib] (gnulib-tests): Likewise.
18112         [!gnulib] (static-gnulib-arch): Likewise.
18113         [!gnulib] (static-gnulib-tests): Likewise.
18114         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
18115         Define with "=" instead of ":=".
18116         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
18117         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
18118         * Rules (binaries-all-notests): New variable.
18119         (binaries-all-tests): Likewise.
18120         (binaries-static-notests): Likewise.
18121         (binaries-static-tests): Likewise.
18122         (binaries-all): Define using $(binaries-all-notests) and
18123         $(binaries-all-tests).
18124         (binaries-static): Define using $(binaries-static-notests) and
18125         $(binaries-static-tests).
18126         (binaries-shared-tests): New variable.
18127         (binaries-shared-notests): Likewise.
18128         (binaries-shared): Remove variable.
18129         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18130         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18131         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18132         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18133         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18134         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18135         * elf/Makefile (sln-modules): New variable.
18136         (extra-objs): Add $(sln-modules:=.o).
18137         (ldconfig-modules): Add static-stubs.
18138         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18139         * elf/static-stubs.c: New file.
18140
18141         [BZ #14283]
18142         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18143         by 7 not 8 to examine high bit of fractional part.  Use volatile
18144         variables when splitting into final array of floats if
18145         __FLT_EVAL_METHOD__ != 0.
18146         * math/libm-test.inc (cos_test): Add another test.
18147         (sin_test): Likewise.
18148         * sysdeps/i386/fpu/libm-test-ulps: Update.
18149
18150         [BZ #14273]
18151         * math/libm-test.inc (cosh_test): Add more tests.
18152
18153         * version.h (RELEASE): Set to "development".
18154         (VERSION): Set to "2.16.90".
18155
18156 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
18157
18158         * NEWS: Update copyright. Remove last-updated date.
18159         Mention math library bug fixes and timezone data changes.
18160         * README: Mention GNU/Hurd, x32, and HPPA support status.
18161
18162 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
18163
18164         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18165
18166 2012-06-27  Andreas Jaeger  <aj@suse.de>
18167
18168         * manual/contrib.texi (Contributors): Add Samuel Thibault.
18169
18170 2012-06-25  Andreas Jaeger  <aj@suse.de>
18171
18172         * sysdeps/s390/fpu/libm-test-ulps: Update.
18173
18174 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
18175             Thomas Schwinge  <thomas@codesourcery.com>
18176
18177         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18178         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18180         fanotify_mark.
18181
18182 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
18183
18184         * sysdeps/mach/start.c: Remove file.
18185         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18186         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18187         * sysdeps/sh/init-first.c: Likewise.
18188
18189         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18190         registers for frame unwinding purposes, add CFI directives.
18191         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18192         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18193         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18194         Likewise.
18195
18196         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18197         __fortify_fail returning.
18198         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18199
18200         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18201         sysdeps/sh/____longjmp_chk.S.
18202         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18203         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18204         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18205         (gen-as-const-headers): Append sigaltstack-offsets.sym.
18206
18207         * sysdeps/sh/abort-instr.h: New file.
18208         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18209         process in case exit returns.
18210
18211         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18212         initialize the GOT register before use.
18213
18214         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18215         calculation of ARGC > 4.
18216
18217         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18218         meaningful names to some local labels.
18219
18220 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
18221             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18222
18223         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18224         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18225         (__arch_compare_and_exchange_val_16_acq): Likewise.
18226         (__arch_compare_and_exchange_val_32_acq): Likewise.
18227         (atomic_exchange_and_add): Fix gUSA sequence.
18228         (atomic_add): Likewise.
18229         (atomic_add_negative): Likewise.
18230         (atomic_add_zero): Likewise.
18231         (atomic_bit_test_set): Likewise.
18232
18233 2012-06-22  Andreas Schwab  <schwab@redhat.com>
18234
18235         [BZ #13579]
18236         * include/link.h (struct link_map): Add l_free_initfini.
18237         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18238         l_initfini.
18239         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18240         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18241         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18242         set.
18243
18244 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
18245
18246         * configure.in: Use AC_LANG_SOURCE.
18247         * configure: Regenerate.
18248
18249 2012-06-22  Roland McGrath  <roland@hack.frob.com>
18250
18251         * configure.in (libc_cv_localstatedir): New substituted variable.
18252         * configure: Regenerated.
18253         * config.make.in (localstatedir): New variable, substituted from
18254         libc_cv_localstatedir.
18255         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18256         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18257         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18258         * sysdeps/gnu/configure: Regenerated.
18259
18260 2012-06-21  Jeff Law  <law@redhat.com>
18261
18262         [BZ #14277]
18263         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18264         free.  Simplify list management for _LIBC case.
18265
18266 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
18267
18268         [BZ #14273]
18269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18270         Clear sign bit of 64-bit integer value before comparing against
18271         overflow value.
18272
18273         * sysdeps/mach/configure: Regenerated.
18274
18275 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
18276
18277         [BZ #14278]
18278         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18279
18280 2012-06-21  Jeff Law  <law@redhat.com>
18281
18282         [BZ #13882]
18283         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
18284         uint16_t for elements in the "seen" array to avoid char overflows.
18285         * elf/dl-fini.c (_dl_sort_fini): Likewise.
18286         * elf/dl-open.c (dl_open_worker): Likewise.
18287
18288 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
18289
18290         * scripts/list-sources.sh: Scan PORTS for translations.
18291         * po/libc.pot: Regenerated.
18292
18293 2012-06-21  Andreas Jaeger  <aj@suse.de>
18294
18295         [BZ #12194]
18296         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18297         warning.
18298         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18299         * bits/byteswap-16.h (__bswap_16): Likewise.
18300         * bits/byteswap.h (__bswap_constant_16): Likewise.
18301
18302 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
18303
18304         [BZ #14117]
18305         * sysdeps/i386/fpu_control.h: Removed.
18306         * sysdeps/x86_64/fpu_control.h: Moved to ...
18307         * sysdeps/x86/fpu_control.h: Here.
18308
18309         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18310         (_FPU_SETCW): Likewise.
18311
18312 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
18313
18314         [BZ #14117]
18315         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18316         * sysdeps/x86/fpu/bits/mathinline.h: This.
18317         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18318
18319         [BZ #14050]
18320         [BZ #14117]
18321         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18322         functions if __x86_64__ is defined.
18323
18324 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
18325
18326         * string/endian.h: Add !__ASSEMBLER__ condition for including
18327         conversion interfaces.
18328
18329 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
18330
18331         [BZ #14241]
18332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18333         of ABS(x) in calculating zero to negative powers other than odd
18334         integers.
18335         * math/libm-test.inc (pow_test): Add more tests.
18336
18337 2012-06-15  Andreas Jaeger  <aj@suse.de>
18338
18339         * manual/contrib.texi (Contributors): Update entry of Liubov
18340         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18341         Machado Filho.
18342
18343 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
18344
18345         * string/string.h: Add __wur to GNU version of strerror_r.
18346
18347 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
18348
18349         [BZ #14229]
18350         * string/Makefile (tests): Add tst-strtok_r.
18351         * string/tst-strtok_r.c: New file.
18352         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18353         RAX_LP/RDX_LP on SAVE_PTR.
18354
18355 2012-06-14  Roland McGrath  <roland@hack.frob.com>
18356
18357         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18358
18359 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
18360
18361         * libm_test.inc (csqrt_test): Allow more spurious underflow
18362         exceptions.
18363         (j0_test): Likewise.
18364         (j1_test): Likewise.
18365         (y0_test): Likewise.
18366         (y1_test): Likewise.
18367
18368 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
18369
18370         * po/Makefile (libc.pot): Use UTF-8 charset.
18371
18372 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
18373
18374         [BZ #14210]
18375         Suppress sign-conversion warning from FD_SET.
18376         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18377         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18378         not unsigned long int.
18379         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18380
18381 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
18382
18383         [BZ #14050]
18384         [BZ #14117]
18385         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18386         __extern_always_inline instead of __extern_inline.
18387         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18388         (__signbit): Likewise.
18389         (__signbitl): Support C++ namespace.
18390         (lrintf): New inline function.
18391         (lrint): Likewise.
18392         (llrintf): Likewise.
18393         (llrint): Likewise.
18394         (fmaxf): Likewise.
18395         (fmax): Likewise.
18396         (fminf): Likewise.
18397         (fmin): Likewise.
18398         (rint): Likewise.
18399         (rintf): Likewise.
18400         (ceil): Likewise.
18401         (ceilf): Likewise.
18402         (floor): Likewise.
18403         (floorf): Likewise.
18404         (nearbyint): Likewise.
18405         (nearbyintf): Likewise.
18406
18407 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
18408
18409         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18410         non-default versions.
18411
18412 2012-06-11  Roland McGrath  <roland@hack.frob.com>
18413
18414         [BZ #14218]
18415         * manual/argp.texi (Argp): Reword argp_parse description slightly.
18416
18417 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
18418
18419         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18420         (FE_UPWARD, FE_DOWNWARD): Don't define.
18421         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18422         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18423
18424         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18425         reading it.
18426         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18427         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18428
18429 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18430
18431         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18432         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18433         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18434         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18435
18436 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18437
18438         [BZ #14117]
18439         * sysdeps/i386/fpu/bits/fenv.h: Removed.
18440         * sysdeps/i386/fpu/Implies: New file.
18441         * sysdeps/x86_64/fpu/Implies: Likewise.
18442         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18443         * sysdeps/x86/fpu/bits/fenv.h: This.
18444
18445         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18446         __SSE_MATH__.
18447
18448 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18449
18450         [BZ #14134]
18451         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18452         character 0xffff that matches the last element of the
18453         conversion table.
18454
18455 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18456
18457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18458         fmodl commit.
18459
18460 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18461
18462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18463         values higher than 25.6283.
18464
18465 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18466
18467         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18468         subnormal exponent extraction and add some __builtin_expect.
18469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18470         Fix for subnormal mantissa calculation.
18471
18472 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
18473
18474         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18475         cpu2 is -1 and errno is not ENOSYS.
18476
18477 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
18478
18479         [BZ #14117]
18480         * sysdeps/i386/i486/bits/string.h: Renamed to ...
18481         * sysdeps/x86/bits/string.h: This.
18482         * sysdeps/x86_64/bits/string.h: Removed.
18483
18484         * sysdeps/i386/i486/bits/string.h: Define inline functions only
18485         if not compiling for x86-64, but compiling for >= i486.
18486
18487         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18488         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18489
18490         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18491         New macro from Linux kernel 3.4.0.
18492         (FP_XSTATE_MAGIC2): Likewise.
18493         (FP_XSTATE_MAGIC2_SIZE): Likewise.
18494         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18495         (struct _fpx_sw_bytes): New struct.
18496         (struct _xsave_hdr): Likewise.
18497         (struct _ymmh_state): Likewise.
18498         (struct _xstate): Likewise.
18499
18500         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18501         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18502         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18503         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18504         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18505         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18506
18507         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18508         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18509         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18510         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18511         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18512         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18513
18514 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18515
18516         [BZ #13743]
18517         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18518         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18519         (sysdep_headers): Include sys/platform/ppc.h.
18520         * sysdeps/powerpc/test-gettimebase.c: Test for
18521         __ppc_get_timebase() to catch future ISA opcode/insn changes.
18522         * manual/Makefile (appendices): Include platform.texi.
18523         * manual/contrib.texi (Contributors): Update @node pointers.
18524         * manual/maint.texi (Maintenance): Likewise.
18525         (Platform): New node.
18526         * manual/platform.texi: New file.  Document the new features.
18527
18528 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18529             Jakub Jelinek  <jakub@redhat.com>
18530
18531         [BZ #14188]
18532         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18533         where __builtin_expect is unavailable.
18534
18535 2012-06-03  David S. Miller  <davem@davemloft.net>
18536
18537         * stdlib/longlong.h: Updated from GCC.
18538
18539 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
18540
18541         [BZ #14042]
18542         * sysdeps/powerpc/powerpc32/mcount.c: New file.
18543         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18544         __mcount_internal.
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18546         (GLIBC_2.16): Likewise.
18547
18548 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18549
18550         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18551
18552 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18553
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18555         (default-abi): New variable.
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18557         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18558         variable.
18559         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18560         Likewise.
18561         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18562         Likewise.
18563         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18564         Likewise.
18565
18566         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18567         definition.  Document in comment.
18568
18569 2012-06-01  David S. Miller  <davem@davemloft.net>
18570
18571         * stdlib/longlong.h: Updated from GCC.
18572
18573 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18574
18575         [BZ #14117]
18576         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18577         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18578         sys/debugreg.h sys/io.h here.
18579         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18580         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18581         sys/io.h.
18582         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18583         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18584         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18585         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18586         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18587         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18588
18589         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18590         Define only if __x86_64__ is defined.
18591
18592 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
18593
18594         [BZ #14048]
18595         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18596         Use int64_t for variable i.
18597         * math/libm-test.inc (fmod_test): Add more tests.
18598
18599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18600         z computation is not scheduled after fetestexcept.
18601         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18602         Use math_force_eval instead of asm to ensure calculation scheduled
18603         before exception test.
18604         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18605         Ensure a1 + u.d computation is not scheduled after fetestexcept.
18606
18607 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
18608
18609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18610         computation is not scheduled after fetestexcept.
18611
18612 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
18613
18614         [BZ #14117]
18615         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18616         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18617
18618 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18619
18620         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18621         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18622
18623 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18624
18625         [BZ #14117]
18626         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18627         <bits/wordsize.h>.
18628         (__WCHAR_MIN): Support __WORDSIZE == 64.
18629         (__WCHAR_MAX): Likewise.
18630
18631         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18632         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18633
18634         [BZ #14183]
18635         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18636         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18637
18638         [BZ #14117]
18639         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18640         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18641
18642         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18643         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18644
18645         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18646         Defined to 1 if __x86_64__ isn't defined.
18647         (_STAT_VER_LINUX_OLD): New.
18648         (st_atime): Remove duplicate.
18649         (st_mtime): Likewise.
18650         (st_ctime): Likewise.
18651
18652 2012-05-31  David S. Miller  <davem@davemloft.net>
18653
18654         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18655         entries.
18656
18657 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
18658
18659         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18660         gen-libm-test.pl.
18661
18662         [BZ #14132]
18663         * elf/dl-reloc.c: Include <_itoa.h>.
18664         (_dl_reloc_bad_type): Remove use of INTUSE.
18665         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18666         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18667         * stdio-common/psiginfo.c (psiginfo): Likewise.
18668         * stdio-common/psignal.c (psignal): Likewise.
18669         * string/strsignal.c (strsignal): Likewise.
18670         * include/signal.h (_sys_siglist): Declare hidden proto.
18671         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
18672         INTVARDEF with libc_hidden_data_def.
18673         * stdio-common/itoa-udigits.c: Likewise.
18674         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18675         (_itoa_lower_digits_internal): Remove declaration.
18676         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18677         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18678         (_sys_sigabbrev_internal): Remove aliases.
18679         (_sys_siglist): Define hidden alias.
18680
18681 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
18682
18683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18684         bits/sysctl.h.
18685
18686 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
18687
18688         [BZ #14117]
18689         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18690         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18691
18692         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18693         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18694         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18695         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18696         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18697         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18698
18699         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18700         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18701         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18702
18703         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18704         with __addr.
18705         (insw): Likewise.
18706         (insl): Likewise.
18707         (outsb): Likewise.
18708         (outsw): Likewise.
18709         (outsl): Likewise.
18710
18711         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18712         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18714
18715         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18716         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18718         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18719         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18720         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18721
18722         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18723         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18724
18725         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18726         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18727
18728         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18729         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18730         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18731
18732         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18733         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18734         to ...
18735         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18736
18737         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18738         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18739         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18740
18741         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18742         for x86-64.
18743         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18744
18745 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
18746
18747         * math/math.h (M_El): Use two more decimal places.
18748         (M_LOG2El): Likewise.
18749         (M_LOG10El): Likewise.
18750         (M_LN2l): Likewise.
18751         (M_LN10l): Likewise.
18752         (M_PIl): Likewise.
18753         (M_PI_2l): Likewise.
18754         (M_PI_4l): Likewise.
18755         (M_1_PIl): Likewise.
18756         (M_2_PIl): Likewise.
18757         (M_2_SQRTPIl): Likewise.
18758         (M_SQRT2l): Likewise.
18759         (M_SQRT1_2l): Likewise.
18760
18761 2012-05-31  David S. Miller  <davem@davemloft.net>
18762
18763         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18764         values between float registers.
18765         * sysdeps/sparc/sparc64/memset.S: Likewise.
18766         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18767
18768 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
18769
18770         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18771         -D_FORTIFY_SOURCE=1.
18772         (CPPFLAGS-tst-longjmp_chk.c): Define.
18773         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18774         (CPPFLAGS-tst-longjmp_chk2.c): Define.
18775         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18776         CFLAGS-tst-wchar-h.c.
18777
18778 2012-05-31  Marek Polacek  <polacek@redhat.com>
18779
18780         [BZ #14132]
18781         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18782         __endmntent_internal): Remove declaration.
18783         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18784         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18785         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18786
18787 2012-05-30  David S. Miller  <davem@davemloft.net>
18788
18789         * sysdeps/sparc/sparc32/soft-fp/q_util.c
18790         (___Q_simulate_exceptions): Use real FP ops rather than writing
18791         into the %fsr.
18792         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18793         Likewise.
18794
18795 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18796
18797         [BZ #14117]
18798         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18799         * sysdeps/x86/bits/xtitypes.h: This.
18800
18801         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18802         * sysdeps/x86/bits/wordsize.h: This.
18803
18804         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18805         * sysdeps/x86/bits/huge_vall.h: This.
18806
18807         * sysdeps/i386/bits/select.h: Removed.
18808         * sysdeps/x86_64/bits/select.h: Renamed to ...
18809         * sysdeps/x86/bits/select.h: This.
18810
18811         * sysdeps/i386/bits/setjmp.h: Removed.
18812         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18813         * sysdeps/x86/bits/setjmp.h: This.
18814
18815         * sysdeps/i386/bits/mathdef.h: Removed.
18816         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18817         * sysdeps/x86/bits/mathdef.h: This.
18818
18819 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
18820
18821         [BZ #14132]
18822         * include/sys/socket.h (__connect_internal)
18823         (__libc_sa_len_internal): Remove declaration.
18824         (__connect, __libc_sa_len): Declare hidden_proto.
18825         (SA_LEN): Remove use of INTUSE.
18826         * socket/connect.c: Add libc_hidden_def.
18827         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18828         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18829         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18830         alias.
18831         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18832         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18833         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18834         of adding _internal alias.
18835
18836 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18837
18838         [BZ #14117]
18839         * sysdeps/i386/bits/link.h: Removed.
18840         * sysdeps/i386/bits/linkmap.h: Likewise.
18841         * sysdeps/x86_64/bits/link.h: Renamed to ...
18842         * sysdeps/x86/bits/link.h: This.
18843         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18844         * sysdeps/x86/bits/linkmap.h: This.
18845
18846         * sysdeps/i386/bits/endian.h: Removed.
18847         * sysdeps/x86_64/bits/endian.h: Renamed to ...
18848         * sysdeps/x86/bits/endian.h: This.
18849
18850         * sysdeps/i386/bits/byteswap.h: Removed.
18851         * sysdeps/i386/bits/byteswap-16.h: Likewise.
18852         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18853         * sysdeps/x86/bits/byteswap.h: This.
18854         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18855         * sysdeps/x86/bits/byteswap-16.h: This.
18856         * sysdeps/i386/Implies: Add x86.
18857         * sysdeps/x86_64/Implies: Likewise.
18858
18859 2012-05-30  David S. Miller  <davem@davemloft.net>
18860
18861         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18862         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18864         (FP_TRAPPING_EXCEPTIONS): Define.
18865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18866         (FP_TRAPPING_EXCEPTIONS): Define.
18867         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18868         subnormals only when inexact has been signalled or underflow
18869         exceptions are enabled.
18870         (_FP_PACK_CANONICAL): Likewise.
18871
18872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18873
18874         [BZ #14183]
18875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18876         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18877
18878 2012-05-30  Richard Henderson  <rth@twiddle.net>
18879
18880         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18881         with #ifndef NOT_IN_libc.
18882
18883         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
18884         marked to avoid plt entry.
18885
18886 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
18887
18888         [BZ #14112]
18889         * Makeconfig (default-abi): New macro.
18890         (abi-includes): Likewise.
18891         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
18892         $(abi-$(default-abi)-lib-soname) for soname if defined.
18893         ($(common-objpfx)gnu/lib-names.stmp): Generate from
18894         abi-variants.
18895         * Makefile (installed-stubs): Likewise.
18896         * include/stubs-biarch.h: Removed.
18897         * scripts/lib-names.awk: Only handle one library at a time.
18898         * scripts/soversions.awk: Remove WORDSIZE support.
18899         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18900         entries.
18901         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18902         Removed.
18903         (syscall-list-default-condition): Likewise.
18904         (syscall-list-default-condition): Likewise.
18905         (syscall-list-includes): Likewise.
18906         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18907         syscall-list-* with abi-*.  Handle undefined abi-variants.
18908         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18909         * sysdeps/unix/sysv/linux/i386/Implies: New file.
18910         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18911         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18912         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18913         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18914         Removed.
18915         (syscall-list-32-options): Likewise.
18916         (syscall-list-32-condition): Likewise.
18917         (syscall-list-64-options): Likewise.
18918         (syscall-list-64-condition): Likewise.
18919         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18920         macro.
18921         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18922         Renamed to ...
18923         (abi-*): This.
18924         (abi-64-ld-soname): New macro.
18925         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18926         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18927         Renamed to ...
18928         (abi-*): This.
18929         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18930         * sysdeps/x86_64/x32/shlib-versions: Likewise.
18931
18932 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
18933
18934         * sysdeps/unix/sysv/linux/kernel-features.h
18935         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18936         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18937         include <kernel-features.h>.
18938         [!__NR_ftruncate64]: Remove conditional code.
18939         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18940         [__NR_ftruncate64]: Make code unconditional.
18941         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18942         * sysdeps/unix/sysv/linux/truncate64.c: Do not
18943         include <kernel-features.h>.
18944         [!__NR_ftruncate64]: Remove conditional code.
18945         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18946         [__NR_ftruncate64]: Make code unconditional.
18947         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18949         include <kernel-features.h>.
18950         [!__NR_ftruncate64]: Remove conditional code.
18951         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18952         [__NR_ftruncate64]: Make code unconditional.
18953         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18955         include <kernel-features.h>.
18956         [!__NR_ftruncate64]: Remove conditional code.
18957         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18958         [__NR_ftruncate64]: Make code unconditional.
18959         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18960
18961         * configure.in (libc_cv_fpie): Weaken to a compile test using
18962         LIBC_TRY_CC_OPTION.
18963         * configure: Regenerated.
18964
18965 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18966
18967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18971         Refreshed.
18972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18978         Refreshed.
18979
18980 2012-05-27  David S. Miller  <davem@davemloft.net>
18981
18982         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18983         (___Q_zero): New.
18984         (__Q_simulate_exceptions): Return void.  Change to simulate
18985         exceptions by writing into the %fsr.
18986         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18987         (__Qp_handle_exceptions): Likewise.
18988         (numbers): Delete.
18989         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18990         __Qp_handle_exceptions.
18991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18992         __Qp_handle_exceptions.
18993         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18994         as unused and give dummy FP_RND_NEAREST initializer.
18995         (FP_INHIBIT_RESULTS): Define.
18996         (___Q_simulate_exceptions): Update declaration.
18997         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18998         formatting.
18999         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19000         as unused and give dummy FP_RND_NEAREST initializer.
19001         (__Qp_handle_exceptions): Update declaration.
19002         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19003         formatting.
19004
19005 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
19006
19007         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19008         the temporary FPU control word.
19009         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19010         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19011         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19012         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19013         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19014         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19015         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19016         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19017         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19018         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19019         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19020
19021 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19022
19023         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19024         fields.
19025
19026 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
19027
19028         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19029         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19030         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19031         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19032         Likewise.
19033         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19034         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19035         Likewise.
19036
19037 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
19038
19039         * po/h.po: Update from translation team.
19040
19041 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
19042
19043         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19044
19045         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19046         handling of denormals.
19047         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19048         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19049         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19050         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19054         Likewise.
19055
19056 2012-05-26  Marek Polacek  <polacek@redhat.com>
19057
19058         [BZ #14152]
19059         * math/libm-test.inc (fma_test): Don't always expect underflow
19060         exception.
19061
19062 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19063
19064         [BZ #12416]
19065         * elf/tst-execstack.c: Include stackinfo.h.
19066         (do_test): Adjust test case to ensure that pthread_getattr_np
19067         behaviour remains the same after marking stack executable.
19068
19069 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19070
19071         * sysdeps/unix/sysv/linux/kernel-features.h
19072         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19073         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19074         kernel-features.h.
19075         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19076         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19077         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19078         kernel-features.h.
19079         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19080         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19081
19082 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
19083
19084         * configure.in: Define the default includes to being none.
19085         * configure: Regenerated.
19086
19087 2012-05-25  Roland McGrath  <roland@hack.frob.com>
19088
19089         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19090         * sysdeps/x86_64/setjmp.S: Likewise.
19091         * sysdeps/i386/bsd-setjmp.S: Likewise.
19092         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19093         * sysdeps/i386/setjmp.S: Likewise.
19094         * sysdeps/i386/__longjmp.S: Likewise.
19095         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19096         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19097
19098         * include/stap-probe.h: New file.
19099         * configure.in: Handle --enable-systemtap.
19100         * configure: Regenerated.
19101         * config.h.in (USE_STAP_PROBE): New #undef.
19102         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19103         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19104         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19105
19106 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
19107
19108         [BZ #13717]
19109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19110         to 2.4.0 where earlier.
19111         * sysdeps/unix/sysv/linux/configure: Regenerated.
19112         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19113         <kernel-features.h>.
19114         [__ASSUME_32BITUIDS]: Make code unconditional.
19115         [!__ASSUME_32BITUIDS]: Remove conditional code.
19116         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19117         <kernel-features.h>.
19118         [__ASSUME_32BITUIDS]: Make code unconditional.
19119         [!__ASSUME_32BITUIDS]: Remove conditional code.
19120         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19121         [__ASSUME_32BITUIDS]: Make code unconditional.
19122         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19123         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19124         <kernel-features.h>.
19125         [__ASSUME_32BITUIDS]: Make code unconditional.
19126         [!__ASSUME_32BITUIDS]: Remove conditional code.
19127         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19128         <kernel-features.h>.
19129         [__ASSUME_32BITUIDS]: Make code unconditional.
19130         [!__ASSUME_32BITUIDS]: Remove conditional code.
19131         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19132         <kernel-features.h>.
19133         [__ASSUME_32BITUIDS]: Make code unconditional.
19134         [!__ASSUME_32BITUIDS]: Remove conditional code.
19135         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19136         <kernel-features.h>.
19137         [__ASSUME_32BITUIDS]: Make code unconditional.
19138         [!__ASSUME_32BITUIDS]: Remove conditional code.
19139         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19140         <kernel-features.h>.
19141         [__ASSUME_32BITUIDS]: Make code unconditional.
19142         [!__ASSUME_32BITUIDS]: Remove conditional code.
19143         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19144         <kernel-features.h>.
19145         [__ASSUME_32BITUIDS]: Make code unconditional.
19146         [!__ASSUME_32BITUIDS]: Remove conditional code.
19147         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19148         <kernel-features.h>.
19149         [__ASSUME_32BITUIDS]: Make code unconditional.
19150         [!__ASSUME_32BITUIDS]: Remove conditional code.
19151         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19152         <kernel-features.h>.
19153         [__ASSUME_32BITUIDS]: Make code unconditional.
19154         [!__ASSUME_32BITUIDS]: Remove conditional code.
19155         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19156         <kernel-features.h>.
19157         [__ASSUME_32BITUIDS]: Make code unconditional.
19158         [!__ASSUME_32BITUIDS]: Remove conditional code.
19159         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19160         <kernel-features.h>.
19161         [__ASSUME_32BITUIDS]: Make code unconditional.
19162         [!__ASSUME_32BITUIDS]: Remove conditional code.
19163         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19164         <kernel-features.h>.
19165         [__NR_setresgid] (__setresgid): Do not declare.
19166         [__ASSUME_32BITUIDS]: Make code unconditional.
19167         [!__ASSUME_32BITUIDS]: Remove conditional code.
19168         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19169         <kernel-features.h>.
19170         [__NR_setresuid] (__setresuid): Do not declare.
19171         [__ASSUME_32BITUIDS]: Make code unconditional.
19172         [!__ASSUME_32BITUIDS]: Remove conditional code.
19173         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19174         <kernel-features.h>.
19175         [__ASSUME_32BITUIDS]: Make code unconditional.
19176         [!__ASSUME_32BITUIDS]: Remove conditional code.
19177         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19178         <kernel-features.h>.
19179         [__ASSUME_32BITUIDS]: Make code unconditional.
19180         [!__ASSUME_32BITUIDS]: Remove conditional code.
19181         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19182         <kernel-features.h>.
19183         [__ASSUME_32BITUIDS]: Make code unconditional.
19184         [!__ASSUME_32BITUIDS]: Remove conditional code.
19185         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19186         <kernel-features.h>.
19187         [__ASSUME_32BITUIDS]: Make code unconditional.
19188         [!__ASSUME_32BITUIDS]: Remove conditional code.
19189         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19190         <kernel-features.h>.
19191         [__ASSUME_32BITUIDS]: Make code unconditional.
19192         [!__ASSUME_32BITUIDS]: Remove conditional code.
19193         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19194         <kernel-features.h>.
19195         [__ASSUME_32BITUIDS]: Make code unconditional.
19196         [!__ASSUME_32BITUIDS]: Remove conditional code.
19197         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19198         <kernel-features.h>.
19199         [__ASSUME_32BITUIDS]: Make code unconditional.
19200         [!__ASSUME_32BITUIDS]: Remove conditional code.
19201         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19202         <kernel-features.h>.
19203         [__ASSUME_32BITUIDS]: Make code unconditional.
19204         [!__ASSUME_32BITUIDS]: Remove conditional code.
19205         * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.c: Do not include
19210         <kernel-features.h>.
19211         [__ASSUME_32BITUIDS]: Make code unconditional.
19212         [!__ASSUME_32BITUIDS]: Remove conditional code.
19213         * sysdeps/unix/sysv/linux/kernel-features.h
19214         (__ASSUME_SETRESUID_SYSCALL): Remove.
19215         (__ASSUME_SETRESGID_SYSCALL): Likewise.
19216         (__ASSUME_32BITUIDS): Likewise.
19217         (__ASSUME_LDT_WORKS): Likewise.
19218         (__ASSUME_O_DIRECTORY): Likewise.
19219         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19220         architecture but not kernel version.
19221         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19222         (__ASSUME_MMAP2_SYSCALL): Likewise.
19223         (__ASSUME_STAT64_SYSCALL): Likewise.
19224         (__ASSUME_IPC64): Likewise.
19225         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19226         <kernel-features.h>.
19227         [__ASSUME_32BITUIDS]: Make code unconditional.
19228         [!__ASSUME_32BITUIDS]: Remove conditional code.
19229         * sysdeps/unix/sysv/linux/opendir.c: Do not include
19230         <kernel-features.h>.
19231         [__ASSUME_O_DIRECTORY]: Make code unconditional.
19232         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19233         132096]: Remove conditional code.
19234         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19235         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19236         <kernel-features.h>.
19237         [__ASSUME_32BITUIDS]: Make code unconditional.
19238         [!__ASSUME_32BITUIDS]: Remove conditional code.
19239         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19240         <kernel-features.h>.
19241         [__ASSUME_32BITUIDS]: Make code unconditional.
19242         [!__ASSUME_32BITUIDS]: Remove conditional code.
19243         * sysdeps/unix/sysv/linux/setegid.c: Do not include
19244         <kernel-features.h>.
19245         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19246         unconditional.
19247         (__setresgid): Do not declare.
19248         [__ASSUME_32BITUIDS]: Make code unconditional.
19249         [!__ASSUME_32BITUIDS]: Remove conditional code.
19250         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19251         <kernel-features.h>.
19252         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19253         unconditional.
19254         (__setresuid): Do not declare.
19255         [__ASSUME_32BITUIDS]: Make code unconditional.
19256         [!__ASSUME_32BITUIDS]: Remove conditional code.
19257         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19258         <kernel-features.h>.
19259         [__ASSUME_32BITUIDS]: Make code unconditional.
19260         [!__ASSUME_32BITUIDS]: Remove conditional code.
19261         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19262         <kernel-features.h>.
19263         [__ASSUME_32BITUIDS]: Make code unconditional.
19264         [!__ASSUME_32BITUIDS]: Remove conditional code.
19265
19266 2012-05-25  Richard Henderson  <rth@twiddle.net>
19267
19268         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19269         dl_hwcap to ifunc resolver.
19270         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19271         elf_ifunc_invoke.
19272         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19273         dl_hwcap to ifunc resolver.
19274         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19275
19276 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19277
19278         [BZ #14153]
19279         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19280         for |x| <= 2**-26, not 2**-57.
19281         * math/libm-test.inc (acos_test): Do not allow spurious underflow
19282         exception.
19283
19284 2012-05-24  Jeff Law  <law@redhat.com>
19285
19286         * stdio-common/Makefile (tests): Add bug25.
19287         * stdio-common/bug25.c: New test.
19288
19289 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19290
19291         [BZ #13576]
19292         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19293         multiple of MALLOC_ALIGNMENT in size.
19294         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19295
19296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19297
19298         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19299         Require >= 256.
19300         (FILENAME_MAX): Use macro-int-constant.
19301         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
19302         (_IOFBF): Use macro-int-constant.
19303         (_IOLBF): Likewise.
19304         (_IONBF): Likewise.
19305         (SEEK_CUR): Likewise.
19306         (SEEK_END): Likewise.
19307         (SEEK_SET): Likewise.
19308         (TMP_MAX): Likewise.
19309         (EOF): Use macro-int-constant.  Require < 0.
19310         (NULL): Use macro-constant.  Require == 0.
19311         (stdin): Require type to be FILE *.
19312         (stdout): Likewise.
19313         (stderr): Likewise.
19314         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19315         macro-int-constant.
19316         (EXIT_SUCCESS): Likewise.
19317         (NULL): Use macro-constant.  Require == 0.
19318         (RAND_MAX): Use macro-int-constant.
19319         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19320         [C99-based standards] (strtof): Require function.
19321         [C99-based standards] (strtold): Likewise.
19322         [C99-based standards] (strtoll): Likewise.
19323         [C99-based standards] (strtoull): Likewise.
19324         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19325         [ISO || ISO99 || ISO11] (limits.h): Likewise.
19326         [ISO || ISO99 || ISO11] (math.h): Likewise.
19327         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19328         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19330
19331 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
19332
19333         [BZ #14132]
19334         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19335         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19336         * intl/dgettext.c (DCGETTEXT): Likewise.
19337         * intl/gettext.c (DCGETTEXT): Likewise.
19338         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19339         * posix/regex_internal.h (gettext): Likewise.
19340         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19341         Remove declaration.
19342         * include/argz.h (__argz_count_internal)
19343         (__argz_stringify_internal): Remove declaration.
19344         (__argz_count, __argz_stringify): Declare hidden proto.
19345         * intl/dcgettext.c: Remove use of INTDEF.
19346         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19347         * string/argz-stringify.c: Likewise.
19348         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19349         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19350         Declare hidden proto.
19351         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19352         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19353         Declare hidden proto.
19354         * include/stdio.h (__asprintf_internal): Don't declare.
19355         (__asprintf): Don't define as macro.  Declare hidden proto.
19356         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19357         (__fsetlocking): Declare hidden proto.
19358         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19359         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19360         hidden proto.
19361         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19362         (_IO_setlinebuf): Remove use of INTUSE.
19363         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19364         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19365         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19366         Remove declaration.
19367         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19368         (_IO_do_flush): Remove use of INTUSE.
19369         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19370         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19371         (_IO_adjust_column, _IO_least_wmarker)
19372         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19373         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19374         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19375         (_IO_default_doallocate, _IO_wdefault_doallocate)
19376         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19377         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19378         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19379         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19380         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19381         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19382         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19383         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19384         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19385         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19386         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19387         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19388         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19389         proto.
19390         (_IO_flush_all_internal, _IO_adjust_column_internal)
19391         (_IO_default_uflow_internal, _IO_default_finish_internal)
19392         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19393         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19394         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19395         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19396         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19397         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19398         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19399         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19400         (_IO_file_close_internal, _IO_file_close_it_internal)
19401         (_IO_file_underflow_internal, _IO_file_overflow_internal)
19402         (_IO_file_init_internal, _IO_file_attach_internal)
19403         (_IO_file_fopen_internal, _IO_file_read_internal)
19404         (_IO_file_sync_internal, _IO_file_seek_internal)
19405         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19406         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19407         (_IO_str_underflow_internal, _IO_str_overflow_internal)
19408         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19409         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19410         (_IO_list_all_internal, _IO_link_in_internal)
19411         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19412         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19413         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19414         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19415         (_IO_do_write_internal, _IO_padn_internal)
19416         (_IO_getline_info_internal, _IO_getline_internal)
19417         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19418         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19419         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19420         (_IO_vfscanf_internal, _IO_vfprintf_internal)
19421         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19422         (_IO_init_internal, _IO_un_link_internal): Don't declare.
19423         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19424         with libc_hidden_ver, remove use of INTUSE.
19425         * libio/genops.c: Likewise.
19426         * libio/freopen.c: Likewise.
19427         * libio/freopen64.c: Likewise.
19428         * libio/iofclose.c: Likewise.
19429         * libio/iofdopen.c: Likewise.
19430         * libio/iofflush.c: Likewise.
19431         * libio/iofflush_u.c: Likewise.
19432         * libio/iofgets.c: Likewise.
19433         * libio/iofgets_u.c: Likewise.
19434         * libio/iofopen.c: Likewise.
19435         * libio/iofopncook.c: Likewise.
19436         * libio/iofread.c: Likewise.
19437         * libio/iofread_u.c: Likewise.
19438         * libio/ioftell.c: Likewise.
19439         * libio/iofwrite.c: Likewise.
19440         * libio/iogetline.c: Likewise.
19441         * libio/iogets.c: Likewise.
19442         * libio/iogetwline.c: Likewise.
19443         * libio/iopadn.c: Likewise.
19444         * libio/iopopen.c: Likewise.
19445         * libio/ioseekoff.c: Likewise.
19446         * libio/ioseekpos.c: Likewise.
19447         * libio/iosetbuffer.c: Likewise.
19448         * libio/iosetvbuf.c: Likewise.
19449         * libio/ioungetc.c: Likewise.
19450         * libio/ioungetwc.c: Likewise.
19451         * libio/iovdprintf.c: Likewise.
19452         * libio/iovsprintf.c: Likewise.
19453         * libio/iovsscanf.c: Likewise.
19454         * libio/memstream.c: Likewise.
19455         * libio/obprintf.c: Likewise.
19456         * libio/oldfileops.c: Likewise.
19457         * libio/oldiofclose.c: Likewise.
19458         * libio/oldiofdopen.c: Likewise.
19459         * libio/oldiofopen.c: Likewise.
19460         * libio/oldiopopen.c: Likewise.
19461         * libio/oldstdfiles.c: Likewise.
19462         * libio/putc.c: Likewise.
19463         * libio/setbuf.c: Likewise.
19464         * libio/setlinebuf.c: Likewise.
19465         * libio/stdfiles.c: Likewise.
19466         * libio/strops.c: Likewise.
19467         * libio/vasprintf.c: Likewise.
19468         * libio/vscanf.c: Likewise.
19469         * libio/vsnprintf.c: Likewise.
19470         * libio/vswprintf.c: Likewise.
19471         * libio/wfiledoalloc.c: Likewise.
19472         * libio/wfileops.c: Likewise.
19473         * libio/wgenops.c: Likewise.
19474         * libio/wmemstream.c: Likewise.
19475         * libio/wstrops.c: Likewise.
19476         * libio/__fpurge.c: Likewise.
19477         * libio/__fsetlocking.c: Likewise.
19478         * assert/assert.c: Likewise.
19479         * debug/fgets_chk.c: Likewise.
19480         * debug/fgets_u_chk.c: Likewise.
19481         * debug/fread_chk.c: Likewise.
19482         * debug/fread_u_chk.c: Likewise.
19483         * debug/gets_chk.c: Likewise.
19484         * debug/obprintf_chk.c: Likewise.
19485         * debug/vasprintf_chk.c: Likewise.
19486         * debug/vdprintf_chk.c: Likewise.
19487         * debug/vsnprintf_chk.c: Likewise.
19488         * debug/vsprintf_chk.c: Likewise.
19489         * malloc/mtrace.c: Likewise.
19490         * misc/error.c: Likewise.
19491         * misc/syslog.c: Likewise.
19492         * stdio-common/asprintf.c: Likewise.
19493         * stdio-common/fxprintf.c: Likewise.
19494         * stdio-common/getw.c: Likewise.
19495         * stdio-common/isoc99_fscanf.c: Likewise.
19496         * stdio-common/isoc99_scanf.c: Likewise.
19497         * stdio-common/isoc99_vfscanf.c: Likewise.
19498         * stdio-common/isoc99_vscanf.c: Likewise.
19499         * stdio-common/isoc99_vsscanf.c: Likewise.
19500         * stdio-common/printf-prs.c: Likewise.
19501         * stdio-common/printf_fp.c: Likewise.
19502         * stdio-common/printf_fphex.c: Likewise.
19503         * stdio-common/printf_size.c: Likewise.
19504         * stdio-common/putw.c: Likewise.
19505         * stdio-common/scanf.c: Likewise.
19506         * stdio-common/sprintf.c: Likewise.
19507         * stdio-common/tmpfile.c: Likewise.
19508         * stdio-common/vfprintf.c: Likewise.
19509         * stdio-common/vfscanf.c: Likewise.
19510         * stdlib/strfmon_l.c: Likewise.
19511         * sunrpc/openchild.c: Likewise.
19512         * sunrpc/xdr_stdio.c: Likewise.
19513         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19514         * sysdeps/mach/hurd/tmpfile.c: Likewise.
19515
19516 2012-05-24  Roland McGrath  <roland@hack.frob.com>
19517
19518         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19519
19520         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19521         in the third column, to generate for the shared library an IFUNC
19522         that uses _dl_vdso_vsym.
19523         * Makerules (COMPILE.c, compile-stdin.c): New variables.
19524         * Makeconfig (object-suffixes-noshared): New variable.
19525
19526         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19527         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19528         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19529         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19530
19531         [BZ #14132]
19532         * include/sys/time.h (__gettimeofday): Remove macro.
19533         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19534         * time/gettimeofday.c (__gettimeofday): Remove #undef.
19535         Remove INTDEF.
19536         (__gettimeofday): Add libc_hidden_def.
19537         (gettimeofday): Add libc_hidden_weak.
19538         * sysdeps/mach/gettimeofday.c: Likewise.
19539         * sysdeps/posix/gettimeofday.c: Likewise.
19540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19543         (__gettimeofday_internal): Remove strong_alias.
19544         (__gettimeofday): Add libc_hidden_def.
19545         (gettimeofday): Add libc_hidden_weak.
19546         * sysdeps/unix/syscalls.list (gettimeofday):
19547         Remove __gettimeofday_internal alias.
19548
19549 2012-05-24  Daniel Jacobowitz  <drow@false.org>
19550             H.J. Lu  <hongjiu.lu@intel.com>
19551
19552         [BZ #12495]
19553         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19554         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19555         (largebin_index_32_big): New.
19556         (largebin_index): Use it for 16-byte alignment.
19557         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
19558         correction with front_misalign.
19559
19560 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19561
19562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19564         Likewise.
19565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19570         Likewise.
19571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19572         Likewise.
19573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19574         Likewise.
19575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19576         Likewise.
19577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19578         Likewise.
19579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19580         Likewise.
19581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19582         Likewise.
19583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19584         Likewise.
19585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19586         Likewise.
19587
19588         * scripts/data/c++-types-x32-linux-gnu.data: New file.
19589         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19590
19591 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
19592
19593         [BZ #10846]
19594         [BZ #14036]
19595         * math/libm-test.inc (exp_test): Add test from bug 14036.
19596         (pow_test): Add test from bug 10846.
19597
19598         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19599         and other flags.
19600         (special_function): Do not include flags in test name.
19601         (parse_args): Likewise.
19602         * sysdeps/i386/fpu/libm-test-ulps: Update.
19603         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19604         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19605         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607
19608         * math/gen-libm-test.pl (%beautify): Add entries for underflow
19609         exceptions.
19610         * math/libm-test.inc ("Philosophy"): Update comment about
19611         exception testing.
19612         (UNDERFLOW_EXCEPTION): New macro.
19613         (UNDERFLOW_EXCEPTION_OK): Likewise.
19614         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19615         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19616         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19617         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19618         (INVALID_EXCEPTION_OK): Update value.
19619         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19620         (OVERFLOW_EXCEPTION_OK): Likewise.
19621         (IGNORE_ZERO_INF_SIGN): Likewise.
19622         (test_exceptions): Handle underflow exceptions.
19623         (acos_test): Update for underflow exception expectations.
19624         (cexp_test): Likewise.
19625         (clog_test): Likewise.
19626         (clog10_test): Likewise.
19627         (csqrt_test): Likewise.
19628         (ctan_test): Likewise.
19629         (ctanh_test): Likewise.
19630         (exp_test): Likewise.
19631         (exp10_test): Likewise.
19632         (exp2_test): Likewise.
19633         (expm1_test): Likewise.
19634         (fma_test): Likewise.
19635         (j0_test): Likewise.
19636         (jn_test): Likewise.
19637         (nexttoward_test): Likewise.
19638         (pow_test): Likewise.
19639         (scalbn_test): Likewise.
19640         (scalbln_test): Likewise.
19641         (tan_test): Likewise.
19642         (y1_test): Likewise.
19643         * sysdeps/i386/fpu/libm-test-ulps: Update.
19644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645
19646 2012-05-23  David S. Miller  <davem@davemloft.net>
19647
19648         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19649         (__libc_sigaction): Remove unused local variables.
19650
19651 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19652
19653         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19654
19655 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
19656
19657         mktime: avoid signed integer overflow
19658         * time/mktime.c (__mktime_internal): Do not mishandle the case
19659         where diff == INT_MIN.
19660
19661         mktime: simplify computation of average
19662         * time/mktime.c (ranged_convert): Use new time_t_avg function
19663         instead of rolling our own (probably-slower) code.
19664
19665         mktime: do not assume signed right shift propagates sign bit
19666         * time/mktime.c (isdst_differ): New static function.
19667         (__mktime_internal): No need to normalize tm_isdst now.
19668         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19669         tm_isdst values.
19670
19671         mktime: merge another wrapv change from gnulib
19672         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19673         from some compilers.
19674
19675         mktime: remove incorrect attempt at unusual arithmetics
19676         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19677         The code didn't really work on such machines anyway.
19678         (TYPE_MINIMUM): Assume two's complement.
19679         (twos_complement_arithmetic): Verify that long_int and time_t
19680         are two's complement (or unsigned, in the latter case).
19681
19682         mktime: check signed shifts on long_int and time_t, too
19683         * time/mktime.c (SHR): Check that shifts work as desired
19684         on the types long_int and time_t too, as SHR is used on
19685         such types.
19686
19687         mktime: do not assume 'long' is wide enough
19688         * time/mktime.c (verify): Move decl up.
19689         (long_int): New type.
19690         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19691         to remove assumption in the code that 'long' is wide enough to
19692         store year values.  This assumption is not true on x32 and on
19693         some non-glibc platforms.
19694
19695         mktime: merge wrapv change from gnulib
19696         * time/mktime.c (WRAPV): New macro.
19697         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19698         (guess_time_tm, __mktime_internal): Do not assume that signed
19699         integer overflow wraps around; modern compilers generate code
19700         where this assumption is no longer valid.
19701
19702 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19703
19704         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19705         Replace "jmp L(pseudo_end)" with "ret".
19706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19707         Likewise.
19708
19709 2012-05-23  Andreas Jaeger  <aj@suse.de>
19710
19711         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19712         * sysdeps/unix/sysv/linux/poll.c: Remove file.
19713
19714 2012-05-23  Andreas Jaeger  <aj@suse.de>
19715             Maximilian Attems  <max@stro.at>
19716
19717         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19718         New macros.
19719
19720 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
19721
19722         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19723         code so that pseudo_end is just ret and the stack pointer is
19724         correct also for static library in error case.
19725
19726 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
19727
19728         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19729         move to syscalls.list.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19734
19735         * manual/install.texi (Running make install): Do not mention Linux
19736         kernel version for which pt_chown is not needed.
19737         (Linux): Do not mention problems with nscd with 2.0 kernels.
19738         * INSTALL: Regenerated.
19739
19740 2012-05-23  Andreas Jaeger  <aj@suse.de>
19741
19742         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19743         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19744         macro.
19745         * sysdeps/unix/sysv/linux/s390/bits/mman.h
19746         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19747         * sysdeps/unix/sysv/linux/sh/bits/mman.h
19748         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19749         * sysdeps/unix/sysv/linux/i386/bits/mman.h
19750         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19751         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19752         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19753         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19755         * sysdeps/unix/sysv/linux/bits/in.h
19756         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19757
19758 2012-05-22  Roland McGrath  <roland@hack.frob.com>
19759
19760         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19761         (PREPARE_VERSION): Just use assert instead, it will be elided
19762         under [NDEBUG] anyway.
19763
19764 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19765
19766         * sysdeps/unix/sysv/linux/Makefile: Include
19767         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19768         (sysdep_routines): Remove sysctl.
19769         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19770         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19771         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19772         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19773         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19774
19775 2012-05-22  Andreas Jaeger  <aj@suse.de>
19776
19777         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19778         that pseudo_end is just ret and the stack pointer is correct also
19779         for static library in error case.
19780
19781 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19782
19783         [BZ #14122]
19784         * nss/nsswitch.c (defconfig_entries): New variable.
19785         (__nss_database_lookup): Don't leak defconfig entries.
19786         (nss_parse_service_list): Don't leak on error paths.
19787         (free_database_entries): New function.
19788         (free_defconfig): New function.
19789         (free_mem): Move common code to free_database_entries.
19790
19791 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19792
19793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19794         Add arch_prctl.
19795         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19796
19797         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19798         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19800         New macro.
19801         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19802         (INTERNAL_SYSCALL_TYPES): Likewise.
19803         (LOAD_ARGS_TYPES_[1-6]): Likewise.
19804         (LOAD_REGS_TYPES_[1-6]): Likewise.
19805         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19806         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19807
19808 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19809
19810         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19811         copysignl for GLIBC_2_0.
19812         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19813         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19815         logbl for GLIBC_2_0.
19816         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19817         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19818
19819 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19820
19821         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19823
19824         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19825         Use "neg %eax".
19826
19827         * time/mktime.c: Update copyright years.
19828
19829 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19830
19831         mktime: merge comment-quoting-style change from gnulib
19832         * time/mktime.c: Quote 'like this' in comments.
19833         The GNU coding standards suggest that we no longer quote `like this',
19834         as "`" and "'" are typically rendered asymmetrically nowadays.
19835         The typical gnulib style is to quote 'like this' when quoting
19836         code, and "like this" when quoting English.
19837
19838         * time/mktime.c (compile-command): Add "-I.".
19839
19840         mktime: merge mktime-internal.h change from gnulib
19841         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19842
19843         mktime: merge time_r change from gnulib
19844         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19845
19846         mktime: merge DEBUG change from gnulib
19847         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19848         case system <time.h> has a #define.
19849
19850         mktime: merge <sys/types.h> change from gnulib
19851         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19852         since <time.t> is now guaranteed to define time_t.
19853
19854         mktime: merge HAVE_CONFIG_H change from gnulib
19855         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19856
19857 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19858
19859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19860         Use "neg %eax".
19861
19862         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19863         __rlim_t cast.
19864         (struct rusage): Use anonymous union to pad each field to
19865         __syscall_slong_t.
19866
19867 2012-05-21  David S. Miller  <davem@davemloft.net>
19868
19869         * Makefules (o-iterator): Remove .s cases.
19870         (compile-command.s): Delete.
19871         (COMPILE.s): Delete.
19872         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19873
19874 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
19875
19876         * configure.in (libc_cv_predef_stack_protector): Only consider
19877         "foobar" and "__stack_chk_fail" lines in libc_undefs.
19878         * configure: Regenerated.
19879
19880 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19881
19882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19883         New macro.  Use R*LP on int and pointer.
19884         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19885         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19886         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19887         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19888
19889         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19890         [__WORDSIZE_TIME64_COMPAT32] instead of
19891         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19892         (struct utmp): Likewise.
19893         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19894         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19895         Renamed to ...
19896         (__WORDSIZE_TIME64_COMPAT32): This.
19897         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19898         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19899         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19900         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19901         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19902         (__WORDSIZE_TIME64_COMPAT32): New macro.
19903
19904 2012-05-21  Andreas Jaeger  <aj@suse.de>
19905
19906         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19907         only if [SHARED]. Add prototype for __wcschr_ia32.
19908
19909 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19910
19911         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19912         of %rbp unmolested in the jmp_buf while mangling the low bits.
19913         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19914         unmolested high bits of %rbp while demangling the low bits.
19915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19916
19917 2012-05-21  Andreas Jaeger  <aj@suse.de>
19918
19919         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19920         * sunrpc/svc_simple.c: Use it for registerrpc.
19921         * sunrpc/xcrypt.c: Use it for passwd2des.
19922
19923         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19924
19925 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19926
19927         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19928         Don't define if [__SYSCALL_WORDSIZE != 32].
19929         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19930         New macro.
19931
19932 2012-05-21  Bruno Haible  <bruno@clisp.org>
19933             Andreas Jaeger  <aj@suse.de>
19934
19935         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19936         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19937         inptr and inend for must_buffer_ch.
19938         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19939         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19940         * stdio-common/Makefile (tests): Remove bug15.
19941         (bug15-ENV): Remove macro.
19942         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19943         anymore.
19944
19945 2012-05-19  Andreas Jaeger  <aj@suse.de>
19946             Roland McGrath  <roland@hack.frob.com>
19947
19948         * manual/contrib.texi: Completely rewritten. It contains now an
19949         alphabetical list of contributors and their contributions.
19950
19951 2012-05-21  Richard Henderson  <rth@twiddle.net>
19952
19953         * misc/getauxval.c (__getauxval): Use unsigned long int.
19954         * misc/sys/auxv.h: Include <sys/cdefs.h>.
19955         (getauxval): Use unsigned long int.
19956
19957 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
19958
19959         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19960
19961 2012-05-21  Roland McGrath  <roland@hack.frob.com>
19962
19963         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19964         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19965         __alignof__ (long double).
19966
19967 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19968
19969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19970
19971 2012-05-20  Richard Henderson  <rth@twiddle.net>
19972
19973         * misc/getauxval.c: New file.
19974         * misc/sys/auxv.h: New file.
19975         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19976         (routines): Add getauxval.
19977         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19978         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19979         * elf/dl-sysdep.c (_dl_auxv): Remove.
19980         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19981         * elf/dl-support.c (_dl_auxv): New variable.
19982         (_dl_aux_init): Initialize it.
19983         * manual/startup.texi (Auxiliary Vector): New node.
19984         * sysdeps/generic/bits/hwcap.h: New file.
19985         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19986         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
19987         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19988         * sysdeps/sparc/sysdep.h: ... here.  Include it.
19989         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
19991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19992         Update.
19993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19996         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20001
20002 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20003
20004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20005
20006 2012-05-19  David S. Miller  <davem@davemloft.net>
20007
20008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20009
20010 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20011
20012         [BZ #14123]
20013         * math/s_ccosh.c: Include <float.h>
20014         (__ccosh): Avoid internal overflow calculating sinh and cosh
20015         values before multiplying by sin and cos values.
20016         * math/s_ccoshf.c: Likewise.
20017         * math/s_ccoshl.c: Likewise.
20018         * math/s_csin.c: Likewise.
20019         * math/s_csinf.c: Likewise.
20020         * math/s_csinl.c: Likewise.
20021         * math/s_csinh.c: Likewise.
20022         * math/s_csinhf.c: Likewise.
20023         * math/s_csinhl.c: Likewise.
20024         * math/libm-test.inc (ccos_test): Add more tests.
20025         (ccosh_test): Likewise.
20026         (csin_test): Likewise.
20027         (csinh_test): Likewise.
20028         * sysdeps/i386/fpu/libm-test-ulps: Update.
20029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20030
20031 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20032
20033         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20034         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20035
20036         * sysdeps/x86_64/x32/_itoa.h: Add comment.
20037
20038 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
20039
20040         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20041         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20042         * sysdeps/powerpc/soft-fp/Versions: Likewise.
20043         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20044         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20045         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20046         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20047         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20048         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20049         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20050         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20051         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20052         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20053         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20054         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20055         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20056         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20057         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20058         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20059         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20060         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20061         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20062         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20063         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20064         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20065         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20066         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20067         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20068         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20069         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20070         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20071
20072 2012-05-18  Andreas Jaeger  <aj@suse.de>
20073
20074         * csu/.gitignore: Delete.
20075
20076 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20077
20078         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20079         (timex): Use __syscall_slong_t.
20080
20081 2012-05-18  Andreas Jaeger  <aj@suse.de>
20082             Carlos O'Donell  <carlos_odonell@mentor.com>
20083
20084         * manual/install.texi (Configuring and compiling): Update
20085         description about files modified in the source directory.
20086         * INSTALL: Regenerated.
20087
20088 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20089
20090         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20091         value.  Use "or" to set return value to -1.
20092         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20093         negate return value.
20094
20095 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20096
20097         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20098         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20099         failure if the compiler has Graphite support disabled.
20100         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20101         Likewise.
20102         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20103         CFLAGS-memmove.c): Likewise.
20104         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20105         Likewise.
20106
20107 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20108
20109         * sysdeps/x86_64/x32/_itoa.h: New file.
20110
20111         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20112         getdents system call only if kernel and user dirents have the
20113         same d_ino and d_off.
20114
20115         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20116         LLONG_MAX != LONG_MAX.
20117         (_itoa_word): Use _ITOA_WORD_TYPE on value.
20118         (_fitoa_word): Likewise.
20119
20120         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20121         years.
20122         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20123         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20124         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20125
20126         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20127         include <bits/wordsize.h>.  Check __x86_64__ instead of
20128         __WORDSIZE.
20129         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20130         if __x86_64__ is defined.  Use anonymous union on fpstate.
20131
20132         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20133         anonymous union.
20134
20135 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
20136
20137         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20138         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20139         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20140         Refer to _rtld_local_ro instead of _rtld_global_ro.
20141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20142         Likewise.
20143         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20144         Likewise.
20145         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20146         Likewise.
20147         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20148         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20149         of _rtld_global, and rtld_progname instead of _dl_argv[0].
20150
20151         * sysdeps/powerpc/powerpc32/dl-machine.c
20152         (__elf_machine_runtime_setup) [PROF]: Don't reference
20153         _dl_prof_resolve.
20154
20155 2012-05-18  Andreas Jaeger  <aj@suse.de>
20156
20157         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20158         function only available for GCCs before 3.4 since GCC 3.4
20159         introduced a builtin.
20160         (lrint): Likewise.
20161         (llrintf): Likewise.
20162         (llrint): Likewise.
20163         (fmaxf): Likewise.
20164         (fmax): Likewise.
20165         (fminf): Likewise.
20166         (fmin): Likewise.
20167         (rint): Likewise.
20168         (rintf): Likewise.
20169         (nearbyint): Likewise.
20170         (nearbyintf): Likewise.
20171         (ceil): Likewise.
20172         (ceilf): Likewise.
20173         (floor): Likewise.
20174         (floorf): Likewise.
20175
20176 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20177
20178         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20179         on both fields and cast pointer to __syscall_ulong_t.
20180
20181         * bits/types.h (__fsword_t): New type.
20182         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20183         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20184         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20185         (__FSWORD_T_TYPE): Likewise.
20186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20187         (__FSWORD_T_TYPE): Likewise.
20188         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20189         (__FSWORD_T_TYPE): Likewise.
20190         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20191         (__FSWORD_T_TYPE): Likewise.
20192         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20193         __SWORD_TYPE with __fsword_t.
20194         (statfs64): Likewise.
20195
20196 2012-05-17  David S. Miller  <davem@davemloft.net>
20197
20198         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20199
20200 2012-05-17  Andreas Jaeger  <aj@suse.de>
20201
20202         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20203         warning.
20204
20205 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20206
20207         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20208
20209 2012-05-17  Andreas Jaeger  <aj@suse.de>
20210
20211         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20212         when it is used.
20213
20214 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20215
20216         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20217
20218 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
20219
20220         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20221         * sysdeps/x86_64/tst-mallocalign1.c: New file.
20222
20223 2012-05-17  Andreas Jaeger  <aj@suse.de>
20224             Carlos O'Donell  <carlos_odonell@mentor.com>
20225
20226         [BZ #14059]
20227         * sysdeps/x86_64/multiarch/init-arch.h
20228         (bit_YMM_Usable): Rename to...
20229         (bit_AVX_Usable): ... this.
20230         (bit_FMA4_Usable): New macro.
20231         (bit_XMM_state): New macro.
20232         (bit_YMM_state): New macro.
20233         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20234         [__ASSEMBLER__] (index_AVX_Usable): ... this.
20235         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20236         (CPUID_OSXSAVE): New macro.
20237         (CPUID_AVX): New macro.
20238         (CPUID_FMA4): New macro.
20239         (index_YMM_Usable): Rename to...
20240         (index_AVX_Usable): ... this.
20241         (HAS_AVX): Use HAS_ARCH_FEATURE.
20242         (HAS_FMA4): Likewise.
20243         (HAS_YMM_USABLE): Remove.
20244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20245         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20246         are present.
20247         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20248         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20249         * sysdeps/x86_64/multiarch/Makefile: Likewise.
20250         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20251         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20252
20253 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
20254
20255         * math/libm-test.c: Support platforms without multiple rounding modes.
20256         * math/bug-nextafter.c: Support platforms without FP exceptions.
20257         * math/bug-nexttoward.c: Likewise.
20258         * math/test-fenv.c: Likewise.
20259         * math/test-misc.c: Likewise.
20260         * stdlib/bug-getcontext.c: Likewise.
20261
20262 2012-05-17  Andreas Jaeger  <aj@suse.de>
20263
20264         * manual/examples/search.c (critter_cmp): Change signature to
20265         avoid warnings.
20266         * manual/string.texi (Collation Functions): Likewise.
20267
20268 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20269
20270         * bits/types.h: Fold copyright years.
20271         * bits/typesizes.h: Likewise.
20272         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20273         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20274         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20276         * time/time.h: Likewise.
20277
20278 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
20279
20280         [BZ #208]
20281         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20282         in instead of returning them.  Return void.
20283         (__libc_mallinfo): Accumulate over all arenas.
20284         (__malloc_stats): Adjust for change in int_mallinfo interface.
20285
20286 2012-05-16  Roland McGrath  <roland@hack.frob.com>
20287
20288         [BZ #10375]
20289         * configure.in (NM): Add AC_CHECK_TOOL for it.
20290         (libc_extra_cflags): New substituted variable.
20291         Check for -fstack-protector being used implicitly.
20292         * configure: Regenerated.
20293         * config.make.in (config-extra-cflags): New variable,
20294         gets @libc_extra_cflags@.
20295         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20296
20297         [BZ #10375]
20298         * configure.in: Check for _FORTIFY_SOURCE being predefined.
20299         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20300         * configure: Regenerated.
20301         * config.make.in (CPPUNDEFS): New substituted variable.
20302         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20303         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20304         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20305
20306 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20307
20308         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20309         (mq_attr): Use __syscall_slong_t.
20310
20311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20312
20313         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20314         Check __x86_64__ instead of __WORDSIZE.
20315         (_STAT_VER_LINUX): Likewise.
20316         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
20317         __syscall_ulong_t and __syscall_slong_t.
20318         (stat64): Likewise.
20319
20320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20321
20322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20323
20324 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20325
20326         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20327
20328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20329
20330         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20331         __syscall_ulong_t.
20332
20333         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20334         include <bits/wordsize.h>.  Check __x86_64__ instead of
20335         __WORDSIZE.
20336         (greg_t): Use "__extension__ long long int" if __x86_64__ is
20337         defined.
20338         (mcontext_t): Replace "unsigned long" with "unsigned long long".
20339
20340         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20341         include <bits/wordsize.h>.  Check __x86_64__ instead of
20342         __WORDSIZE.
20343         (user_regs_struct): Use "__extension__ unsigned long long"
20344         instead of "unsigned long" if __x86_64__ is defined.
20345         (user): Likewise.  Pad after pointer field if __ILP32__ is
20346         defined.
20347
20348 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
20349
20350         * configure.in (makeinfo): Require version 4.5 or later.  Allow
20351         versions 5 to 9.
20352         * configure: Regenerated.
20353         * manual/install.texi (texinfo): Increase version requirement to
20354         4.5 or later.
20355         * INSTALL: Regenerated.
20356
20357         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20358
20359 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
20360
20361         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20362
20363         * sysdeps/x86_64/x32/ffs.c: New file.
20364
20365         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20366         __syscall_ulong_t.
20367         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20368         defined.  Use __syscall_ulong_t.
20369         (shminfo): Use __syscall_ulong_t.
20370         (shm_info): Likewise.
20371
20372         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20373         __syscall_ulong_t.
20374
20375         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20376         <bits/wordsize.h>.
20377         (msgqnum_t): Use __syscall_ulong_t.
20378         (msglen_t): Likewise.
20379         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
20380         __syscall_ulong_t.
20381
20382         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20383         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20384
20385         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20386
20387         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20388         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20389
20390         * sysvipc/sys/msg.h (msgbuf): Replace long int with
20391         __syscall_slong_t.
20392
20393         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20394         include <bits/wordsize.h>.  Check __x86_64__ instead of
20395         __WORDSIZE.
20396
20397         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20398         "unsigned long long int" if __x86_64__ is defined.
20399         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20400
20401         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20402         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
20403         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20404
20405         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20406         <stdint.h>.
20407         (GET_PC): Cast to uintptr_t first.
20408         (GET_FRAME): Likewise.
20409         (GET_STACK): Likewise.
20410
20411         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20413         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20415         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20417         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20418         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20419         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20420         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20422         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20423         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20424         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20425         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20426         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20427         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20428         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20430         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20432         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20434         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20436         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20437         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20438         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20439         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20440
20441 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
20442
20443         * Makerules (+depfiles): Also collect depfiles from .oS in
20444         $(extra-objs).
20445         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20446         .oS, $(libnldbl-routines)).
20447
20448         * Makerules (native-compile-mkdep-flags): Define.
20449         * sunrpc/Makefile (extra-objs): Add $(addprefix
20450         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20451         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20452         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
20453         calling $(make-target-directory).
20454
20455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20456
20457         * bits/types.h (__snseconds_t): Removed.
20458         * time/time.h (struct timespec): Replace __snseconds_t with
20459         __syscall_slong_t.
20460         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20461         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20462         Likewise.
20463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20464         (__SNSECONDS_T_TYPE): Likewise.
20465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20466         (__SNSECONDS_T_TYPE): Likewise.
20467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20468         (__SNSECONDS_T_TYPE): Likewise.
20469
20470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20471
20472         * sysdeps/mach/hurd/bits/typesizes.h
20473         (__SYSCALL_SLONG_TYPE): New macro.
20474         (__SYSCALL_ULONG_TYPE): Likewise.
20475
20476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20477
20478         * bits/types.h (__syscall_slong_t): New type.
20479         (__syscall_ulong_t): Likewise.
20480
20481         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20482         (__SYSCALL_ULONG_TYPE): Likewise.
20483         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20484         (__SYSCALL_SLONG_TYPE): Likewise.
20485         (__SYSCALL_ULONG_TYPE): Likewise.
20486         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20487         (__SYSCALL_SLONG_TYPE): Likewise.
20488         (__SYSCALL_ULONG_TYPE): Likewise.
20489         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20490         (__SYSCALL_SLONG_TYPE): Likewise.
20491         (__SYSCALL_ULONG_TYPE): Likewise.
20492
20493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20494
20495         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20496         Add sigaltstack-offsets.sym.
20497         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20498         <sigaltstack-offsets.h>.
20499         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
20500         longjmp_msg pointer.
20501         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
20502         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20503         signal stack.
20504         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20505
20506 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20507
20508         * elf/stackguard-macros.h: Remove file.
20509         * sysdeps/generic/stackguard-macros.h: New file.
20510         * sysdeps/i386/stackguard-macros.h: Likewise.
20511         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20512         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20513         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20514         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20515         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20516         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20517         * sysdeps/x86_64/stackguard-macros.h: Likewise.
20518         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20519         <elf/stackguard-macros.h>.
20520
20521         [BZ #14109]
20522         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20523         __aligned__ in attribute.
20524         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20525         (gregset_t): Likewise.
20526
20527 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20528
20529         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20530         * sysdeps/x86_64/64/Implies-after: Here.  New file.
20531         * sysdeps/x86_64/x32/Implies-after: New file.
20532
20533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20534
20535         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20536         and access return value for _dl_profile_fixup.  Use R10_LP to
20537         load frame size.
20538
20539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20540
20541         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20542
20543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20544
20545         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20546         * sysdeps/x86_64/x32/sysdep.h: New file.
20547
20548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20549
20550         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20551         * sysdeps/x86_64/setjmp.S: Likewise.
20552
20553 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20554
20555         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20556         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20557         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20558         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20559         remove unused global constant.
20560
20561 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
20562
20563         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20564         include of <not-cancel.h>.
20565
20566 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20567
20568         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20569
20570 2012-05-15  Jeff Law  <law@redhat.com>
20571             Andreas Jaeger  <aj@suse.de>
20572
20573         [BZ #13594]
20574         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20575         out from...
20576         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20577         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20578         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20579         code changing __hst_map_handle.map.
20580
20581 2012-05-15  Roland McGrath  <roland@hack.frob.com>
20582
20583         * configure.in (sysnames): Look for Implies-before and Implies-after
20584         files.
20585         * configure: Regenerated.
20586
20587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20588
20589         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20590         8-byte data alignment with LP_SIZE alignment.
20591
20592 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20593
20594         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20595         into R10_LP.
20596
20597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20598
20599         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20600
20601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20602
20603         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20604         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20605         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20606         Likewise.
20607         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20608
20609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20610
20611         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20612         (stackinfo_sub_sp): Likewise.
20613
20614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20615
20616         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20617         RAX_LP.
20618
20619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20620
20621         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20622         into R*_LP.
20623
20624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20625
20626         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20627         sizes into R*_LP.
20628
20629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20630
20631         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20632
20633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20634
20635         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20636         into R11_LP and load __x86_64_shared_cache_size_half into
20637         R8_LP.
20638
20639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
20640
20641         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20642         R8_LP.
20643
20644 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20645
20646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20647         logb for POWER7.
20648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20649         logbf for POWER7.
20650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20651         logbl for POWER7.
20652         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20653         powerpc32/power7/fpu/s_logb.c via #include.
20654         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20655         powerpc32/power7/fpu/s_logbf.c via #include.
20656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20657         powerpc32/power7/fpu/s_logbl.c via #include.
20658
20659 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
20660
20661         * README.libm: Remove file.
20662
20663 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20664
20665         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20666         count for x32.  Use R*_LP and omit operand-size suffix.
20667
20668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20669
20670         * shlib-versions: Move x86_64-.*-linux.* entries to ...
20671         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
20672         * sysdeps/x86_64/x32/shlib-versions: New file.
20673
20674 2012-05-14  Roland McGrath  <roland@hack.frob.com>
20675
20676         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20677         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20678         Use _dl_fatal_printf instead.
20679
20680 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20681
20682         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20683         set if not set by the user.  Do not allow for being unset.
20684         * sysdeps/unix/sysv/linux/configure: Regenerated.
20685
20686 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20687
20688         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20689         the `q' suffix from lea and replace .quad with ASM_ADDR.
20690
20691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20692
20693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20694         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
20695         instead of $17.
20696         (PTR_DEMANGLE): Likewise.
20697
20698 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20699
20700         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20701         (LP_OP): Likewise.
20702         (ASM_ADDR): Likewise.
20703         (RAX_LP): Likewise.
20704         (RBP_LP): Likewise.
20705         (RBX_LP): Likewise.
20706         (RCX_LP): Likewise.
20707         (RDI_LP): Likewise.
20708         (RSI_LP): Likewise.
20709         (RSP_LP): Likewise.
20710         (R8_LP): Likewise.
20711         (R9_LP): Likewise.
20712         (R10_LP): Likewise.
20713         (R10_LP): Likewise.
20714         (R11_LP): Likewise.
20715         (R12_LP): Likewise.
20716         (R13_LP): Likewise.
20717         (R14_LP): Likewise.
20718         (R15_LP): Likewise.
20719
20720 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20721
20722         * sysdeps/x86_64/x32/dl-machine.h: New file.
20723
20724 2012-05-14  Andreas Jaeger  <aj@suse.de>
20725
20726         * manual/Makefile (subdir): Remove export of subdir.
20727         (all): Remove target.
20728         (.PHONY): Remove all from list.
20729         (mkinstalldirs): Remove.
20730         (.PHONY): Remove installdirs from list.
20731         ($(inst_infodir)/libc.info): Use make-target-directory.
20732         (installdirs): Remove.
20733         (subdir_%): Remove.
20734         (glibc-targets): Remove.
20735         (lib): Remove.
20736         (stubs): Remove.
20737         ($(objpfx)stubs ../po/manual.pot): Remove.
20738         ($(objpfx)stamp%): Remove.
20739         (make-target-directory): Remove.
20740         (subdir_install): Remove.
20741         (routines): Remove.
20742         (aux): Remove.
20743         (sources): Remove.
20744         (objects): Remove.
20745         (headers): Remove.
20746
20747         [BZ #13750]
20748         * manual/.gitignore: Remove, it's not needed anymore.
20749         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20750         all files in it.
20751         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20752         directory.
20753         (texis): Renamed to $(objpfx)texis.
20754         (texis-path): New, contains path to generated files.
20755         (chapters.%): Use texis-path for complete path, add extra argument
20756         libc-texinfo.sh.
20757         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20758         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20759         (summary,texi, stamp-summary): Use complete path of
20760         files. Generate files in build dir.
20761         (dir-add.texi): Build in build dir.
20762         (libm-err.texi,stamp-libm-err): Likewise.
20763         (version.texi, stamp-version): Likewise.
20764         (.%c.texi): Likewise.
20765         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20766         (mostlyclean): Remove target.
20767         (realclean): Remove target.
20768         (generated): Add new variable with contents from mostlyclean and
20769         realclean, remove entries duplicated in common-mostlyclean, add
20770         stamp-libm-err and stamp-version.
20771         (generated-dirs): Add libc directory.
20772         ($(inst_infodir)/libc.info): Install files from build dir.
20773
20774         * manual/install.texi (Configuring and compiling): Adjust since
20775         the info files are not part of the tar ball anymore.
20776
20777 2012-05-14  Andreas Jaeger  <aj@suse.de>
20778
20779         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20780         variable.
20781
20782 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
20783
20784         [BZ #13717]
20785         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20786         to 2.2.0 where earlier.
20787         * sysdeps/unix/sysv/linux/configure: Regenerated.
20788         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20789         Remove conditional code.
20790         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20791         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20792         Remove conditional code.
20793         [!__NR_lchown]: Likewise.
20794         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20795         [__NR_lchown]: Likewise.
20796         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20797         comment referencing __ASSUME_LCHOWN_SYSCALL.
20798         * sysdeps/unix/sysv/linux/i386/sigaction.c
20799         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20800         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20801         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20802         Remove conditional code.
20803         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20804         (__protocol_available): Remove #if 0 code.
20805         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20806         conditional code.
20807         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20808         * sysdeps/unix/sysv/linux/kernel-features.h
20809         (__ASSUME_GETCWD_SYSCALL): Don't define.
20810         (__ASSUME_REALTIME_SIGNALS): Likewise.
20811         (__ASSUME_PREAD_SYSCALL): Likewise.
20812         (__ASSUME_PWRITE_SYSCALL): Likewise.
20813         (__ASSUME_POLL_SYSCALL): Likewise.
20814         (__ASSUME_LCHOWN_SYSCALL): Likewise.
20815         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20816         non-SPARC.
20817         (__ASSUME_SIOCGIFNAME): Don't define.
20818         (__ASSUME_MSG_NOSIGNAL): Likewise.
20819         (__ASSUME_SENDFILE): Define unconditionally.
20820         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20821         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20822         conditional code.
20823         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20824         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20825         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20826         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20827         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20828         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20829         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20831         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20832         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20834         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20835         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20837         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20838         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20840         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20841         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20843         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20844         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20846         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20847         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20849         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20852         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20853         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20854         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20855         Remove conditional code.
20856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20857         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20858         Remove conditional code.
20859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20860         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20861         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20862         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20863         Remove conditional code.
20864         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20865         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20866         Remove conditional code.
20867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20868         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20869         Remove conditional code.
20870         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20871         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20872         Remove conditional code.
20873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20874         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20875         Remove conditional code.
20876         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20877         * sysdeps/unix/sysv/linux/sh/pwrite64.c
20878         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20879         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20880         * sysdeps/unix/sysv/linux/sigaction.c
20881         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20882         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20883         * sysdeps/unix/sysv/linux/sigpending.c
20884         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20885         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20886         * sysdeps/unix/sysv/linux/sigprocmask.c
20887         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20888         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20889         * sysdeps/unix/sysv/linux/sigsuspend.c
20890         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20891         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20893         (__libc_missing_rt_sigs): Remove.
20894         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20895         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20896         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20897         Remove conditional code.
20898         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20899         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20900         return 1.
20901         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20902         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20903         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20904         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20905
20906 2012-05-14  Andreas Jaeger  <aj@suse.de>
20907
20908         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20909         it's not used in glibc.
20910         (__coshm1): Likewise.
20911         (__acosh1p): Likewise.
20912         (__sgn): Likewise.
20913
20914         * manual/string.texi (Copying and Concatenation): Add missing
20915         variable in concat example.
20916         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20917
20918 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20919
20920         [BZ #14103]
20921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20922         __builtin_clzl with __builtin_clzll.
20923
20924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
20925
20926         [BZ #14104]
20927         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20928         libc_freeres_ptr.
20929
20930 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20931
20932         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20933         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20934         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20935         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20936
20937 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
20938
20939         * NEWS: Update ia64 info.
20940
20941 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
20942
20943         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20944         used as bcopy.
20945
20946 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
20947
20948         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20949         * sysdeps/unix/syscalls.list (dup3): Likewise.
20950         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20951         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20952
20953 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20954
20955         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20956         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20957
20958 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20959
20960         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20961         thread pointer.
20962         (TLS_IE): Use mov/add instead of movq/addq to load thread
20963         pointer.
20964         (TLS_GD_PREFIX): New.
20965         (TLS_GD): Use it.
20966
20967 2012-05-11  David S. Miller  <davem@davemloft.net>
20968
20969         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20970         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20971         (_FPU_SETCW): Likewise.
20972
20973 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20974
20975         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20976         is 32-byte aligned.
20977
20978 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
20979
20980         [BZ #11837]
20981         * iconvdata/gb18030.c: Update tables.
20982         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
20983         characters specially.
20984         (BODY for TO_LOOP): Add encoding of missing ranges.
20985
20986 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
20987
20988         [BZ #13673]
20989         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20990         * sysdeps/mach/hurd/dup3.c: Likewise.
20991         * sysdeps/mach/hurd/readlinkat.c: Likewise.
20992         * sysdeps/powerpc/memmove.c:: Likewise.
20993
20994 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20995
20996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20997         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20998
20999 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21000
21001         * elf/elf.h (R_X86_64_RELATIVE64): New.
21002         (R_X86_64_NUM): Updated.
21003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21004         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
21005         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21006         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21007         tst-quad1pie tst-quad2pie
21008         (modules-names): Add tst-quadmod1 tst-quadmod2.
21009         ($(objpfx)tst-quad1): New dependency.
21010         ($(objpfx)tst-quad2): Likewise.
21011         ($(objpfx)tst-quad1pie): Likewise.
21012         ($(objpfx)tst-quad2pie): Likewise.
21013         * sysdeps/x86_64/tst-quad1.c: New file.
21014         * sysdeps/x86_64/tst-quad1pie.c: New file.
21015         * sysdeps/x86_64/tst-quad2.c: Likewise.
21016         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21017         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21018         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21019         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21020         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21021
21022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21023
21024         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21025         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21026         * streams/stropts.h (t_scalar_t): Define type.
21027
21028         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21029         (_PATH_PRESERVE): Set to "/var/lib".
21030         (_PATH_RWHODIR): Set to "/var/spool/rwho".
21031
21032         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21033         instead of int.
21034
21035         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21036         if __dir_mkfile succeeded.
21037
21038         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21039         checking for _hurd_dtablesize.  Unlock it right after having
21040         finished _hurd_dtable allocation.
21041
21042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21043
21044         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21045         * sysdeps/mach/hurd/configure: Regenerated.
21046         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21047         special-casing to...
21048         * sysdeps/gnu/configure.in: ... this new file.
21049         * sysdeps/unix/sysv/linux/configure: Regenerated.
21050         * sysdeps/gnu/configure: New generated file.
21051
21052         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21053         for Linux: use nsec instead of usec, as well as:
21054         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21055         members of type struct timespec.
21056         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21057         New macros.
21058         (struct stat64): Likewise.
21059         (_STATBUF_ST_NSEC): New macro.
21060         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21061
21062         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21063         __strtoul_internal rather than strtoul.
21064
21065 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21066
21067         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21068         and reject them.
21069
21070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21071
21072         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21073         which preserves existing values.
21074         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21075
21076 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21077
21078         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21079         TIMEOUT values.  Return EINVAL for NFDS values either negative or
21080         greater than FD_SETSIZE.
21081
21082 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21083
21084         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21085         allocated, call __vm_protect to finish enabling the existing space, and
21086         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21087         allocate the remainder.
21088
21089 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21090
21091         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21092         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
21093
21094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21095
21096         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21097         sysdeps/mach/hurd/readlink.c.
21098
21099         * posix/tst-sysconf.c (posix_options): Only use
21100         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21101         _POSIX_SYNCHRONIZED_IO when they are defined
21102         * sysdeps/mach/hurd/bits/posix_opt.h:
21103         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21104         (_XOPEN_REALTIME): Undefine macro.
21105         (_XOPEN_REALTIME_THREADS): Undefine macro.
21106         (_XOPEN_SHM): Undefine macro.
21107         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21108         macro to -1.
21109         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21110         macro to -1.
21111         (_POSIX_ASYNC_IO): Undefine macro.
21112         (_POSIX_PRIORITIZED_IO): Undefine macro.
21113         (_POSIX_SPIN_LOCKS): Define macro to -1.
21114
21115         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21116         SA_NODEFER, SA_RESETHAND.
21117         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21118         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21119         F_DUPFD_CLOEXEC.
21120
21121 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21122
21123         * elf/Makefile (pldd-modules): Define unconditionally.
21124
21125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21126
21127         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21128
21129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21130
21131         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21132         Return ENOENT when name is empty.
21133         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21134
21135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21136
21137         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21138
21139         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21140
21141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21142
21143         Fix mlock in all cases except non-readable pages.
21144         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21145         instead of VM_PROT_ALL as parameter to __vm_wire function.
21146
21147         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21148         (__mkdir): When path is `/', just fail with EEXIST.
21149         * sysdeps/mach/hurd/mkdirat.c: Likewise.
21150
21151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21152
21153         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21154         <sys/uio.h> (for writev).
21155         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21156         and <sys/param.h> (for MIN).
21157
21158 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21159
21160         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21161         REQUESTED_TIME.  Properly set the remaining time and return EINTR
21162         if interrupted.
21163
21164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21165
21166         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21167         Depend on against $(link-rpcuserlibs).
21168
21169 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21170
21171         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21172         (__libc_stack_end): Do not use attribute_relro.
21173         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21174         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21175         to libthread-provided value.
21176         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21177         attribute_relro.
21178
21179 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21180
21181         [BZ #3748]
21182         * bits/libc-lock.h (__libc_once_get): New macro.
21183         * sysdeps/mach/bits/libc-lock.h: Likewise.
21184         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21185         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21186         instead of using implementation details.
21187
21188         * libio/fileops.c: Unconditionally include <kernel-features.h>.
21189         * libio/freopen.c: Likewise.
21190         * libio/freopen64.c: Likewise.
21191         * misc/syslog.c: Likewise.
21192         * nscd/connections.c: Likewise.
21193         * nscd/netgroupcache.c: Likewise.
21194         * sysdeps/posix/getcwd.c: Likewise.
21195
21196 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21197
21198         * math/w_ilogbf.c: Add #include <limits.h>.
21199
21200 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21201
21202         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21203         path instead of returning without unlocking.
21204
21205         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21206         immediate-write ioctls.
21207         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21208
21209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21210
21211         * sysdeps/mach/hurd/i386/init-first.c (init): Use
21212         __builtin_frame_address instead of making assumptions about the
21213         location of the return address relative to DATA.  Force early load of
21214         the return address.
21215         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21216         __builtin_frame_address.
21217
21218         dup3 for GNU Hurd.
21219         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21220         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
21221         implement dup3 and do some further code clean-ups.
21222         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21223         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21224
21225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21226
21227         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21228
21229         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21230         HURD_CRITICAL_END around holding _hurd_dtable_lock.
21231         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21232         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21233         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21234         d->port.lock.
21235
21236         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21237         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
21238         when handler == SIG_ERR, not when handler != SIG_ERR.
21239
21240 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21241
21242         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21243         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21244         definitions.
21245
21246         accept4 for GNU Hurd.
21247         * include/sys/socket.h (__libc_accept4): New prototype.
21248         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
21249         to implement __libc_accept4.
21250         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21251         __libc_accept4.
21252         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21253
21254         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21255         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21256         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21257         signal-defines.sym.
21258
21259 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21260
21261         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21262
21263 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
21264
21265         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21266         assertion on O_CLOEXEC flag.
21267         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21268         * hurd/intern-fd.c: Likewise.
21269         * hurd/port2fd.c: Likewise.
21270
21271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21272
21273         [BZ #3906]
21274         * bits/in.h (IPV6_PKTINFO): Define new macro.
21275         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21276
21277 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21278
21279         [BZ #13954]
21280         [BZ #13955]
21281         [BZ #13956]
21282         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21284         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21285         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21287         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21288         * math/libm-test.inc (logb_test) : Additional logb tests.
21289
21290 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
21291             Andreas Jaeger  <aj@suse.de>
21292
21293         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21294         * configure: Regenerated.
21295         * config.h.in (LINK_OBSOLETE_RPC): New macro.
21296         * config.make.in (link-obsolete-rpc): New substituted variable.
21297         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21298         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21299         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21300         (shared-only-routines): Don't set it under [link-obsolete-rpc],
21301         so that libc.a contains the symbols.
21302         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21303         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21304         * sunrpc/auth_none.c: Likewise.
21305         * sunrpc/auth_unix.c: Likewise.
21306         * sunrpc/authdes_prot.c: Likewise.
21307         * sunrpc/authuxprot.c: Likewise.
21308         * sunrpc/clnt_gen.c: Likewise.
21309         * sunrpc/clnt_perr.c: Likewise.
21310         * sunrpc/clnt_raw.c: Likewise.
21311         * sunrpc/clnt_simp.c: Likewise.
21312         * sunrpc/clnt_tcp.c: Likewise.
21313         * sunrpc/clnt_udp.c: Likewise.
21314         * sunrpc/clnt_unix.c: Likewise.
21315         * sunrpc/des_crypt.c: Likewise.
21316         * sunrpc/des_soft.c: Likewise.
21317         * sunrpc/get_myaddr.c: Likewise.
21318         * sunrpc/key_call.c: Likewise.
21319         * sunrpc/key_prot.c: Likewise.
21320         * sunrpc/netname.c: Likewise.
21321         * sunrpc/pm_getmaps.c: Likewise.
21322         * sunrpc/pm_getport.c: Likewise.
21323         * sunrpc/pmap_clnt.c: Likewise.
21324         * sunrpc/pmap_prot.c: Likewise.
21325         * sunrpc/pmap_prot2.c: Likewise.
21326         * sunrpc/pmap_rmt.c: Likewise.
21327         * sunrpc/publickey.c: Likewise.
21328         * sunrpc/rpc_cmsg.c: Likewise.
21329         * sunrpc/rpc_common.c: Likewise.
21330         * sunrpc/rpc_dtable.c: Likewise.
21331         * sunrpc/rpc_prot.c: Likewise.
21332         * sunrpc/rpc_thread.c: Likewise.
21333         * sunrpc/rtime.c: Likewise.
21334         * sunrpc/svc.c: Likewise.
21335         * sunrpc/svc_auth.c: Likewise.
21336         * sunrpc/svc_raw.c: Likewise.
21337         * sunrpc/svc_run.c: Likewise.
21338         * sunrpc/svc_tcp.c: Likewise.
21339         * sunrpc/svc_udp.c: Likewise.
21340         * sunrpc/svc_unix.c: Likewise.
21341         * sunrpc/svcauth_des.c: Likewise.
21342         * sunrpc/xcrypt.c: Likewise.
21343         * sunrpc/xdr.c: Likewise.
21344         * sunrpc/xdr_array.c: Likewise.
21345         * sunrpc/xdr_float.c: Likewise.
21346         * sunrpc/xdr_intXX_t.c: Likewise.
21347         * sunrpc/xdr_mem.c: Likewise.
21348         * sunrpc/xdr_rec.c: Likewise.
21349         * sunrpc/xdr_ref.c: Likewise.
21350         * sunrpc/xdr_sizeof.c: Likewise.
21351         * sunrpc/xdr_stdio.c: Likewise.
21352
21353 2012-05-10  Roland McGrath  <roland@hack.frob.com>
21354
21355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21356         change.  Update copyright years.
21357
21358 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21359
21360         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21361
21362 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
21363             Joseph Myers  <joseph@codesourcery.com>
21364             Paul Pluzhnikov  <ppluzhnikov@google.com>
21365
21366         [BZ #14012]
21367         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21368         requiring rpcgen.
21369         [cross-compiling] (extra-libs): Likewise.
21370         [cross-compiling] (extra-libs-others): Likewise.
21371         [cross-compiling] (librpcsvc-routines): Likewise.
21372         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21373         [cross-compiling] (omit-deps): Likewise.
21374         (sunrpc-CPPFLAGS): New variable.
21375         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21376         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21377         (cross-rpcgen-objs): New variable.
21378         (extra-objs): Append $(cross-rpcgen-objs).
21379         ($(cross-rpcgen-objs)): New rule.
21380         ($(objpfx)cross-rpcgen): Likewise.
21381         (rpcgen-cmd): Define to use $(built-program-file).  Expand
21382         comment.
21383         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21384         ($(objpfx)x%.stmp): Likewise.
21385         * sunrpc/proto.h [IS_IN_build] (_): Define.
21386         [IS_IN_build] (_libc_intl_domainname): Likewise.
21387
21388 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
21389
21390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21391         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21392         and R_X86_64_TPOFF64.
21393
21394 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
21395
21396         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21397         sysdeps/unix/sysv/syscalls.list.
21398         (stime): Likewise.
21399         (utime): Likewise.
21400         * sysdeps/unix/sysv/syscalls.list: Remove file.
21401
21402 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
21403
21404         [BZ #3440]
21405         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21406         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21407         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21408         (__LC_IDENTIFICATION): Make these macros useful in #if
21409         expressions, as required by C99.
21410
21411 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
21412
21413         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21414         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
21415         after this.
21416
21417 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
21418
21419         * stdlib/longlong.h: Updated from GCC.
21420
21421 2012-05-09  Andreas Jaeger  <aj@suse.de>
21422
21423         * nscd/nscd.c (run_modes): Make named enum, reorder so that
21424         default is first entry.
21425         (run_mode): Set type.
21426         (main): Remove informal message about syslog.
21427         (options): Fix typo.
21428
21429         [BZ #14053]
21430         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21431         to asm.
21432         (lrint): Likewise.
21433         (llrintf): Likewise.
21434         (llrint): Likewise.
21435         (rint): Likewise.
21436         (rintf): Likewise.
21437         (nearbyint): Likewise.
21438         (nearbyintf): Likewise.
21439
21440 2012-05-09  Andreas Jaeger  <aj@suse.de>
21441             Pedro Alves  <palves@redhat.com>
21442
21443         * nscd/nscd.c (run_mode): Use enum.
21444         (main): Cleanup coding style issue.
21445
21446 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
21447             Andreas Jaeger  <aj@suse.de>
21448
21449         * nscd/nscd.c (go_background): Replaced with...
21450         (run_mode): ... this.
21451         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21452         (options): Add -F --foreground.
21453         (main): Implement it.
21454         (parse_opt): Parse it.
21455
21456 2012-05-09  Andreas Jaeger  <aj@suse.de>
21457
21458         [BZ #14083]
21459         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21460         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21461         -Wconversion warning.
21462         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21463         Likewise.
21464
21465 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
21466
21467         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
21468         == 0.
21469         (LC_ALL): Use macro-int-constant.
21470         (LC_COLLATE): Likewise.
21471         (LC_CTYPE): Likewise.
21472         (LC_MESSAGES): Likewise.
21473         (LC_MONETARY): Likewise.
21474         (LC_NUMERIC): Likewise.
21475         (LC_TIME): Likewise.
21476         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21477         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21478         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21479         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21480         Specify type.
21481         [C99-based standards] (float_t): Expect type.
21482         [C99-based standards] (double_t): Expect type.
21483         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
21484         type.
21485         [C99-based standards] (HUGE_VALL): Likewise.
21486         [C99-based standards] (INFINITY): Likewise.
21487         [C99-based standards] (NAN): Likewise.
21488         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21489         [C99-based standards] (FP_NAN): Likewise.
21490         [C99-based standards] (FP_NORMAL): Likewise.
21491         [C99-based standards] (FP_SUBNORMAL): Likewise.
21492         [C99-based standards] (FP_ZERO): Likewise.
21493         [C99-based standards] (FP_FAST_FMA): Use
21494         optional-macro-int-constant.  Specify type.  Require == 1.
21495         [C99-based standards] (FP_FAST_FMAF): Likewise.
21496         [C99-based standards] (FP_FAST_FMAL): Likewise.
21497         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21498         [C99-based standards] (FP_ILOGBNAN): Likewise.
21499         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21500         Specify type.
21501         [C99-based standards] (MATH_ERREXCEPT): Likewise.
21502         [C99-based standards] (math_errhandling): Specify type.
21503         [ISO99 || ISO11] (signgam): Do not allow.
21504         [non-C99-based standards] (copysignf): Do not allow.
21505         [non-C99-based standards] (exp2f): Likewise.
21506         [non-C99-based standards] (log2f): Likewise.
21507         [non-C99-based standards] (modff): Allow.
21508         [non-C99-based standards] (erff): Do not allow.
21509         [non-C99-based standards] (erfcf): Likewise.
21510         [non-C99-based standards] (gammaf): Likewise.
21511         [non-C99-based standards] (hypotf): Likewise.
21512         [non-C99-based standards] (j0f): Likewise.
21513         [non-C99-based standards] (j1f): Likewise.
21514         [non-C99-based standards] (jnf): Likewise.
21515         [non-C99-based standards] (lgammaf): Likewise.
21516         [non-C99-based standards] (tgammaf): Likewise.
21517         [non-C99-based standards] (y0f): Likewise.
21518         [non-C99-based standards] (y1f): Likewise.
21519         [non-C99-based standards] (ynf): Likewise.
21520         [non-C99-based standards] (isnanf): Likewise.
21521         [non-C99-based standards] (acoshf): Likewise.
21522         [non-C99-based standards] (asinhf): Likewise.
21523         [non-C99-based standards] (atanhf): Likewise.
21524         [non-C99-based standards] (cbrtf): Likewise.
21525         [non-C99-based standards] (expm1f): Likewise.
21526         [non-C99-based standards] (ilogbf): Likewise.
21527         [non-C99-based standards] (log1pf): Likewise.
21528         [non-C99-based standards] (logbf): Likewise.
21529         [non-C99-based standards] (nextafterf): Likewise.
21530         [non-C99-based standards] (remainderf): Likewise.
21531         [non-C99-based standards] (rintf): Likewise.
21532         [non-C99-based standards] (scalbf): Likewise.
21533         [non-C99-based standards] (copysignl): Likewise.
21534         [non-C99-based standards] (exp2l): Likewise.
21535         [non-C99-based standards] (log2l): Likewise.
21536         [non-C99-based standards] (modfl): Allow.
21537         [non-C99-based standards] (erfl): Do not allow.
21538         [non-C99-based standards] (erfcl): Likewise.
21539         [non-C99-based standards] (gammal): Likewise.
21540         [non-C99-based standards] (hypotl): Likewise.
21541         [non-C99-based standards] (j0l): Likewise.
21542         [non-C99-based standards] (j1l): Likewise.
21543         [non-C99-based standards] (jnl): Likewise.
21544         [non-C99-based standards] (lgammal): Likewise.
21545         [non-C99-based standards] (tgammal): Likewise.
21546         [non-C99-based standards] (y0l): Likewise.
21547         [non-C99-based standards] (y1l): Likewise.
21548         [non-C99-based standards] (ynl): Likewise.
21549         [non-C99-based standards] (isnanl): Likewise.
21550         [non-C99-based standards] (acoshl): Likewise.
21551         [non-C99-based standards] (asinhl): Likewise.
21552         [non-C99-based standards] (atanhl): Likewise.
21553         [non-C99-based standards] (cbrtl): Likewise.
21554         [non-C99-based standards] (expm1l): Likewise.
21555         [non-C99-based standards] (ilogbl): Likewise.
21556         [non-C99-based standards] (log1pl): Likewise.
21557         [non-C99-based standards] (logbl): Likewise.
21558         [non-C99-based standards] (nextafterl): Likewise.
21559         [non-C99-based standards] (remainderl): Likewise.
21560         [non-C99-based standards] (rintl): Likewise.
21561         [non-C99-based standards] (scalbl): Likewise.
21562         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21563         [non-C99-based standards] (FP_*): Do not allow.
21564         [C99-based standards] (FP_*): Change to
21565         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21566         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21567         allow.
21568         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21569         (SIG_ERR): Likewise.
21570         [X/Open-based standards] (SIG_HOLD): Likewise.
21571         (SIG_IGN): Likewise.
21572         (SIGABRT): Use macro-int-constant.  Specify type.  Require
21573         positive value.
21574         (SIGFPE): Likewise.
21575         (SIGILL): Likewise.
21576         (SIGINT): Likewise.
21577         (SIGSEGV): Likewise.
21578         (SIGTER): Likewise.
21579         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21580         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21581         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21582         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21583         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21584         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21585         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21586         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21587         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21588         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21589         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21590         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21591         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21592         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21593         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21594         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21595         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21596         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21597         [X/Open-based standards] (SIGTRAP): Likewise.
21598         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21599         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21600         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21601         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21602         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21603         allow.
21604
21605 2012-05-08  Ian Wienand  <ianw@vmware.com>
21606
21607         [BZ #14080]
21608         * time/tzset.c (__tzset_parse_tz): Update default rules for
21609         daylight time changes in the Energy Policy Act of 2005.
21610
21611 2012-05-09  Andreas Jaeger  <aj@suse.de>
21612
21613         [BZ #13983]
21614         * elf/ldconfig.c (parse_conf): Change string to make clear that
21615         ldconfig only issued a warning if ld.so.conf does not exist.
21616
21617 2012-05-08  David S. Miller  <davem@davemloft.net>
21618
21619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21620         movxtod instead of popping the value on the stack.
21621
21622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21623
21624 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
21625
21626         * config.h.in: Add HAVE_ARM_PCS_VFP.
21627
21628 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
21629
21630         [BZ #13979]
21631         * include/features.h: Warn if user requests __FORTIFY_SOURCE
21632         checking but the checks are disabled for any reason.
21633
21634 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21635
21636         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21637         and ELF64_R_TYPE with ELFW(R_TYPE).
21638
21639 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
21640
21641         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21642         (ulimit): Likewise.
21643
21644         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21645         (settimeofday): Likewise.
21646
21647 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
21648
21649         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
21650         a struct th_u2 inside the union, and move tu_block/tu_code into
21651         a new th_u3 union of tu_block/tu_code inside of that.  Move
21652         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
21653         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
21654         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21655         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21656         (th_stuff): Change to th_u1.tu_stuff.
21657         (th_data): Define.
21658         (th_msg): Change to th_u1.th_u2.tu_data.
21659
21660 2012-05-07  David S. Miller  <davem@davemloft.net>
21661
21662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21663
21664         [BZ #14074]
21665         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21666         (SETUP_PIC_REG): Use it.
21667         (SETUP_PIC_REG_LEAF): Use it.
21668
21669 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
21670
21671         [BZ #13885]
21672         [BZ #13923]
21673         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21674         USE_AS_EXPM1L.
21675         (EXPL_FINITE): Likewise.
21676         (FLDLOG): Likewise.
21677         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21678         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21679         e_expl.S.
21680         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21681         USE_AS_EXPM1L.
21682         (EXPL_FINITE): Likewise.
21683         (FLDLOG): Likewise.
21684         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21685         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21686         e_expl.S.
21687         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
21688         test of -max_value argument for long double.
21689         * sysdeps/i386/fpu/libm-test-ulps: Update.
21690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691
21692 2012-05-06  David S. Miller  <davem@davemloft.net>
21693
21694         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21695         quad soft-float symbols whose references which are compiler
21696         generated.
21697         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21698
21699 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
21700
21701         [BZ #13884]
21702         [BZ #13914]
21703         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21704         USE_AS_EXP10L.
21705         (EXPL_FINITE): Likewise.
21706         (FLDLOG): Likewise.
21707         (c0): Likewise.
21708         (c1): Likewise.
21709         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21710         Adjust comments for base varying.
21711         (__expl_finite): Change alias to EXPL_FINITE.
21712         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21713         e_expl.S.
21714         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21715         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21716         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21717         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21718         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21719         USE_AS_EXP10L.
21720         (EXPL_FINITE): Likewise.
21721         (FLDLOG): Likewise.
21722         (c0): Likewise.
21723         (c1): Likewise.
21724         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
21725         Adjust comments for base varying.
21726         (__expl_finite): Change alias to EXPL_FINITE.
21727         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
21728         tests for bugs.
21729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21730
21731         [BZ #14064]
21732         * math/libm-test.inc (check_float_internal): Correct ulp
21733         calculation for subnormal expected results.
21734
21735 2012-05-06  Andreas Jaeger  <aj@suse.de>
21736
21737         * Makeconfig (+math-flags): New, set to -frounding-math.
21738         (+cflags): Add +math-flags so that all of glibc gets compiled with
21739         it.
21740
21741         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21742
21743 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
21744
21745         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21746         Disable one test.
21747
21748         [BZ #13787]
21749         [BZ #13922]
21750         [BZ #14036]
21751         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21752         (__ieee754_expl): Allow for and saturate large arguments.
21753         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21754         (u_threshold): Likewise.
21755         (__exp): Call __ieee754_exp before checking for overflow and
21756         underflow.
21757         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21758         (u_threshold): Likewise.
21759         (__expf): Call __ieee754_expf before checking for overflow and
21760         underflow.
21761         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21762         (u_threshold): Likewise.
21763         (__expl): Call __ieee754_expl before checking for overflow and
21764         underflow.
21765         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21766         (__ieee754_expl): Allow for and saturate large arguments.
21767         * math/libm-test.inc (exp_test): Add another test.  Do not allow
21768         missing overflow exception on overflow.
21769         (expm1_test): Do not allow missing overflow exception on overflow.
21770
21771         * sysdeps/i386/fpu/e_expl.c: Move to ...
21772         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
21773         rather than using inline asm.
21774         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21775         * sysdeps/x86_64/fpu/e_expl.S: Copy from
21776         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21777
21778         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21779         (nice): Likewise.
21780         (poll): Likewise.
21781         (signal): Likewise.
21782         (time): Likewise.
21783         (times): Likewise.
21784
21785 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21786
21787         * sysdeps/unix/syscalls.list (adjtime): Add entry from
21788         sysdeps/unix/common/syscalls.list.
21789         (fchmod): Likewise.
21790         (fchown): Likewise.
21791         (ftruncate): Likewise.
21792         (getrusage): Likewise.
21793         (gettimeofday): Likewise.
21794         (setpgid): Likewise.
21795         (setregid): Likewise.
21796         (setreuid): Likewise.
21797         (sigaction): Likewise.
21798         (truncate): Likewise.
21799         (vhangup): Likewise.
21800         * sysdeps/unix/common/syscalls.list: Remove file.
21801         * sysdeps/unix/bsd/Implies: Don't include unix/common.
21802         * sysdeps/unix/sysv/linux/Implies: Likewise.
21803
21804 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
21805
21806         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21808         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21809         Moved to ...
21810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21811         Here.
21812         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21813         to ...
21814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21815         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21816         to ...
21817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21818         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21819         to ...
21820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21821         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21822         to ...
21823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21824         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21825         to ...
21826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21827         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21828         to ...
21829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21830         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21831         to ...
21832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21833         Here.
21834         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21835         to ...
21836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21837         Here.
21838         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21839         to ...
21840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21841         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21842         Moved to ...
21843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21844         Here.
21845         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21846         to ...
21847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21848
21849 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21850
21851         * sysdeps/unix/common/bits/dirent.h: Remove file.
21852         * sysdeps/unix/common/bits/fcntl.h: Likewise.
21853
21854         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21855         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21856         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21857         * sysdeps/unix/bsd/isatty.c: Likewise.
21858         * sysdeps/unix/bsd/tcdrain.c: Likewise.
21859         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21860         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21861
21862 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21863
21864         [BZ #13563]
21865         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21866         long double comparison inaccuracies.
21867         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21869
21870 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
21871
21872         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21873         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21874
21875 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
21876
21877         [BZ #14049]
21878         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21879         nonzero digits before rounding a hex value.
21880         * stdlib/tst-strtod.c (tests): Add another test.
21881
21882 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21883
21884         * sysdeps/s390/fpu/libm-test-ulps: Update.
21885
21886 2012-05-03  Andreas Jaeger  <aj@suse.de>
21887
21888         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21889         does not get optimized out.
21890         (malloc_opt_barrier): New.
21891
21892 2012-05-03  Andreas Jaeger  <aj@suse.de>
21893             Roland McGrath  <roland@hack.frob.com>
21894
21895         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21896         intermediate file deletion.
21897         (generated): Add .symlist files.
21898
21899 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
21900
21901         [BZ #13775]
21902         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21903         Redirect under this condition.
21904         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21905         [__USE_GNU] (__dprintf_chk): Not under this condition.
21906         [__USE_GNU] (__vdprintf_chk): Likewise.
21907         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21908         under this condition.
21909         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21910         [__USE_XOPEN2K8] (dprintf): Define under this condition.
21911         [__USE_XOPEN2K8] (vdprintf): Likewise.
21912         [__USE_GNU] (__dprintf_chk): Not under this condition.
21913         [__USE_GNU] (__vdprintf_chk): Likewise.
21914         [__USE_GNU] (dprintf): Likewise.
21915         [__USE_GNU] (vdprintf): Likewise.
21916
21917 2012-05-03  Roland McGrath  <roland@hack.frob.com>
21918
21919         * elf/Makefile (common-generated): Set this instead of generated for
21920         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
21921         $(all-built-dso)-derived lists.
21922
21923 2012-05-03  Andreas Jaeger  <aj@suse.de>
21924
21925         * sysdeps/i386/fpu/libm-test-ulps: Update.
21926
21927         * FAQ: Removed.
21928         * FAQ.in: Likewise.
21929         * scripts/gen-FAQ.pl: Likewise.
21930         * manual/install.texi (Installation): Point to online location of
21931         FAQ.
21932         * Makefile (files-for-dist): Remove FAQ.
21933         (FAQ): Remove.
21934
21935 2012-05-02  Allan McRae  <allan@archlinux.org>
21936
21937         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21938         (LDFLAGS-reldepmod5.so): Likewise.
21939         (LDFLAGS-reldep6mod1.so): Likewise.
21940         (LDFLAGS-reldep6mod4.so): Likewise.
21941         (LDFLAGS-reldep8mod3.so): Likewise.
21942         (LDFLAGS-unload4mod1.so): Likewise.
21943         (LDFLAGS-unload4mod2.so): Likewise.
21944         (LDFLAGS-tst-initorder): Likewise.
21945         (LDFLAGS-tst-initordera2.so): Likewise.
21946         (LDFLAGS-tst-initordera3.so): Likewise.
21947         (LDFLAGS-tst-initordera4.so): Likewise.
21948         (LDFLAGS-tst-initorderb2.so): Likewise.
21949         (LDFLAGS-noload): Likewise.
21950         (LDFLAGS-next): Likewise.
21951         (LDFLAGS-order2mod1.so): Likewise.
21952         (LDFLAGS-order2mod2.so): Likewise.
21953         (LDFLAGS-tst-initorder2): Likewise.
21954         (LDFLAGS-tst-initorder2a.so): Likewise.
21955         (LDFLAGS-tst-initorder2b.so): Likewise.
21956         (LDFLAGS-tst-initorder2c.so): Likewise.
21957         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21958
21959 2012-05-02  David S. Miller  <davem@davemloft.net>
21960
21961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21962
21963 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21964
21965         [BZ #14055]
21966         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21967
21968 2012-05-02  Andreas Jaeger  <aj@suse.de>
21969
21970         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21971         since we manipulate rounding mode.
21972         (CPPFLAGS-test-idouble.c): Likewise.
21973         (CPPFLAGS-test-ifloat.c): Likewise.
21974         (CFLAGS-test-ldouble.c): Likewise.
21975         (CFLAGS-test-double.c): Likewise.
21976         (CFLAGS-test-float.c): Likewise.
21977         (CFLAGS-test-misc.c): Likewise.
21978         (CFLAGS-test-test-fenv.c): Likewise.
21979
21980 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21981
21982         [BZ #2550]
21983         [BZ #2570]
21984         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21985         comparisons to determine direction to adjust input.
21986
21987 2012-05-01  Roland McGrath  <roland@hack.frob.com>
21988
21989         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21990         output to the target.
21991
21992         * scripts/localplt.awk: New file.
21993         * elf/Makefile ($(objpfx)check-localplt): Target removed.
21994         (check-localplt-CFLAGS): Variable removed.
21995         ($(all-built-dso:=.jmprel)): New static pattern rule.
21996         (generated): Add those targets.
21997         (localplt-built-dso): New variable.
21998         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21999
22000         * elf/check-localplt.c: File removed.
22001
22002         * scripts/check-execstack.awk: New file.
22003         * elf/Makefile ($(objpfx)check-execstack): Target removed.
22004         (check-execstack-CFLAGS): Variable removed.
22005         ($(objpfx)check-execstack.h): Target removed.
22006         ($(objpfx)execstack-default): New target.
22007         (generated): Add that instead of check-execstack.h.
22008         ($(all-built-dso:=.phdr)): New static pattern rule.
22009         (generated): Add those targets.
22010         * elf/check-execstack.c: File removed.
22011
22012         * scripts/check-textrel.awk: New file.
22013         * elf/Makefile ($(objpfx)check-textrel): Target removed.
22014         (check-textrel-CFLAGS): Variable removed.
22015         (all-built-dso): Use := to define.o
22016         ($(all-built-dso:=.dyn)): New static pattern rule.
22017         (generated): Add those targets.
22018         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22019         * config.make.in (READELF): New substituted variable.
22020         * elf/check-textrel.c: File removed.
22021
22022 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22023
22024         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22025         allow.
22026         * conform/data/ctype.h-data [C99-based standards] (isblank):
22027         Expect function.
22028         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22029         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22030         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22031         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22032         Specify type.  Require positive value.
22033         (EILSEQ): Likewise.
22034         (ERANGE): Likewise.
22035         [ISO || POSIX] (EILSEQ): Do not expect.
22036         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22037         Specify type.  Require positive value.
22038         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22039         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22040         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22041         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22042         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22043         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22044         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22045         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22046         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22047         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22048         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22049         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22050         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22051         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22052         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22053         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22054         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22055         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22056         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22057         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22058         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22059         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22060         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22061         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22062         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22063         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22064         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22065         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22066         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22067         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22068         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22069         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22070         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22071         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22072         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22073         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22074         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22075         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22076         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22077         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22078         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22079         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22080         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22081         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22082         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22083         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22084         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22085         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22086         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22087         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22088         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22089         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22090         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22091         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22092         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22093         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22094         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22095         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22096         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22097         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22098         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22099         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22100         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22101         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22102         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22103         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22104         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22105         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22106         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22107         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22108         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22109         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22110         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22111         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22112         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22113         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22114         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22115         Require >= 2.
22116         (FLT_ROUNDS): Expect as macro, not constant.
22117         (FLT_MANT_DIG): Use macro-int-constant.
22118         (DBL_MANT_DIG): Likewise.
22119         (LDBL_MANT_DIG): Likewise.
22120         (FLT_DIG): Likewise.
22121         (DBL_DIG): Likewise.
22122         (LDBL_DIG): Likewise.
22123         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
22124         (DBL_MIN_EXP): Likewise.
22125         (LDBL_MIN_EXP): Likewise.
22126         (FLT_MAX_EXP): Use macro-int-constant.
22127         (DBL_MAX_EXP): Likewise.
22128         (LDBL_MAX_EXP): Likewise.
22129         (FLT_MAX_10_EXP): Likewise.
22130         (DBL_MAX_10_EXP): Likewise.
22131         (LDBL_MAX_10_EXP): Likewise.
22132         (FLT_MAX): Use macro-constant.
22133         (DBL_MAX): Likewise.
22134         (LDBL_MAX): Likewise.
22135         (FLT_EPSILON): Use macro-constant.  Give upper bound.
22136         (DBL_EPSILON): Likewise.
22137         (LDBL_EPSILON): Likewise.
22138         (FLT_MIN): Likewise.
22139         (DBL_MIN): Likewise.
22140         (LDBL_MIN): Likewise.
22141         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22142         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22143         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22144         [ISO11] (FLT_HAS_SUBNORM): Likewise.
22145         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22146         [ISO11] (DBL_DECIMAL_DIG): Likewise.
22147         [ISO11] (FLT_DECIMAL_DIG): Likewise.
22148         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22149         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22150         [ISO11] (FLT_TRUE_MIN): Likewise.
22151         [ISO11] (LDBL_TRUE_MIN): Likewise.
22152         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22153         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22154         (SCHAR_MIN): Use macro-int-constant.  Specify type.
22155         (SCHAR_MAX): Likewise.
22156         (UCHAR_MAX): Likewise.
22157         (CHAR_MIN): Likewise.
22158         (CHAR_MAX): Likewise.
22159         (MB_LEN_MAX): Use macro-int-constant.
22160         (SHRT_MIN): Use macro-int-constant.  Specify type.
22161         (SHRT_MAX): Likewise.
22162         (USHRT_MAX): Likewise.
22163         (INT_MAX): Likewise.
22164         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
22165         bound negative.
22166         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22167         bound with "U".
22168         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22169         bound with "L".
22170         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
22171         bound negative.  Suffix upper bound with "L".
22172         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
22173         bound with "UL".
22174         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22175         Specify type.
22176         [C99-based standards] (LLONG_MAX): Likewise.
22177         [C99-based standards] (ULLONG_MAX): Likewise.
22178         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
22179         == 0.
22180         [ISO11] (max_align_t): Require type.
22181         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22182
22183         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22184         from $CFLAGS, without defining away __attribute__ calls.
22185         (checknamespace): Use $CFLAGS_namespace.
22186
22187         * conform/conformtest.pl (@keywords): Only include C99 keywords
22188         for standards based on C99 or C11.
22189
22190         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22191         Disable tests.
22192         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22193         UNIX98]: Likewise.
22194
22195         * conform/conformtest.pl: Handle "macro-int-constant" and test for
22196         usability of symbols in #if.
22197
22198         * conform/conformtest.pl: If macro or constant types start
22199         "promoted:", expect the symbol to be of the following type
22200         promoted by the integer promotions.
22201
22202         * conform/conformtest.pl: Parse all "constant" and "macro" lines
22203         in one place.  Also handle "macro-constant".
22204
22205         * conform/conformtest.pl: Only accept expected macro values with
22206         "==".  Parse all "macro" lines in one place.
22207         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22208
22209         * conform/conformtest.pl: Handle braced types on "constant" lines
22210         instead of handling "typed-constant".
22211         * conform/data/signal.h-data: Use "constant" instead of
22212         "typed-constant".
22213
22214         * conform/conformtest.pl: Handle "optional-" at start of lines in
22215         one place rather than duplicating several cases.  Handle each
22216         format of "macro" line with initial "optional-".
22217
22218         * conform/conformtest.pl: Only accept expected constant or
22219         optional-constant values with "==".  Parse all "constant" lines in
22220         one place.  Parse all "optional-constant" lines in one place.
22221         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22222         * conform/data/fmtmsg.h-data: Likewise.
22223         * conform/data/netinet/in.h-data: Likewise.
22224         * conform/data/tar.h-data: Likewise.
22225         * conform/data/limits.h-data: Use "==" form on "constant" and
22226         "optional-constant" lines.
22227
22228         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22229         Use -std=c99 for XOPEN2K.
22230         (@knownproblems): Remove.
22231         (newtoken): Don't check %isknown.
22232
22233         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22234         Do not expect macro.
22235         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22236         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22237         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22238         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22239         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22240         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22241         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22242         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22243         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22244         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22245         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22246         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22247         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22248         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22249         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22250         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22251         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22252         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22253         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22254         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22255         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22256         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22257         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22258         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22259         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22260         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22261         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22262         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22263         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22264         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22265         [XPG3] (acosh): Likewise.
22266         [XPG3] (asinh): Likewise.
22267         [XPG3] (atanh): Likewise.
22268         [XPG3] (cbrt): Likewise.
22269         [XPG3] (expm1): Likewise.
22270         [XPG3] (ilogb): Likewise.
22271         [XPG3] (log1p): Likewise.
22272         [XPG3] (logb): Likewise.
22273         [XPG3] (nextafter): Likewise.
22274         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22275         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22276         [XPG3] (remainder): Likewise.
22277         [XPG3] (rint): Likewise.
22278         [XPG3 || XPG4 || UNIX98] (round): Likewise.
22279         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22280         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22281         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22282         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22283         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22284         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22285         [UNIX98 || XOPEN2K] (scalb): Expect.
22286         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22287         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22288         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22289         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22290         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22291         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22292         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22293         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22294         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22295         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22296         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22297         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22298         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22299         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22300         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22301         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22302         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22303         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22304         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22305         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22306         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22307         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22308         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22309         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22310         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22311         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22312         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22313         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22314         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22315         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22316         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22317         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22318         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22319         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22320         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22321         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22322         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22323         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22324         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22325         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22326         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22327         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22328         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22329         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22330         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22331         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22332         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22333         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22334         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22335         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22336         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22337         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22338         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22339         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22340         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22341         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22342         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22343         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22344         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22345         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22346         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22347         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22348         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22349         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22350         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22351         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22352         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22353         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22354         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22355         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22356         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22357         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22358         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22359         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22360         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22361         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22362         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22363         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22364         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22365         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22366         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22367         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22368         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22369         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22370         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22371         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22372         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22373         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22374         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22375         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22376         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22377         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22378         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22379         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22380         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22381         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22382         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22383         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22384         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22385         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22386         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22387         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22388         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22389         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22390         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22391         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22392         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22393         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22394         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22395         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22396         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22397         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22398         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22399         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22400         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22401         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22402         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22403         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22404         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22405         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22406         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22407         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22408         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22409         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22410         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22411         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22412         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22413         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22414         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22415         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22416         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22417         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22418         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22419         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22420         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22421         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22422         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22423
22424         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22425         _XOPEN_SOURCE_EXTENDED for XPG4.
22426
22427         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22428
22429         * Makeconfig (localtime): Remove variable.
22430         (inst_localtime-file): Likewise.
22431
22432 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22433
22434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22435         Update.
22436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22437         Update.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22439         Update.
22440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22441         Update.
22442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22443         Update.
22444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22445         Update.
22446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22447         Update.
22448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22449         Update.
22450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22451         Update.
22452
22453 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
22454
22455         [BZ #2550]
22456         [BZ #2570]
22457         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22458         comparisons to determine direction to adjust input.
22459         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22460         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22461         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22462         Likewise.
22463         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22464         Likewise.
22465         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22466         Likewise.
22467         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22468         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22469         Likewise.
22470         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22471         Likewise.
22472         * math/libm-test.inc (nexttoward_test): Add more tests.
22473
22474 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22475
22476         [BZ #14040]
22477         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22478         in version GLIBC_2.1, not GLIBC_2.0.
22479         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22480         Likewise.
22481
22482 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
22483
22484         [BZ #13942]
22485         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22486         (1 - x) * (1 + x).
22487         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22488         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22489         * math/libm-test.inc (acos_test): Add more tests.
22490         (asin_test): Likewise.
22491         * sysdeps/i386/fpu/libm-test-ulps: Update.
22492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22493
22494         [BZ #14034]
22495         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22496         of square root.
22497         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22498         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22499         * math/libm-test.inc (acos_test_tonearest): New function.
22500         (acos_test_towardzero): Likewise.
22501         (acos_test_downward): Likewise.
22502         (acos_test_upward): Likewise.
22503         (asin_test_tonearest): Likewise.
22504         (asin_test_towardzero): Likewise.
22505         (asin_test_downward): Likewise.
22506         (asin_test_upward): Likewise.
22507         (main): Call the new functions.
22508         * sysdeps/i386/fpu/libm-test-ulps: Update.
22509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22510
22511         [BZ #13884]
22512         [BZ #13924]
22513         * math/e_exp10.c: Include <float.h>.
22514         (__ieee754_exp10): Handle underflow here rather than multiplying
22515         large negative argument by M_LN10.
22516         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22517         of __ieee754_expf.
22518         * math/e_exp10l.c: Include <float.h>.
22519         (__ieee754_exp10l): Handle underflow here rather than multiplying
22520         large negative argument by M_LN10l.
22521         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
22522         spurious overflow exception on underflow.
22523
22524 2012-04-29  Marek Polacek  <polacek@redhat.com>
22525
22526         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22527         (__fortify_function): New macro.
22528         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22529         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22530         __extern_always_inline.
22531         * libio/bits/stdio2.h: Likewise.
22532         * libio/bits/stdio.h: Likewise.
22533         * string/string.h: Likewise.
22534         * string/bits/string3.h: Likewise.
22535         * include/stdio.h: Likewise.
22536         * stdlib/bits/stdlib.h: Likewise.
22537         * stdlib/stdlib.h: Likewise.
22538         * rt/bits/mqueue2.h: Likewise.
22539         * rt/mqueue.h: Likewise.
22540         * posix/bits/unistd.h: Likewise.
22541         * posix/unistd.h: Likewise.
22542         * io/bits/poll2.h: Likewise.
22543         * io/bits/fcntl2.h: Likewise.
22544         * io/fcntl.h: Likewise.
22545         * io/sys/poll.h: Likewise.
22546         * misc/bits/syslog.h: Likewise.
22547         * misc/bits/syslog-ldbl.h: Likewise.
22548         * misc/sys/syslog.h: Likewise.
22549         * socket/bits/socket2.h: Likewise.
22550         * socket/sys/socket.h: Likewise.
22551         * debug/tst-chk1.c: Likewise.
22552         * wcsmbs/bits/wchar2.h: Likewise.
22553         * wcsmbs/bits/wchar-ldbl.h: Likewise.
22554         * wcsmbs/wchar.h: Likewise.
22555
22556 2012-04-29  Andreas Jaeger  <aj@suse.de>
22557
22558         * Makerules (tests): Remove enable-check-abi protection.
22559         (check-abi-warn): Remove.
22560         (check-abi-%): Remove check-abi-warn usage.
22561
22562         * configure.in: Remove check-abi configure option.
22563         * configure: Regenerated.
22564         * config.make.in (enable-check-abi): Remove.
22565
22566 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
22567
22568         [BZ #14033]
22569         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22570         double functions to double *_finite functions.
22571
22572         [BZ #13941]
22573         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22574         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22575         LDBL_MIN_EXP.
22576         * stdio-common/Makefile (tests): Add tst-sprintf3.
22577         * stdio-common/tst-sprintf3.c: New file.
22578
22579         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22580         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22581
22582 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22583
22584         * conform/conformtest.pl: Remove duplicate typed-constant
22585         handling.
22586
22587 2012-04-28  David S. Miller  <davem@davemloft.net>
22588
22589         * Makerules (%.abilist): Add vpath on sysdep_dirs.
22590         (check-abi-%): Remove AWK script prerequisite and explicit
22591         abilist directory.
22592         (check-abi): Rewrite to just diff the symlist with the abilist.
22593         (config-tls, config-abi-config): Delete, no longer used.
22594         (update-abi-%): Remove AWK script and explicit abilist directory.
22595         (update-abi): Rewrite to simply compare and conditionally copy the
22596         symlist and the sysdep abilist file.  Remove update-abi-config
22597         checks.
22598         * abilist/ld.abilist: Remove.
22599         * abilist/libBrokenLocale.abilist: Remove.
22600         * abilist/libanl.abilist: Remove.
22601         * abilist/libcrypt.abilist: Remove.
22602         * abilist/libdl.abilist: Remove.
22603         * abilist/librt.abilist: Remove.
22604         * abilist/libthread_db.abilist: Remove.
22605         * abilist/libutil.abilist: Remove.
22606         * scripts/extract-abilist.awk: Remove.
22607         * scripts/merge-abilist.awk: Remove.
22608         * sysdeps/generic/libcidn.abilist: New file.
22609         * sysdeps/generic/libnss_compat.abilist: New file.
22610         * sysdeps/generic/libnss_db.abilist: New file.
22611         * sysdeps/generic/libnss_dns.abilist: New file.
22612         * sysdeps/generic/libnss_files.abilist: New file.
22613         * sysdeps/generic/libnss_hesiod.abilist: New file.
22614         * sysdeps/generic/libnss_nis.abilist: New file.
22615         * sysdeps/generic/libnss_nisplus.abilist: New file.
22616         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22617         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22618         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22619         file.
22620         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22621         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22622         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22623         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22624         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22625         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22626         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22627         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22628         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22629         file.
22630         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22631         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22632         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22633         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22634         file.
22635         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22636         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22637         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22638         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22639         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22640         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22641         file.
22642         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22643         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22644         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22645         file.
22646         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22648         New file.
22649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22650         New file.
22651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22652         New file.
22653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22654         New file.
22655         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22656         New file.
22657         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22658         New file.
22659         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22660         New file.
22661         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22662         New file.
22663         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22664         New file.
22665         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22666         New file.
22667         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22668         New file.
22669         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22670         New file.
22671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22672         New file.
22673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22674         file.
22675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22676         New file.
22677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22678         New file.
22679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22680         file.
22681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22682         New file.
22683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22684         New file.
22685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22686         file.
22687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22688         New file.
22689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22690         New file.
22691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22692         New file.
22693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22694         New file.
22695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22696         New file.
22697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22698         New file.
22699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22701         file.
22702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22703         New file.
22704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22705         file.
22706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22707         file.
22708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22709         file.
22710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22711         file.
22712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22713         file.
22714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22715         New file.
22716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22717         file.
22718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22719         file.
22720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22721         New file.
22722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22723         file.
22724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22726         file.
22727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22728         New file.
22729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22730         file.
22731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22732         file.
22733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22734         file.
22735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22736         file.
22737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22738         file.
22739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22740         New file.
22741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22742         file.
22743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22744         file.
22745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22746         New file.
22747         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22748         file.
22749         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22750         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22751         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22752         file.
22753         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22754         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22755         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22756         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22757         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22758         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22759         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22760         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22761         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22762         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22765         file.
22766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22767         New file.
22768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22769         file.
22770         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22771         file.
22772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22773         file.
22774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22775         file.
22776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22777         file.
22778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22779         New file.
22780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22781         New file.
22782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22783         file.
22784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22785         New file.
22786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22787         file.
22788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22790         file.
22791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22792         New file.
22793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22794         file.
22795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22796         file.
22797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22798         file.
22799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22800         file.
22801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22802         file.
22803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22804         New file.
22805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22806         New file.
22807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22808         file.
22809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22810         New file.
22811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22812         file.
22813
22814 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
22815
22816         * conform/conformtest.pl: Fix typo in handling typed-constant from
22817         allow-header.
22818
22819 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22820
22821         * README: Cut down references to pre-2.6 Linux kernels and
22822         Linuxthreads.  Update lists of configurations in libc and ports
22823         and sort alphabetically.  Say "or newer" with Linux kernel version
22824         requirements.
22825
22826         * config.h.in [IS_IN_build]: Allow compiling without optimization.
22827
22828 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22829
22830         [BZ #887]
22831         * math/libm-test.inc (logb_test_downward): New test to expose
22832         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22833         rounding mode.
22834
22835 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
22836
22837         [BZ #14027]
22838         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22839         to be done.
22840         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22841         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22842
22843 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
22844
22845         * sysdeps/unix/i386/brk.S: Remove file.
22846         * sysdeps/unix/i386/dl-brk.S: Likewise.
22847         * sysdeps/unix/i386/pipe.S: Likewise.
22848         * sysdeps/unix/i386/sigreturn.S: Likewise.
22849         * sysdeps/unix/i386/syscall.S: Likewise.
22850         * sysdeps/unix/i386/vfork.S: Likewise.
22851         * sysdeps/unix/i386/wait.S: Likewise.
22852
22853         * sysdeps/unix/common/tcsendbrk.c: Move to ...
22854         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22855
22856         * configure.in (arm*-none*): Do not allow without
22857         --enable-hacker-mode.
22858         (netbsd*): Remove case setting base_os.
22859         (386bsd*): Likewise.
22860         (freebsd*): Likewise.
22861         (bsdi*): Likewise.
22862         (osf*): Likewise.
22863         (sunos*): Likewise.
22864         (ultrix*): Likewise.
22865         (newsos*): Likewise.
22866         (dynix*): Likewise.
22867         (*bsd*): Likewise.
22868         (sysv*): Likewise.
22869         (isc*): Likewise.
22870         (esix*): Likewise.
22871         (sco*): Likewise.
22872         (minix*): Likewise.
22873         (irix4*): Likewise.
22874         (irix6*): Likewise.
22875         (solaris[2-9]*): Likewise.
22876         (none): Likewise.
22877         * configure: Regenerated.
22878
22879 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22880
22881         [BZ #11521]
22882         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22883         overflow or cancellation in calculating denominator.
22884         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22885         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22886         down expression to avoid unexpected rounding in newer GCCs.
22887         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22888
22889 2012-04-26  David S. Miller  <davem@davemloft.net>
22890
22891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22892         long-double compat symbols.
22893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22906
22907 2012-04-25  David S. Miller  <davem@davemloft.net>
22908
22909         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22910         HWCAP_* values only after the memory barriers have been defined.
22911         (atomic_full_barrier): Define.
22912         (atomic_read_barrier): Define.
22913         (atomic_write_barrier): Define.
22914
22915 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22916
22917         * shlib-versions: Add libgcc_s version information.
22918         * sysdeps/generic/libgcc_s.h: Remove.
22919         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22920         libgcc_s.h.
22921         * sysdeps/gnu/unwind-resume.c: Likewise.
22922         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22923
22924 2012-04-25  David S. Miller  <davem@davemloft.net>
22925
22926         * sysdeps/unix/sparc/brk.S: Delete.
22927         * sysdeps/unix/sparc/dl-brk.S: Delete.
22928         * sysdeps/unix/sparc/pipe.S: Delete.
22929         * sysdeps/unix/sparc/sysdep.S: Delete.
22930         * sysdeps/unix/sparc/sysdep.h: Delete.
22931         * sysdeps/unix/sparc/vfork.S: Delete.
22932         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22933         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22934         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22935         ret_ERRVAL, r0, r1, MOVE): Define.
22936         (JUMPTARGET): Remove.
22937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22938         sysdeps/unix/sparc/sysdep.h
22939         (ENTRY, END): Remove.
22940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22941
22942 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
22943
22944         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22945         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22946         -DIS_IN_build.
22947
22948         * timezone/README: Update upstream location and email address for
22949         tzcode and tzdata.
22950         * timezone/zdump.c: Update from tzcode 2012b.
22951         * timezone/zic.c: Likewise.
22952
22953         * configure.in (libc_cv_as_needed): Remove test.
22954         * configure: Regenerated.
22955         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22956         conditional definition.
22957         [$(have-as-needed) != yes] (no-as-needed): Likewise.
22958         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22959         * config.make.in (have-as-needed): Remove variable.
22960
22961 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22962             Paul Pluzhnikov  <ppluzhnikov@google.com>
22963
22964         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22965         strings correctly.
22966
22967 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22968
22969         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22970         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22971         * sysdeps/sh/strlen.S: Likewise.
22972
22973 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
22974
22975         * sysdeps/unix/fork.S: Remove file.
22976         * sysdeps/unix/i386/fork.S: Likewise.
22977         * sysdeps/unix/sparc/fork.S: Likewise.
22978
22979         * sysdeps/unix/system.c: Remove file.
22980         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22981
22982         * sysdeps/unix/getegid.S: Remove file.
22983         * sysdeps/unix/geteuid.S: Likewise.
22984
22985 2012-04-24  Roland McGrath  <roland@hack.frob.com>
22986
22987         * scripts/check-localplt.awk: New file.
22988         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22989         of diff.
22990         * scripts/data/localplt-generic.data: Add a comment.
22991
22992         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22993         NODE when __dir_mkfile failed.
22994         * sysdeps/mach/hurd/symlinkat.c: Likewise.
22995         Reported by Ludovic Courtès <ludo@gnu.org>.
22996
22997 2012-04-24  Andreas Jaeger  <aj@suse.de>
22998
22999         * Makerules (common-clean): Also remove gen-as-const-headers
23000         files.
23001
23002 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23003
23004         * Makerules (native-compile): Do not change working directory for
23005         build.  Use $(OUTPUT_OPTION) in command.
23006         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23007
23008 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23009
23010         [BZ #13886]
23011         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23012         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23013         * math/libm-test.inc (floor_test): Add more tests.
23014         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23015
23016 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
23017
23018         * sysdeps/unix/getdents.c: Remove file.
23019         * sysdeps/unix/sysv/getdents.c: Likewise.
23020         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23021
23022         * sysdeps/unix/syscalls.list (madvise): Add syscall from
23023         sysdeps/unix/mman/syscalls.list.
23024         (mmap): Likewise.
23025         (mprotect): Likewise.
23026         (msync): Likewise.
23027         (munmap): Likewise.
23028         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23029         * sysdeps/unix/mman/syscalls.list: Remove.
23030         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23031
23032         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23033         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23034         * configure: Regenerated.
23035         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23036         $(libgcc_s_suffix).
23037         * config.make.in (libgcc_s_suffix): Remove variable.
23038
23039 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
23040
23041         * sysdeps/unix/sysv/gethostname.c: Move to ...
23042         * sysdeps/posix/gethostname.c: ... here.
23043
23044         * sysdeps/unix/execve.S: Remove file.
23045
23046         * sysdeps/unix/_exit.S: Remove file.
23047
23048 2012-04-23  Andreas Jaeger  <aj@suse.de>
23049
23050         [BZ #13739]
23051         * manual/Makefile: Remove make dist support, there's no
23052         need for a stand-alone documentation tar ball.
23053         (TEXI2DVI): Define always, it's not in Makeconfig.
23054         (dist): Removed.
23055         (tar-it): Removed.
23056         (edition): Removed.
23057         (glibc-doc-$(edition).tar): Removed
23058         (%.Z): Removed.
23059         (%.gz): Removed.
23060         (%.uu): Removed.
23061         (ETAGS): Remove, it's in Makeconfig.
23062         (move-if-change): Remove, it's in Makeconfig.
23063
23064 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
23065
23066         [BZ #13970]
23067         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23068         (strtod, strtof, strtold, strtol, strtoul, strtoq)
23069         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23070         (strtod_l, strtof_l, strtold_l): Remove __wur.
23071         It is not necessarily an error to ignore strtol's return value.
23072         One can reliably look at the stored endptr to decide whether
23073         the number had valid syntax.
23074
23075 2012-04-21  Andreas Jaeger  <aj@suse.de>
23076
23077         [BZ #13739]
23078         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23079
23080 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
23081
23082         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23083         * sysdeps/unix/sysv/Versions: Remove file.
23084
23085 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
23086
23087         [BZ #13927]
23088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23089
23090 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
23091
23092         [BZ #7064]
23093         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23094         version from __vm86.
23095
23096 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
23097
23098         * sysdeps/unix/common/lxstat.c: Remove file.
23099         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23100
23101         * sysdeps/unix/sysv/Makefile: Remove file.
23102
23103         * sysdeps/unix/sysv/direct.h: Remove file.
23104
23105         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23106         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23107         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23108         * sysdeps/unix/sysv/bits/signum.h: Likewise.
23109         * sysdeps/unix/sysv/bits/stat.h: Likewise.
23110         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23111         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23112
23113         * sysdeps/unix/sysv/setrlimit.c: Remove file.
23114
23115         * sysdeps/unix/xmknod.c: Remove file.
23116         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23117
23118         * sysdeps/unix/sysv/settimeofday.c: Remove file.
23119
23120         * sysdeps/unix/sysv/i386/time.S: Remove file.
23121
23122         * sysdeps/unix/fxstat.c: Remove file.
23123         * sysdeps/unix/xstat.c: Likewise.
23124         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23125
23126         * sysdeps/unix/sysv/sigaction.c: Remove file.
23127
23128         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23129         (sysdep_headers): Remove variable.
23130         [termio.h not in sysdep_headers] (generated): Likewise.
23131         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23132         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23133         * sysdeps/unix/sysv/tcdrain.c: Likewise.
23134         * sysdeps/unix/sysv/tcflow.c: Likewise.
23135         * sysdeps/unix/sysv/tcflush.c: Likewise.
23136         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23137         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23138         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23139         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23140         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23141
23142         * sysdeps/unix/siglist.c: Remove file.
23143
23144         * sysdeps/unix/getppid.S: Remove file.
23145
23146         * sysdeps/unix/mkdir.c: Remove file.
23147         * sysdeps/unix/rmdir.c: Likewise.
23148
23149 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
23150
23151         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23152         ERR_MAX value.
23153         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23154         errlist-compat value.
23155
23156 2012-04-18  David S. Miller  <davem@davemloft.net>
23157
23158         * sysdeps/generic/memcopy.h (reg_char): Delete.
23159         * debug/strcat_chk.c: Use char, not reg_char.
23160         * debug/strcpy_chk.c: Likewise.
23161         * debug/strncat_chk.c: Likewise.
23162         * debug/strncpy_chk.c: Likewise.
23163         * string/memchr.c: Likewise.
23164         * string/memrchr.c: Likewise.
23165         * string/rawmemchr.c: Likewise.
23166         * string/strcat.c: Likewise.
23167         * string/strchr.c: Likewise.
23168         * string/strchrnul.c: Likewise.
23169         * string/strcmp.c: Likewise.
23170         * string/strcpy.c: Likewise.
23171         * string/strncat.c: Likewise.
23172         * string/strncmp.c: Likewise.
23173         * string/strncpy.c: Likewise.
23174
23175 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23176
23177         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23178         __builtin_memcopy is called when src and dest ranges are known to not
23179         overlap.
23180
23181 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23182
23183         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23184         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23185         fwd_align_merge macro call.
23186         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23187         bwd_align_merge macro call.
23188         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23189
23190 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
23191
23192         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23193         bwd_align_merge macros.
23194         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23195         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23196         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23197
23198 2012-04-18  David S. Miller  <davem@davemloft.net>
23199
23200         * sysdeps/sparc/sparc64/memcopy.h: Delete.
23201
23202 2012-04-18  Andreas Jaeger  <aj@suse.de>
23203
23204         [BZ# 6794]
23205         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23206         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23207         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23208
23209         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23210         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23211         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23212
23213         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23214         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23215         Adjust for changed ldbl-128 files.
23216
23217         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23218         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23219         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23220
23221 2012-04-17  David S. Miller  <davem@davemloft.net>
23222
23223         * sysdeps/sparc/sparc32/memcopy.h: Delete.
23224
23225 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
23226
23227         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23228         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23229         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23230         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23231         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23232         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23233
23234 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23235
23236         [BZ #6794]
23237         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23238         * math/libm-test.inc: Add ilogb errno and exception tests.
23239         * math/w_ilogb.c: New file: ilogb wrapper.
23240         * math/w_ilogbf.c: New file: ilogbf wrapper.
23241         * math/w_ilogbl.c: New file: ilogbl wrapper.
23242         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23243         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23244         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23245         exception being thrown with 0.0 as argument.
23246         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23247         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23248         exception being thrown with 0.0 as argument.
23249         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23250         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23251         exception being thrown with 0.0 as argument.
23252         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23253         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23254         exception being thrown with 0.0 as argument.
23255         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23256         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23257         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23258         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23259         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23260         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23261         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23262         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23263         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23264
23265 2012-04-17  Petr Baudis  <pasky@ucw.cz>
23266
23267         * include/sys/uio.h: Change __vector to __iovec to avoid clash
23268         with altivec.
23269
23270 2012-04-16  Marek Polacek  <polacek@redhat.com>
23271
23272         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23273
23274 2012-04-16  Marek Polacek  <polacek@redhat.com>
23275
23276         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23277         operands of fdivp instruction.
23278
23279 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23280
23281         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23282         * elf/tst-auditmod3b.c: Likewise.
23283         * elf/tst-auditmod4b.c: Likewise.
23284         * elf/tst-auditmod5b.c: Likewise.
23285         * elf/tst-auditmod6b.c: Likewise.
23286         * elf/tst-auditmod6c.c: Likewise.
23287         * elf/tst-auditmod7b.c: Likewise.
23288         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23289         * sysdeps/x86_64/preconfigure.in: Likewise.
23290         * sysdeps/x86_64/preconfigure: Regenerated.
23291
23292 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
23293
23294         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23295         __ILP32__.
23296
23297 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
23298
23299         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23300         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23301
23302 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
23303
23304         [BZ #13973]
23305         * locale/iso-639.def: Fix gl language name. Spotted by
23306         Yaron Shahrabani.
23307
23308 2012-04-12  Roland McGrath  <roland@hack.frob.com>
23309
23310         [BZ #2074]
23311         * libio/libio.h (__io_write_fn): Update comment.
23312
23313 2012-04-12  Petr Baudis  <pasky@ucw.cz>
23314
23315         [BZ #2074]
23316         * stdio.texi (Hook Functions): The user provided writer function
23317         is not allowed to return -1.
23318
23319 2012-04-11  David S. Miller  <davem@davemloft.net>
23320
23321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23322
23323 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
23324
23325         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23326         Add a leading slash to rtkaio.
23327
23328 2012-04-11  Jim Meyering  <meyering@redhat.com>
23329
23330         [BZ #11959]
23331         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23332         It is not necessarily an error to ignore fwrite's return
23333         value.  One can reliably use ferror to test for errors after
23334         the fact.
23335
23336 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23337
23338         * bits/types.h (__snseconds_t): New type.
23339         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23340
23341         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23342         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23343         (__SNSECONDS_T_TYPE): Likewise.
23344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23345         (__SNSECONDS_T_TYPE): Likewise.
23346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23347         (__SNSECONDS_T_TYPE): Likewise.
23348
23349 2012-04-10  Andreas Jaeger  <aj@suse.de>
23350
23351         [BZ #2636]
23352         * manual/time.texi (Processor Time): Return type of times is
23353         elapsed real time since an arbitrary point in the past.
23354         (CPU Time): Move CLK_TCK from here...
23355         (Processor Time): ...to here.  Correct description.
23356         * manual/conf.texi (Constants for Sysconf): Correct description of
23357         _SC_CLK_TCK.
23358
23359 2012-04-10  David S. Miller  <davem@davemloft.net>
23360
23361         [BZ #13967]
23362         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23363         where the is a gap between DT_REL(A) and DT_JMPREL.
23364
23365 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
23366
23367         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23368         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23369         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23370
23371 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23372
23373         * elf/dl-support.c (_dl_inhibit_cache): New variable.
23374         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23375         (dl_main): Handle --inhibit-cache.
23376         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23377         _dl_inhibit_cache.
23378         * elf/dl-load.c (_dl_map_object): Use it.
23379         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23380
23381 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23382
23383         [BZ #13872]
23384         * sysdeps/i386/fpu/e_powl.S (p78): New object.
23385         (__ieee754_powl): Saturate large exponents rather than testing for
23386         overflow of y*log2(x).
23387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23388         * math/libm-test.inc (pow_test): Do not permit spurious overflow
23389         exceptions.
23390
23391         [BZ #11521]
23392         * math/s_ctan.c: Include <float.h>.
23393         (__ctan): Avoid internal overflow or cancellation in calculating
23394         denominator.
23395         * math/s_ctanf.c: Likewise.
23396         * math/s_ctanl.c: Likewise.
23397         * math/s_ctanh.c: Likewise.
23398         * math/s_ctanhf.c: Likewise.
23399         * math/s_ctanhl.c: Likewise.
23400         * math/libm-test.inc (ctan_test): Add more tests.
23401         (ctanh_test): Likewise.
23402         * sysdeps/i386/fpu/libm-test-ulps: Update.
23403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23404
23405 2012-04-09  Andreas Jaeger  <aj@suse.de>
23406
23407         [BZ #6894]
23408         * manual/filesys.texi (Directory Entries): Mention that d_namlen
23409         is an optional BSD extension.
23410
23411         [BZ #10254]
23412         * manual/stdio.texi (Opening Streams): Document additional fopen
23413         parameters.
23414
23415 2012-04-09  Roland McGrath  <roland@hack.frob.com>
23416
23417         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23418         %eax without telling the compiler.
23419
23420 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
23421
23422         [BZ # 13963]
23423         * manual/install.texi: Use sourceware.org.
23424
23425 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
23426
23427         [BZ #13873]
23428         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23429         (__ieee754_pow): Generate overflow and underflow using huge*huge
23430         and tiny*tiny rather than just returning constant infinity or zero
23431         for large exponents.
23432         * math/libm-test.inc (pow_test): Require overflow exceptions for
23433         applicable cases of large exponents.
23434
23435         [BZ #706]
23436         * sysdeps/i386/fpu/e_pow.S (p10): New object.
23437         (__ieee754_pow): Use iterative multiplication algorithm only for
23438         integer exponents with absolute value below 1024.  Check for odd
23439         integer exponents when using algorithm for real exponents.
23440         * math/libm-test.inc (pow_test): Add more tests.
23441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23442
23443 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
23444
23445         [BZ #13705]
23446         * math/libm-test.inc (exp_test): Do not allow overflow exception
23447         on underflow test.
23448
23449 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
23450
23451         [BZ #13705]
23452         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23453         instead of __kernel_standard_f.
23454
23455 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
23456
23457         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23458         * sysdeps/x86_64/memset_chk.S: Likewise.
23459
23460 2012-04-08  Andreas Jaeger  <aj@suse.de>
23461
23462         [BZ #10153]
23463         * manual/startup.texi (Environment Access): Describe return value
23464         for putenv and setenv.
23465
23466         [BZ #6895]
23467         * manual/filesys.texi (Directory Entries): Add description for
23468         DT_LNK.
23469
23470         [BZ #6890]
23471         * manual/filesys.texi (Directory Entries): Clarify that it's file
23472         system not operating system in the description of DT_UNKNOWN.
23473
23474         [BZ #6578]
23475         * manual/syslog.texi (closelog): Fix reference, it's openlog.
23476
23477 2012-04-08  Stephen Compall  <s11@member.fsf.org>
23478
23479         [BZ #6649]
23480         * manual/llio.texi (Opening and Closing Files): Add cross
23481         reference to explain mode argument.
23482
23483 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
23484
23485         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23486         * sysdeps/x86_64/memset_chk.S: Likewise.
23487
23488 2012-04-07  David S. Miller  <davem@davemloft.net>
23489
23490         * elf/elf.h (R_SPARC_WDISP10): Define.
23491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23492         R_SPARC_SIZE32.
23493         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23494         R_SPARC_SIZE64 and R_SPARC_H34.
23495
23496 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
23497
23498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23499         conditions and remove no longer applicable assertion.
23500
23501 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23502
23503         * bits/byteswap.h: Include <features.h>.
23504         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23505         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23506
23507 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
23508
23509         * bits/byteswap.h (__bswap_16): Removed.
23510         Include <bits/byteswap-16.h> to get __bswap_16.
23511         * sysdeps/i386/bits/byteswap.h: Likewise.
23512         * sysdeps/s390/bits/byteswap.h: Likewise.
23513         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23514         * bits/byteswap-16.h: New file.
23515         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23516         * sysdeps/s390/bits/byteswap-16.h: Likewise.
23517         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23518         * string/Makefile (headers): Add bits/byteswap-16.h.
23519
23520 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23521
23522         [BZ #13895]
23523         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23524         extra indirection.
23525         * nss/Makefile (tests-static, tests): Add tst-nss-static.
23526         * nss/tst-nss-static.c: New.
23527
23528 2012-04-06  Robert Millan  <rmh@gnu.org>
23529
23530         [BZ #6486]
23531         * manual/llio.texi (File Position Primitive): lseek
23532         refers to WHENCE when it really means OFFSET.
23533
23534 2012-04-06  Andreas Jaeger  <aj@suse.de>
23535
23536         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23537         strncmp declarations.
23538
23539         * abilist/libc.abilist: Add __poll and __ppoll.
23540
23541 2012-04-05  David S. Miller  <davem@davemloft.net>
23542
23543         * scripts/check-local-headers.sh: Accept a host triplet in the
23544         path matched by the exclude regexp.
23545
23546         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23547         definition.
23548         * sysdeps/powerpc/powerpc32/dl-machine.h
23549         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23550         * sysdeps/s390/s390-32/dl-machine.h
23551         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23552         * sysdeps/sparc/sparc32/dl-machine.h
23553         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23554         * sysdeps/sparc/sparc64/dl-machine.h
23555         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23556
23557         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23558         lazy binding.
23559         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23560         undefined symbol errors.
23561
23562         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23563         DT_NEEDED entries.
23564
23565 2012-04-05  Michael Matz  <matz@suse.de>
23566
23567         [BZ #13592]
23568         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23569
23570 2012-04-05  Andreas Jaeger  <aj@suse.de>
23571
23572         [BZ #13908]
23573         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23574         comment.
23575
23576 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23577
23578         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23579         which ROUND is no valid rounding mode.
23580
23581 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23582
23583         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23584         read again.
23585         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23586
23587 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23588
23589         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23590         an exception using FPU order intentionally.
23591
23592 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
23593
23594         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23595         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23596         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23597         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23598
23599 2012-04-05  Simon Josefsson  <simon@josefsson.org>
23600
23601         [BZ #12340]
23602         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23603         EINVAL when BUFLEN is too smal.
23604
23605 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23606
23607         [BZ #13553]
23608         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23609         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23610
23611 2012-04-03  Andreas Jaeger  <aj@suse.de>
23612
23613         [BZ #13938]
23614         * manual/setjmp.texi (System V contexts): Fix sentence.
23615
23616         [BZ #13926]
23617         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23618         New macro for this case.
23619         [!__GNUC__] (__bswap_64): New inline function for this case.
23620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
23621         * bits/byteswap.h: Likewise.
23622         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23623         ull, guard with __GLIBC_HAVE_LONG_LONG.
23624
23625         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23626         __GLIBC_HAVE_LONG_LONG.
23627
23628         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23629         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23630
23631 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23632
23633         [BZ #13691]
23634         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23635         inptr and inend, rather than using last_ch.
23636
23637 2012-04-02  David S. Miller  <davem@davemloft.net>
23638
23639         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23640         * stdio-common/printf-parse.h (read_int): Change return type to
23641         'int', return -1 on INT_MAX overflow.
23642         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23643         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
23644         overflows INT_MAX.  Check for overflow of in-format-string precision
23645         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
23646         SIZE_MAX not INT_MAX for integer overflow test.
23647         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23648         skip the construct in the format string but do not record anything.
23649         * stdio-common/bug22.c: Adjust to test both width/prevision
23650         INT_MAX overflow as well as total length INT_MAX overflow.  Check
23651         explicitly for proper errno values.
23652
23653 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23654
23655         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23656         CHAR_MAX.
23657         * string/test-strcmp.c [! WIDE]: Likewise.
23658         * time/tst-mktime2.c: Likewise for INT_MAX.
23659         * string/test-string.h: #include <sys/param.h> for MIN.
23660
23661         * csu/init-first.c (__libc_init_first): Call __ctype_init.
23662         * sysdeps/i386/init-first.c (init): Likewise.
23663         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23664         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23665         * sysdeps/sh/init-first.c (init): Likewise.
23666
23667 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
23668
23669         * po/ru.po: Update from translation team.
23670         * po/vi.po: Likewise.
23671
23672 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23673
23674         * resolv/nss_dns/dns-host.c: Merge copyright years.
23675
23676 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23677
23678         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23679         Optimize memcpy with prefetch if
23680         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
23681         src, dst pointers have unequal 16 byte alignments.
23682
23683 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23684
23685         [BZ #13928]
23686         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23687         from a CNAME entry and return the minimum ttl for the query.
23688         (gaih_getanswer_slice): Likewise.
23689
23690 2012-03-30  Jeff Law  <law@redhat.com>
23691
23692         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23693         due to long keys.
23694         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23695         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23696
23697         * resolv/nss_dns/dns-host.c: Update copyright year.
23698
23699 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
23700
23701         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23702         requests to save a system call.  Fix check that all bytes are sent.
23703
23704         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23705         comments for sendmmsg.
23706
23707 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23708
23709         [BZ #13691]
23710         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23711         with only 1 character between 0x0041 and 0x01b0.
23712         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23713         * wcsmbs/tst-mbsnrtowcs.c: New file.
23714
23715 2012-03-29  David S. Miller  <davem@davemloft.net>
23716
23717         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23718         small copies by hand.
23719
23720 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23721
23722         [BZ #13761]
23723         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23724         _nss_compat_initgroups_dyn): Fall back to malloc/free
23725         for large group memberships.
23726
23727 2012-03-28  David S. Miller  <davem@davemloft.net>
23728
23729         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23730         that branches into memcpy.
23731         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23732         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23733         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23734         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23736         bits.
23737         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23738         implementation too.
23739         * sysdeps/sparc/mempcpy.S: New file.
23740
23741         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23742         the IFUNC routine in the libc case.
23743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23744
23745         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23746         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23747         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23748         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23749         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23750         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23751         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23752         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23753
23754         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23755         loop to 256 bytes instead of 64 bytes and fix test signedness.
23756
23757         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23758         * sysdeps/sparc/sparc32/Makefile: rather than here...
23759         * sysdeps/sparc/sparc64/Makefile: and here.
23760
23761 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
23762
23763         * malloc/mallocbug.c: Avoid warnings about unused variables.
23764
23765 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23766
23767         [BZ #13760]
23768         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23769         in the right place. Discard and retry query if response is
23770         larger than input buffer size.
23771
23772 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
23773
23774         [BZ #369]
23775         [BZ #2678]
23776         [BZ #3866]
23777         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23778         x for large integer exponent.
23779         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23780         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
23781         sign of result as needed afterwards.
23782         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23783         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23784         result for underflowing pow the same as for overflow.
23785         (__kernel_standard_l): Handle powl overflow and underflow here
23786         rather than calling __kernel_standard.
23787         * math/libm-test.inc (pow_test): Add more tests.
23788
23789         [BZ #3868]
23790         [BZ #13879]
23791         [BZ #13910]
23792         [BZ #13911]
23793         [BZ #13912]
23794         [BZ #13913]
23795         [BZ #13915]
23796         [BZ #13916]
23797         [BZ #13917]
23798         [BZ #13918]
23799         [BZ #13919]
23800         [BZ #13920]
23801         [BZ #13921]
23802         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23803         * sysdeps/ieee754/k_standard.c: Include <float.h>.
23804         (__kernel_standard_l): New function.
23805         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23806         __kernel_standard.
23807         * math/w_acosl.c (__acosl): Likewise.
23808         * math/w_asinl.c (__asinl): Likewise.
23809         * math/w_atan2l.c (__atan2l): Likewise.
23810         * math/w_atanhl.c (__atanhl): Likewise.
23811         * math/w_coshl.c (__coshl): Likewise.
23812         * math/w_exp10l.c (__exp10l): Likewise.
23813         * math/w_exp2l.c (__exp2l): Likewise.
23814         * math/w_fmodl.c (__fmodl): Likewise.
23815         * math/w_hypotl.c (__hypotl): Likewise.
23816         * math/w_j0l.c (__j0l, __y0l): Likewise.
23817         * math/w_j1l.c (__j1l, __y1l): Likewise.
23818         * math/w_jnl.c (__jnl, __ynl): Likewise.
23819         * math/w_lgammal.c (__lgammal): Likewise.
23820         * math/w_log10l.c (__log10l): Likewise.
23821         * math/w_log2l.c (__log2l): Likewise.
23822         * math/w_logl.c (__logl): Likewise.
23823         * math/w_powl.c (__powl): Likewise.
23824         * math/w_remainderl.c (__remainderl): Likewise.
23825         * math/w_scalbl.c (sysv_scalbl): Likewise.
23826         * math/w_sinhl.c (__sinhl): Likewise.
23827         * math/w_sqrtl.c (__sqrtl): Likewise.
23828         * math/w_tgammal.c (__tgammal): Likewise.
23829         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23830         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23831         * math/libm-test.inc (acos_test): Add more tests.
23832         (acosh_test): Likewise.
23833         (asin_test): Likewise.
23834         (atanh_test): Likewise.
23835         (exp_test): Likewise.
23836         (exp10_test): Likewise.
23837         (exp2_test): Likewise.
23838         (expm1_test): Likewise.
23839         (lgamma_test): Likewise.
23840         (log_test): Likewise.
23841         (log10_test): Likewise.
23842         (log1p_test): Likewise.
23843         (log2_test): Likewise.
23844         (pow_test): Do not allow some spurious overflow exceptions.
23845         (sqrt_test): Add more tests.
23846         (tgamma_test): Likewise.
23847         (y0_test): Likewise.
23848         (y1_test): Likewise.
23849         (yn_test): Likewise.
23850
23851 2012-03-27  Anton Blanchard  <anton@samba.org>
23852
23853         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23854         MAP_HUGETLB.
23855         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23856         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23858
23859 2012-03-27  David S. Miller  <davem@davemloft.net>
23860
23861         * conform/Makefile: Run run-conformtest.sh using $(BASH).
23862
23863         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23864         have-as-vis3 check.
23865
23866 2012-03-27  Andreas Jaeger  <aj@suse.de>
23867
23868         * sysdeps/x86_64/elf/configure.in: Moved to ...
23869         * sysdeps/x86_64/configure.in: ... here.
23870         * sysdeps/x86_64/elf/start.S: Moved to ...
23871         * sysdeps/x86_64/start.S: ... here.
23872         * sysdeps/x86_64/elf/configure: Delete.
23873
23874         * sysdeps/x86_64/configure.in: Merge contents from
23875         sysdeps/i386/configure.in (without i686 check).
23876
23877         * sysdeps/i386/elf/Versions: Merge into ...
23878         * sysdeps/i386/Versions: ... this.
23879         * sysdeps/i386/elf/Versions: Delete file.
23880         * sysdeps/i386/elf/start.S: Moved to ...
23881         * sysdeps/i386/start.S: ...here.
23882         * sysdeps/i386/elf/configure.in: Merge into...
23883         * sysdeps/i386/configure.in: ...here.
23884         * sysdeps/i386/elf/configure.in: Delete file.
23885         * sysdeps/i386/elf/configure: Delete file.
23886
23887         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23888         * debug/backtracesyms.c: ... here.
23889         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23890         * debug/backtracesymsfd.c: ... here.
23891         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23892         * sysdeps/generic/ifunc-sel.h: ... here.
23893
23894         * sysdeps/unix/i386/start.c: Delete file.
23895         * sysdeps/unix/sparc/start.c: Delete file.
23896         * sysdeps/unix/start.c: Delete file.
23897
23898         * sysdeps/sh/elf/configure.in: Moved to ...
23899         * sysdeps/sh/configure.in: ... here.
23900         * sysdeps/sh/elf/start.S: Moved to ...
23901         * sysdeps/sh/start.S: ... here.
23902         * sysdeps/sh/elf/configure: Delete file.
23903
23904         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23905         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23906         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23907         * sysdeps/powerpc/powerpc64/entry.h: ... here.
23908         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23909         * sysdeps/powerpc/powerpc64/start.S: here.
23910         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23911         * sysdeps/powerpc/powerpc64/Makefile: ... this.
23912         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23913         * sysdeps/powerpc/powerpc64/configure.in: ... this.
23914         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23915
23916         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23917         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23918         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23919         * sysdeps/powerpc/powerpc32/start.S: ... here.
23920         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23921         * sysdeps/powerpc/powerpc32/configure.in: ... this.
23922         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23923
23924         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23925         * sysdeps/powerpc/ifunc-sel.h: ... here.
23926         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23927         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23928
23929         * sysdeps/sparc/elf/configure.in: Moved to ...
23930         * sysdeps/sparc/configure.in: ... here.
23931         * sysdeps/sparc/elf/configure: Delete file.
23932         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23933         * sysdeps/sparc/sparc32/start.S: ... here.
23934         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23935         * sysdeps/sparc/sparc64/start.S: ... here.
23936         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23937         * sysdeps/sparc/sparc32/Makefile: ... this.
23938         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23939         * sysdeps/sparc/sparc64/Makefile: ... this.
23940
23941         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23942         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23943         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23944         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23945         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23946         * sysdeps/s390/s390-32/setjmp.S: ... here.
23947         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23948         * sysdeps/s390/s390-32/configure.in: ... here.
23949         * sysdeps/s390/s390-32/elf/configure: Delete file.
23950         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23951         * sysdeps/s390/s390-32/start.S: ... here.
23952
23953         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23954         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23955         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23956         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23957         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23958         * sysdeps/s390/s390-64/setjmp.S: ... here.
23959         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23960         * sysdeps/s390/s390-64/configure.in: ... here
23961         * sysdeps/s390/s390-64/elf/configure: Delete file.
23962         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23963         * sysdeps/s390/s390-64/start.S: ... here.
23964         * sysdeps/s390/s390-64/elf/configure: Delete.
23965
23966         * configure.in: Remove support for elf directories in sysdeps.
23967
23968         * configure: Regenerated.
23969         * sysdeps/i386/configure: Regenerated.
23970         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23971         * sysdeps/powerpc/powerpc64/configure: Regenerated.
23972         * sysdeps/s390/s390-32/configure: Regenerated.
23973         * sysdeps/s390/s390-64/configure: Regenerated.
23974         * sysdeps/sh/configure: Regenerated.
23975         * sysdeps/sparc/configure: Regenerated.
23976         * sysdeps/x86_64/configure: Regenerated.
23977
23978 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
23979
23980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23981
23982         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23983         denormal result into account.
23984
23985 2012-03-25  Roland McGrath  <roland@hack.frob.com>
23986
23987         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23988         Reported by Allan McRae <allan@archlinux.org>.
23989
23990 2012-03-23  Jeff Law  <law@redhat.com>
23991
23992         * nss/getnssent.c (__nss_getent): Fix typo.
23993
23994 2012-03-23  David S. Miller  <davem@davemloft.net>
23995
23996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23997
23998 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
23999
24000         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24001         to pad to uint64_t for each field.
24002         (dl_tls_index): Replace unsigned long with uint64_t.
24003
24004 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
24005         Paul Pluzhnikov  <ppluzhnikov@google.com>
24006
24007         [BZ #6528]
24008         * grp/Makefile (otherlibs): Don't set it.
24009         * inet/Makefile (otherlibs): Likewise.
24010         * login/Makefile (otherlibs): Likewise.
24011         * nscd/Makefile (otherlibs): Likewise.
24012         * posix/Makefile (otherlibs): Likewise.
24013         * pwd/Makefile (otherlibs): Likewise.
24014         * rt/Makefile (otherlibs): Likewise.
24015         * sunrpc/Makefile (otherlibs): Likewise.
24016         * nss/Makefile (otherlibs): Likewise.
24017         Add libnss_files to routines and static-only-routines.
24018         ($(objpfx)getent): Remove rule.
24019         * resolv/Makefile: Add libnss_dns and libresolv to routines and
24020         static-only-routines.
24021
24022 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24023
24024         [BZ #13892]
24025         * math/s_cexp.c: Include <float.h>.
24026         (__cexp): Handle exp result overflowing not necessarily
24027         overflowing both real and imaginary parts of result.
24028         * math/s_cexpf.c: Likewise.
24029         * math/s_cexpl.c: Likewise.
24030         * math/libm-test.inc (cexp_test): Add more tests.
24031         * sysdeps/i386/fpu/libm-test-ulps: Update.
24032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24033
24034 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24035
24036         * include/link.h (ELFW): New macro.
24037         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24038         Replace ELF64_R_TYPE with ELFW(R_TYPE).
24039
24040 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24041
24042         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24043         with uint64_t.
24044
24045 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24046
24047         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24048         declaration.
24049         (struct La_x32_retval): Likewise.
24050
24051 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
24052
24053         * sysdeps/x86_64/preconfigure.in: New file.
24054         * sysdeps/x86_64/preconfigure: New generated file.
24055
24056 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
24057
24058         [BZ #13824]
24059         * math/e_exp2l.c: Include <float.h>.
24060         (__ieee754_exp2l): Handle overflow and underflow cases
24061         separately.  Only pass fractional part of argument to
24062         __ieee754_expl.
24063         * math/libm-test.inc (exp2_test): Add more tests.
24064
24065         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24066         negating x to take absolute value.
24067         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24068         Likewise.
24069         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24070         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24071         Likewise.
24072         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24073         computing low part if x was negated.
24074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24075
24076 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24077
24078         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24079         la_x32_gnu_pltexit.
24080         (pltexit): Cast int_retval to ptrdiff_t.
24081         * elf/tst-auditmod3b.c: Likewise.
24082         * elf/tst-auditmod4b.c: Likewise.
24083         * elf/tst-auditmod5b.c: Likewise.
24084         * elf/tst-auditmod6b.c: Likewise.
24085         * elf/tst-auditmod6c.c: Likewise.
24086         * elf/tst-auditmod7b.c: Likewise.
24087
24088         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24089         and x32_gnu_pltexit.
24090
24091         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24092         __ELF_NATIVE_CLASS.
24093         (La_x32_regs): New macro.
24094         (La_x32_retval): Likewise.
24095         (la_x32_gnu_pltenter): New function prototype.
24096         (la_x32_gnu_pltexit): Likewise.
24097
24098 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
24099
24100         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24101         exponent.
24102
24103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24104
24105         * configure.in (libc_cv_cc_nofma): Check for option to disable
24106         generation of FMA instructions.
24107         * configure: Regenerate.
24108         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24109         * sysdeps/ieee754/dbl-64/Makefile: New file.
24110         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24111         Remove brandred-fma4.
24112         (CFLAGS-brandred-fma4.c): Remove.
24113         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24114         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24115         define.
24116         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24117         define.
24118
24119 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24120
24121         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24122         LLONG_MAX != LONG_MAX.
24123         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24124         (_fitoa_word): Likewise.
24125         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24126         LLONG_MAX != LONG_MAX.
24127         * stdio-common/_itowa.h: Include <_itoa.h>.
24128         (_itowa_word): Use _ITOA_WORD_TYPE on value.
24129         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
24130         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
24131         only if not defined.
24132         (_ITOA_WORD_TYPE): Likewise.
24133         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24134         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24135
24136 2012-03-21  David S. Miller  <davem@davemloft.net>
24137
24138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24139
24140 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
24141
24142         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24143         of x86_64 when setting libc_cv_slibdir, libdir and
24144         libc_cv_localedir.
24145         * sysdeps/unix/sysv/linux/configure: Regenerated.
24146
24147 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24148
24149         * manual/lang.texi (Old Varargs): Remove section.
24150         (How Variadic): Update menu.
24151         (va_start): Do not mention varargs.h.
24152
24153 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24154             Joseph Myers  <joseph@codesourcery.com>
24155
24156         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24157         link test.
24158         * configure: Regenerated.
24159
24160 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24161
24162         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24163         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24164         conformtest.pl
24165
24166 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24167
24168         * NOTES: Remove.
24169         * Makefile (files-for-dist): Remove NOTES.
24170         (NOTES): Remove rule.
24171         * README: Don't refer to NOTES.
24172         * manual/creature.texi: Don't include macros.texi.
24173         * manual/intro.texi (creature.texi): Remove comment referring to
24174         NOTES.
24175
24176         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24177         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24178         * configure: Regenerated.
24179         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24180         LIBC_TRY_CC_OPTION.
24181         (libc_cv_as_i686): Likewise.
24182         (libc_cv_cc_avx): Likewise.
24183         (libc_cv_cc_sse2avx): Likewise.
24184         (libc_cv_cc_fma4): Likewise.
24185         (libc_cv_cc_novzeroupper): Likewise.
24186         * sysdeps/i386/configure: Regenerated.
24187
24188         [BZ #13883]
24189         * sysdeps/i386/fpu/s_cexp.S: Remove.
24190         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24191         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24192         * math/libm-test.inc (cexp_test): Add more tests.
24193         * sysdeps/i386/fpu/libm-test-ulps: Update.
24194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24195
24196 2012-03-21  Allan McRae  <allan@archlinux.org>
24197
24198         * timezone/Makefile: Do not install iso3166.tab and zone.tab
24199
24200 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
24201
24202         [BZ #13871]
24203         * math/w_exp2.c: Do not include <float.h>.
24204         (o_threshold, u_threshold): Remove.
24205         (__exp2): Calculate result before checking finiteness and calling
24206         __kernel_standard.
24207         * math/w_exp2f.c: Likewise.
24208         * math/w_exp2l.c: Likewise.
24209         * math/libm-test.inc (exp2_test): Require overflow exception for
24210         1e6 input.
24211
24212         [BZ #3866]
24213         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24214         range of signed 64-bit integers before using fistpll.  Remove
24215         checks for whether integers fit in mantissa bits.
24216         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24217         the range of signed 32-bit integers before using fistpl.  Remove
24218         checks for whether integers fit in mantissa bits.
24219         * sysdeps/i386/fpu/e_powl.S (p64): New object.
24220         (__ieee754_powl): Test for y outside the range of signed 64-bit
24221         integers before using fistpll.  Reduce 64-bit values to 63-bit
24222         ones as needed.
24223         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24224         divide-by-zero is raised for zero to large negative powers.
24225         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24226         (__ieee754_powl): Test for y outside the range of signed 64-bit
24227         integers before using fistpll.  Reduce 64-bit values to 63-bit
24228         ones as needed.
24229         * math/libm-test.inc (pow_test): Add more tests.
24230
24231 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24232
24233         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24234         <stdio-common/_itoa.h>.
24235         * debug/segfault.c: Likewise.
24236         * elf/dl-cache.c: Likewise.
24237         * elf/dl-minimal.c: Likewise.
24238         * elf/dl-misc.c: Likewise.
24239         * elf/dl-sysdep.c: Likewise.
24240         * elf/dl-version.c: Likewise.
24241         * elf/rtld.c: Likewise.
24242         * hurd/hurdsock.c: Likewise.
24243         * hurd/lookup-retry.c: Likewise.
24244         * malloc/malloc.c: Likewise.
24245         * malloc/mtrace.c: Likewise.
24246         * nscd/nscd_getgr_r.c: Likewise.
24247         * nscd/nscd_getpw_r.c: Likewise.
24248         * nscd/nscd_getserv_r.c: Likewise.
24249         * posix/getopt_init.c: Likewise.
24250         * posix/wordexp.c: Likewise.
24251         * stdio-common/_itoa.c: Likewise.
24252         * stdio-common/printf_fphex.c: Likewise.
24253         * stdio-common/vfprintf.c: Likewise.
24254         * string/_strerror.c: Likewise.
24255         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24256         * sysdeps/i386/i686/hp-timing.h: Likewise.
24257         * sysdeps/mach/_strerror.c: Likewise.
24258         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24259         * sysdeps/mach/hurd/sethostid.c: Likewise.
24260         * sysdeps/mach/hurd/xmknodat.c: Likewise.
24261         * sysdeps/mach/xpg-strerror.c: Likewise.
24262         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24263         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24264         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24265         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24266         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24267         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24268         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24269         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24270         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24271         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24272         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24273         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24274         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24275         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24276         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24277         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24278         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24279         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24280         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24281         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24282         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24283
24284         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24285
24286         * stdio-common/_itoa.h: Moved to ...
24287         * sysdeps/generic/_itoa.h: Here.
24288
24289         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24290
24291         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24292         instead of "_itoa.h" and "_itowa.h".
24293         * stdio-common/vfprintf.: Likewise.
24294
24295 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24296
24297         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24298         <bits/wordsize.h>.
24299         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24300         (__signbit): Likwise.
24301         (llrintf): Likwise.
24302         (llrint): Likwise.
24303
24304 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
24305
24306         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24307         __WORDSIZE != 64.
24308
24309 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
24310
24311         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24312         OVERFLOW_EXCEPTION_OK.
24313         * math/libm-test.inc ("Philosophy"): Update comment about
24314         exception testing.
24315         (OVERFLOW_EXCEPTION): Define.
24316         (OVERFLOW_EXCEPTION_OK): Likewise.
24317         (INVALID_EXCEPTION_OK): Renumber.
24318         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24319         (IGNORE_ZERO_INF_SIGN): Likewise.
24320         (test_exceptions): Handle FE_OVERFLOW.
24321         (exp10_test): Expect overflow exceptions.
24322         (exp2_test): Likewise.
24323         (expm1_test): Likewise.
24324         (nextafter_test): Likewise.
24325         (pow_test): Likewise.
24326         (scalbn_test): Likewise.
24327         (scalbln_test): Likewise.
24328
24329 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24330
24331         * sysdeps/x86_64/bits/atomic.h
24332         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24333         64bit integer.
24334         (atomic_exchange_acq): Likewise.
24335         (__arch_exchange_and_add_body): Likewise.
24336         (__arch_add_body): Likewise.
24337         (atomic_add_negative): Likewise.
24338         (atomic_add_zero): Likewise.
24339
24340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24341
24342         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24343         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24344
24345 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24346
24347         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24348         Check __x86_64__ instead of __WORDSIZE.
24349
24350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24351
24352         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24353
24354 2012-03-19  David S. Miller  <davem@davemloft.net>
24355
24356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24357
24358         * sysdeps/sparc/fpu/fenv_private.h: New file.
24359         * sysdeps/sparc/fpu/math_private.h: Use it.
24360         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24361         Remove.
24362         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24363         (libc_feholdexcept_setroundl): Remove.
24364         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24365         Remove.
24366         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24367         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24368
24369 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24370
24371         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24372         int64_t instead of long int.
24373         (INSERT_WORDS64): Likwise.
24374
24375 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
24376
24377         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24378         _Unwind_GetCFA return to _Unwind_Ptr first.
24379
24380 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
24381
24382         [BZ #13629]
24383         * math/s_clog.c: Include <float.h>.
24384         (__clog): Scale large or subnormal inputs.
24385         * math/s_clogf.c: Likewise.
24386         * math/s_clogl.c: Likewise.
24387         * math/s_clog10.c: Include <float.h>.
24388         (M_LOG10_2): Define.
24389         (__clog10): Scale large or subnormal inputs.
24390         * math/s_clog10f.c: Likewise.
24391         * math/s_clog10l.c: Likewise.
24392         * math/libm-test.inc (clog_test): Add more tests.
24393         (clog10_test): Likewise.
24394         * sysdeps/i386/fpu/libm-test-ulps: Update.
24395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24396
24397         [BZ #11451]
24398         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24399         x and y.
24400         * math/libm-test.inc (atan2_test): Add another test.
24401
24402         * Makerules (common-objdir-compile): Remove.
24403         * sysdeps/unix/Makefile (config-generated): Do not add
24404         $(unix-generated) to variable.
24405         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24406         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24407         Remove rule.
24408         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24409         Likewise.
24410         [generic bits/local_lim.h] (before-compile): Do not append to
24411         variable.
24412         [generic bits/local_lim.h] (common-generated): Likewise.
24413         [generic sys/param.h] (before-compile): Do not append to variable.
24414         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24415         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24416         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24417         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24418         include.
24419         [generic sys/param.h] (sys/param.h-includes): Remove variable.
24420         [generic sys/param.h] (sys/param.h-includes): Remove rule.
24421         [generic sys/param.h] ($(addprefix
24422         $(common-objpfx),$(sys/param.h-includes))): Likewise.
24423         [generic sys/param.h] (common-generated): Do not append to
24424         variable.
24425         [generic sys/param.h] (sysdep_headers): Likewise.
24426         [generic bits/errno.h] (before-compile): Do not append to
24427         variable.
24428         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24429         rule.
24430         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24431         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24432         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24433         [generic bits/errno.h] (common-generated): Do not append to
24434         variable.
24435         [generic bits/ioctls.h] (before-compile): Do not append to
24436         variable.
24437         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24438         rule.
24439         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24440         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24441         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24442         rule.
24443         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24444         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24445         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24446         [generic bits/ioctls.h] (common-generated): Do not append to
24447         variable.
24448         [generic sys/syscall.h] (syscall.h): Remove variable.
24449         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24450         rule.
24451         [generic sys/syscall.h] (before-compile): Do not append to
24452         variable.
24453         [generic sys/syscall.h] (common-generated): Likewise.
24454         * sysdeps/unix/errnos-tmpl.c: Remove file.
24455         * sysdeps/unix/errnos.awk: Likewise.
24456         * sysdeps/unix/ioctls-tmpl.c: Likewise.
24457         * sysdeps/unix/ioctls.awk: Likewise.
24458         * sysdeps/unix/mk-local_lim.c: Likewise.
24459         * sysdeps/unix/snarf-ioctls: Likewise.
24460
24461 2012-03-19  Richard Henderson  <rth@twiddle.net>
24462
24463         * sysdeps/i386/fpu/fenv_private.h: New file.
24464         * sysdeps/i386/fpu/math_private.h: Use it.
24465         (math_opt_barrier, math_force_eval): Remove.
24466         (libc_feholdexcept_setround_53bit): Remove.
24467         (libc_feupdateenv_53bit): Remove.
24468         * sysdeps/x86_64/fpu/math_private.h: Likewise.
24469         (math_opt_barrier, math_force_eval): Remove.
24470         (libc_feholdexcept): Remove.
24471         (libc_feholdexcept_setround): Remove.
24472         (libc_fetestexcept, libc_fesetenv): Remove.
24473         (libc_feupdateenv_test): Remove.
24474         (libc_feupdateenv, libc_feholdsetround): Remove.
24475         (libc_feresetround): Remove.
24476
24477         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24478         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24479
24480         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24481         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24482         (libc_feupdateenv_testl): New.
24483         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24484         (libc_feupdateenv_testf): New.
24485         (libc_feupdateenv): Use libc_feupdateenv_test.
24486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24487         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24488
24489         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24490         (libc_feholdsetroundf, libc_feholdsetroundl): New.
24491         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24492         (libc_feresetround_noex): New.
24493         (libc_feresetround_noexf): New.
24494         (libc_feresetround_noexl): New.
24495         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24496         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24497         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24498         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24499         SET_RESTORE_ROUND.
24500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24502         (__cos): Likewise.
24503         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24504         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24505         SET_RESTORE_ROUND_NOEX.
24506         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24507         SET_RESTORE_ROUND_NOEXF.
24508         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24509         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24510         (libc_feholdsetroundf): New.
24511         (libc_feresetround, libc_feresetroundf): New.
24512
24513         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24514         (libc_feholdexcept_setround_53bit): Convert from macro to function.
24515         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
24516
24517         * sysdeps/generic/math_private.h: Include <fenv.h>.
24518         (default_libc_feholdexcept): New.
24519         (default_libc_feholdexcept_setround): New.
24520         (default_libc_fesetenv, default_libc_feupdateenv): New.
24521         (libc_feholdexcept): Only define if undefined.
24522         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24523         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24524         (libc_feholdexcept_setroundl): Likewise.
24525         (libc_feholdexcept_setround_53bit): Likewise.
24526         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24527         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24528         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24529         (libc_feupdateenv_53bit): Likewise.
24530         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24531         (libc_feholdexcept): Convert from macro to inline function.
24532         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24533         (libc_fesetenv, libc_feupdateenv): Likewise.
24534
24535         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24536         not previously defined.
24537         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24538         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24539         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24540         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24541         * sysdeps/ieee754/flt-32/math_private.h: New file.
24542         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24543         math_private.h below SET_FLOAT_WORD.
24544         (__isnan, __isinf_ns, __finite): Remove.
24545         (__isnanf, __isinf_nsf, __finitef): Remove.
24546
24547 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
24548
24549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24550
24551 2012-03-17  David S. Miller  <davem@davemloft.net>
24552
24553         [BZ #6471]
24554         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24555         for 2.16.
24556
24557 2012-03-16  David S. Miller  <davem@davemloft.net>
24558
24559         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24560         warnings.
24561
24562         [BZ #6471]
24563         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24564         properly.
24565         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24566         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24567         sysdep_routines when subdir is sysvipc.
24568         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24569         __getshmlba helper.
24570
24571         * sysdeps/sparc/fpu/libm-test/ulps: Update.
24572
24573 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24574
24575         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24576         [__LP64__].
24577
24578 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24579
24580         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24581         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24582         (__lround): Renamed to ...
24583         (__llround): This.  Replace long int with long long int.
24584         Define lround functions as aliases of llround functions.
24585         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24586
24587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24588
24589         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24590         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
24591         adresses to uintptr_t.  Replace "long int" and "unsigned long
24592         int" with "greg_t" on va_arg.
24593
24594 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24595
24596         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24597         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24598
24599         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24600         Move e_machine check before EI_CLASS check.  Handle x32
24601         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24602         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24603         SKIP_EM_IA_64 and include
24604         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24605
24606         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24607         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24608         (add_system_dir): New macro.
24609
24610         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24611         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24612
24613 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24614
24615         [BZ #2551]
24616         [BZ #2552]
24617         [BZ #2553]
24618         [BZ #2554]
24619         [BZ #2562]
24620         [BZ #2563]
24621         [BZ #2565]
24622         [BZ #2566]
24623         [BZ #2576]
24624         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24625         (y0): Likewise.
24626         * math/w_j0f.c (j0f): Likewise.
24627         (y0f): Likewise.
24628         * math/w_j0l.c (__j0l): Likewise.
24629         (__y0l): Likewise.
24630         * math/w_j1.c (j1): Likewise.
24631         (y1): Likewise.
24632         * math/w_j1f.c (j1f): Likewise.
24633         (y1f): Likewise.
24634         * math/w_j1l.c (__j1l): Likewise.
24635         (__y1l): Likewise.
24636         * math/w_jn.c (jn): Likewise.
24637         (yn): Likewise.
24638         * math/w_jnf.c (jnf): Likewise.
24639         (ynf): Likewise.
24640         * math/w_jnl.c (__jnl): Likewise.
24641         (__ynl): Likewise.
24642         * math/libm-test.inc (j0_test): Add more tests.
24643         (j1_test): Likewise.
24644         (jn_test): Likewise.  Add trailing semicolon to existing test.
24645         (y0_test): Likewise.
24646         (y1_test): Likewise.
24647         * sysdeps/i386/fpu/libm-test-ulps: Update.
24648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24649
24650         [BZ #13851]
24651         [BZ #13854]
24652         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24653         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24654         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24655         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24656         (__tanl): Set errno for infinite argument.
24657         * sysdeps/i386/fpu/mptan.c: Remove.
24658         * sysdeps/i386/fpu/s_tan.S: Likewise.
24659         * sysdeps/i386/fpu/s_tanl.S: Likewise.
24660         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24661         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24662         * math/libm-test.inc (tan_test): Add more tests and enable more
24663         tests for double and long double.
24664         * sysdeps/i386/fpu/libm-test-ulps: Update.
24665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24666
24667 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
24668
24669         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24670         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24671
24672 2012-03-16  Roland McGrath  <roland@hack.frob.com>
24673
24674         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24675         * configure.in: Use it for both main tree and add-ons.
24676         * configure: Regenerated.
24677
24678 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24679
24680         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24681
24682 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
24683
24684         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24685         in comment.
24686
24687         [BZ #13851]
24688         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24689         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24690         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24691         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24692         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24693         infinite argument.
24694         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24695         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24696         != 0 for prec == 2.
24697         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24698         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24699         * sysdeps/i386/fpu/s_cosl.S: Likewise.
24700         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24701         * sysdeps/i386/fpu/s_sinl.S: Likewise.
24702         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24703         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24704         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24705         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24706         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24707         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24708         * math/libm-test.inc (cos_test): Add more tests and enable more
24709         tests for long double.
24710         (sin_test): Likewise.
24711         (sincos_test): Likewise.
24712         * sysdeps/i386/fpu/libm-test-ulps: Update.
24713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24714
24715 2012-03-16  David S. Miller  <davem@davemloft.net>
24716
24717         * sysdeps/sparc/fpu/math_private.h: New file.
24718
24719 2012-03-15  David S. Miller  <davem@davemloft.net>
24720
24721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24722         file.
24723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24725         file.
24726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24727         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24731         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24732         sysdep routines.
24733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24734
24735         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24736         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24737
24738         * sysdeps/sparc/sparc-ifunc.h: New file.
24739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24740         sparc-ifunc.h
24741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24743         Likewise.
24744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24745         Likewise.
24746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24750         Likewise.
24751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24756         Likewise.
24757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24758         Likewise.
24759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24765         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24766         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24773         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24777         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24778         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24779         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24780         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24781         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24783
24784 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24785
24786         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24787         scaling.
24788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24789
24790 2012-03-15  Andreas Jaeger  <aj@suse.de>
24791
24792         [BZ #13852]
24793         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24794         ieee754/flt-32 implementation for sin, cos and sincos.
24795         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24796         * sysdeps/i386/fpu/s_cosf.S: Likewise.
24797         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24798         * sysdeps/i386/fpu/s_sinf.S: Likewise.
24799         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24800         ieee754/flt-32 implementation for tan.
24801
24802         * math/libm-test.inc (cos_test): Enable some large input tests for
24803         float as well
24804         (sin_test): Likewise.
24805         (sincos_test): Likewise.
24806         (tan_test): Add tests for large input.
24807
24808         * sysdeps/i386/fpu/libm-test-ulps: Update.
24809
24810 2012-03-15  Andreas Jaeger  <aj@suse.de>
24811
24812         [BZ #13658]
24813         * math/libm-test.inc (cos_test): Add more test cases.
24814         (sin_test): Likewise.
24815         (sincos_test): Likewise.
24816
24817 2012-03-15  Andreas Jaeger  <aj@suse.de>
24818
24819         [BZ #13837]
24820         * math/libm-test.inc (cos_test): Add a test case for large input
24821         value.
24822         (sin_test): Likewise.
24823         (sincos_test): Likewise.
24824
24825 2012-03-15  Andreas Jaeger  <aj@suse.de>,
24826         Joseph Myers  <joseph@codesourcery.com>
24827
24828         [BZ #13658]
24829         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24830         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24831         * sysdeps/i386/fpu/branred.c: Likewise.
24832         * sysdeps/i386/fpu/dosincos.c: Likewise.
24833         * sysdeps/i386/fpu/mpa.c: Likewise.
24834         * sysdeps/i386/fpu/s_cos.S: Likewise.
24835         * sysdeps/i386/fpu/s_sin.S: Likewise.
24836         * sysdeps/i386/fpu/s_sincos.S: Likewise.
24837         * sysdeps/i386/fpu/sincos32.c: Likewise.
24838
24839         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24840         Define.
24841         (libc_feupdateenv_53bit): Define.
24842         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24843         Define.
24844         (libc_feupdateenv_53bit): Define.
24845
24846         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24847         53 bit (without extend i386 double precision).
24848
24849         * math/libm-test.inc (sincos_test): Add tests for large input.
24850         (sin): Likewise.
24851         (cos): Likewise.
24852
24853         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24854
24855 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
24856
24857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24858
24859 2012-03-15  David S. Miller  <davem@davemloft.net>
24860
24861         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24862         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24863         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24864         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24877         file.
24878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24880         file.
24881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24883         file.
24884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24886         file.
24887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24888         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24889         fmin/fmax sysdep routines.
24890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24891
24892 2012-03-14  David S. Miller  <davem@davemloft.net>
24893
24894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24898         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24899         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24906         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24914         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24915         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24921         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24923         routines.
24924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24925         file.
24926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24928         file.
24929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24931         file.
24932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24934         file.
24935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24937         file.
24938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24940         file.
24941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24942         file.
24943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24944         file.
24945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24946         file.
24947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24948         New file.
24949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24950         file.
24951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24952         file.
24953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24955         file.
24956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24958         file.
24959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24961         file.
24962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24964         VIS3 routines.
24965
24966         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24967         New file.
24968
24969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24970
24971         * sysdeps/sparc/configure.in: New file.
24972         * sysdeps/sparc/configure: Generate.
24973         * configure.in (libc_cv_sparc_as_vis3): Substitute.
24974         * configure: Regenerate.
24975         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24976         * config.make.in (have-as-vis3): New.
24977         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24978         available use -Av9d instead of -Av9a.
24979         * sysdeps/sparc/sparc64/Makefile: Likewise.
24980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24982         New file.
24983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24984         file.
24985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24986         New file.
24987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24988         file.
24989         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24990         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24993         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24994
24995         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24996         fzeros/fnegs to load 0x80000000 into a float register instead of
24997         using the stack.
24998         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24999
25000 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25001
25002         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25003         bits/syscall.h.
25004         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25005         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25006         ($(inst_includedir)/bits/syscall.h): Remove rule.
25007         ($(objpfx)bits/syscall.d): Include instead of
25008         $(objpfx)syscall-list.d.
25009         (generated): Change syscall-list.h and syscall-list.d to
25010         bits/syscall.h and bits/syscall.d.
25011
25012 2012-03-14  Roland McGrath  <roland@hack.frob.com>
25013
25014         [BZ #13846]
25015         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25016
25017 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
25018
25019         [BZ #13841]
25020         * math/s_csqrt.c: Include <float.h>.
25021         (__csqrt): Scale large or subnormal inputs.
25022         * math/s_csqrtf.c: Likewise.
25023         * math/s_csqrtl.c: Likewise.
25024         * math/libm-test.inc (csqrt_test): Add more tests.
25025         * sysdeps/i386/fpu/libm-test-ulps: Update.
25026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25027
25028         [BZ #13840]
25029         * math/libm-test.inc (hypot_test): Add more tests.
25030
25031 2012-03-13  David S. Miller  <davem@davemloft.net>
25032
25033         [BZ #13840]
25034         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25035         double-precision for the calculation instead of scaling.
25036
25037 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
25038
25039         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25040         manipulate bits before adding and subtracting TWO52[sx].
25041         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25042         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25043         Likewise.
25044         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25045
25046 2012-03-13  David S. Miller  <davem@davemloft.net>
25047
25048         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25049         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25050         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25051         rtld-global-offsets.h
25052         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25053
25054         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25055         large parameters.
25056
25057         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25058
25059         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25060         'err' in the ifdef scope in which it is actually used.
25061
25062         * nss/nss_db/db-init.c: Include string.h
25063
25064 2012-03-12  David S. Miller  <davem@davemloft.net>
25065
25066         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25067         masking out of the most significant byte of random value used.
25068         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25069         Fix coding style in previous change.
25070
25071         * sysdeps/unix/sysv/linux/kernel-features.h
25072         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25073         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25074         expression.
25075         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25076         later.
25077
25078 2012-03-11  David S. Miller  <davem@davemloft.net>
25079
25080         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25081         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25082         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25083         for 'resultvar' otherwise things get truncated on 64-bit.
25084
25085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25086         Fix masking out of the most significant byte of random value used.
25087
25088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25089
25090 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
25091
25092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25093
25094 2012-03-09  David S. Miller  <davem@davemloft.net>
25095
25096         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25097         variables with appropriate CPP guards.
25098         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25099         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
25100         on resulting framesize and the management of the outregs buffer for pltexit.
25101         Preserve floating point return values across _dl_call_pltexit call.
25102         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25103         framesize and the management of the outregs buffer for pltexit.
25104         Preserve floating point return values across _dl_call_pltexit
25105         call.
25106         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25107         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25108         (print_exit): Fix format string for return register value.
25109
25110 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
25111
25112         * sunrpc/Makefile (others): Add rpcgen.
25113         ($(objpfx)rpcgen): Remove special build rule and dependency on
25114         libc.
25115         * sunrpc/rpcgen.c: New file.
25116
25117 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
25118
25119         [BZ #13673]
25120         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25121         * stdio-common/bug-vfprintf-nargs.c: Likewise.
25122         * sysdeps/i386/crti.S: Likewise.
25123         * sysdeps/i386/crtn.S: Likewise.
25124         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25125         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25126         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25127         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25128         * sysdeps/sh/crti.S: Likewise.
25129         * sysdeps/sh/crtn.S: Likewise.
25130         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25131
25132         [BZ #13673]
25133         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25134         with URL.
25135         * locale/programs/locfile-kw.gperf: Likewise.
25136         * locale/programs/charmap-kw.h: Regenerated.
25137         * locale/programs/locfile-kw.h: Likewise.
25138
25139         [BZ #13673]
25140         * intl/plural.y: Replace FSF snail mail address with URL.
25141         * intl/plural.c: Regenerated.
25142
25143 2012-03-09  Richard Henderson  <rth@twiddle.net>
25144
25145         * include/math_private.h: Remove file.
25146         * math/math_private.h: Move file ...
25147         * sysdeps/generic/math_private.h: ... here.
25148
25149         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25150         * sysdeps/powerpc/fpu/math_private.h: Likewise.
25151         * sysdeps/x86_64/fpu/math_private.h: Likewise.
25152
25153         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25154         and <math_private.h>.
25155         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25156         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25157         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25158         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25159         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25160         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25161         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25162         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25163         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25164         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25166         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25167         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25168         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25169         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25170         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25171         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25172         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25173         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25174         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25177         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25181         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25187         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25188         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25189         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25190         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25191         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25192         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25193         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25194         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25195         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25196         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25197         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25198         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25199         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25200         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25201         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25202         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25203         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25204         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25205         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25206         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25207         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25208         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25209         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25210         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25211         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25212         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25213         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25214         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25215         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25216         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25217         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25221         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25222         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25223         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25224         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25225         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25226         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25227         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25229         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25230         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25231         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25232         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25233         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25234         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25235         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25236         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25237         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25238         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25239         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25241         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25242         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25243         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25244         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25245         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25246         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25248         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25249         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25250         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25251         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25252         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25253         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25255         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25256         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25257         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25258         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25259         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25260         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25261         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25262         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25263         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25264         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25265         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25266         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25267         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25268         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25269         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25270         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25271         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25272         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25273         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25274         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25275         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25276         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25277         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25278         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25279         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25280         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25281         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25282         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25283         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25284         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25285         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25286         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25287         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25288         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25289         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25290         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25291         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25292         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25293         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25294         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25295         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25296         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25297         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25298         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25299         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25300         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25301         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25302         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25303         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25304         * sysdeps/ieee754/k_standard.c: Likewise.
25305         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25306         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25307         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25308         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25309         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25310         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25311         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25312         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25313         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25314         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25315         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25317         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25318         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25319         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25320         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25321         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25322         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25323         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25324         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25325         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25326         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25327         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25328         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25329         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25330         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25331         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25332         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25333         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25334         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25335         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25336         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25337         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25338         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25340         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25341         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25342         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25343         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25344         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25345         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25346         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25347         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25348         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25349         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25350         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25351         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25352         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25353         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25354         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25356         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25357         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25358         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25361         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25362         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25363         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25364         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25365         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25366         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25367         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25369         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25370         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25371         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25372         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25373         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25375         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25377         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25378         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25379         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25381         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25382         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25383         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25384         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25385         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25386         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25387         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25388         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25389         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25390         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25391         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25392         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25393         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25396         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25397         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25398         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25399         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25400         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25401         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25402         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25403         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25404         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25408         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25409         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25410         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25418         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25420         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25421         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25423         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25424         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25425         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25427         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25428         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25430         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25432         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25433         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25434         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25435         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25436         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25437         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25438         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25439         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25440         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25441         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25442         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25443         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25444         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25445         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25446         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25447         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25448         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25451         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25453         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25454         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25455         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25464         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25465         * sysdeps/ieee754/s_lib_version.c: Likewise.
25466         * sysdeps/ieee754/s_matherr.c: Likewise.
25467         * sysdeps/ieee754/s_signgam.c: Likewise.
25468         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25469         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25470         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25471         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25472         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25473         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25474         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25475         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25476         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25477         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25478         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25479         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25480         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25481         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25482         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25483         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25484         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25485         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25486         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25487         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25489
25490 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25491
25492         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25493         * sunrpc/rpc_main.c: Likewise.
25494         * sunrpc/rpc_svcout.c: Likewise.
25495
25496 2012-03-09  David S. Miller  <davem@davemloft.net>
25497
25498         * include/math_private.h: New file.
25499
25500 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
25501
25502         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25503         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25504         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25505         from <bits/socket_type.h>.
25506         (enum __socket_type): Don't define here.
25507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25509         bits/socket_type.h.
25510
25511         [BZ #13566]
25512         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25513         checking __USE_GNU.
25514
25515         * Makerules ($(inst_includedir)/%.h): New rule.
25516         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25517         (install-others): Remove variable setting.
25518         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25519
25520 2012-03-08  Richard Henderson  <rth@twiddle.net>
25521
25522         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25523         from macro to inline function; merge with the
25524         !__LIBC_INTERNAL_MATH_INLINES version.
25525         (__ieee754_sqrtf): Likewise.
25526
25527         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25528         to inline function.
25529         (__rintf, __floor, __floorf): Likewise.
25530
25531         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25532         macro to inline function.
25533         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25534
25535         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25536         not <math/math_private.h>.
25537
25538 2012-03-08  David S. Miller  <davem@davemloft.net>
25539
25540         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25541         copyright year.
25542         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25543
25544 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
25545
25546         * resolv/gai_misc.c (handle_requests): Fix struct timespec
25547         normalization.
25548         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25549         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25550
25551 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
25552
25553         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
25554         be defined individually, they must be defined as a block.  Define
25555         S for printing a string instead of hidint the different by using a
25556         macro for adding the 'l'.
25557         * stdio-common/tst-fphex-wide.c: Adjust.
25558
25559 2012-03-07  Marek Polacek  <polacek@redhat.com>
25560
25561         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25562
25563 2012-03-08  Marek Polacek  <polacek@redhat.com>
25564
25565         [BZ #13806]
25566         * stdio-common/Makefile (tests): Add tst-fphex-wide.
25567         * stdio-common/tst-fphex.c: Define a few macros to make the
25568         test reusable.  Use them.
25569         * stdio-common/tst-fphex-wide.c: New file.
25570
25571 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
25572
25573         [BZ #6911]
25574         * manual/macros.texi (gnusystems): New macro.
25575         (nongnusystems): Likewise.
25576         (gnulinuxhurdsystems): Likewise.
25577         (gnuhurdsystems): Likewise..
25578         (gnulinuxsystems): Likewise.
25579         * manual/charset.texi: Use new macros or @theglibc{} to refer to
25580         variants of the GNU system, not "GNU system".
25581         * manual/conf.texi: Likewise.
25582         * manual/errno.texi: Likewise.  Update example of errno macro
25583         expansion.
25584         * manual/filesys.texi: Likewise.
25585         (getumask): Document as specific to GNU/Hurd.
25586         * manual/install.texi: Likewise.  Reword some references to
25587         GNU/Linux.
25588         * manual/intro.texi: Likewise.
25589         * manual/io.texi: Likewise.
25590         (File Name Portability): Detail which constraints are inapplicable
25591         to all GNU systems and which are only inapplicable to GNU/Hurd.
25592         * manual/job.texi: Likewise.
25593         * manual/llio.texi: Likewise.
25594         (O_NOCTTY): Document as present on GNU/Linux.
25595         * manual/maint.texi: Likewise.
25596         * manual/memory.texi: Likewise.
25597         * manual/pattern.texi: Likewise.
25598         * manual/pipe.texi: Likewise.
25599         * manual/process.texi: Likewise.
25600         * manual/resource.texi: Likewise.
25601         (RUSAGE_CHILDREN): Remove statement about specifying a particular
25602         child on GNU/Hurd.
25603         * manual/setjmp.texi: Likewise.
25604         * manual/signal.texi: Likewise.
25605         * manual/startup.texi: Likewise.
25606         * manual/stdio.texi: Likewise.
25607         * manual/terminal.texi: Likewise.
25608         (ONLCR): Document as POSIX.
25609         (OXTABS): Document availability on GNU/Linux as XTABS.
25610         (ONOEOT): Document availability separately from other bits.
25611         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25612         * manual/time.texi: Likewise.
25613         * manual/users.texi: Likewise.
25614         * INSTALL: Regenerated.
25615         * sysdeps/gnu/errlist.c: Regenerated.
25616
25617         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25618         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25619         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
25620         puts.
25621         * configure: Regenerated.
25622
25623 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
25624
25625         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25626         default includes instead of AC_HEADER_CHECK.
25627         * sysdeps/i386/configure: Regenerated.
25628
25629         [BZ #10716]
25630         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25631         * math/s_cacoshf.c (__cacoshf): Likewise.
25632         * math/s_cacoshl.c (__cacoshl): Likewise.
25633         * math/s_casinh.c (__casinh): Set signs of result from argument.
25634         * math/s_casinhf.c (__casinhf): Likewise.
25635         * math/s_casinhl.c (__casinhl): Likewise.
25636         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25637         (casinh_test): Add more tests.
25638         * sysdeps/i386/fpu/libm-test-ulps: Update.
25639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25640
25641 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
25642
25643         * po/zh_TW.po: Update from translation team.
25644
25645         * login/Makefile (distribute): Remove variable.
25646         * catgets/Makefile: Likewise.
25647         * mach/Makefile: Likewise.
25648         * malloc/Makefile: Likewise.
25649         * misc/Makefile: Likewise.
25650         * iconv/Makefile: Likewise.
25651         * nscd/Makefile: Likewise.
25652         * hurd/Makefile: Likewise.
25653         * manual/Makefile: Likewise.
25654         * locale/Makefile: Likewise.
25655         * intl/Makefile: Likewise.
25656         * conform/Makefile: Likewise.
25657         * nss/Makefile: Likewise.
25658         * time/Makefile: Likewise.
25659         * soft-fp/Makefile: Likewise.
25660         * dirent/Makefile: Likewise.
25661         * gmon/Makefile: Likewise.
25662         * po/Makefile: Likewise.
25663         * rt/Makefile: Likewise.
25664         * socket/Makefile: Likewise.
25665         * math/Makefile: Likewise.
25666         * signal/Makefile: Likewise.
25667         * debug/Makefile: Likewise.
25668         * elf/Makefile: Likewise.
25669         * timezone/Makefile: Likewise.
25670         * stdlib/Makefile: Likewise.
25671         * iconvdata/Makefile: Likewise.
25672         * sunrpc/Makefile: Likewise.
25673         * io/Makefile: Likewise.
25674         * argp/Makefile: Likewise.
25675         * inet/Makefile: Likewise.
25676         * hesiod/Makefile: Likewise.
25677         * grp/Makefile: Likewise.
25678         * csu/Makefile: Likewise.
25679         * wctype/Makefile: Likewise.
25680         * crypt/Makefile: Likewise.
25681         * libio/Makefile: Likewise.
25682         * string/Makefile: Likewise.
25683         * nis/Makefile: Likewise.
25684         * resolv/Makefile: Likewise.
25685         * stdio-common/Makefile: Likewise.
25686         * wcsmbs/Makefile: Likewise.
25687         * dlfcn/Makefile: Likewise.
25688         * posix/Makefile: Likewise.
25689
25690         [BZ #6959]
25691         * timezone/Makefile: Don't install timezone files, just the programs
25692         and scripts.
25693
25694 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
25695
25696         * nss/databases.def: Add missing gshadow entry.
25697
25698         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
25699
25700 2012-03-06  Marek Polacek  <polacek@redhat.com>
25701
25702         [BZ #13726]
25703         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25704         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25705         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25706         * stdio-common/tst-long-dbl-fphex.c: New file.
25707
25708 2012-03-06  David S. Miller  <davem@davemloft.net>
25709
25710         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25711         (set_obp_int): New function.
25712         (get_obp_int): New function.
25713         (__get_clockfreq_via_dev_openprom): Likewise.
25714         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25715         Avoid unused variable warnings on 'val' and use builtin_expect.
25716         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25717         __builtin_expect.
25718         (INLINE_CLONE_SYSCALL): Likewise.
25719
25720 2012-03-05  David S. Miller  <davem@davemloft.net>
25721
25722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25723
25724 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
25725
25726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25727
25728         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25729         only for |x| >= 40.
25730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25731
25732 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25733
25734         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25735         Replace gettimeofday with __vdso_gettimeofday.
25736
25737         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25738         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25739         __vdso_clock_gettime and __vdso_getcpu.
25740
25741         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25742         time with __vdso_time.
25743
25744 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25745
25746         * manual/lang.texi (size_t): Note types to which size_t may be
25747         equivalent with the GNU C Library, but do not describe when
25748         differences between them are significant.
25749
25750 2012-03-05  Andreas Jaeger  <aj@suse.de>
25751
25752         * sysdeps/i386/fpu/libm-test-ulps: Update.
25753
25754 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
25755
25756         [BZ #3976]
25757         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25758         (__ieee754_pow): Save and restore rounding mode and use
25759         round-to-nearest for main computations.
25760         * math/libm-test.inc (pow_test_tonearest): New function.
25761         (pow_test_towardzero): Likewise.
25762         (pow_test_downward): Likewise.
25763         (pow_test_upward): Likewise.
25764         (main): Call the new functions.
25765         * sysdeps/i386/fpu/libm-test-ulps: Update.
25766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25767
25768         [BZ #3976]
25769         * math/libm-test.inc (cosh_test_tonearest): New function.
25770         (cosh_test_towardzero): Likewise.
25771         (cosh_test_downward): Likewise.
25772         (cosh_test_upward): Likewise.
25773         (sinh_test_tonearest): Likewise.
25774         (sinh_test_towardzero): Likewise.
25775         (sinh_test_downward): Likewise.
25776         (sinh_test_upward): Likewise.
25777         (main): Call the new functions.
25778         * sysdeps/i386/fpu/libm-test-ulps: Update.
25779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25780
25781 2012-03-05  Tom de Vries  <tom@codesourcery.com>
25782
25783         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25784         default stack guard is set in last bytes.
25785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25786
25787 2012-03-05  Kees Cook  <keescook@chromium.org>
25788
25789         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25790
25791         [BZ #13656]
25792         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25793         possibly allocate from heap instead of stack.
25794         * stdio-common/bug-vfprintf-nargs.c: New file.
25795         * stdio-common/Makefile (tests): Add nargs overflow test.
25796
25797 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
25798
25799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25800
25801 2012-03-03  Marek Polacek  <polacek@redhat.com>
25802
25803         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25804         * math/math_private.h: Likewise.
25805         * stdlib/tst-strtod.c: Likewise.
25806         * sysdeps/i386/i486/bits/atomic.h: Likewise.
25807         * sysdeps/x86_64/bits/atomic.h: Likewise.
25808
25809 2012-03-02  David S. Miller  <davem@davemloft.net>
25810
25811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25815         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25816         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25817         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25818         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25819
25820 2012-03-02  Roland McGrath  <roland@hack.frob.com>
25821
25822         [BZ #13792]
25823         * manual/examples/README: New file, says the example source files
25824         can be used under GPL>=2.
25825         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25826         line containing just "*/".
25827         * manual/examples/add.c: Add copyright header (GPL>=2).
25828         * manual/examples/argp-ex1.c: Likewise.
25829         * manual/examples/argp-ex2.c: Likewise.
25830         * manual/examples/argp-ex3.c: Likewise.
25831         * manual/examples/argp-ex4.c: Likewise.
25832         * manual/examples/atexit.c: Likewise.
25833         * manual/examples/db.c: Likewise.
25834         * manual/examples/dir.c: Likewise.
25835         * manual/examples/dir2.c: Likewise.
25836         * manual/examples/execinfo.c: Likewise.
25837         * manual/examples/filecli.c: Likewise.
25838         * manual/examples/filesrv.c: Likewise.
25839         * manual/examples/fmtmsgexpl.c: Likewise.
25840         * manual/examples/genpass.c: Likewise.
25841         * manual/examples/inetcli.c: Likewise.
25842         * manual/examples/inetsrv.c: Likewise.
25843         * manual/examples/isockad.c: Likewise.
25844         * manual/examples/longopt.c: Likewise.
25845         * manual/examples/memopen.c: Likewise.
25846         * manual/examples/memstrm.c: Likewise.
25847         * manual/examples/mkfsock.c: Likewise.
25848         * manual/examples/mkisock.c: Likewise.
25849         * manual/examples/mygetpass.c: Likewise.
25850         * manual/examples/pipe.c: Likewise.
25851         * manual/examples/popen.c: Likewise.
25852         * manual/examples/rprintf.c: Likewise.
25853         * manual/examples/search.c: Likewise.
25854         * manual/examples/select.c: Likewise.
25855         * manual/examples/setjmp.c: Likewise.
25856         * manual/examples/sigh1.c: Likewise.
25857         * manual/examples/sigusr.c: Likewise.
25858         * manual/examples/stpcpy.c: Likewise.
25859         * manual/examples/strdupa.c: Likewise.
25860         * manual/examples/strftim.c: Likewise.
25861         * manual/examples/strncat.c: Likewise.
25862         * manual/examples/subopt.c: Likewise.
25863         * manual/examples/swapcontext.c: Likewise.
25864         * manual/examples/termios.c: Likewise.
25865         * manual/examples/testopt.c: Likewise.
25866         * manual/examples/testpass.c: Likewise.
25867         * manual/examples/timeval_subtract.c: Likewise.
25868
25869         [BZ #13792]
25870         * manual/time.texi (Elapsed Time): Move timeval_subtract example
25871         function to ...
25872         * manual/timeval_subtract.c.texi: ... here, new file.
25873
25874 2012-03-02  David S. Miller  <davem@davemloft.net>
25875
25876         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25877
25878 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
25879
25880         [BZ #3976]
25881         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25882         (__sin): Save and restore rounding mode and use round-to-nearest
25883         for all computations.
25884         (__cos): Save and restore rounding mode and use round-to-nearest
25885         for all computations.
25886         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25887         <fenv.h>.
25888         (tan): Save and restore rounding mode and use round-to-nearest for
25889         all computations.
25890         * math/libm-test.inc (cos_test_tonearest): New function.
25891         (cos_test_towardzero): Likewise.
25892         (cos_test_downward): Likewise.
25893         (cos_test_upward): Likewise.
25894         (sin_test_tonearest): Likewise.
25895         (sin_test_towardzero): Likewise.
25896         (sin_test_downward): Likewise.
25897         (sin_test_upward): Likewise.
25898         (tan_test_tonearest): Likewise.
25899         (tan_test_towardzero): Likewise.
25900         (tan_test_downward): Likewise.
25901         (tan_test_upward): Likewise.
25902         (main): Call the new functions.
25903         * sysdeps/i386/fpu/libm-test-ulps: Update.
25904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25905
25906         [BZ #10135]
25907         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25908         small n, then large n, before computing and testing k+n.
25909         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25911         Likewise.
25912         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25913         Likewise.
25914         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25915         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25919         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25920         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25921         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25922         * math/libm-test.inc (scalbn_test): Add more tests.
25923         (scalbln_test): Likewise.
25924
25925         * manual/filesys.texi (mode_t): Describe constraints on size and
25926         signedness, not exact equivalence to a particular type.
25927         (ino_t): Likewise.
25928         (ino64_t): Likewise.
25929         (dev_t): Likewise.
25930         (nlink_t): Likewise.
25931         (blkcnt_t): Likewise.
25932         (blkcnt64_t): Likewise.
25933         * manual/llio.texi (off_t): Likewise.
25934
25935         [BZ #3976]
25936         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25937         (__ieee754_exp): Save and restore rounding mode and use
25938         round-to-nearest for all computations.
25939         * math/libm-test.inc (exp_test_tonearest): New function.
25940         (exp_test_towardzero): Likewise.
25941         (exp_test_downward): Likewise.
25942         (exp_test_upward): Likewise.
25943         (main): Call the new functions.
25944         * sysdeps/i386/fpu/libm-test-ulps: Update.
25945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25946
25947 2012-03-01  Chris Demetriou  <cgd@google.com>
25948
25949         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25950         have predictable order.
25951
25952 2012-03-01  David S. Miller  <davem@davemloft.net>
25953
25954         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25955
25956         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25957         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25958         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25959         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25960
25961         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25962         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25963         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25965         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25966         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25967         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25968         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25969         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25970
25971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25972
25973         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25974         * sysdeps/sparc/fpu/libm-test-ulps: to here.
25975         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25976
25977         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25978         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25979         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25980         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25981         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25982         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25983         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25984         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25985         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25986         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25987         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25988         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25989         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25990         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25991         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25992         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25993         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25994         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25995         * sysdeps/sparc/elf/configure: Regenerated.
25996
25997 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
25998
25999         * configure.in (AS, LD): Require binutils 2.20 or later.
26000         * configure: Regenerated.
26001         * manual/install.texi (Tools for Compilation): Give binutils 2.20
26002         as required minimum version.
26003         * INSTALL: Regenerated.
26004
26005         [BZ #2541]
26006         [BZ #4108]
26007         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26008         before squaring exponent.
26009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26010         bottom long double and 27 bits of top long double before squaring
26011         exponent.
26012         * math/libm-test.inc (erfc_test): Add more tests.
26013         * sysdeps/i386/fpu/libm-test-ulps: Update.
26014         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26016
26017 2012-03-01  Kai Tietz  <ktietz@redhat.com>
26018
26019         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26020         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26021         containing bit-fields.
26022         * soft-fp/extended.h (_FP_UNION_E): Likewise.
26023         * soft-fp/single.h (_FP_UNION_S): Likewise.
26024         * soft-fp/double.h (_FP_UNION_D): Likewise.
26025
26026 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26027
26028         [BZ #13786]
26029         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26030         not include ../strcmp.S.
26031         [USE_AS_STRNCASECMP_L]: Likewise.
26032         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26033         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26034         * sysdeps/i386/i686/multiarch/strncase_l-c.c
26035         (__strncasecmp_l_ia32): Define as alias to
26036         __strncasecmp_l_nonascii.
26037
26038         [BZ #5794]
26039         * math/libm-test.inc (expm1_test): Add test for bug 5794.
26040         * sysdeps/i386/fpu/libm-test-ulps: Update.
26041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26042
26043         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26045
26046 2012-02-29  Jeff Law  <law@redhat.com>
26047
26048         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26049         out of bounds read.
26050
26051 2012-02-29  Marek Polacek  <polacek@redhat.com>
26052
26053         [BZ #13706]
26054         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26055         * elf/Makefile: Add rules to run tst-unused-dep.out.
26056
26057 2012-02-28  David S. Miller  <davem@davemloft.net>
26058
26059         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26060         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26061         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26062         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26063         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26064         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26065
26066 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
26067
26068         * math/libm-test.inc (llround_test): Move one test from
26069         lround_test.  Use TEST_f_L in moved test.
26070         (lround_test): Move misplaced test to llround_test.  Add testcase
26071         from bug 2561.
26072
26073 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
26074
26075         * sysdeps/x86_64/fpu/e_expf.S: New file.
26076         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26077
26078 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
26079
26080         [BZ #13637]
26081         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26082         of remain_len that may cause incomplete multi-byte character and
26083         false match.
26084         * posix/bug-regex33.c: New file.
26085         * posix/Makefile (tests): Add bug-regex33.
26086
26087 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
26088
26089         * manual/macros.texi: New file.
26090         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26091         * manual/libc.texinfo: Include macros.texi.
26092         * manual/creatute.texi: Likewise.
26093         * manual/install.texi: Likewise.
26094         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26095         @glibcadj{} in references to the GNU C Library.
26096         * manual/charset.texi: Likewise.
26097         * manual/conf.texi: Likewise.
26098         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
26099         when not using those macros.
26100         * manual/creature.texi: Likewise.
26101         * manual/crypt.texi: Likewise.
26102         * manual/errno.texi: Likewise.
26103         * manual/filesys.texi: Likewise.
26104         * manual/header.texi: Likewise.
26105         * manual/install.texi: Likewise.
26106         * manual/intro.texi: Likewise.
26107         * manual/io.texi: Likewise.
26108         * manual/job.texi: Likewise.
26109         * manual/lang.texi: Likewise.
26110         * manual/libc.texiinfo: Likewise.
26111         * manual/llio.texi: Likewise.
26112         * manual/locale.texi: Likewise.
26113         * manual/maint.texi: Likewise.
26114         * manual/math.texi: Likewise.
26115         * manual/memory.texi: Likewise.
26116         * manual/message.texi: Likewise.
26117         * manual/nss.texi: Likewise.
26118         * manual/pattern.texi: Likewise.
26119         * manual/process.texi: Likewise.
26120         * manual/resource.texi: Likewise.
26121         * manual/search.texi: Likewise.
26122         * manual/setjmp.texi: Likewise.
26123         * manual/signal.texi: Likewise.
26124         * manual/socket.texi: Likewise.
26125         * manual/startup.texi: Likewise.
26126         * manual/stdio.texi: Likewise.
26127         * manual/string.texi: Likewise.
26128         * manual/sysinfo.texi: Likewise.
26129         * manual/syslog.texi: Likewise.
26130         * manual/terminal.texi: Likewise.
26131         * manual/time.texi: Likewise.
26132         * manual/users.texi: Likewise.
26133         * INSTALL: Regenerated.
26134         * NOTES: Regenerated.
26135         * sysdeps/gnu/errlist.c: Regenerated.
26136
26137 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
26138
26139         * include/dirent.h: Include <dirstream.h> before
26140         <dirent/dirent.h>.
26141
26142 2012-02-28  David S. Miller  <davem@davemloft.net>
26143
26144         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26145         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26146         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26147         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26148
26149 2012-02-27  David S. Miller  <davem@davemloft.net>
26150
26151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26153         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26154         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26155
26156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26157         frame pointer instead of stack pointer relative arg slot.
26158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26159         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26160         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26161
26162 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
26163
26164         [BZ #3992]
26165         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26166
26167 2012-02-27  David S. Miller  <davem@davemloft.net>
26168
26169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26173         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26174         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26175         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26176         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26177
26178 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26179
26180         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26181         later.  Allow versions 5-9.
26182         * configure: Regenerated.
26183         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26184         required minimum version and 4.6 as recommended version.  Do not
26185         mention bugs in GCC 2.7 and 2.8.
26186         * INSTALL: Regenerated.
26187
26188 2012-02-27  David S. Miller  <davem@davemloft.net>
26189
26190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26194         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26195         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26196         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26197         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26198
26199         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26200         manipulate bits before adding and subtracting TWO112[sx].
26201         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26202
26203 2012-02-27  Roland McGrath  <roland@hack.frob.com>
26204
26205         [BZ #13775]
26206         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26207         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26208         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26209         being in POSIX, because they are in 1003.1-2008.
26210
26211         * rt/tst-aio.c: Include <fcntl.h>.
26212         * rt/tst-aio7.c: Likewise.
26213         * rt/tst-aio64.c: Likewise.
26214
26215         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26216
26217 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
26218
26219         * manual/install.texi (--with-headers): Describe headers as
26220         interface headers, not private headers.
26221         (Specific advice for GNU/Linux systems): Describe use of headers
26222         from "make headers_install", not private headers from older
26223         kernels.
26224         * INSTALL: Regenerated.
26225         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26226         Change to 2.6.19.
26227         * sysdeps/unix/sysv/linux/configure: Regenerated.
26228
26229         * manual/llio.texi (fclean): Remove documentation.
26230
26231         * manual/Makefile (libc-texi-generated): New variable.  Include
26232         version.texi.
26233         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26234         $(libc-texi-generated), not duplicated list of files.
26235         (version.texi, stamp-version): New rules.
26236         (realclean): Remove $(libc-texi-generated), not individual files
26237         from that list.  Do not remove dir-add.texinfo.
26238         * manual/libc.texinfo: Comment out uses of edition numbers and
26239         references to printed manual.  Remove last-updated dates.
26240         (EDITION): Comment out.
26241         (ISBN): Likewise.
26242         (VERSION, UPDATED): Remove.
26243         (version.texi): Include.
26244
26245 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
26246
26247         * sysdeps/posix/spawni.c: Include <signal.h>.
26248         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26249         * sysdeps/pthread/aio_fsync.c: Likewise.
26250
26251 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
26252
26253         * conform/Makefile (tests): Run only when not cross-compiling and
26254         when fast-check is not defined.
26255
26256         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26257         * conform/data/limits.h-data: Fixes for POSIX2008.
26258         * conform/run-conformtest.sh: Run all tests.
26259         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26260         headers.
26261         * include/bits/dlfcn.h: Likewise.
26262         * include/langinfo.h: Likewise.
26263         * include/monetary.h: Likewise.
26264         * include/sys/poll.h: Likewise.
26265
26266         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26267         for __USE_GNU.
26268         * posix/spawn.h: Define __need_sigset_t.
26269         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26270         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26271         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
26272         to get sigevent_t only.
26273         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26274         only for __USE_GNU.
26275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26276         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26277         process_vm_writev only for __USE_GNU.
26278         * termios/termios.h: Declare tcgetsid also for POSIX2008.
26279
26280         * conform/Makefile: For now ignore errors from run-conformtest.
26281         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
26282         POSIX to avoid namespace pollution.  Don't prepend headers.
26283         * conform/data/aio.h-data: Fixes for POSIX testing.
26284         * conform/data/fcntl.h-data: Likewise.
26285         * conform/data/glob.h-data: Likewise.
26286         * conform/data/grp.h-data: Likewise.
26287         * conform/data/pthread.h-data: Likewise.
26288         * conform/data/pwd.h-data: Likewise.
26289         * conform/data/signal.h-data: Likewise.
26290         * conform/data/spawn.h-data: Likewise.
26291         * conform/data/stdio.h-data: Likewise.
26292         * conform/data/stdlib.h-data: Likewise.
26293         * conform/data/stropts.h-data: Likewise.
26294         * conform/data/sys/mman.h-data: Likewise.
26295         * conform/data/sys/stat.h-data: Likewise.
26296         * conform/data/sys/types.h-data: Likewise.
26297         * conform/data/sys/wait.h-data: Likewise.
26298         * conform/data/time.h-data: Likewise.
26299         * conform/data/unistd.h-data: Likewise.
26300         * conform/data/utime.h-data: Likewise.
26301
26302         * io/sys/stat.h: fchmod was always in POSIX.
26303         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26304         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26305         * rt/aio.h: Define __need_timespec before including <time.h>.
26306         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26307         struct.  Add forward declaration of pthread_attr_t and use it in
26308         sigevent.
26309         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26310         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26311         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26312         always remove CLK_TCK definition.
26313
26314 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
26315
26316         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26317
26318 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
26319
26320         * conform/run-conformtest.sh: New file.
26321         * conform/Makefile: Run run-conformtest for tests.
26322         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
26323         support.
26324
26325         * conform/data/uchar.h-data: New file.
26326         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26327         * conform/data/arpa/inet.h-data: Likewise.
26328         * conform/data/assert.h-data: Likewise.
26329         * conform/data/complex.h-data: Likewise.
26330         * conform/data/cpio.h-data: Likewise.
26331         * conform/data/ctype.h-data: Likewise.
26332         * conform/data/dirent.h-data: Likewise.
26333         * conform/data/dlfcn.h-data: Likewise.
26334         * conform/data/errno.h-data: Likewise.
26335         * conform/data/fcntl.h-data: Likewise.
26336         * conform/data/float.h-data: Likewise.
26337         * conform/data/fmtmsg.h-data: Likewise.
26338         * conform/data/fnmatch.h-data: Likewise.
26339         * conform/data/ftw.h-data: Likewise.
26340         * conform/data/glob.h-data: Likewise.
26341         * conform/data/grp.h-data: Likewise.
26342         * conform/data/iconv.h-data: Likewise.
26343         * conform/data/inttypes.h-data: Likewise.
26344         * conform/data/langinfo.h-data: Likewise.
26345         * conform/data/libgen.h-data: Likewise.
26346         * conform/data/limits.h-data: Likewise.
26347         * conform/data/locale.h-data: Likewise.
26348         * conform/data/math.h-data: Likewise.
26349         * conform/data/monetary.h-data: Likewise.
26350         * conform/data/mqueue.h-data: Likewise.
26351         * conform/data/ndbm.h-data: Likewise.
26352         * conform/data/net/if.h-data: Likewise.
26353         * conform/data/netdb.h-data: Likewise.
26354         * conform/data/netinet/in.h-data: Likewise.
26355         * conform/data/nl_types.h-data: Likewise.
26356         * conform/data/poll.h-data: Likewise.
26357         * conform/data/pthread.h-data: Likewise.
26358         * conform/data/pwd.h-data: Likewise.
26359         * conform/data/regex.h-data: Likewise.
26360         * conform/data/sched.h-data: Likewise.
26361         * conform/data/search.h-data: Likewise.
26362         * conform/data/semaphore.h-data: Likewise.
26363         * conform/data/setjmp.h-data: Likewise.
26364         * conform/data/signal.h-data: Likewise.
26365         * conform/data/spawn.h-data: Likewise.
26366         * conform/data/stdarg.h-data: Likewise.
26367         * conform/data/stdio.h-data: Likewise.
26368         * conform/data/stdlib.h-data: Likewise.
26369         * conform/data/string.h-data: Likewise.
26370         * conform/data/strings.h-data: Likewise.
26371         * conform/data/stropts.h-data: Likewise.
26372         * conform/data/sys/ipc.h-data: Likewise.
26373         * conform/data/sys/mman.h-data: Likewise.
26374         * conform/data/sys/msg.h-data: Likewise.
26375         * conform/data/sys/resource.h-data: Likewise.
26376         * conform/data/sys/select.h-data: Likewise.
26377         * conform/data/sys/sem.h-data: Likewise.
26378         * conform/data/sys/shm.h-data: Likewise.
26379         * conform/data/sys/socket.h-data: Likewise.
26380         * conform/data/sys/stat.h-data: Likewise.
26381         * conform/data/sys/statvfs.h-data: Likewise.
26382         * conform/data/sys/time.h-data: Likewise.
26383         * conform/data/sys/timeb.h-data: Likewise.
26384         * conform/data/sys/times.h-data: Likewise.
26385         * conform/data/sys/types.h-data: Likewise.
26386         * conform/data/sys/uio.h-data: Likewise.
26387         * conform/data/sys/un.h-data: Likewise.
26388         * conform/data/sys/utsname.h-data: Likewise.
26389         * conform/data/sys/wait.h-data: Likewise.
26390         * conform/data/syslog.h-data: Likewise.
26391         * conform/data/tar.h-data: Likewise.
26392         * conform/data/termios.h-data: Likewise.
26393         * conform/data/utime.h-data: Likewise.
26394         * conform/data/utmpx.h-data: Likewise.
26395         * conform/data/varargs.h-data: Likewise.
26396         * conform/data/wchar.h-data: Likewise.
26397         * conform/data/wctype.h-data: Likewise.
26398         * conform/data/wordexp.h-data: Likewise.
26399
26400         * include/stropts.h: New file.
26401         * include/uchar.h: New file.
26402         * include/aio.h: Changes to allow conformtest.pl to use the headers.
26403         * include/assert.h: Likewise.
26404         * include/ctype.h: Likewise.
26405         * include/dirent.h: Likewise.
26406         * include/dlfcn.h: Likewise.
26407         * include/fcntl.h: Likewise.
26408         * include/fnmatch.h: Likewise.
26409         * include/glob.h: Likewise.
26410         * include/grp.h: Likewise.
26411         * include/libio.h: Likewise.
26412         * include/locale.h: Likewise.
26413         * include/math.h: Likewise.
26414         * include/net/if.h: Likewise.
26415         * include/netdb.h: Likewise.
26416         * include/netinet/in.h: Likewise.
26417         * include/pthread.h: Likewise.
26418         * include/pwd.h: Likewise.
26419         * include/regex.h: Likewise.
26420         * include/sched.h: Likewise.
26421         * include/search.h: Likewise.
26422         * include/setjmp.h: Likewise.
26423         * include/signal.h: Likewise.
26424         * include/stdio.h: Likewise.
26425         * include/stdlib.h: Likewise.
26426         * include/string.h: Likewise.
26427         * include/sys/cdefs.h: Likewise.
26428         * include/sys/mman.h: Likewise.
26429         * include/sys/msg.h: Likewise.
26430         * include/sys/resource.h: Likewise.
26431         * include/sys/select.h: Likewise.
26432         * include/sys/socket.h: Likewise.
26433         * include/sys/stat.h: Likewise.
26434         * include/sys/statvfs.h: Likewise.
26435         * include/sys/time.h: Likewise.
26436         * include/sys/times.h: Likewise.
26437         * include/sys/uio.h: Likewise.
26438         * include/sys/utsname.h: Likewise.
26439         * include/sys/wait.h: Likewise.
26440         * include/termios.h: Likewise.
26441         * include/time.h: Likewise.
26442         * include/ulimit.h: Likewise.
26443         * include/unistd.h: Likewise.
26444         * include/utime.h: Likewise.
26445         * include/wchar.h: Likewise.
26446         * include/wctype.h: Likewise.
26447         * include/wordexp.h: Likewise.
26448
26449         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26450
26451         * time/time.h: TIME_UTC must be a macro.
26452         Make timespec_get available for ISO C11 only as well.
26453
26454 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
26455
26456         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26457         Reported by Peng Haitao <penght@cn.fujitsu.com>.
26458
26459 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26460
26461         * configure.in: Use -o not -a in test for unsupported multi-arch.
26462
26463 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26464
26465         * manual/texinfo.tex: Update to version 2012-01-19.16.
26466
26467 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
26468
26469         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26470
26471 2012-02-24  Roland McGrath  <roland@hack.frob.com>
26472
26473         [BZ #13738]
26474         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26475         * manual/fdl-1.3.texi: New file.
26476         * manual/fdl-1.1.texi: File removed.
26477
26478         [BZ #13738]
26479         * manual/libc.texinfo (FDL_VERSION): New @set.
26480         Use it for mention of FDL in cover text.
26481         (Documentation License): Use it in @include file name.
26482
26483 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26484             Roland McGrath  <roland@hack.frob.com>
26485
26486         [BZ #5461]
26487         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26488         not LONG_LONG_MAX and LONG_LONG_MIN.
26489         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26490         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
26491         name.
26492         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26493
26494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26495
26496         [BZ #2547]
26497         [BZ #11365]
26498         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26499         manipulate bits before adding and subtracting TWO23[sx].
26500         * math/libm-test.inc (nearbyint_test): Add more tests.
26501
26502 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26503
26504         [BZ #2548]
26505         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26506         bits before adding and subtracting TWO23[sx].
26507         * math/libm-test.inc (rint_test): Add more tests.
26508         (rint_test_tonearest): Likewise.
26509         (rint_test_towardzero): Likewise.
26510         (rint_test_downward): Likewise.
26511         (rint_test_upward: Likewise.
26512
26513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26514
26515         [BZ #10110]
26516         * include/stdc-predef.h: New file.  Extracted from features.h.
26517         * include/features.h: Include stdc-predef.h.
26518         * Makefile (headers): Add stdc-predef.h.
26519         * CONFORMANCE (Compiler limitations): Update.
26520
26521 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
26522
26523         * manual/libc.texinfo (VERSION, UPDATED): Revert.
26524
26525 2012-02-21  David S. Miller  <davem@davemloft.net>
26526
26527         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26528         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26529
26530 2012-02-20  David S. Miller  <davem@davemloft.net>
26531
26532         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26533         using a normal save/restore sequence, rather than allocating a
26534         dummy stack frame just to store a frame pointer and restore.
26535         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26536
26537 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26538
26539         * manual/install.texi: Fix stray word in line-wrapped comment.
26540
26541 2012-02-20  David S. Miller  <davem@davemloft.net>
26542
26543         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26544         both binutils and gcc support GOTDATA.
26545
26546         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26547         "rd %pc" in the PIC register setup sequences.
26548
26549         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26550         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26551         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26552         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26553         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26555         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26556         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26558         (SYSCALL_ERROR_HANDLER): Likewise.
26559         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26560         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26562         (SYSCALL_ERROR_HANDLER): Likewise.
26563
26564         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26565         (HAVE_GCC_GOTDATA): New.
26566         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26567         relocation support in both binutils and gcc.
26568         * sysdeps/sparc/elf/configure: Regenerate.
26569
26570         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26571         * sysdeps/sparc/sparc32/elf/configure: Delete.
26572         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26573         * sysdeps/sparc/sparc64/elf/configure: Delete.
26574         * sysdeps/sparc/elf/configure.in: New file.
26575         * sysdeps/sparc/elf/configure: Generate.
26576
26577         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26578         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26579         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26580         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26581         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26582
26583 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26584
26585         * manual/install.texi: Do not mention specific glibc version
26586         numbers.
26587         * manual/libc.texinfo (VERSION, UPDATED): Update.
26588         (@copying): Use @copyright{} and range of years.
26589
26590 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
26591
26592         [BZ #13695]
26593         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26594         [crti.S not in sysdirs] (generated): Do not append.
26595         [crti.S not in sysdirs] (omit-deps): Likewise.
26596         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26597         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26598         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26599         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26600         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26601         Likewise.
26602         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26603         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26604         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26605         * csu/defs.awk: Remove file.
26606         * sysdeps/generic/initfini.c: Likewise.
26607         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26608         variable.
26609         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26610         Likewise.
26611
26612 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26613
26614         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26615         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26616         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26617         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26618         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26619         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26620         <bits/epoll.h>.
26621         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26622         (__EPOLL_PACKED): Define to empty if not defined by
26623         <bits/epoll.h>.
26624         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26625         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26626         bits/epoll.h.
26627
26628 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26629
26630         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26631         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26632         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26633         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26634         <bits/timerfd.h>.
26635         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26637         bits/timerfd.h.
26638
26639 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
26640
26641         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26642         in C locale.
26643         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26644         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26645         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26647
26648 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
26649
26650         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26651         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26652
26653 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
26654
26655         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26656         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26657         defined.
26658         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26659         Likewise.
26660         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26661         entry for 2.16.
26662
26663 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
26664
26665         * math/w_acos.c: Use non-signaling floating-point comparisons.
26666         * math/w_acosf.c: Likewise.
26667         * math/w_acosh.c: Likewise.
26668         * math/w_acoshf.c: Likewise.
26669         * math/w_acoshl.c: Likewise.
26670         * math/w_acosl.c: Likewise.
26671         * math/w_asin.c: Likewise.
26672         * math/w_asinf.c: Likewise.
26673         * math/w_asinl.c: Likewise.
26674         * math/w_atanh.c: Likewise.
26675         * math/w_atanhf.c: Likewise.
26676         * math/w_atanhl.c: Likewise.
26677         * math/w_exp2.c: Likewise.
26678         * math/w_exp2f.c: Likewise.
26679         * math/w_exp2l.c: Likewise.
26680         * math/w_j0.c: Likewise.
26681         * math/w_j0f.c: Likewise.
26682         * math/w_j0l.c: Likewise.
26683         * math/w_j1.c: Likewise.
26684         * math/w_j1f.c: Likewise.
26685         * math/w_j1l.c: Likewise.
26686         * math/w_jn.c: Likewise.
26687         * math/w_jnf.c: Likewise.
26688         * math/w_log.c: Likewise.
26689         * math/w_log10.c: Likewise.
26690         * math/w_log10f.c: Likewise.
26691         * math/w_log10l.c: Likewise.
26692         * math/w_log2.c: Likewise.
26693         * math/w_log2f.c: Likewise.
26694         * math/w_log2l.c: Likewise.
26695         * math/w_logf.c: Likewise.
26696         * math/w_logl.c: Likewise.
26697         * math/w_sqrt.c: Likewise.
26698         * math/w_sqrtf.c: Likewise.
26699         * math/w_sqrtl.c: Likewise.
26700         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26701         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26702         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26703         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26704         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26705
26706 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26707
26708         [BZ #9739]
26709         * manual/string.texi (strnlen): Use correct parameter name in
26710         equivalent expression.
26711
26712 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26713
26714         [BZ #11174]
26715         * manual/users.texi (seteuid): Consistently use neweuid for
26716         argument name.
26717
26718 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
26719
26720         [BZ #13704]
26721         * manual/nss.texi (Services in the NSS configuration): Correct
26722         list of services in example configuration file.
26723
26724 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
26725
26726         [BZ #11322]
26727         * manual/arith.texi: Remove statements about negative zero
26728         behaving identically to zero.
26729
26730 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26731
26732         [BZ #5993]
26733         * manual/install.texi: Do not document upgrading from libc5.
26734
26735 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
26736
26737         [BZ #4596]
26738         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26739
26740 2012-02-18  David S. Miller  <davem@davemloft.net>
26741
26742         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26743         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26744         %o7 across the call.
26745         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26746         instead.
26747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26748         SETUP_PIC_REG_LEAF.
26749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26750         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26751         * sysdeps/sparc/crtn.S: Likewise.
26752
26753 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
26754
26755         * aout/Makefile: Remove.
26756
26757 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
26758
26759         [BZ #13058]
26760         * manual/examples/argp-ex1.c (main): Format definition in GNU
26761         style.
26762         * manual/examples/argp-ex2.c (main): Likewise.
26763         * manual/examples/argp-ex3.c (main): Likewise.
26764         * manual/examples/argp-ex4.c (main): Likewise.
26765         * manual/examples/longopt.c (main): Use new-style prototype
26766         definition.
26767         * manual/examples/strncat.c (main): Specify return type and use
26768         (void) for arguments.
26769         * manual/examples/subopt.c (main): Use char **argv argument.
26770
26771 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26772
26773         [BZ #5077]
26774         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26775         rounding modes.
26776
26777 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
26778
26779         [BZ #6907]
26780         * manual/string.texi (strchr): Change when strchrnul is
26781         recommended.
26782
26783 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
26784
26785         [BZ #174]
26786         * manual/locale.texi (setlocale): Document LOCPATH.
26787
26788 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26789
26790         [BZ #10210]
26791         * manual/process.texi (execle): Move @dots{} before last argument.
26792
26793 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
26794
26795         [BZ #12047]
26796         * manual/charset.texi (Generic Charset Conversion): Fix typo
26797         (LC_TYPE -> LC_CTYPE).
26798
26799 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
26800
26801         [BZ #5805]
26802         * manual/arith.texi (scalbn): Use @var{} on parameter names.
26803         (scalbnf): Likewise.
26804         (scalbnl): Likewise.
26805         (scalbln): Likewise.
26806         (scalblnf): Likewise.
26807         (scalblnl): Likewise.
26808         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26809         (vwarnx): Likewise.
26810         (verr): Likewise.
26811         (verrx): Likewise.
26812         * manual/filesys.texi (telldir): Use braces around return type.
26813         * manual/llio.texi (mmap): Add space after comma.
26814         (mmap64): Likewise.
26815         * manual/math.texi (jn): Use @var{} on parameter names.
26816         (jnf): Likewise.
26817         (jnl): Likewise.
26818         (yn): Likewise.
26819         (ynf): Likewise.
26820         (ynl): Likewise.
26821         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26822         line.
26823         * manual/resource.texi (ulimit): Use @dots{} instead of literal
26824         "...".
26825         (sched_get_priority_min): Remove semicolon on @deftypefun line.
26826         (sched_get_priority_max): Likewise.
26827         * manual/signal.texi (sigvec): Add space after comma.
26828         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26829         names.
26830         (if_indextoname): Likewise.
26831         (if_freenameindex): Likewise.
26832         (sendto): Use ',' instead of '.' in prototype.
26833         * manual/startup.texi (syscall): Use @dots{} instead of literal
26834         "...".
26835         * manual/stdio.texi (__fpending): Separate initial words of
26836         paragraph from @deftypefun line.
26837         * manual/syslog.texi (syslog): Use @dots{} instead of literal
26838         "...".
26839         (vsyslog): Use @var{} on parameter names.
26840         * manual/terminal.texi (stty): Use @var{} on parameter names.
26841         * manual/users.texi (getutmp): Use @var{} on parameter names.
26842         (getutmpx): Likewise.
26843
26844 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26845
26846         [BZ #6884]
26847         * manual/stdio.texi (fopen): Fix typos in description of
26848         ",ccs=STRING".
26849
26850 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
26851
26852         [BZ #4026]
26853         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26854         get clock_id definition.
26855
26856 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
26857
26858         [BZ #4822]
26859         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26860         (madvise): Cast every argument to void on its own.
26861
26862 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26863
26864         [BZ #9902]
26865         * manual/startup.texi (Exit Status): Fix typo.
26866
26867 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
26868
26869         [BZ #10140]
26870         * manual/examples/argp-ex1.c: Include <stdlib.h>.
26871         * manual/examples/argp-ex2.c: Likewise.
26872         * manual/examples/argp-ex3.c: Likewise.
26873
26874 2012-02-16  Richard Henderson  <rth@redhat.com>
26875
26876         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26877         * sysdeps/s390/s390-32/initfini.c: Remove.
26878         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26879         * sysdeps/s390/s390-64/initfini.c: Remove.
26880
26881 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26882
26883         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26884         compiler output for sysdeps/generic/initfini.c.
26885         * sysdeps/sh/elf/initfini.c: Remove file.
26886
26887 2012-02-16  David S. Miller  <davem@davemloft.net>
26888
26889         [BZ #11494]
26890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26891
26892         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26893         * sysdeps/sparc/crti.S: New file.
26894         * sysdeps/sparc/crtn.S: New file.
26895         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26896         * sysdeps/sparc/sparc64/Makefile: Likewise.
26897
26898 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
26899
26900         [BZ #3335]
26901         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26902
26903 2012-02-15  Roland McGrath  <roland@hack.frob.com>
26904
26905         [BZ #4822]
26906         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26907
26908         * mach/devstream.c (cookie_io_functions_t): Macro removed.
26909         (write, read, close): Likewise.
26910         Patch by Aurelien Jarno <aurelien@aurel32.net>.
26911
26912 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
26913
26914         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26915         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26916         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26917         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26918         <bits/signalfd.h>.
26919         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26921         bits/signalfd.h.
26922
26923 2012-02-14  Marek Polacek  <polacek@redhat.com>
26924
26925         * sysdeps/x86_64/crti.S: New file.
26926         * sysdeps/x86_64/crtn.S: New file.
26927         * sysdeps/x86_64/elf/initfini.c: Remove file.
26928
26929 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26930
26931         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26932         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26933         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26934         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26935         <bits/inotify.h>.
26936         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26937         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26938         bits/inotify.h.
26939
26940 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
26941
26942         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26943         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26944         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26945         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26946         <bits/eventfd.h>.
26947         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26949         bits/eventfd.h.
26950
26951 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
26952
26953         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26954         __feraiseexcept instead of feraiseexcept.
26955
26956         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26957         nanosleep invocations.
26958         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26959         strings, and add error checking for a nanosleep invocations.
26960
26961 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
26962
26963         Replace FSF snail mail address with URLs, as per GNU coding standards.
26964         Most of the snail mail addresses were wrong anyway, and omitting
26965         them makes the source code easier to maintain.  Almost all of the
26966         changes are to license notices and to locale LC_IDENTIFICATION
26967         addresses, except for this one:
26968         * manual/libc.texinfo: In "Published by", give the FSF's URL,
26969         not its snail mail address.
26970
26971 2012-02-09  Richard Henderson  <rth@twiddle.net>
26972
26973         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26974         of kernel-features.h.
26975
26976         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26977
26978 2012-02-08  Marek Polacek  <polacek@redhat.com>
26979
26980         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26981         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26982         * sysdeps/gnu/_G_config.h: Likewise.
26983         * sysdeps/generic/_G_config.h: Likewise.
26984
26985 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
26986
26987         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26988         tests.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26990
26991         * sysdeps/powerpc/powerpc32/crti.S: New file.
26992         * sysdeps/powerpc/powerpc32/crtn.S: New file.
26993         * sysdeps/powerpc/powerpc64/crti.S: New file.
26994         * sysdeps/powerpc/powerpc64/crtn.S: New file.
26995
26996         * Makeconfig (have-initfini): Don't set.
26997         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26998         * configure.in (nopic_initfini): Don't substitute.
26999         * config.h.in (HAVE_INITFINI): Don't #undef.
27000         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27001         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27002
27003 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
27004
27005         Support crti.S and crtn.S provided directly by architectures.
27006         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27007         [crti.S in sysdirs] (omit-deps): Likewise.
27008         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27009         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27010         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27011         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27012         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27013         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27014         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27015         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27016         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27017         compiler output for sysdeps/generic/initfini.c.
27018         * sysdeps/i386/elf/Makefile: Remove file.
27019         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27020
27021 2012-02-07  Marek Polacek  <polacek@redhat.com>
27022
27023         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27024         * sysdeps/gnu/_G_config.h: Likewise.
27025         * sysdeps/mach/hurd/_G_config.h: Likewise.
27026
27027 2012-02-07  Marek Polacek  <polacek@redhat.com>
27028
27029         * math/Makefile (tests): Add tst-CMPLX2.
27030         * math/tst-CMPLX2.c: New file.
27031
27032 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
27033
27034         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27035
27036         * math/libm-test.inc (jn_test): Add missing L suffix.
27037
27038 2012-02-06  Marek Polacek  <polacek@redhat.com>
27039
27040         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27041         * sysdeps/i386/fpu/e_powf.S: Likewise.
27042         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27043         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27044         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27045         * sysdeps/i386/fpu/e_pow.S: Likewise.
27046         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27047         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27048         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27049         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27050         * sysdeps/i386/fpu/e_log2.S: Likewise.
27051         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27052         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27053         * sysdeps/i386/fpu/e_powl.S: Likewise.
27054         * sysdeps/i386/fpu/s_log1p.S: Likewise.
27055         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27056         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27057         * sysdeps/i386/fpu/e_logl.S: Likewise.
27058         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27059         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27060         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27061         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27062         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27063         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27064         * sysdeps/i386/fpu/e_log.S: Likewise.
27065         * sysdeps/i386/fpu/s_cexp.S: Likewise.
27066         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27067         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27068         * sysdeps/i386/fpu/e_logf.S: Likewise.
27069         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27070         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27071         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27072         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27073         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27074         * sysdeps/i386/fpu/e_log10.S: Likewise.
27075         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27076         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27077         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27078         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27079         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27080         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27081         * sysdeps/i386/asm-syntax.h: Likewise.
27082         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27083         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27084         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27085         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27086         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27087         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27088         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27089         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27090         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27091         * sysdeps/powerpc/sysdep.h: Likewise.
27092         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27093         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27094
27095 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27096
27097         [BZ #411]
27098         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27099
27100 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
27101
27102         * sysdeps/i386/sysdep.h: Include <features.h>.
27103         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27104         version.
27105
27106 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
27107
27108         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27109         Define.
27110         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27111         LOAD_PIC_REG_STR.
27112
27113 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27114
27115         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27116         (SETUP_PIC_REG): Use GET_PC_THUNK.
27117         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27118         macro.
27119
27120 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27121
27122         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27123         for non-PIC compilation.
27124         (SETUP_PIC_REG): Add .p2align directive.
27125         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27126         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27127         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27128         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27129         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27130         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27131         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27132         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27139         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27140         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27141         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27142         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27143         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27144         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27146         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27147         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27148         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27149         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27151         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27152         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27153         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27154         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27155         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27156         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27157         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27158         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27159         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27160         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27161         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27162         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27163         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27164         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27165         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27166
27167 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
27168
27169         * math/tst-CMPLX.c: Include <stdio.h>.
27170
27171 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
27172
27173         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27174         float.
27175         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27176         * sysdeps/sparc/bits/mathdef.h: Likewise.
27177
27178 2012-01-31  Marek Polacek  <polacek@redhat.com>
27179
27180         * libio/libio.h: Don't define _PARAMS.
27181         * locale/programs/config.h: Don't define PARAMS.
27182         * stdlib/strtol_l.c: Likewise.
27183         (__strtol_l): Remove PARAMS from the prototype.
27184
27185 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
27186
27187         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
27188         names.  Just use the correct names.  Remove unnecessary wrapper
27189         functions.
27190         * malloc/arena.c: Likewise.
27191         * malloc/hooks.c: Likewise.
27192
27193         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27194         ARENA_TEST says not to.  Simplify test for creation of a new arena.
27195         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27196
27197 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
27198
27199         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27200         into tail calls.
27201         (update_get_addr): New function.
27202         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27203         GET_ADDR_MODULE parameter.
27204
27205 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27206
27207         * crypt/cert.c: Remove __STDC__ conditionals.
27208         * crypt/crypt-entry.c: Likewise.
27209         * crypt/crypt_util.c: Likewise.
27210         * libio/filedoalloc.c: Likewise.
27211         * libio/fileops.c: Likewise.
27212         * libio/genops.c: Likewise.
27213         * libio/iofclose.c: Likewise.
27214         * libio/iofdopen.c: Likewise.
27215         * libio/iofopen.c: Likewise.
27216         * libio/iofopen64.c: Likewise.
27217         * libio/iogetdelim.c: Likewise.
27218         * libio/iopopen.c: Likewise.
27219         * libio/obprintf.c: Likewise.
27220         * libio/oldfileops.c: Likewise.
27221         * libio/oldiofclose.c: Likewise.
27222         * libio/oldiofdopen.c: Likewise.
27223         * libio/oldiofopen.c: Likewise.
27224         * libio/oldiopopen.c: Likewise.
27225         * libio/wfiledoalloc.c: Likewise.
27226         * libio/wgenops.c: Likewise.
27227         * locale/programs/xmalloc.c: Likewise.
27228         * misc/syslog.c: Likewise.
27229         * stdio-common/xbug.c: Likewise.
27230         * string/memchr.c: Likewise.
27231         * string/memcmp.c: Likewise.
27232         * string/memrchr.c: Likewise.
27233         * string/rawmemchr.c: Likewise.
27234         * sysdeps/posix/getcwd.c: Likewise.
27235         * time/strftime_l.c: Likewise.
27236
27237 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
27238
27239         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27240         * config.make.in (config-cflags-sse2avx): Define.
27241         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27242         Fix typo.
27243
27244 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
27245
27246         * scripts/config.guess: Update from upstream config git repository.
27247         * scripts/config.sub: Likewise.
27248
27249 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
27250
27251         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27252         (EM_NUM): Update.
27253         (R_TILEPRO_*, R_TILEGX_*): New macros.
27254
27255         * scripts/firstversions.awk: Fix bug in version range handling.
27256
27257         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27258
27259         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27260
27261         * include/sys/epoll.h: New file.
27262         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27263         libc_hidden_def.
27264
27265 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
27266
27267         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27268         Avoid unnecessary __WORDSIZE == 64 test.
27269         (fmaxf): Use VEX format if possible.
27270         (fmax): Likewise.
27271         (fminf): Likewise.
27272         (fmin): Likewise.
27273
27274         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27275         * math/math_private.h: Remove libc_fegetround* and
27276         libc_fesetround*.
27277         * sysdeps/i386/configure.in: Check for -msse2avx.
27278         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27279         also if SSE2AVX is defined.
27280         Remove libc_fegetround* and libc_fesetround*.
27281         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27282         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
27283         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27284         of HAS_YMM_USABLE.
27285         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27286         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27288         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27289         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27290
27291         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27292
27293 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27294
27295         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27296         size is not set.
27297         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27298
27299 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
27300
27301         [BZ #13618]
27302         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27303         relocation.
27304         * Makeconfig (libm): Define.
27305         * elf/Makefile: Add rules to build and run tst-relsort1.
27306         * elf/tst-relsort1.c: New file.
27307         * elf/tst-relsort1mod1.c: New file.
27308         * elf/tst-relsort1mod2.c: New file.
27309
27310 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
27311
27312         * math/s_ldexp.c: Remove __STDC__ conditionals.
27313         * math/s_ldexpf.c: Likewise.
27314         * math/s_ldexpl.c: Likewise.
27315         * math/s_nextafter.c: Likewise.
27316         * math/s_nexttowardf.c: Likewise.
27317         * math/s_significand.c: Likewise.
27318         * math/s_significandf.c: Likewise.
27319         * math/s_significandl.c: Likewise.
27320         * math/w_jnl.c: Likewise.
27321         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27322         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27323         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27324         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27325         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27327         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27328         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27329         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27330         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27331         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27333         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27334         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27335         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27336         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27337         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27338         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27340         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27341         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27342         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27343         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27344         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27345         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27346         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27347         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27348         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27349         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27350         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27351         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27352         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27353         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27354         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27355         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27356         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27357         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27358         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27359         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27360         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27361         * sysdeps/ieee754/k_standard.c: Likewise.
27362         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27363         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27364         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27365         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27366         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27367         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27368         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27369         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27370         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27371         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27372         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27373         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27374         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27375         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27376         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27377         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27378         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27379         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27380         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27381         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27382         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27383         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27384         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27387         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27393         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27394         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27395         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27396         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27399         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27400         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27401         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27402         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27404         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27405         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27409         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27411         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27413         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27414         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27415         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27416         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27418         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27419         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27421         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27422         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27423         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27426         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27428         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27436         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27437         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27440         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27441         * sysdeps/ieee754/s_matherr.c: Likewise.
27442         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27443         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27444         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27445         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27446
27447 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27448
27449         * crypt/md5.h: Remove __STDC__ conditionals.
27450         * libio/libioP.h: Likewise.
27451         * locale/programs/config.h: Likewise.
27452         * sysdeps/generic/sysdep.h: Likewise.
27453         * sysdeps/i386/asm-syntax.h: Likewise.
27454         * sysdeps/s390/asm-syntax.h: Likewise.
27455         * sysdeps/unix/sysdep.h: Likewise.
27456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27458
27459 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
27460
27461         * libio/libio.h: Remove __STDC__ conditionals.
27462         * malloc/obstack.h: Likewise.
27463         * math/complex.h: Likewise.
27464         * math/math.h: Likewise.
27465         * sysdeps/generic/_G_config.h: Likewise.
27466         * sysdeps/gnu/_G_config.h: Likewise.
27467         * sysdeps/mach/hurd/_G_config.h: Likewise.
27468         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27469         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27470         * sysdeps/sparc/bits/mathdef.h: Likewise.
27471
27472 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
27473
27474         [BZ #13583]
27475         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27476         Clean up HAS_* macros.
27477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27478         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27479         possible.
27480         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27481         HAS_AVX.
27482         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27483         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27484         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27485         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27486         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27487
27488 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
27489
27490         * elf/tst-unique3.cc (gets): Remove declaration.
27491         * elf/tst-unique3lib.cc (gets): Likewise.
27492         * elf/tst-unique3lib2.cc (gets): Likewise.
27493         * elf/tst-unique4.cc (gets): Likewise.
27494
27495 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
27496
27497         * include/stdio.h: Add C++ protection.  Add gets declarations and
27498         definitions.
27499         * debug/tst-chk1.c: Don't declare gets here.
27500         * stdio-common/tst-gets.c: Likewise.
27501
27502 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27503
27504         * posix/glob: Remove directory.
27505
27506 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
27507
27508         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27509
27510 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
27511
27512         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27513         of the non-standard EPFNOSUPPORT.
27514
27515 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27516
27517         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27518         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27519         ANYWHERE set to 1 only on KERN_NO_SPACE error.
27520
27521 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
27522
27523         * wcsmbs/uchar.h: Test __STDC_VERSION__.
27524
27525 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
27526
27527         * nscd/aicache.c (addhstaiX): Do not cache negative results of
27528         transient errors.
27529         * nscd/grpcache.c (cache_addgr): Likewise.
27530         * nscd/hstcache.c (cache_addhst): Likewise.
27531         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27532         * nscd/pwdcache.c (cache_addpw): Likewise.
27533         * nscd/servicescache.c (cache_addserv): Likewise.
27534
27535 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
27536
27537         * malloc/malloc.c: Various cleanups.
27538         * malloc/hooks.c: Likewise.
27539
27540         * stdlib/Makefile (tests): Add bug-fmtmsg1.
27541         * stdlib/bug-fmtmsg1.c: New file.
27542
27543         * stdlib/fmtmsg.c (init): Add missing unlock.
27544         Patch by Peng Haitao <penght@cn.fujitsu.com>.
27545
27546 2012-01-12  Marek Polacek  <polacek@redhat.com>
27547
27548         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27549         and _GNU_SOURCE.
27550
27551 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27552
27553         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27554         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27555         macro to ensure uniqueness of label name.
27556         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27557         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27558
27559 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
27560
27561         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27562
27563         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27564         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27565         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27566         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27567
27568 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
27569
27570         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27571
27572         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27573         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27574         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27575
27576         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27577
27578         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27579         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27580         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27582
27583         * math/bits/math-finite.h: Add ldexp support.
27584
27585 2012-01-10  Marek Polacek  <polacek@redhat.com>
27586
27587         * locale/programs/localedef.h (show_archive_content): Add noreturn
27588         attribute.
27589
27590 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
27591
27592         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27593
27594 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27595
27596         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27597
27598         * io/Makefile (headers): Add bits/poll2.h.
27599
27600 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
27601
27602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27603         typo #include statement.
27604
27605 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27606
27607         * include/sys/cdefs.h: Define __attribute_alloc_size.
27608         * catgets/gencat.c: Add alloc_size attribute and apply consistently
27609         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27610         * elf/pldd.c: Likewise.
27611         * iconv/iconv_charmap.c: Likewise.
27612         * iconv/iconvconfig.c: Likewise.
27613         * iconv/strtab.c: Likewise.
27614         * locale/programs/locale.c: Likewise.
27615         * locale/programs/localedef.h: Likewise.
27616         * locale/programs/simple-hash.c: Likewise.
27617         * nscd/nscd.h: Likewise.
27618         * nss/makedb.c: Likewise.
27619         * sysdeps/generic/ldconfig.h: Likewise.
27620         * locale/programs/localedef.c: Remove xmalloc prototype.
27621         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27622
27623 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27624
27625         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27626         appropriate.
27627
27628 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
27629
27630         * math/Makefile (tests): Add tst-CMPLX.
27631         * math/tst-CMPLX.c: New file.
27632
27633         * math/complex.h (CMPLXL): Fix typo.
27634
27635         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27636         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27637         GLIBC_2.16.
27638         * debug/tst-chk1.c: Add poll and ppoll tests.
27639         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27640         * include/sys/poll.h: Add hidden proto for ppoll.
27641         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27642         * sysdeps/mach/hurd/ppoll.c: Likewise.
27643         * io/ppoll.c: Likewise.
27644         * debug/poll_chk.c: New file.
27645         * debug/ppoll_chk.c: New file.
27646         * include/bits/poll2.h: New file.
27647         * io/bits/poll2.h: New file.
27648
27649         [BZ #1350]
27650         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27651
27652         * configure.in: static is always set to yes.  Remove.
27653         * config.make.in: Don't set build-static.
27654         * Makeconfig: Remove use of build-static.
27655         * dlfcn/Makefile: Likewise.
27656         * elf/Makefile: Likewise.
27657         * math/Makefile: Likewise.
27658         * misc/Makefile: Likewise.
27659         * nptl/Makefile: Likewise.
27660         * sysdeps/mach/hurd/Makefile: Likewise.
27661
27662         * configure.in: PWD_P is not used anymore.
27663         * config.make.in: Remove PWD_P entry.
27664
27665         * configure.in: Remove last remnants of RANLIB.
27666         No need to check for signed size_t anymore.
27667         Don't set libc_commonpagesize and libc_relro_required here for Alpha
27668         and IA-64.
27669         Remove __builtin_expect test because we require at least gcc 3.4.
27670         * aclocal.m4: Likewise.
27671
27672         * wcsmbs/mbrtoc16.c: Implement using towc function.
27673         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27674         * wcsmbs/wcsmbsload.c: Likewise.
27675         * iconv/gconv_simple.c: Likewise.
27676         * iconv/gconv_int.h: Likewise.
27677         * iconv/gconv_builtin.h: Likewise.
27678         * iconv/iconv_prog.c: Remove CHAR16 handling.
27679
27680         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27681
27682         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27683
27684         * configure.in: Remove --with-elf and --enable-bounded options.
27685         Dont set base_machine for ia64.  More non-ELF conditions removed.
27686         Remove testing and setting of leading underscore information.
27687         * config.make.in (build-bounded): Set to no.
27688         * config.h.in: Remove NO_UNDERSCORES entry.
27689         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
27690         them.
27691         * csu/start.c: Remove !NO_UNDERSCORE code.
27692         * locale/localeinfo.h: Likewise.
27693         * sysdeps/generic/machine-gmon.h: Likewise.
27694         * sysdeps/generic/sysdep.h: Likewise.
27695         * sysdeps/i386/sysdep.h: Likewise.
27696         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27697         * sysdeps/mach/sysdep.h: Likewise.
27698         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27699         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27700         * sysdeps/sh/sysdep.h: Likewise.
27701         * sysdeps/sparc/sparc32/alloca.S: Likewise.
27702         * sysdeps/unix/i386/sysdep.S: Likewise.
27703         * sysdeps/unix/sparc/start.c: Likewise.
27704         * sysdeps/unix/sparc/sysdep.S: Likewise.
27705         * sysdeps/unix/sparc/sysdep.h: Likewise.
27706         * sysdeps/unix/start.c: Likewise.
27707         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27708         * sysdeps/x86_64/sysdep.h: Likewise.
27709
27710 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
27711
27712         [BZ #13553]
27713         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27714         for non-gcc.
27715         * argp/argp-fmtstream.h: Use const instead __const.
27716         * argp/argp.h: Likewise.
27717         * assert/assert.h: Likewise.
27718         * bits/fenv.h: Likewise.
27719         * bits/sched.h: Likewise.
27720         * bits/sigset.h: Likewise.
27721         * bits/sigthread.h: Likewise.
27722         * catgets/nl_types.h: Likewise.
27723         * conform/data/pthread.h-data: Likewise.
27724         * crypt/crypt-private.h: Likewise.
27725         * crypt/crypt.h: Likewise.
27726         * crypt/crypt_util.c: Likewise.
27727         * ctype/ctype.h: Likewise.
27728         * debug/execinfo.h: Likewise.
27729         * debug/mbsnrtowcs_chk.c: Likewise.
27730         * debug/mbsrtowcs_chk.c: Likewise.
27731         * debug/wcsnrtombs_chk.c: Likewise.
27732         * debug/wcsrtombs_chk.c: Likewise.
27733         * debug/wcstombs_chk.c: Likewise.
27734         * dirent/dirent.h: Likewise.
27735         * dlfcn/dlfcn.h: Likewise.
27736         * elf/neededtest4.c: Likewise.
27737         * grp/grp.h: Likewise.
27738         * gshadow/gshadow.h: Likewise.
27739         * iconv/gconv.h: Likewise.
27740         * iconv/gconv_int.h: Likewise.
27741         * iconv/gconv_simple.c: Likewise.
27742         * iconv/iconv.h: Likewise.
27743         * iconv/loop.c: Likewise.
27744         * iconv/skeleton.c: Likewise.
27745         * include/aio.h: Likewise.
27746         * include/aliases.h: Likewise.
27747         * include/argz.h: Likewise.
27748         * include/arpa/inet.h: Likewise.
27749         * include/assert.h: Likewise.
27750         * include/dirent.h: Likewise.
27751         * include/dlfcn.h: Likewise.
27752         * include/execinfo.h: Likewise.
27753         * include/fcntl.h: Likewise.
27754         * include/fenv.h: Likewise.
27755         * include/glob.h: Likewise.
27756         * include/grp.h: Likewise.
27757         * include/libintl.h: Likewise.
27758         * include/mntent.h: Likewise.
27759         * include/netdb.h: Likewise.
27760         * include/pwd.h: Likewise.
27761         * include/rpc/netdb.h: Likewise.
27762         * include/sched.h: Likewise.
27763         * include/search.h: Likewise.
27764         * include/shadow.h: Likewise.
27765         * include/signal.h: Likewise.
27766         * include/stdio.h: Likewise.
27767         * include/stdlib.h: Likewise.
27768         * include/string.h: Likewise.
27769         * include/sys/socket.h: Likewise.
27770         * include/sys/stat.h: Likewise.
27771         * include/sys/statfs.h: Likewise.
27772         * include/sys/statvfs.h: Likewise.
27773         * include/sys/syslog.h: Likewise.
27774         * include/sys/time.h: Likewise.
27775         * include/sys/uio.h: Likewise.
27776         * include/time.h: Likewise.
27777         * include/unistd.h: Likewise.
27778         * include/utmp.h: Likewise.
27779         * include/wchar.h: Likewise.
27780         * include/wctype.h: Likewise.
27781         * inet/aliases.h: Likewise.
27782         * inet/arpa/inet.h: Likewise.
27783         * inet/netinet/ether.h: Likewise.
27784         * inet/netinet/in.h: Likewise.
27785         * intl/libintl.h: Likewise.
27786         * io/bits/fcntl2.h: Likewise.
27787         * io/fcntl.h: Likewise.
27788         * io/ftw.h: Likewise.
27789         * io/sys/poll.h: Likewise.
27790         * io/sys/stat.h: Likewise.
27791         * io/sys/statfs.h: Likewise.
27792         * io/sys/statvfs.h: Likewise.
27793         * io/utime.h: Likewise.
27794         * libio/bits/stdio.h: Likewise.
27795         * libio/bits/stdio2.h: Likewise.
27796         * libio/libio.h: Likewise.
27797         * libio/libioP.h: Likewise.
27798         * libio/stdio.h: Likewise.
27799         * locale/lc-ctype.c: Likewise.
27800         * locale/locale.h: Likewise.
27801         * login/utmp.h: Likewise.
27802         * malloc/arena.c: Likewise.
27803         * malloc/malloc.c: Likewise.
27804         * malloc/malloc.h: Likewise.
27805         * malloc/mcheck.c: Likewise.
27806         * malloc/mtrace.c: Likewise.
27807         * math/bits/mathcalls.h: Likewise.
27808         * math/fenv.h: Likewise.
27809         * math/math_private.h: Likewise.
27810         * misc/bits/error.h: Likewise.
27811         * misc/bits/syslog.h: Likewise.
27812         * misc/err.h: Likewise.
27813         * misc/error.h: Likewise.
27814         * misc/fstab.h: Likewise.
27815         * misc/mntent.h: Likewise.
27816         * misc/regexp.h: Likewise.
27817         * misc/search.h: Likewise.
27818         * misc/sgtty.h: Likewise.
27819         * misc/sys/mman.h: Likewise.
27820         * misc/sys/syslog.h: Likewise.
27821         * misc/sys/uio.h: Likewise.
27822         * misc/sys/xattr.h: Likewise.
27823         * misc/ttyent.h: Likewise.
27824         * nis/rpcsvc/ypclnt.h: Likewise.
27825         * nss/nss.h: Likewise.
27826         * posix/bits/unistd.h: Likewise.
27827         * posix/fnmatch.h: Likewise.
27828         * posix/glob.h: Likewise.
27829         * posix/sched.h: Likewise.
27830         * posix/spawn.h: Likewise.
27831         * posix/sys/wait.h: Likewise.
27832         * posix/unistd.h: Likewise.
27833         * posix/wordexp.h: Likewise.
27834         * pwd/pwd.h: Likewise.
27835         * resolv/netdb.h: Likewise.
27836         * resource/sys/resource.h: Likewise.
27837         * rt/aio.h: Likewise.
27838         * rt/bits/mqueue2.h: Likewise.
27839         * rt/mqueue.h: Likewise.
27840         * shadow/shadow.h: Likewise.
27841         * signal/signal.h: Likewise.
27842         * socket/send.c: Likewise.
27843         * socket/sendto.c: Likewise.
27844         * socket/sys/socket.h: Likewise.
27845         * stdio-common/printf.h: Likewise.
27846         * stdlib/bits/stdlib.h: Likewise.
27847         * stdlib/fmtmsg.h: Likewise.
27848         * stdlib/monetary.h: Likewise.
27849         * stdlib/stdlib.h: Likewise.
27850         * stdlib/ucontext.h: Likewise.
27851         * streams/stropts.h: Likewise.
27852         * string/argz.h: Likewise.
27853         * string/bits/string2.h: Likewise.
27854         * string/string.h: Likewise.
27855         * string/strings.h: Likewise.
27856         * sunrpc/rpc/auth.h: Likewise.
27857         * sunrpc/rpc/auth_des.h: Likewise.
27858         * sunrpc/rpc/clnt.h: Likewise.
27859         * sunrpc/rpc/netdb.h: Likewise.
27860         * sunrpc/rpc/pmap_clnt.h: Likewise.
27861         * sunrpc/rpc/xdr.h: Likewise.
27862         * sysdeps/generic/inttypes.h: Likewise.
27863         * sysdeps/generic/net/if.h: Likewise.
27864         * sysdeps/generic/sys/swap.h: Likewise.
27865         * sysdeps/gnu/net/if.h: Likewise.
27866         * sysdeps/gnu/utmpx.h: Likewise.
27867         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27868         * sysdeps/i386/i486/bits/string.h: Likewise.
27869         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27870         * sysdeps/s390/bits/string.h: Likewise.
27871         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27872         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27873         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27874         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27875         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27876         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27877         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27878         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27879         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27880         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27881         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27882         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27883         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27884         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27885         * sysdeps/unix/sysv/linux/readv.c: Likewise.
27886         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27887         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27889         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27890         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27891         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27892         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27893         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27894         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27895         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27896         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27897         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27898         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27899         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27900         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27901         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27902         * sysvipc/sys/ipc.h: Likewise.
27903         * sysvipc/sys/msg.h: Likewise.
27904         * sysvipc/sys/sem.h: Likewise.
27905         * sysvipc/sys/shm.h: Likewise.
27906         * termios/termios.h: Likewise.
27907         * time/sys/time.h: Likewise.
27908         * time/time.h: Likewise.
27909         * wcsmbs/bits/wchar2.h: Likewise.
27910         * wcsmbs/uchar.h: Likewise.
27911         * wcsmbs/wchar.h: Likewise.
27912         * wctype/wctype.h: Likewise.
27913
27914         [BZ #13551]
27915         * Makeconfig: Remove all but ELF support including AIX support.
27916         * Makerules: Likewise.
27917         * config.h.in: Likewise.
27918         * config.make.in: Likewise.
27919         * configure: Likewise.
27920         * configure.in: Likewise.
27921         * csu/Makefile: Likewise.
27922         * csu/version.c: Likewise.
27923         * debug/Makefile: Likewise.
27924         * dlfcn/Makefile: Likewise.
27925         * elf/Makefile: Likewise.
27926         * extra-lib.mk: Likewise.
27927         * iconv/Makefile: Likewise.
27928         * include/libc-symbols.h: Likewise.
27929         * include/shlib-compat.h: Likewise.
27930         * resolv/Makefile: Likewise.
27931         * resolv/res_libc.c: Likewise.
27932         * rt/Makefile: Likewise.
27933         * sysdeps/i386/asm-syntax.h: Likewise.
27934         * sysdeps/i386/sysdep.h: Likewise.
27935         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27936         * sysdeps/mach/sysdep.h: Likewise.
27937         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27938         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27939         * sysdeps/s390/asm-syntax.h: Likewise.
27940         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27941         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27942         * sysdeps/sh/sysdep.h: Likewise.
27943         * sysdeps/unix/sparc/sysdep.h: Likewise.
27944         * sysdeps/wordsize-32/divdi3.c: Likewise.
27945         * sysdeps/x86_64/sysdep.h: Likewise.
27946
27947         * argp/Versions: Remove _argp_unlock_xxx.
27948
27949         [BZ #13559]
27950         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
27951         * abilist/libBrokenLocale.abilist: Likewise.
27952         * abilist/libanl.abilist: Likewise.
27953         * abilist/libc.abilist: Likewise.
27954         * abilist/libcrypt.abilist: Likewise.
27955         * abilist/libdl.abilist: Likewise.
27956         * abilist/libm.abilist: Likewise.
27957         * abilist/libnsl.abilist: Likewise.
27958         * abilist/libpthread.abilist: Likewise.
27959         * abilist/libresolv.abilist: Likewise.
27960         * abilist/librt.abilist: Likewise.
27961         * abilist/libthread_db.abilist: Likewise.
27962         * abilist/libutil.abilist: Likewise.
27963         * abilist/libnss_db.abilist: New file.
27964
27965         * scripts/abilist.awk: Add support for indirect functions.
27966
27967         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27968
27969         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27970
27971         * shlib-versions: Remove entries for ports architectures.
27972
27973         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
27974         files in ports.
27975         * elf/stackguard-macros.h: Remove support for IA-64.
27976         * elf/tst-auditmod1.c: Likewise.
27977         * sysdeps/generic/ldsodefs.h: Likewise.
27978
27979         * sysdeps/unix/sysv/linux/configure.in: Ports should define
27980         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27981         configure files.
27982
27983         [BZ #13552]
27984         * configure.in: Remove --enable-omitfp support.
27985         * FAQ.in: Adjust.
27986         * config.make.in: Likewise.
27987         * Makeconfig: Likewise.
27988         * manual/install.texi: Likewise.
27989
27990         In case anyone cares, the IA-64 architecture could move to ports.
27991         * sysdeps/ia64/*: Removed.
27992         * sysdeps/unix/sysv/linux/ia64/*: Removed.
27993         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
27994
27995         [BZ #13555]
27996         * configure.in: Remove entries for unsupported architectures.
27997
27998         [BZ #13533]
27999         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28000         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
28001         routines.
28002         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28003         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28004         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
28005         fall back to using wcrtomb.
28006         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28007         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
28008         renaming.
28009         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28010         * wcsmbs/tst-c16c32-1.c: New file.
28011
28012         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28013         local variable.
28014
28015         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28016
28017         * elf/tst-unique3.cc: Add explicit declaration of gets.
28018         * elf/tst-unique3lib.cc: Likewise.
28019         * elf/tst-unique3lib2.cc: Likewise.
28020         * elf/tst-unique4.cc: Likewise.
28021
28022         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28023
28024 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
28025
28026         [BZ #13566]
28027         * assert/assert.h (static_assert): Don't define for C++.
28028         * libio/stdio.h (gets): Do declare for C++ <= C++11.
28029         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28030
28031 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
28032
28033         * iconv/loop.c (single loop): Fix assertion in storing of
28034         remaining bytes.
28035
28036         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28037
28038 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
28039
28040         * posix/getconf.c: Update copyright year.
28041         * nss/getent.c: Likewise.
28042         * nss/makedb.c: Likewise.
28043         * iconv/iconvconfig.c: Likewise.
28044         * iconv/iconv_prog.c: Likewise.
28045         * elf/ldconfig.c: Likewise.
28046         * elf/pldd.c: Likewise.
28047         * elf/sotruss.ksh: Likewise.
28048         * catgets/gencat.c: Likewise.
28049         * csu/version.c: Likewise.
28050         * elf/ldd.bash.in: Likewise.
28051         * elf/sprof.c (print_version): Likewise.
28052         * locale/programs/locale.c: Likewise.
28053         * locale/programs/localedef.c: Likewise.
28054         * login/programs/pt_chown.c: Likewise.
28055         * nscd/nscd.c (print_version): Likewise.
28056         * debug/xtrace.sh: Likewise.
28057         * malloc/memusage.sh: Likewise.
28058         * malloc/mtrace.pl: Likewise.
28059         * debug/catchsegv.sh: Likewise.
28060
28061 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
28062
28063         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28064         pure attribute.
28065
28066 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
28067
28068         [BZ #13533]
28069         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28070         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28071         transformations.
28072         * iconv/gconv_int.h: Likewise.
28073         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28074         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28075         from libc for GLIBC_2.16.
28076         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28077         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28078         * wcsmbs/uchar.h: Really define mbstate_t.
28079         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28080         * wcsmbs/c16rtomb.c: New file.
28081         * wcsmbs/mbrtoc16.c: New file.
28082         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28083         for C/POSIX locale.
28084         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28085         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28086
28087         * wcsmbs/wchar.h: Add missing __restrict.
28088
28089 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28090
28091         [BZ #13532]
28092         * time/Makefile (routines): Add timespec_get.
28093         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28094         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
28095         timespec for ISO C11.
28096         * time/timespec_get.c: New file.
28097         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28098         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28099
28100         [BZ #13531]
28101         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28102         * stdlib/stdlib.h: Declare aligned_alloc.
28103         * Versions.def: Add GLIBC_2.16 for libc.
28104         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28105
28106         [BZ 13527]
28107         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28108         ISO C11.
28109
28110         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28111         code.
28112
28113         [BZ #13528]
28114         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28115
28116         [BZ #13529]
28117         * assert/assert.h (static_assert): Define.
28118
28119         * version.h: Update for 2.16 development version.
28120
28121         [BZ #13526]
28122         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28123         _ISOC11_SOURCE.
28124
28125         * version.h (RELEASE): Bump for 2.15 release.
28126         * include/features.h (__GLIBC_MINOR__): Bump to 15.
28127
28128         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28129         Patch by Marek Polacek <mpolacek@redhat.com>.
28130
28131         * bits/byteswap.h: Protect long long constants with __extension__.
28132         * sysdeps/i386/bits/byteswap.h: Likewise.
28133         * sysdeps/ia64/bits/byteswap.h: Likewise.
28134         * sysdeps/s390/bits/byteswap.h: Likewise.
28135         * sysdeps/x86_64/bits/byteswap.h: Likewise.
28136
28137 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28138
28139         [BZ #13540]
28140         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28141         destination buffer.
28142         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28143
28144 2011-12-23  Marek Polacek  <polacek@redhat.com>
28145
28146         * elf/dl-addr.c (determine_info): Add inline keyword.
28147         * elf/tst-auditmod4b.c (check_avx): Likewise.
28148         * elf/tst-auditmod6b.c (check_avx): Likewise.
28149         * elf/tst-auditmod6c.c (check_avx): Likewise.
28150         * elf/tst-auditmod7b.c (check_avx): Likewise.
28151
28152 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
28153
28154         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28155         !__SSE_MATH__.
28156
28157 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28158
28159         [BZ #13540]
28160         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28161         processing for last bytes.
28162
28163 2011-08-06  Bruno Haible  <bruno@clisp.org>
28164
28165         [BZ #13061]
28166         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28167         U+0385, not to U+1FEE.
28168
28169         [BZ #13062]
28170         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28171         entry for U+00A5 U+0301.
28172
28173 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28174
28175         [BZ #13166]
28176         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28177         buffer for the output is too small.
28178
28179         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28180         optimization.
28181
28182         [BZ #13185]
28183         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28184         SSE flags if possible.
28185
28186 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28187
28188         [BZ #13540]
28189         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28190         processing for last bytes.
28191
28192 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
28193
28194         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28195         (syscall-list-default-options, syscall-list-default-condition)
28196         (syscall-list-includes): Define.
28197         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28198         list of ABIs and options and #if conditions for each ABI.  Do not
28199         handle common syscalls between ABIs specially.
28200         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28201         Remove.
28202         (syscall-list-variants, syscall-list-32bit-options)
28203         (syscall-list-32bit-condition, syscall-list-64bit-options)
28204         (syscall-list-64bit-condition): Define.
28205         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28206         (syscall-list-variants, syscall-list-32bit-options)
28207         (syscall-list-32bit-condition, syscall-list-64bit-options)
28208         (syscall-list-64bit-condition): Define.
28209         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28210         Remove.
28211         (syscall-list-variants, syscall-list-32bit-options)
28212         (syscall-list-32bit-condition, syscall-list-64bit-options)
28213         (syscall-list-64bit-condition): Define.
28214         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28215         Remove.
28216         (syscall-list-variants, syscall-list-32bit-options)
28217         (syscall-list-32bit-condition, syscall-list-64bit-options)
28218         (syscall-list-64bit-condition): Define.
28219
28220 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
28221
28222         * locale/iso-639.def: Add brx entry.
28223
28224         [BZ #13328]
28225         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28226         Proposed by Mariusz_Cukr <marcukr@op.pl>.
28227
28228         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28229         __feraiseexcept_renamed.
28230
28231 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28232
28233         [BZ #13538]
28234         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28235         EPOLLET with unsigned values.
28236         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28237         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28238
28239         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28240         to large cancellation.
28241         * math/s_cacoshf.c: Likewise.
28242         * math/s_cacoshl.c: Likewise.
28243
28244 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
28245
28246         [BZ #13305]
28247         [BZ #12786]
28248         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28249         * math/s_cacoshf.c: Likewise.
28250         * math/s_cacoshl.c: Likewise.
28251
28252 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
28253
28254         [BZ #13439]
28255         * iconv/gconv.h: Define __GCONV_SWAP.
28256         * iconvdata/unicode.c: The swap bit must be stored in __flags.
28257         * iconvdata/utf-16.c: Likewise.
28258         * iconvdata/utf-32.c: Likewise.
28259
28260 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28261
28262         [BZ #13524]
28263         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28264         numerator after shifting it by one limb.
28265
28266 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
28267
28268         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28269         under [__USE_EXTERN_INLINES].
28270
28271 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28272
28273         [BZ #13446]
28274         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28275
28276 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28277
28278         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28279         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28280         optimized code.
28281         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28282         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28283         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28284         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28285         for strncasecmp/strncasecmp_l compilation.
28286         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28287         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28288
28289 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
28290
28291         [BZ #13484]
28292         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28293         of __asm__.
28294
28295 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
28296
28297         [BZ #13506]
28298         * time/tzfile.c (__tzfile_read): Check values from file header.
28299
28300 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28301
28302         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28303         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28304         * powerpc/powerpc32/dl-start.S: Likewise.
28305         * powerpc/powerpc32/elf/start.S: Likewise.
28306         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28307         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28308         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28309         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28310         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28311         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28312         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28313         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28314         * powerpc/powerpc32/fpu/s_round.S: Likewise.
28315         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28316         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28317         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28318         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28319         * powerpc/powerpc32/memset.S: Likewise.
28320         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28321         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28322         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28323         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28324         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28325         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28326         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28327         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28328         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28329         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28330         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28331         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28332         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28333
28334 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28335
28336         * math/libm-test.inc: Added more nearbyint tests.
28337         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28338         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28339         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28340         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28341
28342 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
28343
28344         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28345         FD_CLOEXEC.
28346
28347 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28348
28349         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28350         Add wcscpy-ssse3 wcscpy-c.
28351         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28352         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28353         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28354         * sysdeps/x86_64/wcschr.S: New file.
28355         * sysdeps/x86_64/wcsrchr.S: New file.
28356         * string/test-strcmp.c: Remove checking of wcscmp function for
28357         wrong alignments.
28358         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28359         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28360         wcsrchr-sse2 wcsrchr-c.
28361         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28362         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28363         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28364         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28365         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28366         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28367         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28368         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28369         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28370         * wcsmbc/wcschr.c (WCSCHR): New macro.
28371
28372 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28373
28374         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28375         * wcsmbs/test-wcsrchr.c: New file.
28376         * string/test-strrchr.c: Add wcsrchr support.
28377         (WIDE): New macro.
28378         * wcsmbs/test-wcscpy.c: New file.
28379         * string/test-strcpy.c: Add wcscpy support.
28380         (WIDE): New macro.
28381
28382 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
28383
28384         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28385         the inner loop.
28386
28387 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
28388
28389         [BZ #13472]
28390         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28391
28392 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
28393
28394         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28395         Minor optimizations.
28396
28397         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28398         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28399         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28400
28401 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
28402
28403         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28404         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28405         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28406         for gcc to avoid warnings.
28407         * inet/Makefile (tests): Add tst-checks.
28408         * inet/tst-checks.c: New file.
28409
28410         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28411         warning.
28412
28413         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28414         __wmemcmp_sse2.
28415
28416         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28417         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28418
28419         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28420
28421 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
28422
28423         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28424         problem.
28425
28426         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28427
28428 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
28429
28430         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28431         conditional on GCC version.
28432         (__arch_compare_and_exchange_val_8_acq)
28433         (__arch_compare_and_exchange_val_16_acq)
28434         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28435         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28436         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28437
28438 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
28439
28440         * sysdeps/sh/backtrace.c: New file.
28441
28442 2011-12-02  Andreas Schwab  <schwab@redhat.com>
28443
28444         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
28445         parenthesis.
28446
28447 2011-12-01  Andreas Schwab  <schwab@redhat.com>
28448
28449         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28450         falling back to utime.
28451
28452 2011-11-30  Andreas Schwab  <schwab@redhat.com>
28453
28454         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28455         expectations for float.
28456
28457 2011-11-29  Andreas Schwab  <schwab@redhat.com>
28458
28459         * locale/weight.h (findidx): Add parameter len.
28460         * locale/weightwc.h (findidx): Likewise.
28461         * posix/fnmatch_loop.c (FCT): Adjust caller.
28462         * posix/regcomp.c (build_equiv_class): Likewise.
28463         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28464         * posix/regexec.c (check_node_accept_bytes): Likewise.
28465         * string/strcoll_l.c (STRCOLL): Likewise.
28466         * string/strxfrm_l.c (STRXFRM): Likewise.
28467
28468 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
28469
28470         * Makefile.in: Remove CVSOPT handling.
28471         * configure.in: Remove use of AC_REVISION.
28472         * iconvdata/Makefile (distribute): No need to filter out CVS.
28473         * scripts/list-sources.sh: Remove CVS, subversion and monotone
28474         handling.
28475
28476 2011-11-16  Andreas Schwab  <schwab@redhat.com>
28477
28478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28479         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28480         [USE_AS_STRNCASECMP_L]: Likewise.
28481         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28482         NO_TLS_DIRECT_SEG_REFS.
28483         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28484         Fix argument offsets for non-PIC.
28485         [USE_AS_STRNCASECMP_L]: Likewise.
28486         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28487         NO_TLS_DIRECT_SEG_REFS.
28488
28489 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28490
28491         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28492         O_CLOEXEC.
28493         * locale/loadlocale.c (_nl_load_locale): Likewise.
28494
28495 2011-11-15  Andreas Schwab  <schwab@redhat.com>
28496
28497         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28498         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28499         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28500         (SYSCALL_GETTIME): Set errno on error.
28501
28502         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28503         count references to noai6ai_cached.
28504
28505 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
28506
28507         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28508
28509         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28510         FD_CLOEXEC for /proc/self/maps.
28511
28512         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28513         FD_CLOEXEC for /proc/meminfo.
28514
28515         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28516         gai.conf.
28517
28518         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
28519         FD_CLOEXEC for given file.
28520
28521         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28522
28523         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28524         FD_CLOEXEC for /etc/hosts.
28525         (_gethtent): Likewise.
28526
28527         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28528
28529         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28530         cancellation and set FD_CLOEXEC for /etc/netgroup.
28531
28532         * nss/nss_files/files-key.c (search): Don't allow cancellation when
28533         reading /etc/publickey.
28534
28535         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28536         allow cancellation when reading /etc/group.
28537
28538         * nss/nss_files/files-alias.c (internal_setent): Don't allow
28539         cancellation.
28540         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
28541
28542         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28543         when using data file.
28544
28545         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28546
28547         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28548         (write_nis_obj): Use "c" and "e" in fopen.
28549
28550         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28551
28552         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28553
28554         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28555
28556         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28557
28558         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28559         locale.alias.
28560
28561         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28562
28563         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28564
28565         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28566
28567         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28568         file parsing and set FD_CLOEXEC.
28569
28570 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28571
28572         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28573
28574 2011-11-14  Andreas Schwab  <schwab@redhat.com>
28575
28576         * malloc/arena.c (arena_get2): Don't call reused_arena when
28577         _int_new_arena failed.
28578
28579 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
28580
28581         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28582         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28583         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28584         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28585         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28586         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28587         to compile strcasecmp and strncasecmp.
28588         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28589         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28590
28591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28592
28593 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
28594
28595         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28596         locale-defines.sym to gen-as-const-headers.
28597         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28598         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28600         to compile strcasecmp and strncasecmp.
28601         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28602         strcasecmp_l and strncasecmp_l.
28603         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28604         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28605         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28606         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28607         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28608         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28609         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28610         * sysdeps/i386/i686/multiarch/strncase.S: New file.
28611         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28612         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28613         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28614
28615 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
28616
28617         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28618         result of SYSDEP_GETTIME_CPU to retval.
28619         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28620         parameter list to macro.  Remove trailing semicolon.  Adjust users.
28621
28622         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28623         variable.
28624
28625         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28626         mantissa words.
28627         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28628
28629         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28630         from unused variable.
28631
28632         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28633         DWARF definitions.
28634         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28635         for assembling.
28636
28637         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28638         over namespaces.
28639
28640         * sunrpc/rpc_prot.c (rejected): Fix case value.
28641
28642         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28643         unsigned long long int to avoid warnings in shift.
28644
28645         * posix/regex_internal.c (re_string_reconstruct): Actually use result
28646         of use of trans.
28647         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28648         variable tmp.
28649
28650         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28651         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28652         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28653
28654         * nis/nis_table.c (nis_list): Use variable of correct type for
28655         result of __follow_path call.
28656
28657 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28658
28659         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28660         of math functions ceil, trunc, floor, round, and sqrt, when
28661         avaliable on the platform.
28662         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28663         name clash.
28664         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28665         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28666         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28667
28668 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
28669
28670         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28671         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28672
28673 2011-11-11  Roland McGrath  <roland@hack.frob.com>
28674
28675         * include/unistd.h: Fix __readlink return type.
28676         Reported by Chris Metcalf <cmetcalf@tilera.com>.
28677
28678 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
28679
28680         * stdlib/ucontext.h: Undo last change for makecontext.
28681
28682 2011-11-11  Andreas Schwab  <schwab@redhat.com>
28683
28684         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28685
28686         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28687         * setjmp/setjmp.h: Mark functions as non-leaf.
28688         * setjmp/bits/setjmp2.h: Likewise.
28689         * stdlib/ucontext.h: Likewise.
28690
28691 2011-11-10  Andreas Schwab  <schwab@redhat.com>
28692
28693         * malloc/arena.c (_int_new_arena): Don't increment narenas.
28694         (reused_arena): Don't check arena limit.
28695         (arena_get2): Atomically check arena limit.
28696
28697 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
28698
28699         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28700         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28701
28702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28703         instructions.
28704
28705 2011-11-07  Andreas Schwab  <schwab@redhat.com>
28706
28707         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28708         handler when locking.
28709
28710         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28711         Fix size of allocated buffer.
28712
28713 2011-11-04  Andreas Schwab  <schwab@redhat.com>
28714
28715         [BZ #10103]
28716         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28717         declarations for long double functions.
28718         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28719
28720         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28721
28722 2011-11-03  Andreas Schwab  <schwab@redhat.com>
28723
28724         * nscd/nscd.c (main): Don't start AVC thread until credentials are
28725         installed.
28726
28727         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28728         is disabled.
28729
28730 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28731
28732         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28733
28734 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28735
28736         * include/alloca.h (stackinfo_alloca_round): Define.
28737         (extend_alloca): Use it.
28738         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28739         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28740         here.
28741
28742         * scripts/check-local-headers.sh: Ignore libaudit.h.
28743
28744         * nscd/Makefile (extra-objs): Make recursively expanded.
28745
28746 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
28747
28748         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28749         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28750
28751         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28752         * posix/tst-rfc3484-2.c: Likewise.
28753         * posix/tst-rfc3484-3.c: Likewise.
28754
28755         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28756         process_vm_writev.
28757         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28758         process_vm_writev.
28759         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28760         process_vm_writev from libc using GLIBC_2.15 version.
28761
28762         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28763
28764 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
28765
28766         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28767         stack usage.
28768
28769 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
28770
28771         [BZ #13367]
28772         * nss/getent.c (initgroups_keys): Show error message in case no group
28773         names are given.
28774
28775         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28776         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28777         __bump_nl_timestamp.
28778         * nscd/connections (nscd_init): When host database is served open
28779         netlink socket and request notification about configuration changes.
28780         (main_loop_poll): Track netlink file descriptor and bump timestamp
28781         in case data becomes available.
28782         (main_loop_epoll): Likewise.
28783         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28784         (database_pers_head): Add extra_data fileds.
28785         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28786         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28787         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28788         Adjust caller.
28789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28790         in6ai data, call __free_in6ai.
28791         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28792         Add -DHAVE_NETLINK.
28793         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
28794         interface information.  Reuse previous data if netlink timestamp
28795         is not changed.
28796         (__bump_nl_timestamp): New function.
28797         (__free_in6ai): New function.
28798
28799 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
28800
28801         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28802         close_not_cancel_no_status here.
28803         (__check_pf): Reorganize code a bit to not call close twice if OOM.
28804
28805 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28806
28807         [BZ #13276]
28808         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28809         return value.
28810
28811         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28812         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28813         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28814
28815 2011-07-03  Andreas Jaeger  <aj@suse.de>
28816
28817         [BZ #10709]
28818         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28819         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28820         * math/libm-test.inc (sin_test): Add test case.
28821
28822 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
28823
28824         [BZ #13337]
28825         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28826         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28827
28828         * elf/chroot_canon.c (chroot_canon): Cleanups.
28829
28830         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28831
28832         [BZ #13335]
28833         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28834         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28835
28836         * string/test-strchr.c: Make usable for strchrnul testing.
28837         * string/test-strchrnul.c: New file.
28838         * string/Makefile (strop-tests): Add strchrnul.
28839
28840         * po/it.po: Update from translation team.
28841         * po/es.po: Likewise.
28842
28843 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
28844
28845         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28846         the three constants needed as parameters.  Drop the others.
28847         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28848         __m128i_strloadu_tolower.
28849         Create and initialize variable zero and use it in all the places
28850         where _mm_setzero_si128 was used.
28851
28852         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28853         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28854         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28855         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28856         anymore.
28857         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28858         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28859         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28860         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28861         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28862         __mpranred, __mptan.
28863         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28864         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28865         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28866         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28867         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28868         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28869         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28870         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28871         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28872
28873 2011-10-28  Andreas Schwab  <schwab@redhat.com>
28874
28875         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28876         redefine if SHARED.
28877         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28878
28879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28880         wide char related routines to wcsmbs subdir.
28881
28882 2011-10-27  Andreas Schwab  <schwab@redhat.com>
28883
28884         [BZ #13344]
28885         * misc/sys/cdefs.h (__THROWNL): Define.
28886         * posix/unistd.h: Use __THREADNL instead of __THREAD
28887         for memory synchronization functions.
28888
28889 2011-10-26  Roland McGrath  <roland@hack.frob.com>
28890
28891         [BZ #13349]
28892         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28893         doesn't exist.
28894         * manual/stdio.texi (Obstack Streams): Node removed.
28895
28896 2011-10-26  Andreas Schwab  <schwab@redhat.com>
28897
28898         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28899         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28900         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28901
28902         * math/math_private.h (math_force_eval): Allow non-addressable
28903         arguments.
28904         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28905
28906 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28907
28908         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28909         file is not needed.
28910
28911         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28913         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28914         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28915         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28916         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28917         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28918         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28919         Add AVX variants.
28920         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28921         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28922         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28923         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28924         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28925         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28926         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28927         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28928         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28929         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28930         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28931         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28932         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28933         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28934         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28935         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28936         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28937         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28938         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28939
28940         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28941         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
28942
28943         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28944         place.  Use VEX encoding when compiling for AVX.
28945
28946 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28947
28948         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28949         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28950
28951         * string/test-strchr.c (do_test): Don't generate NUL bytes.
28952
28953 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28954
28955         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28956         useless if() expression.
28957         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28959         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28960         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28961         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28962         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28963         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28964         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28965         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28966         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28968         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28969         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28970         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28971         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28972         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28973         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28974         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28975         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28976
28977         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28978
28979 2011-10-25  Andreas Schwab  <schwab@redhat.com>
28980
28981         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28982         condition.
28983         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28984
28985 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
28986
28987         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28988         .text section.  Avoid duplicate constants.
28989         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28994         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28999         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29001         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29004         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29006         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29012         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29013         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29014         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29015         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29016         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29017         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29018         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29019         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29020         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29021         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29022         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29023         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29024         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29025         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29026         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29027         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29028         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29029         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29030         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29031         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29032         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29033         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29034
29035 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
29036
29037         * sysdeps/x86_64/dla.h: Move to ...
29038         * sysdeps/x86_64/fpu/dla.h: ...here.
29039         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29040         situations.  Use __builtin_fma only for gcc 4.6 and up.
29041
29042         * config.make.in: Add have-mfma4 entry.
29043         * configure.in: Substitute libc_cv_cc_fma4.
29044         * math/Makefile (dbl-only-routines): Add sincostab.
29045         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29046         Use __sincostab not sincos.
29047         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29048         name is a macro.
29049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
29053         using __copysign.
29054         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
29055         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
29056         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29057         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29058         and __inv.
29059         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29060         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29061         __copysign.
29062         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
29063         define aliases when function name is a macro.
29064         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29065         sysdeps/ieee754/dbl-64/sincos.tbl.
29066         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29067         fma4-enabled routines.
29068         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29069         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29070         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29071         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29072         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29073         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29074         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29075         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29076         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29077         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29078         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29079         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29080         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29081         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29082         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29083         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29084         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29085         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29086         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29087         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29088         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29089         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29091         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29092         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29093         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29095         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29096         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29097         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29098
29099         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29100         rename.
29101         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29109
29110 2011-10-24  Andreas Schwab  <schwab@redhat.com>
29111
29112         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29113
29114 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29115
29116         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29117
29118         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29119         prediction.
29120         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29121
29122         * string/strnlen.c: Don't define STRNLEN, reverse logic.
29123         Remove unused variable magic_bits.
29124         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29125
29126         * string/strnlen.c: Define and use STRNLEN macro.
29127         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29128         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29129         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29130         * wcsmbs/wcslen.c: Define and use WCSLEN.
29131         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29132         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29133         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29134         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29135         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29136         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29137         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29138
29139 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29140
29141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29142         strnlen-sse2-no-bsf.
29143         Rename strlen-no-bsf to strlen-sse2-no-bsf.
29144         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29145         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29146         Add strnlen support.
29147         (USE_AS_STRNLEN): New macro.
29148         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29149         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29150         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29151         * sysdeps/x86_64/wcslen.S: New file.
29152
29153 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
29154
29155         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29156         XMM-moves are used for copying on small sizes.
29157
29158 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29159
29160         * wcsmbs/Makefile (strop-tests): Add wcschr.
29161         * wcsmbs/test-wcschr.c: New file.
29162         * string/test-strchr.c: Update.
29163         Add wcschr support.
29164         (WIDE): New macro.
29165
29166 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29167
29168         * wcsmbs/Makefile (strop-tests): Add wcslen.
29169         * wcsmbs/test-wcslen.c: New file.
29170         * string/test-strlen.c: Update.
29171         Add wcslen support.
29172         (WIDE): New macro.
29173
29174 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29175
29176         * po/it.po: Update from translation team.
29177
29178 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29179
29180         * sysdeps/x86_64/wcscmp.S: Update.
29181         Fix wrong comparison semantics.
29182         wcscmp shall use signed comparison not unsigned.
29183         Don't use substraction to avoid overflow bug.
29184         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29185         * wcsmbc/wcscmp.c: Likewise.
29186         * string/test-strcmp.c: Likewise.
29187         Add new tests to check cases with negative values.
29188
29189 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
29190
29191         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29192         * sysdeps/x86_64/dla.h: ...here.  New file.
29193         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29194         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29195         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29196         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29201         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29202
29203 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
29204
29205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29206         __ynl_finite aliases.
29207
29208 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29209
29210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29211
29212         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29213         define DLA_FMA.
29214         [DLA_FMA] (EMULV): Use DLA_FMA.
29215         [DLA_FMA] (MUL12): Use EMULV.
29216         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29217         that are not needed.
29218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29220         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29221         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29225
29226 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
29227
29228         * math/s_nan.c: Undef __nan.
29229         * math/s_nanf.c: Undef __nanf.
29230         * math/s_nanl.c: Undef __nanl.
29231         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29232         "math_private.h".
29233
29234 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
29235
29236         * math/s_catan.c: Add branch predictions.
29237         * math/s_catanf.c: Likewise.
29238         * math/s_catanh.c: Likewise.
29239         * math/s_catanhf.c: Likewise.
29240         * math/s_catanhl.c: Likewise.
29241         * math/s_catanl.c: Likewise.
29242         * math/s_cexp.c: Likewise.
29243         * math/s_cexpf.c: Likewise.
29244         * math/s_cexpl.c: Likewise.
29245         * math/s_clog.c: Likewise.
29246         * math/s_clog10.c: Likewise.
29247         * math/s_clog10f.c: Likewise.
29248         * math/s_clog10l.c: Likewise.
29249         * math/s_clogf.c: Likewise.
29250         * math/s_clogl.c: Likewise.
29251         * math/s_csqrt.c: Likewise.
29252         * math/s_csqrtf.c: Likewise.
29253         * math/s_csqrtl.c: Likewise.
29254         * math/s_ctanf.c: Likewise.
29255         * math/s_ctanh.c: Likewise.
29256         * math/s_ctanhf.c: Likewise.
29257         * math/s_ctanhl.c: Likewise.
29258         * math/s_ctanl.c: Likewise.
29259
29260         * math/math_private.h: Define __nan, __nanf, __nanl.
29261         * math/s_cacosh.c: Include <math_private.h>.
29262         * math/s_cacoshl.c: Likewise.
29263         * math/s_casinh.c: Likewise.
29264         * math/s_casinhf.c: Likewise.
29265         * math/s_casinhl.c: Likewise.
29266         * math/s_ccos.c: Rely entire on ccosh.
29267         * math/s_ccosf.c: Rely entire on ccoshf.
29268         * math/s_ccosl.c: Rely entirely on ccoshl.
29269         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
29270         Remove tests for FE_INVALID.
29271         * math/s_ccoshf.c: Likewise.
29272         * math/s_ccoshl.c: Likewise.
29273         * math/s_csin.c: Likewise.
29274         * math/s_csinf.c: Likewise.
29275         * math/s_csinh.c Likewise.
29276         * math/s_csinhf.c: Likewise.
29277         * math/s_csinhl.c: Likewise.
29278         * math/s_csinl.c: Likewise.
29279         * math/s_ctan.c: Likewise.
29280         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29281         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29282         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29283
29284 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
29285
29286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29287         compilation problems.
29288
29289         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29290         __builtin_expect.
29291
29292 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
29293
29294         * sysdeps/i386/configure.in: Test for -mfma4 option.
29295         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29296         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29297         COMMON_CPUID_INDEX_80000001.
29298         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29299         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29300         use it if FMA3 is not supported.
29301         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29302
29303         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29304         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29305
29306 2011-10-20  Andreas Schwab  <schwab@redhat.com>
29307
29308         [BZ #12892]
29309         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29310         it would create a cycle with a link time dependency.
29311
29312 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
29313
29314         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29315         instruction.
29316         * string/Makefile (strop-tests): Add rawmemchr.
29317         * string/test-rawmemchr.c: New file.
29318
29319         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29320         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
29321         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
29322         when compiling str{,n}casecmp and when AVX is available.  Hook up
29323         new optimized code in initializers.
29324
29325 2011-10-19  Andreas Schwab  <schwab@redhat.com>
29326
29327         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29328         __feraiseexcept instead of feraiseexcept.
29329
29330 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
29331
29332         * math/math_private.h: Define defaults for libc_fetestexcept and
29333         libc_feupdateenv.
29334         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29335         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29336         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29337         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29338         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29339         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29340         libc_fetestexcept and libc_feupdateenv.
29341
29342         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29343         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29344         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29345         * sysdeps/x86_64/fpu/math_private.h: Define special version of
29346         libc_feholdexcept_setround.
29347
29348         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29349         Add s_nearbyint-c and s_nearbyintf-c.
29350         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29351         nearbyintf inlines.
29352         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29353         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29354         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29355         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29356
29357         * math/math_private.h: Define defaults for libc_fegetround,
29358         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29359         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29360         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29362         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29363         standard functions.
29364         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29365         Remove comments and hacks for old compiler versions.
29366         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29367         libc_fegetround, libc_fesetround, libc_feholdexcept, and
29368         libc_feholdexceptl.
29369
29370 2011-10-18  Andreas Schwab  <schwab@redhat.com>
29371
29372         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29373         (__feraiseexcept_renamed): Add __NTH.
29374         (feraiseexcept): Add __NTH.  Rename local variables to fix
29375         namespace violations.
29376
29377 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
29378
29379         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29380
29381         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29382
29383         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29384         recently added interfaces.
29385         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29386
29387         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29388         about macro parameter expansion.
29389
29390         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29391         __NO_MATH_INLINES is defined.  Cleanups.
29392
29393         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29394         and __floorf is target has SSE4.1.
29395         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29396         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29397         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29398         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29399
29400         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29401         name.
29402         (floorf): Likewise.
29403
29404         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29405
29406 2011-10-17  Andreas Schwab  <schwab@redhat.com>
29407
29408         * misc/sys/cdefs.h: Fix last change.
29409
29410         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29411         database lookup.
29412
29413 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
29414
29415         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29416
29417         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29418         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29419         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29420         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29422         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29423         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29424         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29425         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29426         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29427         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29428         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29429         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29430         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29431         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29432         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29433         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29434         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29435         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29436         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29437         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29438         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29439
29440         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29441         ceil, ceilf, floor, floorf.
29442
29443         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29444         Perform IRELATIVE relocations last.
29445
29446         * elf/do-rel.h: Add another parameter nrelative, replacing the
29447         local variable with the same name.  Change name of the function
29448         to end in Rel or Rela (uppercase).
29449         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29450         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
29451         elf_dynamic_do_##reloc function.
29452
29453 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29454
29455         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29456         is sufficient, at least on modern CPUs.
29457
29458         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29459
29460         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29461         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29462
29463         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29464         __expl_finite.
29465         * math/bits/math-finite.h: Add entries for exp.
29466         * math/e_expl.c: Add __*_finite alias.
29467         * sysdeps/i386/fpu/e_exp.S: Likewise.
29468         * sysdeps/i386/fpu/e_expf.S: Likewise.
29469         * sysdeps/i386/fpu/e_expl.c: Likewise.
29470         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29471         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29472         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29474         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29475         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29476         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29477
29478         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29479         is sufficient, at least on modern CPUs.
29480
29481         * ctype/ctype-info.c (__ctype_init): Define.
29482         * include/ctype.h (__ctype_init): Declare.
29483         (__ctype_b_loc): The variable is always initialized.
29484         (__ctype_toupper_loc): Likewise.
29485         (__ctype_tolower_loc): Likewise.
29486         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29487         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29488
29489 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
29490
29491         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29492
29493         * configure.in: Also look in $cxxmachine/include for C++ system
29494         headers.
29495
29496 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29497
29498         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29499         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29500         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29501         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
29502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29503         (USE_AS_WMEMCMP): New macro.
29504         Fixing indents.
29505         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29506         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29507         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29508         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29510         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29511         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29512         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29513         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29514         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29515         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29516         (USE_AS_WMEMCMP): New macro.
29517         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29518         * sysdeps/string/test-memcmp.c: Update.
29519         Fix simple_wmemcmp.
29520         Add new tests.
29521         * wcsmbs/wmemcmp.c: Update.
29522         (WMEMCMP): New macro.
29523         Fix overflow bug.
29524
29525 2011-10-12  Andreas Jaeger  <aj@suse.de>
29526
29527         [BZ #13268]
29528         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29529
29530 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
29531
29532         * libio/iofwide.c (do_length): Avoid warning.
29533
29534         * ctype/ctype.h (__isctype_f): Add missing __THROW.
29535
29536 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
29537
29538         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29539
29540         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29541         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29542         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29543         * sysdeps/i386/i686/fpu/e_log.S: New file.
29544         * sysdeps/i386/i686/fpu/e_logf.S: New file.
29545         * sysdeps/i386/i686/fpu/e_logl.S: New file.
29546
29547         * ctype/ctype.h: Add support for inlined isXXX functions when
29548         compiling C++ code.
29549
29550 2011-10-14  Andreas Schwab  <schwab@redhat.com>
29551
29552         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29553
29554         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29555
29556 2011-10-13  Roland McGrath  <roland@hack.frob.com>
29557
29558         [BZ #13291]
29559         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29560
29561 2011-10-13  Andreas Schwab  <schwab@redhat.com>
29562
29563         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29564         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29565         feraiseexcept.
29566
29567         * sysdeps/x86_64/memrchr.S: Check for zero size.
29568
29569         * string/stratcliff.c: Add memrchr tests.
29570
29571 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29572
29573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29574         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29575         rawmemchr-sse2 rawmemchr-sse2-bsf.
29576         * sysdeps/i386/i686/multiarch/memchr.S: New file.
29577         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29578         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29579         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29580         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29581         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29582         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29583         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29584         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29585         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29586         * string/memrchr.c (MEMRCHR): New macro.
29587
29588 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
29589
29590         Add integration with gcc's -ffinite-math-only and optimize wrapper
29591         functions in libm.
29592         * Versions.def: Define GLIBC_2.15 version for libm.
29593         * math/Makefile (headers): Add bits/math-finite.h.
29594         * math/bits/math-finite.h: New file.
29595         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29596         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29597         * math/e_acoshl.c: Add __*_finite alias.
29598         * math/e_acosl.c: Likewise.
29599         * math/e_asinl.c: Likewise.
29600         * math/e_atan2l.c: Likewise.
29601         * math/e_atanhl.c: Likewise.
29602         * math/e_coshl.c: Likewise.
29603         * math/e_exp10.c: Likewise.
29604         * math/e_exp10f.c: Likewise.
29605         * math/e_exp10l.c: Likewise.
29606         * math/e_exp2l.c: Likewise.
29607         * math/e_fmodl.c: Likewise.
29608         * math/e_gammal_r.c: Likewise.
29609         * math/e_hypotl.c: Likewise.
29610         * math/e_j0l.c: Likewise.
29611         * math/e_j1l.c: Likewise.
29612         * math/e_jnl.c: Likewise.
29613         * math/e_lgammal_r.c: Likewise.
29614         * math/e_log10l.c: Likewise.
29615         * math/e_log2l.c: Likewise.
29616         * math/e_logl.c: Likewise.
29617         * math/e_powl.c: Likewise.
29618         * math/e_sinhl.c: Likewise.
29619         * math/e_sqrtl.c: Likewise.
29620         * math/e_scalb.c: Completely rewritten and optimized.
29621         * math/e_scalbf.c: Likewise.
29622         * math/e_scalbl.c: Likewise.
29623         * math/w_acos.c: Likewise.
29624         * math/w_acosf.c: Likewise.
29625         * math/w_acosl.c: Likewise.
29626         * math/w_acosh.c: Likewise.
29627         * math/w_acoshf.c: Likewise.
29628         * math/w_acoshl.c: Likewise.
29629         * math/w_asin.c: Likewise.
29630         * math/w_asinf.c: Likewise.
29631         * math/w_asinl.c: Likewise.
29632         * math/w_atan2.c: Likewise.
29633         * math/w_atan2f.c: Likewise.
29634         * math/w_atan2l.c: Likewise.
29635         * math/w_atanh.c: Likewise.
29636         * math/w_atanhf.c: Likewise.
29637         * math/w_atanhl.c: Likewise.
29638         * math/w_exp10.c: Likewise.
29639         * math/w_exp10f.c: Likewise.
29640         * math/w_exp10l.c: Likewise.
29641         * math/w_fmod.c: Likewise.
29642         * math/w_fmodf.c: Likewise.
29643         * math/w_fmodl.c: Likewise.
29644         * math/w_j0.c: Likewise.
29645         * math/w_j0f.c: Likewise.
29646         * math/w_j0l.c: Likewise.
29647         * math/w_j1.c: Likewise.
29648         * math/w_j1f.c: Likewise.
29649         * math/w_j1l.c: Likewise.
29650         * math/w_jn.c: Likewise.
29651         * math/w_jnf.c: Likewise.
29652         * math/w_log.c: Likewise.
29653         * math/w_logf.c: Likewise.
29654         * math/w_logl.c: Likewise.
29655         * math/w_log10.c: Likewise.
29656         * math/w_log10f.c: Likewise.
29657         * math/w_log10l.c: Likewise.
29658         * math/w_log2.c: Likewise.
29659         * math/w_log2f.c: Likewise.
29660         * math/w_log2l.c: Likewise.
29661         * math/w_pow.c: Likewise.
29662         * math/w_powf.c: Likewise.
29663         * math/w_powl.c: Likewise.
29664         * math/w_remainder.c: Likewise.
29665         * math/w_remainderf.c: Likewise.
29666         * math/w_remainderl.c: Likewise.
29667         * math/w_scalb.c: Likewise.
29668         * math/w_scalbf.c: Likewise.
29669         * math/w_scalbl.c: Likewise.
29670         * math/w_sqrt.c: Likewise.
29671         * math/w_sqrtf.c: Likewise.
29672         * math/w_sqrtl.c: Likewise.
29673         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29674         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
29675         used.
29676         * math/math_private.h: Declare __kernel_standard_f.
29677         * math/w_cosh.c: Remove cruft and optimize a bit.
29678         * math/w_coshf.c: Likewise.
29679         * math/w_coshl.c: Likewise.
29680         * math/w_exp2.c: Likewise.
29681         * math/w_exp2f.c: Likewise.
29682         * math/w_exp2l.c: Likewise.
29683         * math/w_hypot.c: Likewise.
29684         * math/w_hypotf.c: Likewise.
29685         * math/w_hypotl.c: Likewise.
29686         * math/w_lgamma.c: Likewise.
29687         * math/w_lgamma_r.c: Likewise.
29688         * math/w_lgammaf.c: Likewise.
29689         * math/w_lgammaf_r.c: Likewise.
29690         * math/w_lgammal.c: Likewise.
29691         * math/w_lgammal_r.c: Likewise.
29692         * math/w_sinh.c: Likewise.
29693         * math/w_sinhf.c: Likewise.
29694         * math/w_sinhl.c: Likewise.
29695         * math/w_tgamma.c: Likewise.
29696         * math/w_tgammaf.c: Likewise.
29697         * math/w_tgammal.c: Likewise.
29698         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29699         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29700         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29701         Minor optimizations.  Pretty printing.  Remove cruft.
29702         * sysdeps/i386/fpu/e_acosf.S: Likewise.
29703         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29704         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29705         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29706         * sysdeps/i386/fpu/e_acosl.c: Likewise.
29707         * sysdeps/i386/fpu/e_asin.S: Likewise.
29708         * sysdeps/i386/fpu/e_asinf.S: Likewise.
29709         * sysdeps/i386/fpu/e_atan2.S: Likewise.
29710         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29711         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29712         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29713         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29714         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29715         * sysdeps/i386/fpu/e_exp10.S: Likewise.
29716         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29717         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29718         * sysdeps/i386/fpu/e_exp2.S: Likewise.
29719         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29720         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29721         * sysdeps/i386/fpu/e_fmod.S: Likewise.
29722         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29723         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29724         * sysdeps/i386/fpu/e_hypot.S: Likewise.
29725         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29726         * sysdeps/i386/fpu/e_log.S: Likewise.
29727         * sysdeps/i386/fpu/e_log10.S: Likewise.
29728         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29729         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29730         * sysdeps/i386/fpu/e_log2.S: Likewise.
29731         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29732         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29733         * sysdeps/i386/fpu/e_logf.S: Likewise.
29734         * sysdeps/i386/fpu/e_logl.S: Likewise.
29735         * sysdeps/i386/fpu/e_pow.S: Likewise.
29736         * sysdeps/i386/fpu/e_powf.S: Likewise.
29737         * sysdeps/i386/fpu/e_powl.S: Likewise.
29738         * sysdeps/i386/fpu/e_remainder.S: Likewise.
29739         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29740         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29741         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29742         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29743         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29744         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29745         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29746         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29747         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29748         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29750         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29752         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29753         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29754         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29755         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29756         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29757         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29758         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29760         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29761         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29762         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29763         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29764         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29765         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29767         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29768         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29769         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29770         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29771         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29772         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29773         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29774         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29775         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29776         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29777         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29778         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29779         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29781         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29782         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29783         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29784         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29785         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29786         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29787         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29788         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29789         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29790         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29791         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29792         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29795         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29796         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29797         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29799         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29802         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29803         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29804         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29805         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29806         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29807         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29808         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29811         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29812         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29814         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29815         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29818         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29819         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29820         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29821         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29822         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29823         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29824         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29825         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29826         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29827         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29828         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29829         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29830         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29831         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29832         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29833         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29834         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29835         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29836         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29837         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29838         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29839         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29840         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29841         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29842         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29843         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29844         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29845         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29846         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29847         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29848         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29849         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29850         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29851         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29852         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29853         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29854         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29855         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29856         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29857         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
29858         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29859         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29860         (__isnanf): Likewise.
29861         (__isinf_ns): Likewise.
29862         (__isinf_nsf): Likewise.
29863         (__finite): Likewise.
29864         (__finitef): Likewise.
29865         (__ieee754_sqrt): Define as macro.
29866         (__ieee754_sqrtf): Define as macro.
29867         (__ieee754_sqrtl): Define as macro.
29868         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29869         inlined copy.
29870         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29871         __FINITE_MATH_ONLY__ consistent.
29872         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29873
29874 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
29875
29876         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29877         of rawmemchr.
29878
29879         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29880
29881 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
29882
29883         * po/ja.po: Update from translation team.
29884
29885 2011-10-08  Roland McGrath  <roland@hack.frob.com>
29886
29887         * locale/programs/locarchive.c (prepare_address_space): New function.
29888         (create_archive, enlarge_archive, open_archive): Use it.
29889
29890         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29891         inside [SHARED], where it is used.
29892
29893         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29894
29895         * nss/getent.c (netgroup_keys): Remove unused variable.
29896         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29897
29898 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
29899
29900         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29901         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29903         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29904         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29905         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29906         * math/Makefile (libm-calls): Add s_isinf_ns.
29907         * math/divtc3.c: Use __isinf_nsl instead of isinf.
29908         * math/multc3.c: Likewise.
29909         * math/s_casin.c: Likewise.
29910         * math/s_casinf.c: Likewise.
29911         * math/s_casinl.c: Likewise.
29912         * math/s_ccos.c: Likewise.
29913         * math/s_ccosf.c: Likewise.
29914         * math/s_ccosl.c: Likewise.
29915         * math/s_ctan.c: Likewise.
29916         * math/s_ctanf.c: Likewise.
29917         * math/s_ctanh.c: Likewise.
29918         * math/s_ctanhf.c: Likewise.
29919         * math/s_ctanhl.c: Likewise.
29920         * math/s_ctanl.c: Likewise.
29921         * math/w_fmod.c: Likewise.
29922         * math/w_fmodf.c: Likewise.
29923         * math/w_fmodl.c: Likewise.
29924         * math/w_remainder.c: Likewise.
29925         * math/w_remainderf.c: Likewise.
29926         * math/w_remainderl.c: Likewise.
29927         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29928         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29929         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29930         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29931         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29932         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29933         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29934         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29935
29936         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29937         of the number.
29938         * stdio-common/printf_fphex.c: Likewise.
29939         * stdio-common/printf_size.c: Likewise.
29940
29941         * math/e_exp10.c: Include math_private.h using <...> not "...".
29942         * math/e_exp10f.c: Likewise.
29943         * math/e_exp10l.c: Likewise.
29944         * math/e_exp2l.c: Likewise.
29945         * math/e_j0l.c: Likewise.
29946         * math/e_j1l.c: Likewise.
29947         * math/e_jnl.c: Likewise.
29948         * math/e_lgammal_r.c: Likewise.
29949         * math/e_rem_pio2l.c: Likewise.
29950         * math/e_scalb.c: Likewise.
29951         * math/e_scalbf.c: Likewise.
29952         * math/e_scalbl.c: Likewise.
29953         * math/k_cosl.c: Likewise.
29954         * math/k_sinl.c: Likewise.
29955         * math/k_tanl.c: Likewise.
29956         * math/s_cacoshf.c: Likewise.
29957         * math/s_catan.c: Likewise.
29958         * math/s_catanf.c: Likewise.
29959         * math/s_catanh.c: Likewise.
29960         * math/s_catanhf.c: Likewise.
29961         * math/s_catanhl.c: Likewise.
29962         * math/s_catanl.c: Likewise.
29963         * math/s_ccosh.c: Likewise.
29964         * math/s_ccoshf.c: Likewise.
29965         * math/s_ccoshl.c: Likewise.
29966         * math/s_cexp.c: Likewise.
29967         * math/s_cexpf.c: Likewise.
29968         * math/s_cexpl.c: Likewise.
29969         * math/s_clog.c: Likewise.
29970         * math/s_clog10.c: Likewise.
29971         * math/s_clog10f.c: Likewise.
29972         * math/s_clog10l.c: Likewise.
29973         * math/s_clogf.c: Likewise.
29974         * math/s_clogl.c: Likewise.
29975         * math/s_csin.c: Likewise.
29976         * math/s_csinf.c: Likewise.
29977         * math/s_csinh.c: Likewise.
29978         * math/s_csinhf.c: Likewise.
29979         * math/s_csinhl.c: Likewise.
29980         * math/s_csinl.c: Likewise.
29981         * math/s_csqrt.c: Likewise.
29982         * math/s_csqrtf.c: Likewise.
29983         * math/s_csqrtl.c: Likewise.
29984         * math/s_ctan.c: Likewise.
29985         * math/s_ctanf.c: Likewise.
29986         * math/s_ctanh.c: Likewise.
29987         * math/s_ctanhf.c: Likewise.
29988         * math/s_ctanhl.c: Likewise.
29989         * math/s_ctanl.c: Likewise.
29990         * math/s_ldexp.c: Likewise.
29991         * math/s_ldexpf.c: Likewise.
29992         * math/s_ldexpl.c: Likewise.
29993         * math/s_significand.c: Likewise.
29994         * math/s_significandf.c: Likewise.
29995         * math/s_significandl.c: Likewise.
29996         * math/w_acos.c: Likewise.
29997         * math/w_acosf.c: Likewise.
29998         * math/w_acosh.c: Likewise.
29999         * math/w_acoshf.c: Likewise.
30000         * math/w_acoshl.c: Likewise.
30001         * math/w_acosl.c: Likewise.
30002         * math/w_asin.c: Likewise.
30003         * math/w_asinf.c: Likewise.
30004         * math/w_asinl.c: Likewise.
30005         * math/w_atan2.c: Likewise.
30006         * math/w_atan2f.c: Likewise.
30007         * math/w_atan2l.c: Likewise.
30008         * math/w_atanh.c: Likewise.
30009         * math/w_atanhf.c: Likewise.
30010         * math/w_atanhl.c: Likewise.
30011         * math/w_cosh.c: Likewise.
30012         * math/w_coshf.c: Likewise.
30013         * math/w_coshl.c: Likewise.
30014         * math/w_dremf.c: Likewise.
30015         * math/w_exp10.c: Likewise.
30016         * math/w_exp10f.c: Likewise.
30017         * math/w_exp10l.c: Likewise.
30018         * math/w_exp2.c: Likewise.
30019         * math/w_exp2f.c: Likewise.
30020         * math/w_fmod.c: Likewise.
30021         * math/w_fmodf.c: Likewise.
30022         * math/w_fmodl.c: Likewise.
30023         * math/w_hypot.c: Likewise.
30024         * math/w_hypotf.c: Likewise.
30025         * math/w_hypotl.c: Likewise.
30026         * math/w_j0.c: Likewise.
30027         * math/w_j0f.c: Likewise.
30028         * math/w_j0l.c: Likewise.
30029         * math/w_j1.c: Likewise.
30030         * math/w_j1f.c: Likewise.
30031         * math/w_j1l.c: Likewise.
30032         * math/w_jn.c: Likewise.
30033         * math/w_jnf.c: Likewise.
30034         * math/w_jnl.c: Likewise.
30035         * math/w_lgamma.c: Likewise.
30036         * math/w_lgamma_r.c: Likewise.
30037         * math/w_lgammaf.c: Likewise.
30038         * math/w_lgammaf_r.c: Likewise.
30039         * math/w_lgammal.c: Likewise.
30040         * math/w_lgammal_r.c: Likewise.
30041         * math/w_log.c: Likewise.
30042         * math/w_log10.c: Likewise.
30043         * math/w_log10f.c: Likewise.
30044         * math/w_log10l.c: Likewise.
30045         * math/w_log2.c: Likewise.
30046         * math/w_log2f.c: Likewise.
30047         * math/w_log2l.c: Likewise.
30048         * math/w_logf.c: Likewise.
30049         * math/w_logl.c: Likewise.
30050         * math/w_pow.c: Likewise.
30051         * math/w_powf.c: Likewise.
30052         * math/w_powl.c: Likewise.
30053         * math/w_remainder.c: Likewise.
30054         * math/w_remainderf.c: Likewise.
30055         * math/w_remainderl.c: Likewise.
30056         * math/w_scalb.c: Likewise.
30057         * math/w_scalbf.c: Likewise.
30058         * math/w_scalbl.c: Likewise.
30059         * math/w_sinh.c: Likewise.
30060         * math/w_sinhf.c: Likewise.
30061         * math/w_sinhl.c: Likewise.
30062         * math/w_sqrt.c: Likewise.
30063         * math/w_sqrtf.c: Likewise.
30064         * math/w_sqrtl.c: Likewise.
30065         * math/w_tgamma.c: Likewise.
30066         * math/w_tgammaf.c: Likewise.
30067         * math/w_tgammal.c: Likewise.
30068
30069         * po/ja.po: Update from translation team.
30070
30071 2011-09-29  Andreas Jaeger  <aj@suse.de>
30072
30073         [BZ #13179]
30074         * sunrpc/netname.c (netname2host): Fix logic.
30075
30076         [BZ #6779]
30077         [BZ #6783]
30078         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30079         correctly.
30080         * math/w_remainder.c (__remainder): Likewise.
30081         * math/w_remainderf.c (__remainderf): Likewise.
30082         * math/libm-test.inc (remainder_test): Add test cases.
30083
30084 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30085
30086         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
30087         sdiv_qrnnd.
30088
30089 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30090
30091         * string/test-memcmp.c: Avoid unncessary #defines.
30092         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30093
30094 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30095
30096         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30097         Use new sse2 version for core i3 - i7 as it's faster
30098         than sse42 version.
30099         (bit_Prefer_PMINUB_for_stringop): New.
30100         * sysdeps/x86_64/rawmemchr.S: Update.
30101         Replace with faster SSE2 version.
30102         * sysdeps/x86_64/memrchr.S: New file.
30103         * sysdeps/x86_64/memchr.S: Update.
30104         Replace with faster SSE2 version.
30105
30106 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
30107
30108         * elf/dl-load.c (lose): Add cast to avoid warning.
30109
30110 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
30111
30112         * po/ca.po: Update from translation team.
30113
30114         * inet/getnetgrent_r.c: Hook up nscd.
30115         * nscd/Makefile (routines): Add nscd_netgroup.
30116         (nscd-modules): Add netgroupcache.
30117         (CFLAGS-netgroupcache.c): Define.
30118         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30119         (cache_search): Add const to second parameter.
30120         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30121         INNETGR.
30122         (dbs): Add netgrdb entry.
30123         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30124         (verify_persistent_db): Handle netgrdb.
30125         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30126         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30127         GETFDNETGR.
30128         (netgroup_response_header): Define.
30129         (innetgroup_response_header): Define.
30130         (datahead): Add netgroup_response_header and innetgroup_response_header
30131         elements.
30132         * nscd/nscd.conf: Add entries for netgroup cache.
30133         * nscd/nscd.h (dbtype): Add netgrdb.
30134         (_PATH_NSCD_NETGROUP_DB): Define.
30135         (netgroup_iov_disabled): Declare.
30136         (xmalloc, xcalloc, xrealloc): Move declarations here.
30137         (cache_search): Adjust prototype.
30138         Add netgroup-related prototypes.
30139         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30140         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30141         (__nscd_innetgr): Declare.
30142         * nscd/selinux.c (perms): Use access_vector_t as element type and
30143         add netgroup-related initializers.
30144         * nscd/netgroupcache.c: New file.
30145         * nscd/nscd_netgroup.c: New file.
30146         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30147         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30148         For four parameters use innetgr.
30149         * nss/nss_files/files-init.c: Add definition and callback for netgr.
30150         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30151         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30152         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30153
30154         * nscd/connections.c (register_traced_file): Don't register file
30155         for disabled databases.
30156
30157 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
30158
30159         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30160
30161         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30162         from tree and freeing node.
30163
30164 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
30165
30166         * nss/nsswitch.c (__nss_database_lookup): Handle
30167         nss_parse_service_list out of memory case.
30168
30169 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
30170
30171         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30172         out of memory case.
30173
30174 2011-10-04  Andreas Schwab  <schwab@redhat.com>
30175
30176         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30177         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30178         pass it down.
30179         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30180         elf_machine_rela, elf_machine_lazy_rel.
30181         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30182         (ELF_DYNAMIC_DO_REL): Likewise.
30183         (ELF_DYNAMIC_DO_RELA): Likewise.
30184         (ELF_DYNAMIC_RELOCATE): Likewise.
30185         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30186         to ELF_DYNAMIC_DO_REL.
30187         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30188         (dl_main): In trace mode always set __RTLD_NOIFUNC.
30189         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30190         elf_machine_rela.
30191         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30192         skip_ifunc, don't call ifunc function if non-zero.
30193         (elf_machine_rela): Likewise.
30194         (elf_machine_lazy_rel): Likewise.
30195         (elf_machine_lazy_rela): Likewise.
30196         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30197         (elf_machine_lazy_rel): Likewise.
30198         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30199         Likewise.
30200         (elf_machine_lazy_rel): Likewise.
30201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30202         Likewise.
30203         (elf_machine_lazy_rel): Likewise.
30204         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30205         (elf_machine_lazy_rel): Likewise.
30206         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30207         (elf_machine_lazy_rel): Likewise.
30208         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30209         (elf_machine_lazy_rel): Likewise.
30210         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30211         (elf_machine_lazy_rel): Likewise.
30212         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30213         (elf_machine_lazy_rel): Likewise.
30214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30215         (elf_machine_lazy_rel): Likewise.
30216
30217 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
30218
30219         * nss/nss_files/files-init.c (_nss_files_init): Use static
30220         initialization for all the *_traced_file variables.
30221
30222 2011-09-28  Andreas Schwab  <schwab@redhat.com>
30223
30224         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30225
30226 2011-09-27  Roland McGrath  <roland@hack.frob.com>
30227
30228         [BZ #13226]
30229         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30230
30231 2011-09-27  Andreas Schwab  <schwab@redhat.com>
30232
30233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30234         Reread the line before reparsing it.
30235
30236 2011-09-26  Andreas Schwab  <schwab@redhat.com>
30237
30238         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30239
30240 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
30241             Maxim Kuvyrkov  <maxim@codesourcery.com>
30242             Joseph Myers  <joseph@codesourcery.com>
30243
30244         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30245         if needed for __stack_chk_guard.
30246
30247 2011-09-19  Roland McGrath  <roland@hack.frob.com>
30248
30249         * sysdeps/posix/spawni.c (script_execute): Always define it.
30250         It will be optimized away if unused.
30251         (maybe_script_execute): New function.
30252         (__spawni): Call it.
30253
30254         * Makerules: Don't include tls.make.
30255         (config-tls): Always set to thread.
30256         * tls.make.c: File removed.
30257
30258 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
30259
30260         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30261         * config.make.in (CPPFLAGS-config): New substituted variable.
30262
30263 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30264
30265         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30266
30267         [BZ #13192]
30268         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30269         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30270
30271 2011-09-15  Roland McGrath  <roland@hack.frob.com>
30272
30273         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30274         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30275         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30276         (CALL_FAIL): Likewise.
30277         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30278         (CALL_FAIL): Macro removed.
30279         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30280
30281 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
30282
30283         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30284         for __FINITE_MATH_ONLY__ == 1.
30285
30286 2011-09-15  Andreas Schwab  <schwab@redhat.com>
30287
30288         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30289         __ieee754_sqrt instead of sqrt.
30290         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30291         __ieee754_sqrtf instead of sqrtf.
30292         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30293         __floorf instead of floorf.
30294         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30295         __floorf, __truncf instead of floorf, truncf.
30296
30297 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
30298
30299         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30300
30301         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30302         __extern_always_inline.
30303         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30304         32-bit.
30305
30306 2011-09-14  Andreas Schwab  <schwab@redhat.com>
30307
30308         * elf/rtld.c (dl_main): Also relocate in dependency order when
30309         doing symbol dependency testing.
30310
30311 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
30312
30313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30314         Always define `refsym'.
30315
30316 2011-09-13  Andreas Schwab  <schwab@redhat.com>
30317
30318         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30319         (__FD_ELT): Renamed from __FDELT.
30320         * misc/bits/select2.h (__FD_ELT): Likewise.
30321         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30322         __FD_MASK instead of __FDELT, __FDMASK.
30323         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30324         Likewise.
30325         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30326         Likewise.
30327
30328         * elf/Makefile (gen-ldd): Fix pattern.
30329
30330         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30331         (init_tls): Likewise.
30332
30333 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
30334
30335         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30336
30337 2011-09-12  Andreas Schwab  <schwab@redhat.com>
30338
30339         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30340         `struct cmsghdr *' instead of `void *'.
30341         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30342         Likewise.
30343
30344 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
30345
30346         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30347         if non-absolute.
30348         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30349         ldd_rewrite_script.
30350
30351 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
30352
30353         * configure.in: Remove --with-tls option.
30354         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30355         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30356         out in case it is missing.
30357         * sysdeps/ia64/elf/configure.in: Likewise.
30358         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30359         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30360         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30361         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30362         * sysdeps/sh/elf/configure.in: Likewise.
30363         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30364         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30365         * sysdeps/x86_64/elf/configure.in: Likewise.
30366         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30367         * sysdeps/mach/hurd/tls.h: Likewise.
30368
30369         [BZ #13067]
30370         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30371
30372         [BZ #13090]
30373         * configure.in: Fix use of AC_INIT.
30374
30375         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30376
30377 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
30378
30379         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30380         __set_errno.
30381         * malloc/hooks.c: Likewise.
30382
30383         [BZ #11929]
30384         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
30385         variables statically.
30386         (narenas): Initialize.
30387         (list_lock): Initialize.
30388         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
30389         initializtion of main_arena and list_lock.  Small cleanups.
30390         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30391         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
30392         Add initializers to main_arena and mp_.
30393         (malloc_state): Remove pagesize member.  Change all users to use
30394         GLRO(dl_pagesize).
30395
30396         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30397         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
30398         is always initialized.
30399
30400         * malloc/malloc.c: Removed unused configurations and dead code.
30401         * malloc/arena.c: Likewise.
30402         * malloc/hooks.c: Likewise.
30403         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30404
30405         * include/tls.h: Removed.  USE___THREAD must always be defined.
30406         * bits/libc-tsd.h: Don't handle !USE___THREAD.
30407         * elf/dl-libc.c: Likewise.
30408         * elf/dl-tsd.c: Likewise.
30409         * include/errno.h: Likewise.
30410         * include/netdb.h: Likewise.
30411         * include/resolv.h: Likewise.
30412         * inet/herrno-loc.c: Likewise.
30413         * inet/herrno.c: Likewise.
30414         * malloc/arena.c: Likewise.
30415         * malloc/hooks.c: Likewise.
30416         * malloc/malloc.c: Likewise.
30417         * resolv/res-state.c: Likewise.
30418         * resolv/res_libc.c: Likewise.
30419         * sysdeps/i386/dl-machine.h: Likewise.
30420         * sysdeps/ia64/dl-machine.h: Likewise.
30421         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30422         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30423         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30424         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30425         * sysdeps/sh/dl-machine.h: Likewise.
30426         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30427         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30428         * sysdeps/unix/i386/sysdep.S: Likewise.
30429         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30430         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30432         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30435         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30439         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30440         * sysdeps/x86_64/dl-machine.h: Likewise.
30441         * tls.make.c: Likewise.
30442
30443         * configure.in: Remove --with-__thread option.  Make tests for
30444         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30445         tls_model attribute fail if no support is available.  Remove
30446         USE_IN_LIBIO.
30447         * Makeconfig: Adjust for dropped configure option.  All features are
30448         now mandatory.
30449         * Makerules: Likewise.
30450         * Versions.def: Likewise.
30451         * argp/argp-fmtstream.c: Likewise.
30452         * argp/argp-fmtstream.h: Likewise.
30453         * argp/argp-help.c: Likewise.
30454         * assert/assert.c: Likewise.
30455         * config.h.in: Likewise.
30456         * config.make.in: Likewise.
30457         * configure: Likewise.
30458         * configure.in: Likewise.
30459         * csu/Versions: Likewise.
30460         * csu/init.c: Likewise.
30461         * elf/tst-audit2.c: Likewise.
30462         * elf/tst-tls10.c: Likewise.
30463         * elf/tst-tls10.h: Likewise.
30464         * elf/tst-tls11.c: Likewise.
30465         * elf/tst-tls12.c: Likewise.
30466         * elf/tst-tls14.c: Likewise.
30467         * elf/tst-tlsmod11.c: Likewise.
30468         * elf/tst-tlsmod12.c: Likewise.
30469         * elf/tst-tlsmod13.c: Likewise.
30470         * elf/tst-tlsmod13a.c: Likewise.
30471         * elf/tst-tlsmod14a.c: Likewise.
30472         * elf/tst-tlsmod15b.c: Likewise.
30473         * elf/tst-tlsmod16a.c: Likewise.
30474         * elf/tst-tlsmod16b.c: Likewise.
30475         * elf/tst-tlsmod7.c: Likewise.
30476         * elf/tst-tlsmod8.c: Likewise.
30477         * elf/tst-tlsmod9.c: Likewise.
30478         * gmon/gmon.c: Likewise.
30479         * grp/fgetgrent_r.c: Likewise.
30480         * grp/putgrent.c: Likewise.
30481         * hurd/fopenport.c: Likewise.
30482         * include/libc-symbols.h: Likewise.
30483         * include/tls.h: Likewise.
30484         * intl/gettextP.h: Likewise.
30485         * intl/loadinfo.h: Likewise.
30486         * locale/global-locale.c: Likewise.
30487         * locale/localeinfo.h: Likewise.
30488         * mach/devstream.c: Likewise.
30489         * malloc/arena.c: Likewise.
30490         * malloc/set-freeres.c: Likewise.
30491         * misc/err.c: Likewise.
30492         * misc/getttyent.c: Likewise.
30493         * misc/mntent_r.c: Likewise.
30494         * posix/getopt.c: Likewise.
30495         * posix/wordexp.c: Likewise.
30496         * pwd/fgetpwent_r.c: Likewise.
30497         * resolv/Versions: Likewise.
30498         * resolv/res_hconf.c: Likewise.
30499         * shadow/fgetspent_r.c: Likewise.
30500         * shadow/putspent.c: Likewise.
30501         * stdio-common/printf_fphex.c: Likewise.
30502         * stdio-common/tmpfile.c: Likewise.
30503         * stdlib/abort.c: Likewise.
30504         * stdlib/fmtmsg.c: Likewise.
30505         * sunrpc/auth_unix.c: Likewise.
30506         * sunrpc/clnt_perr.c: Likewise.
30507         * sunrpc/clnt_tcp.c: Likewise.
30508         * sunrpc/clnt_udp.c: Likewise.
30509         * sunrpc/clnt_unix.c: Likewise.
30510         * sunrpc/openchild.c: Likewise.
30511         * sunrpc/svc_simple.c: Likewise.
30512         * sunrpc/svc_tcp.c: Likewise.
30513         * sunrpc/svc_udp.c: Likewise.
30514         * sunrpc/svc_unix.c: Likewise.
30515         * sunrpc/xdr.c: Likewise.
30516         * sunrpc/xdr_array.c: Likewise.
30517         * sunrpc/xdr_rec.c: Likewise.
30518         * sunrpc/xdr_ref.c: Likewise.
30519         * sunrpc/xdr_stdio.c: Likewise.
30520
30521 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30522
30523         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30524
30525 2011-07-03  Andreas Jaeger  <aj@suse.de>
30526
30527         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30528         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30529         regenerate with gen-libm-tests.pl.
30530
30531 2010-05-12  Petr Baudis  <pasky@suse.cz>
30532
30533         [BZ #11589]
30534         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30535         around j0() zero points by switching to j1().
30536         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30537         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30539         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30540
30541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30542
30543         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30544         instead of 0.
30545         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30546         instead of 0.
30547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30548         Patch in part by Pavel Roskin <proski@gnu.org>.
30549
30550         [BZ #13138]
30551         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30552         realloc.
30553         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
30554         Free memory block if necessary.
30555
30556         [BZ #12847]
30557         * libio/genops.c (INTDEF): For string streams the _lock pointer can
30558         be NULL.  Don't lock in this case.
30559
30560 2011-09-09  Roland McGrath  <roland@hack.frob.com>
30561
30562         * elf/elf.h (ELFOSABI_GNU): New macro.
30563         (ELFOSABI_LINUX): Define to that.
30564
30565 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
30566
30567         * string/strncat.c (strncat): Undef the symbol in case it has been
30568         defined in bits/string.h.
30569
30570 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
30571
30572         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30573
30574         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30575         link map.
30576
30577 2011-08-17  Andreas Jaeger  <aj@suse.de>
30578
30579         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30580
30581 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30582             Ian Lance Taylor  <iant@google.com>
30583
30584         * math/libm-test.inc (lround_test): New testcase.
30585         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30586
30587 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
30588
30589         * Makefile: Remove support for automatic cvs check-ins.
30590         * Makerules: Likewise.
30591         * config.make.in: Likewise.
30592         * configure.in: Likewise.
30593         * intl/Makefile: Likewise.
30594         * locale/Makefile: Likewise.
30595         * po/Makefile: Likewise.
30596         * posix/Makefile: Likewise.
30597         * sysdeps/gnu/Makefile: Likewise.
30598         * sysdeps/mach/hurd/Makefile: Likewise.
30599         * sysdeps/sparc/sparc32/Makefile: Likewise.
30600
30601         [BZ #13118]
30602         * posix/Makefile (bug-regex32-ENV): Define.
30603         Patch by John Stanley <jpsinthemix@verizon.net>.
30604
30605         * misc/Makefile (headers): Add bits/select2.h.
30606         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30607         * misc/bits/select2.h: New file.
30608         * include/bits/select2.h: New file.
30609         * debug/Makefile (routines): Add fdelt_chk.
30610         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30611         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30612         FD_ISSET.
30613         * debug/fdelt_chk.c: New file.
30614
30615         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
30616         * wcsmbs/test-wmemcmp.c: Likewise.
30617         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30618         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30619
30620 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30621
30622         * string/Makefile (strop-tests): Add memcmp.
30623         * string/test-wmemcmp.c: New file.
30624         * string/test-memcmp.c: Add wmemcmp support.
30625
30626 2011-09-08  Roland McGrath  <roland@hack.frob.com>
30627
30628         [BZ #13153]
30629         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30630         2011-07-19 change.
30631
30632         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30633         garbage value in a __mach_port_mod_refs call in the cases of the
30634         task-self and thread-self ports.
30635
30636 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30637
30638         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30639
30640 2011-09-08  Andreas Schwab  <schwab@redhat.com>
30641
30642         * elf/dl-load.c (lose): Check for non-null L.
30643
30644 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30645
30646         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30647
30648         * elf/dl-libc.c (dlerror_run): Pass back error code from
30649         dl_catch_error.
30650
30651         [BZ #13123]
30652         * elf/dl-load.c (lose): Free l_origin if it is valid.
30653
30654         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30655         names.
30656         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30657         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30658         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30659         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30660         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30661         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30662
30663 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30664
30665         * sysdeps/powerpc/fpu/e_hypot.c: New file.
30666         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30667         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30668         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30669         * sysdeps/powerpc/fpu/k_cosf.c: New file.
30670         * sysdeps/powerpc/fpu/k_sinf.c: New file.
30671         * sysdeps/powerpc/fpu/s_cosf.c: New file.
30672         * sysdeps/powerpc/fpu/s_sinf.c: New file.
30673         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30674         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30675
30676 2011-08-15  Alan Modra  <amodra@gmail.com>
30677
30678         [BZ #13092]
30679         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30680         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30681         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
30682         ppc_mcount to static-only-routines.
30683         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30684         __mcount_internal.
30685         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30686         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
30687
30688 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
30689
30690         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30691         for finite and infinity parameters.
30692
30693 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30694
30695         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30696         and add nop instructions for throughput optimization.
30697         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30698
30699 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
30700
30701         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30702         aligned copy for power7 with vector-scalar instructions.
30703         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30704
30705 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
30706
30707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30708         AVX check.
30709
30710 2011-09-07  Andreas Schwab  <schwab@redhat.com>
30711
30712         [BZ #13144]
30713         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30714         last change.
30715
30716 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
30717
30718         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30719         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30720         syscall wrapper around clock_gettime in __vdso_clock_gettime.
30721         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30722         clock_gettime.
30723
30724 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30725
30726         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30727         Forgot to demangle the pointer.
30728
30729         * sysdeps/i386/sysdep.h: Define atom_text_section.
30730         * sysdeps/x86_64/sysdep.h: Likewise.
30731         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30732         section with atom_text_section.
30733         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30734         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30735         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30737         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30738
30739         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30740         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30741         already be defined.  Change to take two parameters and don't assign
30742         result to variable.  Adjust all users.
30743         Define INTERNAL_GETTIME if not already defined.
30744         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30745         call.
30746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30747         HAVE_CLOCK_GETTIME_VSYSCALL.
30748         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30749
30750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30751         gettimeofday vsyscall, just use time.
30752
30753 2011-09-06  Andreas Schwab  <schwab@redhat.com>
30754
30755         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30756         <errno.h>.
30757
30758 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
30759
30760         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30761         syscall on x86-64.
30762         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30763         syscall.
30764         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30765         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30766         syscall if possible.
30767
30768 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30769
30770         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30771         e_ident.  Don't pass to find_mapsXX.
30772         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30773
30774 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30775
30776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30777         strchr-sse2-no-bsf strrchr-sse2-no-bsf
30778         * sysdeps/x86_64/multiarch/strchr.S: Update.
30779         Check bit_slow_BSF bit.
30780         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30781         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30782         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30783
30784 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30785
30786         [BZ #13134]
30787         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30788         before glibc 2.15.
30789         (tryshell): Define.
30790         (__spawni): Change last parameter to be flag.  Test
30791         SPAWN_XFLAGS_USE_PATH flag to use path or not.
30792         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30793         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30794         * posix/spawni.c: Likewise.
30795         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30796         * posix/spawnp.c: Likewise.  Change normal version to use
30797         SPAWN_XFLAGS_USE_PATH.
30798         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30799         SPAWN_XFLAGS_TRY_SHELL.
30800
30801         [BZ #13150]
30802         * posix/glob.h: Remove gcc 1.x support.
30803
30804         [BZ #13068]
30805         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30806
30807 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30808
30809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30810         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30811         strrchr-sse2-bsf
30812         * sysdeps/i386/i686/multiarch/strchr.S: New file.
30813         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30814         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30815         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30816         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30817         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30818
30819 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30820
30821         * sysdeps/x86_64/wcscmp.S: New file.
30822
30823         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30824         wcscmp-c wcscmp-sse2
30825         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30826         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30827         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30828         * wcsmbs/wcscmp.c: Allow renaming.
30829
30830 2011-09-05  David S. Miller  <davem@davemloft.net>
30831
30832         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30833         stack slot, rather than the struct return pointer slot.
30834         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30835         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30837         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30838
30839 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
30840
30841         * po/ja.po: Update from translation team.
30842
30843         [BZ #13144]
30844         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30845         kernel in 64-bit binaries.
30846
30847 2011-09-01  David S. Miller  <davem@davemloft.net>
30848
30849         * elf/elf.h (HWCAP_SPARC_*): Move to..
30850         * sysdeps/sparc/sysdep.h: this new file and add new values.
30851         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30852         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30853         _DL_HWCAP_COUNT to 24.
30854         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30855         entries.
30856         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30857         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30858         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30860         instead of magic constants.
30861         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30862
30863 2011-08-31  David S. Miller  <davem@davemloft.net>
30864
30865         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30867         Reimplement to do errno handling inline.
30868         (SYSCALL_ERROR_HANDLER): New macro.
30869         (__SYSCALL_STRING): Do not do errno handling in asm.
30870         (__CLONE_SYSCALL_STRING): Delete.
30871         (__INTERNAL_SYSCALL_STRING): Delete.
30872         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30873         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30874         (PSEUDO): Reimplement to do errno handling inline.
30875         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30876         (SYSCALL_ERROR_HANDLER): New macro.
30877         (__SYSCALL_STRING): Do not do errno handling in asm.
30878         (__CLONE_SYSCALL_STRING): Delete.
30879         (__INTERNAL_SYSCALL_STRING): Delete.
30880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30881         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30882         i386.
30883         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30884         (inline_syscall*): Add 'err' argument.
30885         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30886         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30887         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30888         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30889
30890         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30891         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30892
30893 2011-08-30  Andreas Schwab  <schwab@redhat.com>
30894
30895         * elf/rtld.c (dl_main): Relocate objects in dependency order.
30896
30897 2011-08-29  Jiri Olsa <jolsa@redhat.com>
30898
30899         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30900         directive.
30901
30902 2011-08-24  David S. Miller  <davem@davemloft.net>
30903
30904         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30905
30906 2011-08-24  Andreas Schwab  <schwab@redhat.com>
30907
30908         * elf/Makefile: Add rules to build and run unload8 test.
30909         * elf/unload8.c: New file.
30910         * elf/unload8mod1.c: New file.
30911         * elf/unload8mod1x.c: New file.
30912         * elf/unload8mod2.c: New file.
30913         * elf/unload8mod3.c: New file.
30914
30915         * elf/dl-close.c (_dl_close_worker): Reset private search list if
30916         it wasn't used.
30917
30918 2011-08-23  David S. Miller  <davem@davemloft.net>
30919
30920         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30921         subtract stack bias.
30922         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30923         %sp not %fp in calculations.
30924         (_JMPBUF_UNWINDS_ADJ): Likewise.
30925
30926         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30927         (aio_suspend): Call it to force an exception region around the
30928         AIO_MISC_WAIT() invocation.
30929
30930 2011-08-23  Andreas Schwab  <schwab@redhat.com>
30931
30932         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30933         backslash.
30934
30935 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
30936
30937         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30938         protection macro.
30939         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30940         and <dl-machine.h>.
30941         (Elf64_FuncDesc): Remove.
30942
30943 2011-08-22  David S. Miller  <davem@davemloft.net>
30944
30945         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30946         sigaltstack check, add missing cfi directives.
30947         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30948         missing cfi directives, and sigaltstack handling.
30949
30950 2011-08-16  Andreas Schwab  <schwab@redhat.com>
30951
30952         [BZ #11724]
30953         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30954         object is seen twice.
30955         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30956
30957         * elf/Makefile (distribute): Add tst-initorder2.c.
30958         (tests): Add tst-initorder2.
30959         (modules-names): Add tst-initorder2a tst-initorder2b
30960         tst-initorder2c tst-initorder2d.  Add rules to build them.
30961         ($(objpfx)tst-initorder2.out): New rule.
30962         * elf/tst-initorder2.c: New file.
30963         * elf/tst-initorder2.exp: New file.
30964
30965 2011-08-22  Andreas Schwab  <schwab@redhat.com>
30966
30967         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30968
30969         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30970         dependencies back to end of function.
30971
30972         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30973         $(elfobjdir)/ld.so.
30974
30975 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
30976
30977         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30978         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30979         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30980         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30981         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30982         of __vdso_gettimeofday.
30983         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30984         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
30985         attribute_hidden.
30986         (_libc_vdso_platform_setup): Remove initialization of
30987         __vdso_gettimeofday and __vdso_time.
30988
30989 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
30990
30991         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30992         and fgetc_unlocked.
30993         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30994         getc_unlocked.
30995
30996         * elf/dl-open.c (add_to_global): Report additions to the global scope
30997         for LD_DEBUG=scopes.
30998         (dl_open_worker): Also print scope of newly loaded dependencies.
30999         (_dl_show_scope): Indicate if there is no scope.
31000
31001         [BZ #13114]
31002         * stdio-common/Makefile (tests): Add bug24.
31003         * stdio-common/bug24.c: New file.
31004
31005 2011-08-19  Andreas Jaeger  <aj@suse.de>
31006
31007         [BZ #13114]
31008         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31009         non-existant file when using close-on-exec mode.
31010
31011 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
31012
31013         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31014         the very first instruction.
31015
31016         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31017         the CFI state in the end.
31018         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31019         inclusion of dl-trampoline.h.
31020         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31021
31022 2011-08-19  Andreas Schwab  <schwab@redhat.com>
31023
31024         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31025         expectations for long double.
31026
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31028         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31029
31030 2011-08-14  David S. Miller  <davem@davemloft.net>
31031
31032         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31033         artificual limit depends upon the system page size.
31034
31035 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31036
31037         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31038         * resolv/Makefile: Define CFLAGS-libresolv.
31039
31040 2011-08-17  Andreas Schwab  <schwab@redhat.com>
31041
31042         * nss/makedb.c (compute_tables): Make variables used in nested
31043         function static.
31044
31045 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
31046
31047         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31048         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31049         if buffer was too small.
31050
31051         * elf/pldd.c (main): Attach to all threads in the process.
31052         Rewrite /proc handling to use *at functions.
31053
31054 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
31055
31056         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31057         specifies first scope to show.
31058         (dl_open_worker): Update callers.  Move printing scope of new
31059         object to before the relocation.
31060         * elf/rtld.c (dl_main): Update _dl_show_scope call.
31061         * sysdeps/generic/ldsodefs.h: Update declaration.
31062
31063         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31064         string for the scope number.
31065
31066 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
31067
31068         * nscd/servicescache.c (cache_addserv): Make sure written is always
31069         initialized.
31070
31071 2011-08-14  Roland McGrath  <roland@hack.frob.com>
31072
31073         * sysdeps/i386/i486/bits/atomic.h
31074         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31075         statement expression, so as to suppress "set but not used" warning.
31076         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31077
31078         * string/strncat.c (STRNCAT): Use prototype definition.
31079
31080         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31081         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31082         -Iprograms here.
31083         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31084         (localedef-modules): Add localedef.
31085         (locale-modules): Add locale.
31086
31087         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31088         * elf/rtld.c (dl_main): Invert order of assignment in last change,
31089         to avoid a warning.
31090
31091 2011-08-14  David S. Miller  <davem@davemloft.net>
31092
31093         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31094         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31095
31096 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
31097
31098         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31099         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31100         * elf/rtld.c (dl_main): Set l_name of vDSO.
31101         Call _dl_show_scope when DL_DEBUG_SCOPES.
31102         (process_dl_debug): Recognize scopes flag and also set it for all.
31103         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31104         Declare _dl_show_scope.
31105
31106         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31107         (do_dlopen): Pass caller_dlopen to dl_open.
31108         (__libc_dlopen_mode): Initialize caller_dlopen.
31109
31110         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31111         of libc.  Make tolower call locale-independent.  Optimize a bit by
31112         using isdigit instead of isalnum.
31113         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31114
31115 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
31116
31117         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31118         was a dependency or dynamically loaded.
31119
31120 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
31121
31122         * intl/l10nflist.c: Allow architecture-specific pop function.
31123         * sysdeps/x86_64/l10nflist.c: New file.
31124
31125         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31126         classification.
31127
31128 2011-08-10  Andreas Schwab  <schwab@redhat.com>
31129
31130         * include/dirent.h: Add libc_hidden_proto for scandirat and
31131         scandirat64.  Don't declare __scandirat64.
31132         * dirent/scandirat.c: Add libc_hidden_def.
31133         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31134         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31135
31136 2011-08-10  David S. Miller  <davem@davemloft.net>
31137
31138         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31139         enum.
31140         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31142         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31143
31144 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
31145
31146         * Versions.def [libc]: Add GLIBC_2.15.
31147         * dirent/Makefile (routines): Add scandirat and scandirat64.
31148         * dirent/Versions [libc]: Export scandirat and scandirat64 for
31149         GLIBC_2.15.
31150         * dirent/dirent.h: Declare scandirat and scandirat64.
31151         * dirent/scandirat.c: New file.
31152         * dirent/scandirat64.c: New file.
31153         * sysdeps/wordsize-64/scandirat.c: New file.
31154         * sysdeps/wordsize-64/scandirat64.c: New file.
31155         * dirent/opendir.c: Define opendirat.
31156         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
31157         using scandirat.
31158         * dirent/scandir64.c: Adjust for scandir.c change.
31159         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
31160         __scandirat64, and __scandir_cancel_handler.
31161         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
31162         additional parameter and use openat instead of open (outside of ld.so).
31163         Add new __opendir as wrapper around __opendirat.
31164         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31165         here without requiring old scandirat implementation.
31166
31167 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
31168
31169         * dirent/scandir.c (cancel_handler): Renamed to
31170         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
31171         defined.  Adjust users.
31172         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31173         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31174
31175 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
31176
31177         * string/test-string.h (IMPL): Use __STRING to expand name and then
31178         stringify it.
31179
31180         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
31181         of cleanups.
31182
31183 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31184
31185         * string/Makefile: Update.
31186         (strop-tests): Append strncat.
31187         * string/test-wcscmp.c: New file.
31188         New comprehensive test for wcscmp.
31189         * string/test-strcmp.c: Update.
31190         (WIDE): New define.
31191
31192 2011-07-22  Andreas Schwab  <schwab@redhat.com>
31193
31194         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31195         line.
31196
31197 2011-07-26  Andreas Schwab  <schwab@redhat.com>
31198
31199         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31200         encoding to ACE if AI_IDN.
31201
31202 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
31203
31204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31205         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31206
31207 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31208
31209         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31210         Fix overflow bug in strncat.
31211         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31212
31213         * string/test-strncat.c: Update.
31214         Add new tests for checking overflow bugs.
31215
31216 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31217
31218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31219         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31220         * sysdeps/i386/i686/multiarch/strcat.S: New file.
31221         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31222         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31223         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31224         * sysdeps/i386/i686/multiarch/strncat.S: New file.
31225         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31226         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31227
31228         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31229         (USE_AS_STRCAT): Define.
31230         Add strcat and strncat support.
31231         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31232
31233 2011-07-25  Andreas Schwab  <schwab@redhat.com>
31234
31235         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31236         __n bigger than INT_MAX+1.
31237         (__strncmp_g): Likewise.
31238
31239 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
31240
31241         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31242         * libio/stido.h: Likewise.
31243
31244         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31245         (AF_NFC): Define.
31246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31247         (AF_NFC): Define.
31248
31249         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31250         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31251         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31252         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31253         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31254
31255         [BZ #13021]
31256         * scripts/test-installation.pl: Don't expect libnss_test1 to be
31257         installed.
31258
31259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31260         typo.
31261         (_dl_x86_64_save_sse): Likewise.
31262
31263 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
31264
31265         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31266         OSXSAVE.
31267         (_dl_x86_64_save_sse): Likewise.
31268
31269         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31270
31271         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31272
31273 2011-07-21  Andreas Schwab  <schwab@redhat.com>
31274
31275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31276         change.
31277         (_dl_x86_64_save_sse): Use correct AVX check.
31278
31279 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31280
31281         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31282         bug in strncpy/strncat.
31283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31284
31285 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
31286
31287         * string/tester.c (test_strcat): Add tests for different alignments
31288         of source and destination.
31289         (test_strncat): Likewise.
31290
31291 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31292
31293         [BZ #12852]
31294         * posix/glob.c (glob): Check passed in values before using them in
31295         expressions to avoid some overflows.
31296         (glob_in_dir): Likewise.
31297
31298         [BZ #13007]
31299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31300         check for AVX enablement so that we don't crash with old kernels and
31301         new hardware.
31302         * elf/tst-audit4.c: Add same checks here.
31303         * elf/tst-audit6.c: Likewise.
31304
31305         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31306
31307 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
31308
31309         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31310
31311 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
31312
31313         * po/cs.po: Update from translation team.
31314         * po/bg.po: Likewise.
31315
31316 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
31317
31318         * misc/sys/cdefs.h: Add support for const attribute.
31319         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31320         to gnu_dev_{major,minor,makedev} functions.
31321
31322 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
31323
31324         * intl/dcigettext.c (get_output_charset): Add missing bracket.
31325
31326 2011-07-20  Andreas Schwab  <schwab@redhat.com>
31327
31328         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31329         strlen results.
31330
31331 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31332
31333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31334         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31335         register in order to avoid conflicts with the soft frame pointer
31336         being held in r11 when necessary.
31337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31338         (INTERNAL_VSYSCALL_NCS): Likewise.
31339
31340 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
31341
31342         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31343         * elf/dl-fini.c (_dl_fini): Adjust caller.
31344         * elf/dl-close.c (_dl_close_worker): Likewise.
31345         * sysdeps/generic/ldsodefs.h: Adjust declaration.
31346
31347 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31348
31349         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31350         "aux_cache->nlibs < 0".
31351
31352         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31353         in the reload-count case.
31354
31355 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31356
31357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31358         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31359         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31360         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31361         * sysdeps/x86_64/multiarch/strcat.S: New file.
31362         * sysdeps/x86_64/multiarch/strncat.S: New file.
31363         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31364         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31365         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31366         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31367         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31368         (USE_AS_STRCAT): Define.
31369         Add strcat and strncat support.
31370         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31371         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31372         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31373         * string/strncat.c: Update.
31374         (USE_AS_STRNCAT): Define.
31375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31376         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31377         and i7.
31378         * sysdeps/x86_64/multiarch/init-arch.h
31379         (bit_Prefer_PMINUB_for_stringop): New.
31380         (index_Prefer_PMINUB_for_stringop): Likewise.
31381         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31382         bit_Prefer_PMINUB_for_stringop.
31383
31384 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31385
31386         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31387         buffer64.
31388         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31389         of casting of buffer.
31390         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31391         buffer32 and buffer64.
31392         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31393         writes instead of casting of buffer.
31394         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31395         buffer32.
31396         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31397         casting of buffer.
31398
31399 2011-07-19  Andreas Schwab  <schwab@redhat.com>
31400
31401         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31402
31403 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
31404
31405         * nscd/nscd.c (termination_handler): Don't do anything for a database
31406         if it has not yet been initialized.
31407
31408 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31409
31410         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31411
31412 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
31413
31414         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31415
31416 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
31417
31418         * po/nl.po: Update from translation team.
31419         * po/sv.po: Likewise.
31420
31421 2011-07-16  Roland McGrath  <roland@hack.frob.com>
31422
31423         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31424         now disallowed by GCC.
31425
31426         * configure.in (use-default-link): Default to yes if a test -shared
31427         link meets our qualifications.
31428         * configure: Regenerated.
31429
31430         * config.make.in (output-format): New variable.
31431         * configure.in: Check for ld --print-output-format support.
31432         * configure: Regenerated.
31433         * Makerules ($(common-objpfx)format.lds)
31434         [$(output-format) != unknown]: Just use $(output-format),
31435         instead of the linker-script munging.
31436
31437 2011-07-14  Roland McGrath  <roland@hack.frob.com>
31438
31439         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31440         of $(common-objpfx)shlib.lds.
31441         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31442
31443         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31444         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31445
31446         * configure.in (-z relro check): Adjust test code to add a large
31447         writable data section after it.
31448         * configure: Regenerated.
31449
31450 2011-07-11  Roland McGrath  <roland@hack.frob.com>
31451
31452         * configure.in (-z relro check): Fix test code to make the variable
31453         truly const.
31454         * configure: Regenerated.
31455
31456 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
31457
31458         * nscd/nscd.h (struct traced_file): Define.
31459         (struct database_dyn): Remove inotify_descr, reset_res, and filename
31460         elements.  Add traced_files.
31461         (inotify_fd): Declare.
31462         (register_traced_file): Declare.
31463         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31464         (inotify_fd): Export.
31465         (resolv_conf_descr): Remove.
31466         (nscd_init): Move inotify descriptor creation to main.
31467         Don't register files for notification here.
31468         (register_traced_file): New function.
31469         (invalidate_cache): Don't use reset_res to determine whether to call
31470         res_init, go through the list of registered files.
31471         (main_loop_poll): The inotify descriptors are now stored in the
31472         structures for the traced files.
31473         (main_loop_epoll): Likewise
31474         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
31475         to __nss_disable_nscd.
31476         * nscd/cache.c (prune_cache): There is no single inotify descriptor
31477         for a database anymore.  Check the records for all the registered
31478         files instead.
31479         * nss/Makefile (libnss_files-routines): Add files-init.
31480         (libnss_db-routines): Add db-init.
31481         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31482         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31483         * nss/nss_db/db-init.c: New file.
31484         * nss/nss_files/files-init.c: New file.
31485         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
31486         __nss_lookup_function.
31487         (__nss_lookup_function): Call nss_load_library.
31488         (nss_load_all_libraries): New function.
31489         (__nss_disable_nscd): Take parameter with callback function for files
31490         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
31491         used for the cached services.
31492         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31493         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31494         options for features to all the files in nscd.
31495
31496         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31497
31498 2011-07-10  Roland McGrath  <roland@hack.frob.com>
31499
31500         * csu/elf-init.c (__libc_csu_init): Comment typo.
31501
31502 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
31503
31504         * po/pl.po: Update from translation team.
31505         * po/ja.po: Likewise.
31506         * po/ru.po: Likewise.
31507         * po/ko.po: Likewise.
31508         * po/fr.po: Likewise.
31509
31510 2011-07-09  Roland McGrath  <roland@hack.frob.com>
31511
31512         * configure.in (.ctors/.dtors header and trailer check):
31513         Use an empirical test on a built program.
31514         * configure: Regenerated.
31515
31516         * configure.in (-z relro check): Use an empirical test on a built DSO.
31517         Detect, but do not require, on ia64.
31518         * configure: Regenerated.
31519
31520         * configure.in (READELF): Find it with AC_CHECK_TOOL.
31521         Update tests that use readelf to use $READELF instead.
31522         * configure: Regenerated.
31523
31524 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
31525
31526         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31527         if the result is not used.
31528
31529 2011-07-05  Andreas Jaeger  <aj@suse.de>
31530
31531         [BZ#9696]
31532         * stdlib/tst-strtod.c: Add testcase.
31533
31534 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
31535
31536         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31537         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31538         The latter has a higher limit.  Take additional parameter to pass to
31539         the new function.
31540         (__pathconf): Pass file to __statfs_link_max.
31541         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31542         __statfs_link_max.
31543         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31544         __statfs_link_max.
31545
31546         [BZ #12868]
31547         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31548         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31549         Handle Lustre.
31550         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31551         (__statfs_filesize_max): Likewise.
31552         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31553
31554 2011-07-05  Andreas Jaeger  <aj@suse.de>
31555
31556         * resolv/res_comp.c (dn_skipname): Remove unused variable.
31557
31558 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
31559
31560         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31561         `status' variable.
31562         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31563         Likewise.
31564
31565 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
31566
31567         * Makefile (strop-tests): Add strncat.
31568         * string/test-strncat.c: New file.
31569
31570 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
31571
31572         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31573
31574 2011-06-21  Andreas Jaeger  <aj@suse.de>
31575
31576         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31577         Copy rule from iconvdata/Makefile.
31578
31579 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31580
31581         [BZ #12922]
31582         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31583         but no long options are defined, just return 'W'.
31584
31585 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
31586
31587         [BZ #9696]
31588         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31589
31590 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
31591
31592         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31593         netgroups to read.
31594         (innetgr): Likewise.
31595
31596 2011-07-05  Roland McGrath  <roland@hack.frob.com>
31597
31598         * config.make.in (install_root): Default to $(DESTDIR).
31599
31600 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
31601
31602         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31603
31604 2011-07-02  Roland McGrath  <roland@hack.frob.com>
31605
31606         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31607
31608         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31609         containing directory rather than embedding absolute directory names.
31610
31611         * scripts/check-local-headers.sh: Rewritten using awk.
31612         Match by word, not by line.  Print error messages for matches.
31613         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31614
31615         * Makerules [shlib-lds-flags empty]:
31616         ($(common-objpfx)libc_pic.opts): New target.
31617         ($(common-objpfx)libc_pic.os.clean): New target.
31618         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31619
31620         * config.make.in (OBJCOPY): New variable.
31621         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31622         * configure: Regenerated.
31623
31624         * config.make.in (use-default-link): New variable.
31625         * configure.in (use_default_link): Grok --with-default-link to set it.
31626         * configure: Regenerated.
31627         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31628         (shlib-lds, shlib-lds-flags): Define to empty.
31629
31630         * Makerules (shlib-lds): New variable.
31631         (shlib-lds-flags): New variable.
31632         (build-shlib, build-moduile, build-module-asneeded): Use it.
31633         ($(common-objpfx)libc.so): Use $(shlib-lds).
31634         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31635         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31636
31637         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31638         DT_FLAGS/DT_FLAGS_1 with zero flags.
31639
31640         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31641         linker script munging.
31642
31643 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
31644
31645         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31646         as 128-bit value.
31647         * crypt/sha512.c (sha512_process_block): Perform total addition using
31648         128-bit if possible.
31649         (__sha512_finish_ctx): Likewise.
31650         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31651         as 64-bit value.
31652         * crypt/sha256.c (SWAP64): Define.
31653         (sha256_process_block): Perform total addition using 64-bit if
31654         possible.
31655         (__sha256_finish_ctx): Likewise.
31656
31657 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
31658
31659         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
31660         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31661         * nscd/hstcache.c (cache_addhst): Likewise.
31662         * nscd/grpcache.c (cache_addgr): Likewise.
31663         * nscd/aicache.c (addhstaiX): Likewise
31664         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31665
31666 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
31667
31668         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31669         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31670         * nscd/hstcache.c (cache_addhst): Likewise.
31671         * nscd/grpcache.c (cache_addgr): Likewise.
31672         * nscd/aicache.c (addhstaiX): Likewise
31673
31674 2011-07-01  Andreas Schwab  <schwab@redhat.com>
31675
31676         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31677         domain only when needed.
31678
31679 2011-06-30  Andreas Schwab  <schwab@redhat.com>
31680
31681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31682         is always restored.
31683
31684 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
31685
31686         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31687         are re-adding the entry.
31688         * nscd/servicescache.c (cache_addserv): Likewise.
31689
31690 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
31691
31692         * sysdeps/generic/dl-irel.h: fix protection against multiple
31693         inclusions.
31694         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31695
31696 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
31697
31698         [BZ #12935]
31699         * malloc/memusage.sh: Fix quoting in message.
31700         * debug/xtrace.sh: Likewise.
31701
31702         * configure.in: Remove support for --experimental-malloc option, make
31703         it the default.
31704         * config.make.in: Likewise.
31705         * malloc/Makefile: Likewise.
31706
31707 2011-06-27  Andreas Schwab  <schwab@redhat.com>
31708
31709         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31710         two-byte characters.
31711
31712 2011-06-27  Roland McGrath  <roland@hack.frob.com>
31713
31714         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31715         AC_CACHE_CHECK invocation.
31716         * configure: Regenerated.
31717
31718         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31719
31720 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
31721
31722         [BZ #12350]
31723         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
31724         bit from old_res_options.
31725
31726         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31727
31728         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31729         value type for setfct.
31730
31731 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
31732
31733         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31734         __gettimeofday instead of gettimeofday.
31735
31736 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
31737
31738         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31739
31740 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31741
31742         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31743
31744         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31745         info.
31746
31747 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31748
31749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31750         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31751         strcpy-sse2-unaligned strncpy-sse2-unaligned
31752         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31753         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31754         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31755         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31756         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31757         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31758         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31759         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31760         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31761         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31762         (STRCPY): Support SSE2 and SSSE3 versions.
31763
31764 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
31765
31766         [BZ #12874]
31767         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31768         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31769         kernels which artificially limit size of requests.
31770
31771 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
31772
31773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31774         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31775         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31776         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31777         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31778         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31779         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31780         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31781         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31782         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31783         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31784         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31785         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31786         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31787         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31789         Enable unaligned load optimization for Intel Core i3, i5 and i7
31790         processors.
31791         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31792         Define.
31793         (index_Fast_Unaligned_Load): Define.
31794         (HAS_FAST_UNALIGNED_LOAD): Define.
31795
31796 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
31797
31798         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31799
31800 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31801
31802         [BZ #12907]
31803         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31804         until it is clear that the information is realy needed.
31805         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31806
31807 2011-06-22  Andreas Schwab  <schwab@redhat.com>
31808
31809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31810
31811 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
31812
31813         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31814         /sys/devices/system/cpu/online if it is usable.
31815
31816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31817         reading the information from the /proc filesystem to once a second.
31818
31819 2011-06-21  Andreas Jaeger  <aj@suse.de>
31820
31821         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31822         NULL after inclusion of kernel headers.
31823
31824 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
31825
31826         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31827         calls to internal_setent.
31828
31829         [BZ #12885]
31830         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31831         addresses using gethostbyname4_r ignore IPv4 addresses.
31832
31833         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31834         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
31835
31836         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31837
31838 2011-06-20  David S. Miller  <davem@davemloft.net>
31839
31840         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31841         inclusions.
31842         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31843
31844         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31845         (elf_irel): Use it.
31846         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31847         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31848         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31849         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31850         * sysdeps/x86_64/dl-irel.h: Likewise.
31851
31852         * elf/dl-runtime.c: Use elf_ifunc_invoke.
31853         * elf/dl-sym.c: Likewise.
31854
31855 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31856
31857         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
31858         need to dereference resplen2.
31859
31860 2011-06-14  Andreas Schwab  <schwab@redhat.com>
31861
31862         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31863
31864 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
31865
31866         * Makeconfig: Define vardbdir and inst_vardbdir.
31867         * nss/Makefile: Add rules to install db-Makefile.
31868
31869         * nss/nss_db/db-XXX.c: Cleanup.
31870
31871         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31872         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31873         GLIBC_PRIVATE.
31874         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31875         * nss/makedb.c: Implement -g option to specify that value strings
31876         are generated and should not be added to table iterated over for
31877         get*ent calls.
31878         * nss/nss_db/db-initgroups.c: New file.
31879
31880         * nss/getent.c: Add support for initgroups lookups through getgrouplist
31881         interface.
31882
31883         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31884         (internal_getgrouplist): Adjust to name change.
31885         Update use_initgroups_entry if this is not the first call.
31886         * nss/databases.def: Add initgroups entry.
31887
31888         * nss/makedb.c (compute_tables): Check result of multiple hash table
31889         sizes to minimize maximum chain length.
31890
31891 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
31892
31893         * Versions.def: Add entry for libnss_db.
31894         * shlib-versions: Likewise.
31895         * nss/Makefile: Add rules to build libnss_db.
31896         * nss/Versions: Add libnss_db information.  Organize libnss_files
31897         entries better.
31898         * nss/db-Makefile: Add gshadow support.  Change rules for the new
31899         makedb progra.  Some minor improvements to generate smaller files.
31900         * nss/nss_db/nss_db.h: Move NSS database header data structures to
31901         here from...
31902         * nss/makedb.c: ...here.
31903         Improve database format to be smaller and require less memory at
31904         runtime.
31905         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
31906         db anymore.
31907         * nss/nss_db/db-netgrp.c: Likewise.
31908         * nss/nss_db/db-open.c: Likewise.
31909         * nss/nss_files/flies-XXX.x: Adjust comments.
31910         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31911         * nss/nss_files/files-grp.c: Likewise.
31912         * nss/nss_files/files-hosts.c: Likewise.
31913         * nss/nss_files/files-network.c: Likewise.
31914         * nss/nss_files/files-proto.c: Likewise.
31915         * nss/nss_files/files-pwd.c: Likewise.
31916         * nss/nss_files/files-rpc.c: Likewise.
31917         * nss/nss_files/files-service.c: Likewise.
31918         * nss/nss_files/files-sgrp.c: Likewise.
31919         * nss/nss_files/files-spwd.c: Likewise.
31920         * nss/nss_db/db-alias.c: Removed.
31921         * nss/nss_db/dummy-db.h: Removed.
31922
31923 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
31924
31925         * nss/makedb.c: Rewritten to not use database library.
31926         * nss/Makefile: Update to build new makedb program.
31927
31928 2011-06-14  Andreas Jaeger  <aj@suse.de>
31929
31930         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31931         memset declaration.
31932
31933 2011-06-10  Andreas Schwab  <schwab@redhat.com>
31934
31935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31936         tmpbuf.
31937
31938 2011-06-10  Roland McGrath  <roland@hack.frob.com>
31939
31940         * Makerules (shlib.lds): Fail if the linker script comes out empty.
31941         * elf/Makefile ($(objpfx)ld.so): Likewise.
31942
31943         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31944         Don't list ld.so twice in dependencies.
31945
31946         * posix/bug-regex31.c: Include <stdlib.h>.
31947
31948         * nscd/hstcache.c (cache_addhst): Remove unused variable.
31949
31950         * nis/nss_compat/compat-spwd.c
31951         (getspent_next_nss_netgr): Remove unused variable.
31952         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31953
31954         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31955         nonmembers" output to use the right array.
31956
31957         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31958
31959         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31960
31961         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31962         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31963         * catgets/gencat.c (read_input_file): Likewise.
31964         * locale/programs/locarchive.c (enlarge_archive): Likewise.
31965
31966         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31967         variable definition inside #if's controlling its use.
31968
31969         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31970
31971         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31972
31973         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31974
31975         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31976         unreachable code.
31977
31978         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31979
31980         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31981         * configure: Regenerated.
31982
31983         * Makerules: Revert last change.
31984         * elf/Makefile: Likewise.
31985
31986 2011-06-09  Roland McGrath  <roland@hack.frob.com>
31987
31988         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31989         * elf/Makefile ($(objpfx)librtld.os): Likewise.
31990         (reloc-link): Likewise.
31991
31992 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
31993
31994         * elf/Makefile: Add rules to build pldd.
31995         * elf/pldd.c: New file.
31996         * elf/pldd-xx.c: New file.
31997
31998 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
31999
32000         * version.h: Update for 2.15 development version.
32001
32002 2011-06-07  David S. Miller  <davem@davemloft.net>
32003
32004         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32005         ifuncs.
32006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32007         elf_machine_lazy_rel): Likewise.
32008         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32009         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32010         elf_machine_lazy_rel): Likewise.
32011         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32012         dl_hwcap via passed in argument.
32013         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32014         Likewise.
32015
32016 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32017
32018         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
32019
32020 2011-06-06  Roland McGrath  <roland@hack.frob.com>
32021
32022         [BZ #12849]
32023         * manual/fdl-1.1.texi: New file, verbatim from:
32024         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32025         * manual/lgpl-2.1.texi: New file, verbatim from:
32026         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32027         * manual/Makefile (licenses): New variable, list those new file names.
32028         (texis): Use it.
32029         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32030
32031         * manual/fdl.texi: File removed.
32032         * manual/lesser.texi: File removed.
32033         * manual/libc.texinfo (Copying, Documentation License):
32034         Use new @include file names, put @appendix directive before @include.
32035
32036 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
32037
32038         [BZ #12841]
32039         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32040         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32041         (mq_open): Add __NTH.
32042
32043 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
32044
32045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32046         Assume Intel Core i3/i5/i7 processor if AVX is available.
32047
32048 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32049
32050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32051         typo.
32052
32053 2011-05-31  Andreas Schwab  <schwab@redhat.com>
32054
32055         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32056         memory.  Use alloca_account.  Fix memory leak when retrying.
32057
32058 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
32059
32060         * version.h (RELEASE): Bump for 2.14 release.
32061         * include/features.h (__GLIBC_MINOR__): Bump to 14.
32062
32063         * config.make.in (RANLIB): Remove entry.
32064
32065 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
32066
32067         * po/Makefile (po-sed-cmd): Add ksh to extensions.
32068         (libc.pot): Work around missing support for .ksh extension in xgettext.
32069
32070         [BZ #12684]
32071         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32072         if both request failed.
32073         (send_dg): In case of server errors clear resplen or *resplen2.
32074
32075         [BZ #12454]
32076         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32077         when there are multiple maps.
32078         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32079         (_dl_fini): Remove test here.
32080
32081         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32082
32083 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
32084
32085         [BZ #12350]
32086         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32087         bit from old_res_options.
32088         (gaih_inet): Likewise.
32089
32090         [BZ #11099]
32091         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32092         as signed.
32093
32094         * resolv/res_init.c (res_setoptions): Make the code more compact.
32095
32096         [BZ #11558]
32097         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32098         set RES_USEVC.
32099
32100         [BZ #11634]
32101         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32102
32103         * malloc/malloc.h: Mark malloc hook variables as deprecated.
32104
32105         [BZ #11781]
32106         * malloc/malloc.h: Declare malloc hook variables as volatile.
32107
32108         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32109         in last patch.
32110
32111         [BZ #11799]
32112         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32113         raise in the comment.
32114         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32115         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32116         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32117
32118 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
32119
32120         [BZ #12811]
32121         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32122         grow the buffers more if it already has to be sufficient.
32123         (build_wcs_upper_buffer): Likewise.
32124         * posix/regexec.c (check_matching): Likewise.
32125         (clean_state_log_if_needed): Likewise.
32126         (extend_buffers): Don't enlarge buffers beyond size of the input
32127         buffer.
32128         Patches mostly by Emil Wojak <emil@wojak.eu>.
32129         * posix/bug-regex32.c: New file.
32130         * posix/Makefile (tests): Add bug-regex32.
32131
32132         * locale/findlocale.c (_nl_find_locale): Return right away if
32133         _nl_explode_name failed.
32134         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32135
32136         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32137
32138         * debug/xtrace.sh: Unify messages.
32139         * malloc/memusage.sh: Likewise.
32140
32141         [BZ #12813]
32142         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32143         time symbol from vDSO.  Substitute with vsyscall if not available.
32144         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32145         __vdso_time.
32146
32147         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32148         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32149         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32150         Add sendmmsg and internal_sendmmsg.
32151         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32152         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32153         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32154
32155         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32156         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32158
32159 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
32160
32161         [BZ #12813]
32162         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32163         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
32164         available.
32165         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32166         __vdso_getcpu.
32167
32168         [BZ #12814]
32169         * iconvdata/Makefile (tests): Add bug-iconv9.
32170         * iconvdata/bug-iconv9.c: New file.
32171
32172 2011-05-27  Andreas Schwab  <schwab@redhat.com>
32173
32174         [BZ #12814]
32175         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32176
32177 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
32178
32179         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32180         (struct user_regs_struct): Change intcs field back to cs.
32181
32182 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
32183
32184         * po/ja.po: Update from translation team.
32185
32186 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
32187
32188         [BZ #12795]
32189         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32190         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32191
32192 2011-05-20  Andreas Schwab  <schwab@redhat.com>
32193
32194         * stdlib/longlong.h: Update from GCC.
32195
32196 2011-05-23  Andreas Schwab  <schwab@redhat.com>
32197
32198         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32199         parameter name.
32200         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32201         Add parameter name.
32202         (__sysconf): Pass it down.
32203
32204 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
32205
32206         [BZ #12671]
32207         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32208         some situations.
32209         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32210         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32211         add in in __libc_use_alloca calls.  Adjust callers.
32212         (glob): Use malloc in some situations.
32213
32214         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32215         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32216         pltexit.
32217
32218 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
32219
32220         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32221         and CLOCK_BOOTTIME_ALARM.
32222
32223         [BZ #12782]
32224         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32225         is returned.
32226
32227         * string/_strerror.c (__strerror_r): Print negative errors as signed
32228         numbers.
32229
32230         [BZ #12777]
32231         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32232         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32233         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32234
32235         * configure.in: Fix typo in redirection and correct removal of test
32236         files in two cases.
32237
32238         [BZ #12788]
32239         * locale/setlocale.c (new_composite_name): Fix test to check for
32240         identical name of all categories.
32241
32242         [BZ #12792]
32243         * libio/filedoalloc.c (local_isatty): New function.
32244         (_IO_file_doallocate): Use local_isatty.
32245         * stdio-common/perror.c (perror): In case a new stream is used
32246         forward the stream error.
32247         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32248         error flag.
32249
32250 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
32251
32252         [BZ #11869]
32253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32254         alloca.
32255         * include/alloca.h (extend_alloca_account): Define.
32256
32257         [BZ #11857]
32258         * posix/regex.h: Fix comments with documentation of user-accessible
32259         fields after compilation and describe correct free'ing of pattern
32260         after re_compile_pattern.
32261         Patch by Reuben Thomas <rrt@sc3d.org>.
32262
32263 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
32264
32265         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32266         and -mno-altivec to prevent the compiler from using Altivec and/or
32267         VSX instructions when the corresponding registers are not available.
32268
32269 2011-05-19  Andreas Schwab  <schwab@redhat.com>
32270
32271         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32272
32273 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
32274
32275         * libio/freopen.c (freopen): Use __dup2, not dup2.
32276         * libio/freopen64.c (freopen64): Likewise.
32277
32278 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32279
32280         [BZ #12775]
32281         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32282         * math/Makefile (tests): Add test-powl.
32283         (CFLAGS-test-powl.c): Define.
32284         * math/test-powl.c: New file.
32285
32286 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32287
32288         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32289
32290 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
32291
32292         [BZ #11837]
32293         * iconvdata/gb18030.c: Update to GB18020-2005.
32294
32295 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
32296
32297         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32298         RE_SYNTAX_POSIX_AWK): Update to match recent development.
32299         Patch by Aharon Robbins <arnold@skeeve.com>.
32300
32301         [BZ #11892]
32302         * stdlib/putenv.c (putenv): Don't always create copy of the variable
32303         on the stack.
32304
32305         [BZ #11895]
32306         * misc/pselect.c (__pselect): Handle timeout value errors hidden
32307         through underflows.
32308
32309         [BZ #12766]
32310         * misc/error.c (error_at_line): Ensure file_name and old_file_name
32311         point to strings before performing equality test for error_one_per_line
32312         mode.
32313
32314         [BZ #11697]
32315         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32316
32317         [BZ #11820]
32318         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32319         (struct user_fpregs_struct): Avoid __uint*_t types.
32320
32321         [BZ #6420]
32322         * malloc/mtrace.c (tr_where): Add additional parameter to point to
32323         symbol info.  Use it instead of calling _dl_addr locally.
32324         (lock_and_info): New function.
32325         (tr_freehook): Call lock_and_info and pass symbol info as additional
32326         parameter to tr_where.
32327         (tr_mallochook): Likewise.
32328         (tr_reallochook): Likewise.
32329         (tr_memalignhook): Likewise.
32330
32331         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
32332         used and couldn't be at all thread-safe.
32333
32334 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
32335
32336         * libio/freopen.c (freopen): Don't close old file descriptor
32337         before the new one is opened.  Instead dup the new file descriptor
32338         to the old one after the new stream is created.
32339         * libio/freopen64.c (freopen64): Likewise.
32340         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32341         * libio/fileops.c (_IO_new_file_close_it): Handle new
32342         _IO_FLAGS2_NOCLOSE flag.
32343         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32344         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32345         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32346         _IO_FLAGS2_NOCLOSE flag.
32347         * include/unistd.h: Add hidden_proto for dup3.
32348         Define __have_dup3.
32349         * io/dup3.c: Define hidden symbol.
32350         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32351
32352         [BZ #7101]
32353         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32354         when an incomplete long option is used.
32355         * posix/tst-getopt_long1.c: New file.
32356         * posix/Makefile (tests): Add tst-getopt_long1.
32357
32358         [BZ #10138]
32359         * scripts/config.guess: Update from autoconf-2.68.
32360         * scripts/config.sub: Likewise.
32361
32362         [BZ #10157]
32363         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32364         tests into ...
32365         (has_cpuclock): ...this.  New function.
32366         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32367         macro here based on has_cpuclock code.
32368
32369         [BZ #10149]
32370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32371         First byte (not low byte) is now always NUL.
32372         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32373
32374         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32375         Use non-cancelable interfaces.
32376
32377         [BZ #9809]
32378         * locale/iso-639.def: Add entry for Sorani.
32379
32380         [BZ #11901]
32381         * include/stdlib.h: Move include protection to the right place.
32382         Define abort_msg_s.  Declare __abort_msg with it.
32383         * stdlib/abort.c (__abort_msg): Adjust type.
32384         * assert/assert.c (__assert_fail_base): New function.  Majority
32385         of code from __assert_fail.  Allocate memory for __abort_msg with
32386         mmap.
32387         (__assert_fail): Now call __assert_fail_base.
32388         * assert/assert-perr.c: Remove bulk of implementation.  Use
32389         __assert_fail_base.
32390         * include/assert.hL Declare __assert_fail_base.
32391         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32392         mmap.
32393         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32394
32395 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
32396
32397         [BZ #11952]
32398         [BZ #12453]
32399         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32400         until all modules are registered in the DTV.
32401         * elf/Makefile: Add rules to build and run tst-tls19.
32402         * elf/tst-tls19.c: New file.
32403         * elf/tst-tls19mod1.c: New file.
32404         * elf/tst-tls19mod2.c: New file.
32405         * elf/tst-tls19mod3.c: New file.
32406         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32407
32408         [BZ #12083]
32409         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32410         correctly.
32411
32412         [BZ #12601]
32413         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32414         two-byte sequence errors.
32415         * iconvdata/Makefile (tests): Add bug-iconv8.
32416         * iconvdata/bug-iconv8.c: New file.
32417
32418         [BZ #12626]
32419         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32420         buf2 definition.
32421
32422         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32423
32424         [BZ #12432]
32425         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32426         (dummy_getcfa): New function.
32427         (init): Get _Unwind_GetCFA address, use dummy if not found.
32428         (backtrace_helper): In recursion check, also check whether CFA changes.
32429         (__backtrace): Completely initialize arg.
32430
32431         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32432         storing incomplete byte sequence in state object.  Avoid testing for
32433         guaranteed too small input if we know there is enough data available.
32434
32435 2011-05-11  Andreas Schwab  <schwab@redhat.com>
32436
32437         * Makeconfig (+link-pie): Indent.
32438         * Rules (binaries-pie): Define if $(have-fpie) and
32439         $(build-shared).
32440         (binaries-shared): Also filter out $(binaries-pie).
32441         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32442         * nscd/Makefile (others-pie): Add nscd.
32443         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32444         ($(objpfx)nscd): Remove command override.
32445         * login/Makefile (others-pie): Add pt_chown.
32446         ($(objpfx)pt_chown): Remove command override.
32447         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32448         remove command overrides.
32449
32450 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
32451
32452         * libio/tst_putwc.c: Fix error messages.
32453
32454         [BZ #12724]
32455         * libio/fileops.c (_IO_new_file_close_it): Always flush when
32456         currently writing and seek to current position when not.
32457         * libio/Makefile (tests): Add bug-fclose1.
32458         * libio/bug-fclose1.c: New file.
32459
32460 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
32461
32462         [BZ #12511]
32463         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32464         don't set DF_1_NODELETE here.
32465         (do_lookup_x): When entering new entry test for copy relocation
32466         and if necessary set DF_1_NODELETE flag.
32467         * elf/tst-unique4.cc: New file.
32468         * elf/tst-unique4.h: New file.
32469         * elf/tst-unique4lib.cc: New file.
32470         * elf/Makefile: Add rules to build and run tst-unique4.
32471         Patch by Piotr Bury <pbury@goahead.com>.
32472
32473 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
32474
32475         [BZ #12052]
32476         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32477
32478         [BZ #12625]
32479         * misc/mntent_r.c (addmntent): Flush the stream after the output
32480
32481         [BZ #12393]
32482         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32483         (is_trusted_path_normalize): Skip initial colon.  Append slash
32484         to empty buffer.  Duplicate is_trusted_path code but allow
32485         constructed patch to be prefix.
32486         (is_dst): Allow $ORIGIN followed by /.
32487         (_dl_dst_substitute): Correct clearing of check_for_trusted.
32488         Correct testing of result of is_trusted_path_normalize
32489         (decompose_rpath): Fix warning.
32490
32491 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
32492
32493         [BZ #11257]
32494         * grp/initgroups.c (internal_getgrouplist): When we found the service
32495         list through the initgroups entry in nsswitch.conf do not always
32496         continue on a successful lookup.  Don't always use the
32497         __nss_group_database value if it is set.
32498         * nss/nsswitch.conf (initgroups): Change action for successful db
32499         lookup to continue for compatibility.
32500
32501 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
32502
32503         [BZ #11532]
32504         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32505         and CP774 modules.
32506         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32507         and CP774 modules.
32508         * iconvdata/tst-tables.sh: Likewise.
32509         * iconvdata/cp770.c: New file.
32510         * iconvdata/cp771.c: New file.
32511         * iconvdata/cp772.c: New file.
32512         * iconvdata/cp773.c: New file.
32513         * iconvdata/cp774.c: New file.
32514         * iconvdata/testdata/CP770: New file.
32515         * iconvdata/testdata/CP770..UTF8: New file.
32516         * iconvdata/testdata/CP771: New file.
32517         * iconvdata/testdata/CP771..UTF8: New file.
32518         * iconvdata/testdata/CP772: New file.
32519         * iconvdata/testdata/CP772..UTF8: New file.
32520         * iconvdata/testdata/CP773: New file.
32521         * iconvdata/testdata/CP773..UTF8: New file.
32522         * iconvdata/testdata/CP774: New file.
32523         * iconvdata/testdata/CP774..UTF8: New file.
32524
32525         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32526         END CHARMAP line.
32527         * iconvdata/gen-8bit-gap.sh: Likewise.
32528         * iconvdata/gen-8bit.sh: Likewise.
32529
32530         * locale/iso-639.def: Add ary entry.
32531
32532         [BZ #11258]
32533         * locale/C-translit.h.in: Add U20A1 transliteration.
32534
32535         [BZ #12178]
32536         * locale/iso-639.def: Add wae entry.
32537         Patch by Kevin Bortis <bortis@translate-wae.ch>.
32538
32539         [BZ #12545]
32540         * locale/programs/localedef.c (construct_output_path): Use ssize_t
32541         for n.
32542
32543         [BZ #12711]
32544         * locale/C-translit.h.in: Add entry for U20B9.
32545         Patch by pravin.d.s@gmail.com.
32546
32547 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
32548
32549         [BZ #12713]
32550         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32551         ENAMETOOLONG use generic getcwd.
32552         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
32553         in rtld.  Use *stat64.
32554         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32555         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32556         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32557         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32558         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32559         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32560         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32561         __fstatat64 macros.
32562         * include/dirent.h: Add libc_hidden_proto for rewinddir.
32563         * dirent/rewinddir.c: Add libc_hidden_def.
32564         * sysdeps/mach/hurd/rewinddir.c: Likewise.
32565         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
32566
32567         * include/dirent.h (__alloc_dir): Add flags parameter.
32568         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32569         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32570         __alloc_dir.
32571         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
32572         from fdopendir if O_CLOEXEC is already set.
32573
32574 2011-03-15  Alan Modra  <amodra@gmail.com>
32575
32576         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32577         l_tls_firstbyte_offset non-zero.  Save padding offset in
32578         l_tls_firstbyte_offset for later use.
32579         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32580         freeing static tls block.
32581
32582 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
32583
32584         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32585         where #ifdef was intended.  The intent is to prevent ARG_MAX from
32586         being defined by the kernel headers.
32587
32588 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
32589
32590         [BZ #12734]
32591         * resolv/resolv.h: Define RES_NOTLDQUERY.
32592         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32593         no-tld-query and set RES_NOTLDQUERY.
32594         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32595         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32596         modern BIND to search name as TLD unless forbidden.
32597
32598 2011-05-07  Petr Baudis  <pasky@suse.cz>
32599             Ulrich Drepper  <drepper@gmail.com>
32600
32601         [BZ #12393]
32602         * elf/dl-load.c (fillin_rpath): Move trusted path check...
32603         (is_trusted_path): ...to here.
32604         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32605         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32606         using is_trusted_path_normalize() in setuid scripts.
32607
32608 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32609
32610         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32611         __BEGIN/__END_DECLS.
32612
32613 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
32614
32615         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32616         NSS_STATUS_NOTFOUND if no record was found.
32617
32618 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32619
32620         * sunrpc/Makefile (headers): Add rpc/netdb.h.
32621         (headers-not-in-tirpc): Remove rpc/netdb.h
32622         * resolv/netdb.h: Revert last change.
32623
32624 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32625
32626         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32627         circular dependency between libgcc.a and libc.a.
32628
32629 2011-05-05  Andreas Schwab  <schwab@redhat.com>
32630
32631         * resolv/netdb.h: Don't include <rpc/netdb.h>.
32632         * nis/Makefile: Don't install rpcsvc/*.
32633         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32634         instead of <rpc/types.h>.
32635         (MAXHOSTNAMELEN): Define.
32636
32637 2011-05-03  Andreas Schwab  <schwab@redhat.com>
32638
32639         * elf/ldconfig.c (add_dir): Don't crash on empty path.
32640
32641 2011-04-28  Maciej Babinski  <mbabinski@google.com>
32642
32643         [BZ #12714]
32644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32645         gethostbyname4_r when IPv6 results are possible.
32646
32647 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
32648
32649         [BZ #12723]
32650         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32651         _PC_PIPE_BUF handling.
32652
32653 2011-04-30  Bruno Haible  <bruno@clisp.org>
32654
32655         [BZ #12717]
32656         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32657         * resolv/netdb.h (getnameinfo): Change type of flags parameter
32658         to 'int'.
32659         * inet/getnameinfo.c (getnameinfo): Likewise.
32660
32661 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
32662
32663         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32664         to groups setting in database lookup.
32665         * nss/nsswitch.conf: Add initgroups entry.
32666
32667 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
32668
32669         [BZ #12685]
32670         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32671         mode string.
32672         Patch by Eric Blake <eblake@redhat.com>.
32673
32674 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
32675
32676         * sunrpc/Makefile (need-export-routines): Add svc_run.
32677         (routines): Remove svc_run.
32678         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32679         * sunrpc/clnt_perr.c (clnt_perrno): Export.
32680         * sunrpc/svc_run.c (svc_run): Likewise.
32681         * sunrpc/svc_udp.c (svcudp_create): Likewise.
32682
32683 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
32684
32685         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32686         problem in reallocation in last patch.
32687
32688 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
32689
32690         * sunrpc/Makefile: Move inclusion of Rules.
32691
32692 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32693
32694         * nss/nss_files/files-initgroups.c: New file.
32695         * nss/Makefile (libnss_files-routines): Add files-initgroups.
32696         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32697         _nss_files_initgroups_dyn.
32698
32699 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
32700
32701         * elf/elf.h (R_ARM_IRELATIVE): Define.
32702
32703 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
32704
32705         * po/ru.po: Update from translation team.
32706
32707 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32708
32709         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32710         dependencies.
32711
32712 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
32713
32714         [BZ #12653]
32715         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32716         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32718         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32720
32721 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
32722
32723         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32724         differing bytes.
32725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32726         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32728
32729 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
32730
32731         [BZ #12420]
32732         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32733         storing it.
32734         * stdlib/bug-getcontext.c: New file.
32735         * stdlib/Makefile: Add rules to build and run bug-getcontext.
32736
32737 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32738
32739         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32740         instructions into .machine "z9-109".
32741         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32742         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32743
32744 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32745
32746         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32747         between environment variables and auxiliary vector.
32748
32749 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
32750
32751         * Makefile: Add rules to build linkobj/libc.so.
32752         * include/libc-symbols.h: Define libc_hidden_nolink.
32753         * include/rpc/auth.h: Mark functions which are to be hidden.
32754         * include/rpc/auth_des.h: Likewise.
32755         * include/rpc/auth_unix.h: Likewise.
32756         * include/rpc/clnt.h: Likewise.
32757         * include/rpc/des_crypt.h: Likewise.
32758         * include/rpc/key_prot.h: Likewise.
32759         * include/rpc/pmap_clnt.h: Likewise.
32760         * include/rpc/pmap_prot.h: Likewise.
32761         * include/rpc/pmap_rmt.h: Likewise.
32762         * include/rpc/rpc_msg.h: Likewise.
32763         * include/rpc/svc.h: Likewise.
32764         * include/rpc/svc_auth.h: Likewise.
32765         * include/rpc/xdr.h: Likewise.
32766         * nis/Makefile: Link all DSOs against linkobj/libc.so.
32767         * nss/Makefile: Likewise.
32768         * sunrpc/Makefile: Don't install headers.  Build library with normal
32769         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
32770         * sunrpc/auth_des.c: Hide exported symbols by default, export some
32771         for the compat linking library.  Remove use of INTDEF/INTUSE.
32772         * sunrpc/auth_none.c: Likewise.
32773         * sunrpc/auth_unix.c: Likewise.
32774         * sunrpc/authdes_prot.c: Likewise.
32775         * sunrpc/authuxprot.c: Likewise.
32776         * sunrpc/clnt_gen.c: Likewise.
32777         * sunrpc/clnt_perr.c: Likewise.
32778         * sunrpc/clnt_raw.c: Likewise.
32779         * sunrpc/clnt_simp.c: Likewise.
32780         * sunrpc/clnt_tcp.c: Likewise.
32781         * sunrpc/clnt_udp.c: Likewise.
32782         * sunrpc/clnt_unix.c: Likewise.
32783         * sunrpc/des_crypt.c: Likewise.
32784         * sunrpc/des_soft.c: Likewise.
32785         * sunrpc/get_myaddr.c: Likewise.
32786         * sunrpc/key_call.c: Likewise.
32787         * sunrpc/key_prot.c: Likewise.
32788         * sunrpc/netname.c: Likewise.
32789         * sunrpc/pm_getmaps.c: Likewise.
32790         * sunrpc/pm_getport.c: Likewise.
32791         * sunrpc/pmap_clnt.c: Likewise.
32792         * sunrpc/pmap_prot.c: Likewise.
32793         * sunrpc/pmap_prot2.c: Likewise.
32794         * sunrpc/pmap_rmt.c: Likewise.
32795         * sunrpc/publickey.c: Likewise.
32796         * sunrpc/rpc_cmsg.c: Likewise.
32797         * sunrpc/rpc_common.c: Likewise.
32798         * sunrpc/rpc_dtable.c: Likewise.
32799         * sunrpc/rpc_prot.c: Likewise.
32800         * sunrpc/rpc_thread.c: Likewise.
32801         * sunrpc/rtime.c: Likewise.
32802         * sunrpc/svc.c: Likewise.
32803         * sunrpc/svc_auth.c: Likewise.
32804         * sunrpc/svc_authux.c: Likewise.
32805         * sunrpc/svc_raw.c: Likewise.
32806         * sunrpc/svc_run.c: Likewise.
32807         * sunrpc/svc_simple.c: Likewise.
32808         * sunrpc/svc_tcp.c: Likewise.
32809         * sunrpc/svc_udp.c: Likewise.
32810         * sunrpc/svc_unix.c: Likewise.
32811         * sunrpc/svcauth_des.c: Likewise.
32812         * sunrpc/xcrypt.c: Likewise.
32813         * sunrpc/xdr.c: Likewise.
32814         * sunrpc/xdr_array.c: Likewise.
32815         * sunrpc/xdr_float.c: Likewise.
32816         * sunrpc/xdr_intXX_t.c: Likewise.
32817         * sunrpc/xdr_mem.c: Likewise.
32818         * sunrpc/xdr_rec.c: Likewise.
32819         * sunrpc/xdr_ref.c: Likewise.
32820         * sunrpc/xdr_sizeof.c: Likewise.
32821         * sunrpc/xdr_stdio.c: Likewise.
32822
32823 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
32824
32825         [BZ #12650]
32826         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32827         * sysdeps/ia64/dl-tls.h: Likewise.
32828         * sysdeps/powerpc/dl-tls.h: Likewise.
32829         * sysdeps/s390/dl-tls.h: Likewise.
32830         * sysdeps/sh/dl-tls.h: Likewise.
32831         * sysdeps/sparc/dl-tls.h: Likewise.
32832         * sysdeps/x86_64/dl-tls.h: Likewise.
32833         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32834
32835 2011-03-14  Andreas Schwab  <schwab@redhat.com>
32836
32837         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32838         rpath element also skip the following colon.
32839         (expand_dynamic_string_token): Add is_path parameter and pass
32840         down to DL_DST_REQUIRED and _dl_dst_substitute.
32841         (decompose_rpath): Call expand_dynamic_string_token with
32842         non-zero is_path.  Ignore empty rpaths.
32843         (_dl_map_object_from_fd): Call expand_dynamic_string_token
32844         with zero is_path.
32845
32846 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
32847
32848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32849         Make cancelable.
32850
32851 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
32852
32853         [BZ #12655]
32854         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32855         Patch by Filipe David Manana <fdmanana@apache.org>.
32856
32857 2011-04-07  Andreas Schwab  <schwab@redhat.com>
32858
32859         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32860         Maintain aligned stack.
32861         (CHECK_RSP): Remove unused macro.
32862
32863 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
32864
32865         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32866         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32867
32868 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
32869
32870         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32871
32872         * include/features.h: Mention __USE_XOPEN2K8 in comment.
32873
32874 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
32875
32876         [BZ #12518]
32877         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32878         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32879         * sysdeps/x86_64/memmove.c: New file.
32880         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32881         (memcpy): Renamed to ...
32882         (__new_memcpy): This.
32883         (memcpy): Provide GLIBC_2_14 memcpy.
32884         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32885         (memcpy): Provide GLIBC_2_2_5 memcpy.
32886
32887 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32888
32889         [BZ #12631]
32890         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32891
32892 2011-03-30  Andreas Schwab  <schwab@redhat.com>
32893
32894         * misc/syncfs.c: New file.
32895         * misc/Makefile (routines): Add syncfs.
32896         * posix/unistd.h: Declare syncfs.
32897         * sysdeps/unix/syscalls.list: Add syncfs.
32898
32899 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32900
32901         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32902         open_by_handle_at.
32903         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32904         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32905         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32907         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32908         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32909         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32910
32911 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32912
32913         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32914         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32915         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32917         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32920
32921         * io/Makefile: Compile fallocate.c, fallocate64.c, and
32922         sync_file_range.c with -fexceptions.
32923         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32924         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32925         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32926         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32927         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32928         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32930         sync_file_range as cancellation point
32931         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
32932         now a wrapper around __call_sync_file_range with cancellation handling.
32933         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32934         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
32935         function name to __call_sync_file_range.
32936         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32937         Add call_sync_file_range.
32938
32939 2011-04-01  Andreas Schwab  <schwab@redhat.com>
32940
32941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32942         bits/timex.h.
32943
32944 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
32945
32946         * iconv/iconv.h: Fix typo in comment.
32947         * io/fcntl.h: Likewise.
32948         * libio/stdio.h: Likewise.
32949         * posix/spawn.h: Likewise.
32950         * posix/unistd.h: Likewise.
32951         * stdlib/stdlib.h: Likewise.
32952         * time/time.h: Likewise.
32953         * wcsmbs/wchar.h: Likewise.
32954
32955         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32956         open_by_handle): Add.
32957         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32958         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
32959         Augment a few comments.
32960         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32961         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32962         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32964         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32965         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32966         open_by_handle.
32967
32968         * io/fcntl.h (AT_EMPTY_PATH): Define.
32969
32970 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
32971
32972         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32973         * sysdeps/unix/sysv/linux/bits/time.h: New file.
32974         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32975         to...
32976         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
32977         * Versions.def: Add GLIBC_2.14.
32978         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32979         Export.
32980
32981 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
32982
32983         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32984         round counter.
32985         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32986
32987 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32988
32989         [BZ #12597]
32990         * string/test-strncmp.c (do_page_test): New function.
32991         (check2): Likewise.
32992         (test_main): Call check2.
32993         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32994
32995 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
32996
32997         [BZ #12587]
32998         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32999         Handle cache information in CPU leaf 4.
33000         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33001
33002 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
33003
33004         [BZ #12583]
33005         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33006         character representation.
33007         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33008
33009 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
33010
33011         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33012         END(__isnan) to END(__isnanf) to match function entry point/label
33013         EALIGN(__isnanf,...).
33014
33015 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
33016
33017         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33018
33019 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
33020
33021         [BZ #12510]
33022         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33023         copy from the symbol referenced in the relocation to initialize the
33024         used variable.
33025         Patch by Piotr Bury <pbury@goahead.com>.
33026         * elf/Makefile: Add rules to build and tst-unique3.
33027         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33028         * elf/tst-unique3.cc: New file.
33029         * elf/tst-unique3.h: New file.
33030         * elf/tst-unique3lib.cc: New file.
33031         * elf/tst-unique3lib2.cc: New file.
33032
33033         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33034
33035 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
33036
33037         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33038         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
33039         to _start.
33040
33041 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
33042
33043         * elf/dl-load.c (_dl_map_object): If we are looking for the first
33044         to-be-loaded object along a path to loader is ld.so.
33045
33046 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33047             Ulrich Drepper  <drepper@gmail.com>
33048
33049         * sysdeps/x86_64/memset.S: After aligning destination, code
33050         branches to different locations depending on the value of
33051         misalignment, when multiarch is enabled. Fix this.
33052
33053 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
33054
33055         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33056         Set _x86_64_preferred_memory_instruction for AMD processsors.
33057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33058         Set bit_Prefer_SSE_for_memop for AMD processors.
33059
33060 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
33061
33062         * libio/fmemopen.c (fmemopen): Optimize a bit.
33063
33064 2011-03-03  Andreas Schwab  <schwab@redhat.com>
33065
33066         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33067
33068 2011-03-03  Roland McGrath  <roland@redhat.com>
33069
33070         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33071
33072 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
33073
33074         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33075         __bzero_ultra1 instead of __memset_ultra1.
33076
33077 2011-02-23  Andreas Schwab  <schwab@redhat.com>
33078             Ulrich Drepper  <drepper@gmail.com>
33079
33080         [BZ #12509]
33081         * include/link.h (struct link_map): Add l_orig_initfini.
33082         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33083         returning unsuccessfully.
33084         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33085         close of a file loaded at startup, restore the original l_initfini
33086         list.
33087         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33088         list, store the pointer.
33089         * elf/Makefile ($(objpfx)noload-mem): New rule.
33090         (noload-ENV): Define.
33091         (tests): Add $(objpfx)noload-mem.
33092         * elf/noload.c: Include <memcheck.h>.
33093         (main): Call mtrace.  Close all opened handles.
33094
33095 2011-02-17  Andreas Schwab  <schwab@redhat.com>
33096
33097         [BZ #12454]
33098         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33099         dependencies are missing.
33100
33101 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33102
33103         Fix __if_freereq crash: Unlike the generic version which uses free,
33104         Hurd needs munmap.
33105         * sysdeps/mach/hurd/ifreq.h: New file.
33106
33107 2011-01-27  Petr Baudis  <pasky@suse.cz>
33108             Ulrich Drepper  <drepper@gmail.com>
33109
33110         [BZ 12445]#
33111         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33112         to extend_alloca().
33113         * stdio-common/bug23.c: New file.
33114         * stdio-common/Makefile (tests): Add bug23.
33115
33116 2010-09-28  Andreas Schwab  <schwab@redhat.com>
33117             Ulrich Drepper  <drepper@gmail.com>
33118
33119         [BZ #12489]
33120         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33121         before performing relro protection.  At old place add assertion
33122         to make sure nothing changed.
33123
33124 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
33125             Glauber de Oliveira Costa  <glommer@gmail.com>
33126
33127         * elf/elf.h: Add new ARM TLS relocs.
33128
33129 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
33130
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33132         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33133         cast from r3.
33134         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
33135         'tests' variable.
33136         * sysdeps/wordsize-64/tst-writev.c: New file.
33137
33138 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
33139
33140         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33141         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33142         insns in _dl_start to prevent a TOC reference before relocs are
33143         resolved.
33144
33145 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
33146
33147         [BZ #12469]
33148         * Makeconfig: Remove RANLIB definition.
33149         * Makerules: Don't use RANLIB.
33150         * aclocal.m4: Remove ranlib test.
33151         * configure.in: No need to check for ranlib.
33152         * elf/rtld-Rules: Don't use RANLIB.
33153
33154 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33155
33156         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33157         protection macro.
33158         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33159         inclusion protection macro.
33160
33161         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33162         SIGRTMIN and SIGRTMAX and print information in that case only when
33163         SIGRTMIN is defined.
33164
33165 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
33166
33167         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33168         arginfo fn returning -1.
33169
33170         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33171         and thousands string is zero terminated.
33172
33173 2011-02-03  Andreas Schwab  <schwab@redhat.com>
33174
33175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33176         sysdeps/unix/sysv/linux/bits/socket.h.
33177
33178 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33179
33180         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33181         (__CPU_COUNT): Remove old macros.
33182         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33183         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33184         (__CPU_ALLOC, __CPU_FREE): Add macros.
33185         (__sched_cpualloc, __sched_cpufree): Add declarations.
33186
33187 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
33188
33189         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33190         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33191         * nscd/aicache.c (addhstaiX): Return timeout of added value.
33192         (readdhstai): Return value of addhstaiX call.
33193         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33194         (addgrbyX): Return value returned by cache_addgr.
33195         (readdgrbyname): Return value returned by addgrbyX.
33196         (readdgrbygid): Likewise.
33197         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33198         (addpwbyX): Return value returned by cache_addpw.
33199         (readdpwbyname): Return value returned by addhstbyX.
33200         (readdpwbyuid): Likewise.
33201         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33202         (addservbyX): Return value returned by cache_addserv.
33203         (readdservbyname): Return value returned by addservbyX:
33204         (readdservbyport): Likewise.
33205         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33206         (addhstbyX): Return value returned by cache_addhst.
33207         (readdhstbyname): Return value returned by addhstbyX.
33208         (readdhstbyaddr): Likewise.
33209         (readdhstbynamev6): Likewise.
33210         (readdhstbyaddrv6): Likewise.
33211         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33212         (readdinitgroups): Return value returned by addinitgroupsX.
33213         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33214         (prune_cache): Keep track of timeout value of re-added entries.
33215         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33216         * nscd/nscd.h: Adjust prototypes of readd* functions.
33217
33218 2011-02-04  Roland McGrath  <roland@redhat.com>
33219
33220         * nis/nis_server.c (nis_servstate): Use the right name for 0.
33221         (nis_stats): Likewise.
33222         * nis/nis_modify.c (nis_modify): Likewise.
33223         * nis/nis_remove.c (nis_remove): Likewise.
33224         * nis/nis_add.c (nis_add): Likewise.
33225
33226         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33227
33228         * posix/fnmatch_loop.c: Add some consts.
33229
33230         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33231
33232 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
33233
33234         [BZ #12460]
33235         * config.make.in (config-cflags-novzeroupper): Define.
33236         * configure.in: Substitute libc_cv_cc_novzeroupper.
33237         * elf/Makefile (AVX-CFLAGS): Define.
33238         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33239         (CFLAGS-tst-auditmod4a.c): Likewise.
33240         (CFLAGS-tst-auditmod4b.c): Likewise.
33241         (CFLAGS-tst-auditmod6b.c): Likewise.
33242         (CFLAGS-tst-auditmod6c.c): Likewise.
33243         (CFLAGS-tst-auditmod7b.c): Likewise.
33244         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33245
33246 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
33247
33248         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33249         function to the callback.
33250         Patch partly by Jiri Olsa <jolsa@redhat.com>.
33251
33252 2011-02-02  Andreas Schwab  <schwab@redhat.com>
33253
33254         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33255         of errno.
33256
33257 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
33258
33259         [BZ #11724]
33260         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33261         of constructors.
33262         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33263         of destructors.
33264         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33265
33266         [BZ #11724]
33267         * elf/Makefile: Add rules to build and run new test.
33268         * elf/tst-initorder.c: New file.
33269         * elf/tst-initorder.exp: New file.
33270         * elf/tst-initordera1.c: New file.
33271         * elf/tst-initordera2.c: New file.
33272         * elf/tst-initordera3.c: New file.
33273         * elf/tst-initordera4.c: New file.
33274         * elf/tst-initorderb1.c: New file.
33275         * elf/tst-initorderb2.c: New file.
33276         * elf/tst-order-a1.c: New file.
33277         * elf/tst-order-a2.c: New file.
33278         * elf/tst-order-a3.c: New file.
33279         * elf/tst-order-a4.c: New file.
33280         * elf/tst-order-b1.c: New file.
33281         * elf/tst-order-b2.c: New file.
33282         * elf/tst-order-main.c: New file.
33283         New test case by George Gensure <werkt0@gmail.com>.
33284
33285 2010-10-01  Andreas Schwab  <schwab@redhat.com>
33286
33287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33288         decoding ACE if AI_CANONIDN.
33289
33290 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
33291
33292         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33293
33294 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
33295
33296         * version.h (RELEASE): Bump for 2.13 release.
33297         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33298
33299         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33300
33301         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33302         MADV_NOHUGEPAGE.
33303         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33304         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33305         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33306         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33308         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33309
33310         * posix/getconf.c: Update copyright year.
33311         * catgets/gencat.c: Likewise.
33312         * csu/version.c: Likewise.
33313         * debug/catchsegv.sh: Likewise.
33314         * debug/xtrace.sh: Likewise.
33315         * elf/ldconfig.c: Likewise.
33316         * elf/ldd.bash.in: Likewise.
33317         * elf/sprof.c (print_version): Likewise.
33318         * iconv/iconv_prog.c: Likewise.
33319         * iconv/iconvconfig.c: Likewise.
33320         * locale/programs/locale.c: Likewise.
33321         * locale/programs/localedef.c: Likewise.
33322         * malloc/memusage.sh: Likewise.
33323         * malloc/mtrace.pl: Likewise.
33324         * nscd/nscd.c (print_version): Likewise.
33325         * nss/getent.c: Likewise.
33326
33327         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33328         PF_CAIF, and PF_ALG.
33329         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33330
33331 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
33332
33333         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33334         (modules-names): Use them.
33335         (ifunc-test-modules, ifunc-pie-tests): Define.
33336         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33337         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33338         (test-extras): Likewise.
33339         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33340         $(compile-command.c).
33341         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33342         (all-built-dso): Define.
33343         (check-textrel.out, check-execstack.out): Depend on it.
33344
33345         * configure.in: Don't override --enable-multi-arch.
33346
33347 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
33348
33349         [BZ #6812]
33350         * nscd/hstcache.c (tryagain): Define.
33351         (cache_addhst): Return tryagain not notfound for temporary errors.
33352         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33353         failed.
33354
33355 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
33356
33357         [BZ #10563]
33358         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33359         to make the syscall.
33360         * sysdeps/unix/sysv/linux/setgroups.c: New file.
33361
33362         [BZ #12378]
33363         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33364         and fall back to matching as normal character if the string ends before
33365         the matching ']' is found.  This is what POSIX requires.
33366         * posix/testfnm.c: Adjust test result.
33367         * posix/globtest.sh: Adjust test result.  Add new test.
33368         * posix/tst-fnmatch.input: Likewise.
33369         * posix/tst-fnmatch2.c: Add new test.
33370
33371 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
33372
33373         * elf/Makefile (check-execstack): Revert last change.  Depend on
33374         check-execstack.h.
33375         (check-execstack.h): New target.
33376         (generated): Add check-execstack.h.
33377         * elf/check-execstack.c: Include "check-execstack.h".
33378         (main): Revert last change.
33379         (handle_file): Return zero if GNU_STACK is absent and
33380         DEFAULT_STACK_PERMS doesn't include PF_X.
33381
33382 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
33383
33384         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33385         in child fails because the descriptor is already closed.
33386         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33387         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33388         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33389
33390         [BZ #12397]
33391         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33392         syscall.
33393
33394         [BZ #10484]
33395         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33396         temporary buffer used to handle multi lookups locally.
33397         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33398
33399 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33400
33401         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33402         loader is ld.so.
33403
33404 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
33405
33406         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33407         alignment for SSE2.
33408
33409 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
33410
33411         [BZ #12394]
33412         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33413         characters.  When rounding increased number of integer digits recompute
33414         number of groups.
33415         * stdio-common/tst-grouping.c: New file.
33416         * stdio-common/Makefile: Add rules to build and run tst-grouping.
33417
33418 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
33419
33420         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33421         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
33422
33423         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33424         void.
33425         * bits/select.h: Likewise.
33426
33427 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
33428
33429         * po/ja.po: Update from translation team.
33430
33431 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
33432
33433         [BZ #11155]
33434         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33435         implementation just like for lxstat, fxstatat, et al.
33436
33437 2010-12-27  Jim Meyering  <meyering@redhat.com>
33438
33439         [BZ #12348]
33440         * posix/regexec.c (build_trtable): Return failure indication upon
33441         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
33442
33443 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
33444
33445         [BZ #12201]
33446         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33447         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33448         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33449         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33450
33451         [BZ #12207]
33452         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33453
33454         [BZ #12204]
33455         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33456         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33457
33458 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
33459
33460         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33461         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33462         script has SORT_BY_INIT_PRIORITY.
33463         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33464         NO_CTORS_DTORS_SECTIONS is defined.
33465         * elf/soinit.c: Likewise.
33466         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33467         NO_CTORS_DTORS_SECTIONS is defined.
33468         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33469         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33470         * sysdeps/sh/init-first.c: Likewise.
33471         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33472
33473 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
33474
33475         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33476         always use the slow path.
33477
33478 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
33479
33480         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33481         similar rule which adds the sysdep directories to the header search in
33482         order to pick up the correct platform stackinfo.h.
33483         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33484         perform test if it is, otherwise return successfully without testing.
33485         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33486         DEFAULT_STACK_PERMS define in stackinfo.h.
33487         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33488         defined in stackinfo.h.
33489         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33490         DEFAULT_STACK_PERMS defined in stackinfo.h.
33491         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33492         * sysdeps/ia64/stackinfo.h: Likewise.
33493         * sysdeps/s390/stackinfo.h: Likewise.
33494         * sysdeps/sh/stackinfo.h: Likewise.
33495         * sysdeps/sparc/stackinfo.h: Likewise.
33496         * sysdeps/x86_64/stackinfo.h: Likewise.
33497         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33498         PF_X for powerpc64.  Retain PF_X for powerpc32.
33499
33500 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
33501
33502         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33503         accurately.
33504         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33505         GETDENTS_64BIT_ALIGNED.
33506
33507 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
33508
33509         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33510
33511 2010-12-10  Andreas Schwab  <schwab@redhat.com>
33512
33513         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33514         _GNU_SOURCE.
33515
33516         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33517         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33518         Remove __restrict.
33519         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33520         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33521
33522 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
33523
33524         [BZ #11655]
33525         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33526         are initialized.
33527
33528 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
33529
33530         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33531
33532 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
33533
33534         * po/it.po: Update from translation team.
33535
33536 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
33537
33538         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33539         unused codes.
33540
33541 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
33542
33543         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33544
33545 2010-11-24  Andreas Schwab  <schwab@redhat.com>
33546
33547         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33548         specially.
33549         (gaih_getanswer_slice): Likewise.
33550
33551 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
33552
33553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33554
33555 2010-05-31  Petr Baudis  <pasky@suse.cz>
33556
33557         [BZ #11149]
33558         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33559         silently even in the chroot mode.
33560
33561 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
33562
33563         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33564         last patch a bit.  Pretty printing
33565
33566 2010-05-31  Petr Baudis <pasky@suse.cz>
33567
33568         [BZ #10085]
33569         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33570         initialization of skip_initgroups_dyn.
33571
33572 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
33573
33574         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33575         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33576
33577 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
33578
33579         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33580
33581 2010-11-11  Andreas Schwab  <schwab@redhat.com>
33582
33583         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33584         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33585         (tst-fnmatch-ENV): Set MALLOC_TRACE.
33586         ($(objpfx)tst-fnmatch-mem): New rule.
33587         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33588         * posix/tst-fnmatch.c (main): Call mtrace.
33589
33590 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
33591
33592         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33593         Support Intel processor model 6 and model 0x2c.
33594
33595 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
33596
33597         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33598           signed comparison.
33599
33600 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
33601
33602         [BZ #12205]
33603         * string/test-strncasecmp.c (check_result): New function.
33604         (do_one_test): Use it.
33605         (check1): New function.
33606         (test_main): Use it.
33607         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33608         Support strcasecmp and strncasecmp.
33609
33610 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
33611
33612         [BZ #12194]
33613         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33614         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33615
33616 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33617
33618         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33619         IFUNC support.
33620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33621         memset-x86-64.
33622         * sysdeps/x86_64/multiarch/bzero.S: New file.
33623         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33624         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33625         * sysdeps/x86_64/multiarch/memset.S: New file.
33626         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33628         Set bit_Prefer_SSE_for_memop for Intel processors.
33629         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33630         Define.
33631         (index_Prefer_SSE_for_memop): Define.
33632         (HAS_PREFER_SSE_FOR_MEMOP): Define.
33633
33634 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
33635
33636         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33637         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33638
33639 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
33640
33641         [BZ #12191]
33642         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33643         (__x86_64_raw_data_cache_size_half): Likewise.
33644         (__x86_64_raw_shared_cache_size): Likewise.
33645         (__x86_64_raw_shared_cache_size_half): Likewise.
33646
33647         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33648         (__x86_64_raw_data_cache_size_half): Likewise.
33649         (__x86_64_raw_shared_cache_size): Likewise.
33650         (__x86_64_raw_shared_cache_size_half): Likewise.
33651         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33652         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33653         and __x86_64_raw_shared_cache_size_half.  Round
33654         __x86_64_data_cache_size_half, __x86_64_data_cache_size
33655         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33656         to multiple of 256 bytes.
33657
33658 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
33659
33660         [BZ #12167]
33661         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33662         of inacessible symlinks.  Verify result of symlink before returning it.
33663         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33664         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33665
33666 2010-10-28  Erich Ritz  <erichritz@gmail.com>
33667
33668         * math/math.h (isinf): Fix typo in comment.
33669
33670 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
33671
33672         * po/da.po: Update from translation team.
33673
33674 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
33675
33676         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33677         is added to the list.
33678
33679 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33680             Ulrich Drepper  <drepper@gmail.com>
33681
33682         * elf/dl-object.c (_dl_new_object): Don't append the new object to
33683         the global list here.  Move code to...
33684         (_dl_add_to_namespace_list): ...here.  New function.
33685         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33686         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33687         * elf/dl-load.c (lose): Don't remove the element from the list.
33688         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33689         (_dl_map_object): Likewise.
33690
33691 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
33692
33693         [BZ #12159]
33694         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33695         into all bytes of SSE register.
33696         Patch by Richard Li <richardpku@gmail.com>.
33697
33698 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
33699
33700         [BZ #12140]
33701         * malloc/malloc.c (_int_free): Fill correct number of bytes when
33702         perturbing.
33703
33704 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
33705
33706         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33707         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33708         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33709         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33711         submachine.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33713
33714 2010-10-22  Andreas Schwab  <schwab@redhat.com>
33715
33716         * include/dlfcn.h (__RTLD_SECURE): Define.
33717         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
33718         mode & __RTLD_SECURE instead.
33719         (open_path): Rename preloaded parameter to secure.
33720         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33721         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33722         * elf/dl-deps.c (openaux): Likewise.
33723         * elf/rtld.c (struct map_args): Remove is_preloaded.
33724         (map_doit): Don't use it.
33725         (dl_main): Likewise.
33726         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33727         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33728
33729 2010-09-09  Andreas Schwab  <schwab@redhat.com>
33730
33731         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33732         (sysd-rules-targets): Remove duplicates.
33733         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33734         rtld-%.$o dependency.
33735
33736 2010-10-18  Andreas Schwab  <schwab@redhat.com>
33737
33738         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33739         _dl_map_object do it.
33740
33741 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
33742
33743         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33744         fast fma builtins, define the macros in the C99 standard.
33745         (FP_FAST_FMAF): Likewise.
33746         (FP_FAST_FMAL): Likewise.
33747         * sysdeps/x86_64/bits/mathdef.h: Likewise.
33748
33749         * bits/mathdef.h: Update copyright year.
33750         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33751
33752 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33753
33754         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33755         builtins, define the macros in the C99 standard.
33756         (FP_FAST_FMAF): Likewise.
33757         (FP_FAST_FMAL): Likewise.
33758         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33759         multiply/add.
33760         (FP_FAST_FMAF): Likewise.
33761
33762 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
33763
33764         [BZ #3268]
33765         * math/libm-test.inc (fma_test): Some new testcases.
33766         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33767         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33768         y and infinite z.  Do multiplication by C already in long double.
33769         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33771         y and infinite z.  Do bitwise or of inexact bit into u.d.
33772         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33773         * sysdeps/i386/fpu/s_fmaf.S: Removed.
33774         * sysdeps/i386/fpu/s_fma.S: Removed.
33775         * sysdeps/i386/fpu/s_fmal.S: Removed.
33776
33777 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
33778
33779         [BZ #3268]
33780         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33782         computation is not scheduled after fetestexcept.  Fix value
33783         of minimum denormal long double.
33784
33785 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
33786
33787         [BZ #3268]
33788         * math/libm-test.inc (fma_test): Add some more tests.
33789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33790         correctly.
33791
33792 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33793
33794         * scripts/data/localplt-s390-linux-gnu.data: New file.
33795         * scripts/data/localplt-s390x-linux-gnu.data: New file.
33796
33797 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
33798
33799         [BZ #3268]
33800         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33801         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33802         instead of dbl-64.
33803         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33804         inlines.
33805         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33807         if one of x and y is very large and the other is subnormal.
33808         * sysdeps/s390/fpu/s_fmaf.c: New file.
33809         * sysdeps/s390/fpu/s_fma.c: New file.
33810         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33811         * sysdeps/powerpc/fpu/s_fma.S: New file.
33812         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33813         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33814         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33815
33816 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
33817
33818         [BZ #3268]
33819         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33820         fma tests.
33821         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33822         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33823         * sysdeps/i386/i686/multiarch/s_fma.c: Include
33824         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33825         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33826         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33827         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33828
33829 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
33830
33831         [BZ #12078]
33832         * posix/regcomp.c (parse_branch): One more memory leak plugged.
33833         * posix/bug-regex31.input: Add test case.
33834
33835 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33836
33837         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33838         * posix/bug-regex31.input: New file.
33839
33840         [BZ #12078]
33841         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33842         (parse_sub_exp): Fix last change, use postorder.
33843
33844         * posix/bug-regex31.c: New file.
33845         * posix/Makefile: Add rules to build and run bug-regex31.
33846
33847         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33848
33849         [BZ #12078]
33850         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33851
33852         [BZ #12108]
33853         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33854         to have entries in sys_siglist.
33855
33856         [BZ #12093]
33857         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33858         be NULL.
33859
33860 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
33861
33862         [BZ #3268]
33863         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33864         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33865         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33866         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33867         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33868         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33869         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33870         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33871         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33872         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33873         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33874         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33875         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33876         * math/ftestexcept.c (fetestexcept): Likewise.
33877         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33878         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33879         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33880         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33881         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33882         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33883         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33884
33885 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
33886
33887         [BZ #12107]
33888         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33889         newline.
33890
33891 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
33892
33893         * string/bug-strstr1.c: New file.
33894         * string/Makefile: Add rules to build and run bug-strstr1.
33895
33896 2010-10-05  Eric Blake  <eblake@redhat.com>
33897
33898         [BZ #12092]
33899         * string/str-two-way.h (two_way_long_needle): Always clear memory
33900         when skipping input due to the shift table.
33901
33902 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
33903
33904         [BZ #12005]
33905         * malloc/mcheck.c: Handle large requests.
33906
33907         [BZ #12077]
33908         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33909         for strncmp and strncasecmp.
33910         * string/stratcliff.c: Add tests for strcmp and strncmp.
33911         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33912
33913 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33914
33915         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33916         __set_fpscr.
33917
33918 2010-09-30  Andreas Jaeger  <aj@suse.de>
33919
33920         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33921         (CGROUP_SUPER_MAGIC): Define.
33922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33923         Handle btrfs and cgroup file systems.
33924         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33925         Likewise.
33926
33927 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
33928
33929         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33930         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33931
33932 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33933
33934         [BZ #12067]
33935         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33936         trying to locate the ELF header.
33937
33938 2010-09-27  Andreas Schwab  <schwab@redhat.com>
33939
33940         [BZ #11611]
33941         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33942         Mask out sign-bit copies when constructing f_fsid.
33943
33944 2010-09-24  Petr Baudis <pasky@suse.cz>
33945
33946         * debug/stack_chk_fail_local.c: Add missing licence exception.
33947         * debug/warning-nop.c: Likewise.
33948
33949 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
33950
33951         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33952         implementing getdents64 using getdents syscall, set d_type if
33953         __ASSUME_GETDENTS32_D_TYPE.
33954
33955 2010-09-16  Andreas Schwab  <schwab@redhat.com>
33956
33957         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33958         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33959
33960 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
33961
33962         [BZ #12037]
33963         * posix/unistd.h: Undo change of feature selection for ftruncate from
33964         2010-01-11.
33965
33966 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
33967
33968         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33969         detection.
33970
33971 2010-09-20  Andreas Schwab  <schwab@redhat.com>
33972
33973         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33974         fanotify_mark.
33975         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33976
33977 2010-09-14  Andreas Schwab  <schwab@redhat.com>
33978
33979         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33980         variables after CHECK_SP call.
33981         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33982
33983 2010-09-13  Andreas Schwab  <schwab@redhat.com>
33984             Ulrich Drepper  <drepper@redhat.com>
33985
33986         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33987         re-relocationg ld.so.
33988         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33989         _dl_init_paths call.
33990         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
33991         here anymore.
33992
33993 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
33994
33995         * resolv/res_init.c (__res_vinit): Count the default server we added.
33996
33997 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
33998             Ulrich Drepper  <drepper@redhat.com>
33999
34000         [BZ #11968]
34001         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34002         (____longjmp_chk): Use %ebx for saving value across system call.
34003         Add unwind info.
34004
34005 2010-09-06  Andreas Schwab  <schwab@redhat.com>
34006
34007         * manual/Makefile: Don't mix pattern rules with normal rules.
34008
34009 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34010
34011         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34012         operation.
34013         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34014         * libio/iofopncook.c (_IO_cookie_init): Likewise.
34015         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34016         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34017         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34018         Likewise.
34019
34020 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
34021
34022         [BZ #11979]
34023         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34024         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34025
34026 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
34027
34028         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34029         * sysdeps/x86_64/addmul_1.S: Likewise.
34030         * sysdeps/x86_64/lshift.S: Likewise.
34031         * sysdeps/x86_64/mul_1.S: Likewise.
34032         * sysdeps/x86_64/rshift.S: Likewise.
34033         * sysdeps/x86_64/sub_n.S: Likewise.
34034         * sysdeps/x86_64/submul_1.S: Likewise.
34035
34036 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34037
34038         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34039         Define __sched_param instead of SCHED_* and sched_param when
34040         <bits/sched.h> is included with __need_schedparam defined.
34041         * bits/sched.h [__need_schedparam]
34042         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34043         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34044         (__defined_schedparam): Define to 1.
34045         (__sched_param): New structure, identical to sched_param.
34046         (__need_schedparam): Undefine.
34047
34048 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
34049
34050         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34051         (epoll_create1): Declare.
34052
34053         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34054
34055 2010-08-31  Andreas Schwab  <schwab@redhat.com>
34056
34057         [BZ #7066]
34058         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34059         shifting retval into place.
34060
34061 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
34062
34063         * nis/rpcsvc/nis.h: Update copyright notice.
34064         * nis/rpcsvc/nis.x: Likewise.
34065         * nis/rpcsvc/nis_callback.h: Likewise.
34066         * nis/rpcsvc/nis_callback.x: Likewise.
34067         * nis/rpcsvc/nis_object.x: Likewise.
34068         * nis/rpcsvc/nis_tags.h: Likewise.
34069         * nis/rpcsvc/yp.h: Likewise.
34070         * nis/rpcsvc/yp.x: Likewise.
34071         * nis/rpcsvc/ypupd.h: Likewise.
34072         * nis/yp_xdr.c: Likewise.
34073         * nis/ypupdate_xdr.c: Likewise.
34074
34075         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
34076         mainly the body of pmap_getport.  Add parameters to specify timeouts.
34077         (pmap_getport): Use __libc_rpc_getport.
34078         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34079         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34080         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34081
34082 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
34083
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34085         fanotify_mark.
34086
34087 2010-08-27  Roland McGrath  <roland@redhat.com>
34088
34089         * sysdeps/i386/i686/multiarch/Makefile
34090         (CFLAGS-varshift.c): New variable.
34091
34092 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
34093
34094         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34095         * sysdeps/i386/i686/multiarch/varshift.c: New file.
34096
34097         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34098
34099         * sysdeps/x86_64/strlen.S: Minimal code improvement.
34100
34101 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
34102
34103         * sysdeps/x86_64/strlen.S: Unroll the loop.
34104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34105         strlen-sse2 strlen-sse2-bsf.
34106         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34107         __strlen_no_bsf if bit_Slow_BSF is set.
34108         (__strlen_sse42): Removed.
34109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34110         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34111
34112 2010-08-25  Roland McGrath  <roland@redhat.com>
34113
34114         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34115         * sysdeps/x86_64/multiarch/varshift.c: New file.
34116         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34117         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34118         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34119         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34120
34121 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
34122
34123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34124         strlen-sse2 strlen-sse2-bsf.
34125         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34126         __strlen_sse2_bsf if bit_Slow_BSF is unset.
34127         (__strlen_sse2): Removed.
34128         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34129         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34131         bit_Slow_BSF for Atom.
34132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34133         (index_Slow_BSF): Define.
34134         (HAS_SLOW_BSF): Define.
34135
34136 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
34137
34138         [BZ #10851]
34139         * resolv/res_init.c (__res_vinit): When no server address at all
34140         is given default to loopback.
34141
34142 2010-08-24  Roland McGrath  <roland@redhat.com>
34143
34144         * configure.in: Remove config-name.h generation.
34145         * configure: Regenerated.
34146         * config-name.in: File removed.
34147         * scripts/config-uname.sh: New file.
34148         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34149         ($(objdir)config-name.h): New target.
34150
34151         * sunrpc/rpc_parse.h: Avoid nested comment.
34152
34153 2010-08-24  Richard Henderson  <rth@redhat.com>
34154             Ulrich Drepper  <drepper@redhat.com>
34155             H.J. Lu  <hongjiu.lu@intel.com>
34156
34157         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34159         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34160         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
34161         _mm_alignr_epi8 with _mm_loadu_si128.
34162         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34163         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34164         (__m128i_shift_right): Removed.
34165         * sysdeps/i386/i686/multiarch/varshift.h: New file.
34166         * sysdeps/i386/i686/multiarch/varshift.S: New file.
34167         * sysdeps/x86_64/multiarch/varshift.h: New file.
34168         * sysdeps/x86_64/multiarch/varshift.S: New file.
34169
34170 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
34171
34172         * configure.in: Move assembler checks to before sysdep dir checking.
34173
34174 2010-08-20  Petr Baudis  <pasky@suse.cz>
34175
34176         * LICENSES: Sync the sunrpc license.
34177
34178 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
34179
34180         * sunrpc/auth_des.c: Update copyright notice once again.
34181         * sunrpc/auth_none.c: Likewise.
34182         * sunrpc/auth_unix.c: Likewise.
34183         * sunrpc/authdes_prot.c: Likewise.
34184         * sunrpc/authuxprot.c: Likewise.
34185         * sunrpc/bindrsvprt.c: Likewise.
34186         * sunrpc/clnt_gen.c: Likewise.
34187         * sunrpc/clnt_perr.c: Likewise.
34188         * sunrpc/clnt_raw.c: Likewise.
34189         * sunrpc/clnt_simp.c: Likewise.
34190         * sunrpc/clnt_tcp.c: Likewise.
34191         * sunrpc/clnt_udp.c: Likewise.
34192         * sunrpc/clnt_unix.c: Likewise.
34193         * sunrpc/des_crypt.c: Likewise.
34194         * sunrpc/des_soft.c: Likewise.
34195         * sunrpc/get_myaddr.c: Likewise.
34196         * sunrpc/getrpcport.c: Likewise.
34197         * sunrpc/key_call.c: Likewise.
34198         * sunrpc/key_prot.c: Likewise.
34199         * sunrpc/openchild.c: Likewise.
34200         * sunrpc/pm_getmaps.c: Likewise.
34201         * sunrpc/pm_getport.c: Likewise.
34202         * sunrpc/pmap_clnt.c: Likewise.
34203         * sunrpc/pmap_prot.c: Likewise.
34204         * sunrpc/pmap_prot2.c: Likewise.
34205         * sunrpc/pmap_rmt.c: Likewise.
34206         * sunrpc/rpc/auth.h: Likewise.
34207         * sunrpc/rpc/auth_unix.h: Likewise.
34208         * sunrpc/rpc/clnt.h: Likewise.
34209         * sunrpc/rpc/des_crypt.h: Likewise.
34210         * sunrpc/rpc/key_prot.h: Likewise.
34211         * sunrpc/rpc/netdb.h: Likewise.
34212         * sunrpc/rpc/pmap_clnt.h: Likewise.
34213         * sunrpc/rpc/pmap_prot.h: Likewise.
34214         * sunrpc/rpc/pmap_rmt.h: Likewise.
34215         * sunrpc/rpc/rpc.h: Likewise.
34216         * sunrpc/rpc/rpc_des.h: Likewise.
34217         * sunrpc/rpc/rpc_msg.h: Likewise.
34218         * sunrpc/rpc/svc.h: Likewise.
34219         * sunrpc/rpc/svc_auth.h: Likewise.
34220         * sunrpc/rpc/types.h: Likewise.
34221         * sunrpc/rpc/xdr.h: Likewise.
34222         * sunrpc/rpc_clntout.c: Likewise.
34223         * sunrpc/rpc_cmsg.c: Likewise.
34224         * sunrpc/rpc_common.c: Likewise.
34225         * sunrpc/rpc_cout.c: Likewise.
34226         * sunrpc/rpc_dtable.c: Likewise.
34227         * sunrpc/rpc_hout.c: Likewise.
34228         * sunrpc/rpc_main.c: Likewise.
34229         * sunrpc/rpc_parse.c: Likewise.
34230         * sunrpc/rpc_parse.h: Likewise.
34231         * sunrpc/rpc_prot.c: Likewise.
34232         * sunrpc/rpc_sample.c: Likewise.
34233         * sunrpc/rpc_scan.c: Likewise.
34234         * sunrpc/rpc_scan.h: Likewise.
34235         * sunrpc/rpc_svcout.c: Likewise.
34236         * sunrpc/rpc_tblout.c: Likewise.
34237         * sunrpc/rpc_util.c: Likewise.
34238         * sunrpc/rpc_util.h: Likewise.
34239         * sunrpc/rpcinfo.c: Likewise.
34240         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34241         * sunrpc/rpcsvc/key_prot.x: Likewise.
34242         * sunrpc/rpcsvc/klm_prot.x: Likewise.
34243         * sunrpc/rpcsvc/mount.x: Likewise.
34244         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34245         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34246         * sunrpc/rpcsvc/rex.x: Likewise.
34247         * sunrpc/rpcsvc/rstat.x: Likewise.
34248         * sunrpc/rpcsvc/rusers.x: Likewise.
34249         * sunrpc/rpcsvc/sm_inter.x: Likewise.
34250         * sunrpc/rpcsvc/spray.x: Likewise.
34251         * sunrpc/rpcsvc/yppasswd.x: Likewise.
34252         * sunrpc/rtime.c: Likewise.
34253         * sunrpc/svc.c: Likewise.
34254         * sunrpc/svc_auth.c: Likewise.
34255         * sunrpc/svc_authux.c: Likewise.
34256         * sunrpc/svc_raw.c: Likewise.
34257         * sunrpc/svc_run.c: Likewise.
34258         * sunrpc/svc_simple.c: Likewise.
34259         * sunrpc/svc_tcp.c: Likewise.
34260         * sunrpc/svc_udp.c: Likewise.
34261         * sunrpc/svc_unix.c: Likewise.
34262         * sunrpc/svcauth_des.c: Likewise.
34263         * sunrpc/xcrypt.c: Likewise.
34264         * sunrpc/xdr.c: Likewise.
34265         * sunrpc/xdr_array.c: Likewise.
34266         * sunrpc/xdr_float.c: Likewise.
34267         * sunrpc/xdr_mem.c: Likewise.
34268         * sunrpc/xdr_rec.c: Likewise.
34269         * sunrpc/xdr_ref.c: Likewise.
34270         * sunrpc/xdr_sizeof.c: Likewise.
34271         * sunrpc/xdr_stdio.c: Likewise.
34272
34273         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34274         handling.
34275
34276 2010-08-19  Andreas Schwab  <schwab@redhat.com>
34277
34278         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34279
34280 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
34281
34282         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34283         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34284         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34285         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34286         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34287         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34288         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34289         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34290         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34291         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34292         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34293         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34294         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34295         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34296
34297 2010-07-26  Anton Blanchard  <anton@samba.org>
34298
34299         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34300         * malloc/arena.c (heap_trim): Likewise.
34301
34302 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
34303
34304         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34305         here.  Not...
34306         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34307         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34308
34309 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
34310
34311         * sysdeps/i386/elf/Makefile: New file.
34312
34313 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34314
34315         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34316         from fanotify_init.
34317         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34319
34320 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
34321
34322         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34323         of strncasecmp_l.
34324         * sysdeps/multiarch/strcmp.S: Likewise.
34325
34326 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
34327
34328         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34329         strncase_l-nonascii.
34330         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34331         Add strncase_l-ssse3.
34332         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34333         * sysdeps/x86_64/strcmp.S: Likewise.
34334         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34335         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34336         * sysdeps/x86_64/strncase.S: New file.
34337         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34338         * sysdeps/x86_64/strncase_l.S: New file.
34339         * string/Makefile (strop-tests): Add strncasecmp.
34340         * string/test-strncasecmp.c: New file.
34341
34342         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34343         warning.
34344
34345         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34346         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34347
34348 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
34349
34350         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34351
34352 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
34353
34354         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34355         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34356         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34357
34358 2010-05-01  Alan Modra  <amodra@gmail.com>
34359
34360         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34361         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34362         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34363         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34364         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34365         tidying.  Don't tail-call __sigjmp_save for static lib.
34366         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34367         save location.
34368         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34369         (CALL_MCOUNT): Add eh info, and nop after bl.
34370         (TAIL_CALL_SYSCALL_ERROR): New macro.
34371         (PSEUDO_RET): Use it.
34372         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34373         Correct save location of integer regs and cr.
34374         (_dl_profile_resolve): Correct cr save location.  Delete nops
34375         after bl when SHARED.  Reduce cfi size a little by better
34376         placement of cfi directives.
34377         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34378         make a stack frame.  Instead use parm save area as a temp.
34379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34380         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34382         Don't make a stack frame for parent, use parm save area.
34383         Increase child stack frame to 112 bytes.  Don't save unused reg,
34384         and adjust reg usage.  Set up cfi on error recovery and
34385         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34387         (__makecontext): Add dummy nop after jump to exit.
34388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34389         Use correct parm save area and cr save, reduce stack frame.
34390         Correct cfi for possible PSEUDO_RET frame setup.
34391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34392         Branch to local label emitted by PSEUDO_RET rather than
34393         __syscall_error.
34394
34395 2010-08-12  Andreas Schwab  <schwab@redhat.com>
34396
34397         [BZ #11904]
34398         * locale/programs/locale.c (print_assignment): New function.
34399         (show_locale_vars): Use it.
34400
34401 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
34402
34403         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34404         field.
34405         (struct statfs64): Likewise.
34406         (_STATFS_F_FLAGS): Define.
34407         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34408         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34409         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34410         (ST_VALID): Define locally.
34411         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34412         __statvfs_getflags, use the provided value.
34413         * sysdeps/unix/sysv/linux/kernel-features.h: Define
34414         __ASSUME_STATFS_F_FLAGS.
34415
34416         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34417
34418         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34419         Add sys/fanotify.h.
34420         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34421         fanotify_mask for GLIBC_2.13.
34422         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34423         fanotify_init and fanotify_mark.
34424         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34425         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34426
34427         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34428         Add prlimit.
34429         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34430         prlimit64 for GLIBC_2.13.
34431         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34432         prlimit64.
34433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34434         syscall.
34435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34436         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34437         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34438         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
34440         add prlimit alias.
34441         * sysdeps/unix/sysv/linux/prlimit.c: New file.
34442
34443         [BZ #11903]
34444         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34445         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34446
34447         * nss/Makefile: Add rules to build and run tst-nss-test1.
34448         * shlib-versions: Add entry for libnss_test1.
34449         * nss/nss_test1.c: New file.
34450         * nss/tst-nss-test1.c: New file.
34451
34452         * nss/nsswitch.c (__nss_database_custom): Define new variable.
34453         (__nss_configure_lookup): Set appropriate entry in
34454         __nss_configure_lookup to true.
34455         * nss/nsswitch.h: Define enum with indeces of databases in
34456         databases and __nss_database_custom arrays.  Declare
34457         __nss_database_custom.
34458         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34459         to avoid using nscd when custom rules are installed.
34460         * nss/getXXbyYY_r.c: Likewise.
34461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34462
34463         * nss/nss_files/files-parse.c: Whitespace fixes.
34464
34465 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
34466
34467         [BZ #11883]
34468         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34469         * posix/fnmatch_loop.c: Likewise.
34470
34471 2010-07-17  Andi Kleen  <ak@linux.intel.com>
34472
34473         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34474         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34475         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34476         * Versions.def [GLIBC_2.13]: Add.
34477
34478 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
34479
34480         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34481         Also fail if tpwd after pwuid call is NULL.
34482
34483 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34484
34485         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34486         when converting to ms.
34487
34488 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34489
34490         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34491         EOPNOTSUPP errors with ENOTTY.
34492         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34493         EOPNOTSUPP errors with ENOTTY.
34494
34495 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
34496
34497         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34498         Add strcasecmp_l-ssse3.
34499         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34500         strcasecmp.
34501         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34502         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34503         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34504
34505 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
34506
34507         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34508
34509         * string/Makefile (strop-tests): Add strcasecmp.
34510         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34511         strcasecmp_l-nonascii.
34512         (gen-as-const-headers): Add locale-defines.sym.
34513         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34514         * sysdeps/x86_64/strcasecmp.S: New file.
34515         * sysdeps/x86_64/strcasecmp_l.S: New file.
34516         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34517         * sysdeps/x86_64/locale-defines.sym: New file.
34518         * string/test-strcasecmp.c: New file.
34519
34520         * string/test-strcasestr.c: Test both ends of the range of characters.
34521         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34522
34523 2010-07-29  Roland McGrath  <roland@redhat.com>
34524
34525         [BZ #11856]
34526         * manual/locale.texi (Yes-or-No Questions): Fix example code.
34527
34528 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
34529
34530         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34531         for ld.so.
34532
34533 2010-07-27  Andreas Schwab  <schwab@redhat.com>
34534
34535         * manual/memory.texi (Malloc Tunable Parameters): Document
34536         M_PERTURB.
34537
34538 2010-07-26  Roland McGrath  <roland@redhat.com>
34539
34540         [BZ #11840]
34541         * configure.in (-fgnu89-inline check): Set and substitute
34542         gnu89_inline, not libc_cv_gnu89_inline.
34543         * configure: Regenerated.
34544         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34545
34546 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
34547
34548         * string/test-strnlen.c: New file.
34549         * string/Makefile (strop-tests): Add strnlen.
34550         * string/tester.c (test_strnlen): Add a few more test cases.
34551         * string/tst-strlen.c: Better error reporting.
34552
34553         * sysdeps/x86_64/strnlen.S: New file.
34554
34555 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
34556
34557         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34558         lower-latency instructions.
34559
34560 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
34561
34562         * string/test-strcasestr.c: New file.
34563         * string/test-strstr.c: New file.
34564         * string/Makefile (strop-tests): Add strstr and strcasestr.
34565         * string/str-two-way.h: Don't undefine MAX.
34566         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34567
34568 2010-07-21  Andreas Schwab  <schwab@redhat.com>
34569
34570         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34571         strcasestr-nonascii.
34572         (CFLAGS-strcasestr-nonascii.c): Define.
34573         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34575         Remove unused attribute.
34576
34577 2010-07-20  Roland McGrath  <roland@redhat.com>
34578
34579         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34580         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
34581         ld.so.cache was broken.  With it, there is no way to disable dsocaps
34582         like LD_HWCAP_MASK can disable hwcaps.
34583
34584 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34585
34586         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34587
34588 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
34589
34590         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34591         call in strcasestr.
34592         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34593         __strcasestr_sse42_nonascii.
34594         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34595         strcasestr-nonascii.c.
34596         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34597
34598 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
34599
34600         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34601         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34602         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34603         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34604
34605 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
34606
34607         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34608         fcntl.
34609
34610 2010-07-06  Andreas Schwab  <schwab@redhat.com>
34611
34612         [BZ #11577]
34613         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34614         dl_signal_cerror.
34615
34616 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
34617
34618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34619         _PC_PIPE_BUF using F_GETPIPE_SZ.
34620
34621 2010-07-05  Roland McGrath  <roland@redhat.com>
34622
34623         * manual/arith.texi (Rounding Functions): Fix rint description
34624         implicit in round description.
34625
34626 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
34627
34628         * elf/Makefile: Fix linking for a few tests to make recent linker
34629         happy.
34630
34631 2010-06-30  Andreas Schwab  <schwab@redhat.com>
34632
34633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34634         $(common-objpfx)libc_nonshared.a.
34635
34636 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
34637
34638         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34639         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34640         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34641         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34642         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34643         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34644         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34645         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34660         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34661         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34662         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34663         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34664         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34665         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34666         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34667         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34668         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34669         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34670         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34671         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34686
34687 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34688
34689         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34690         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
34691         * string/memmove.c (memmove): Renamed to ...
34692         (MEMMOVE): ...this.  Default to memmove.
34693         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34694         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34695         (END_CHK): Define.
34696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34697         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34698         mempcpy-ssse3-back memmove-ssse3-back.
34699         * sysdeps/x86_64/multiarch/bcopy.S: New file .
34700         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34701         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34702         * sysdeps/x86_64/multiarch/memcpy.S: New file.
34703         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34704         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34705         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34706         * sysdeps/x86_64/multiarch/memmove.c: New file.
34707         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34708         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34709         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34710         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34711         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34712         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34713         Define.
34714         (index_Fast_Copy_Backward): Define.
34715         (HAS_ARCH_FEATURE): Define.
34716         (HAS_FAST_REP_STRING): Define.
34717         (HAS_FAST_COPY_BACKWARD): Define.
34718
34719 2010-06-21  Andreas Schwab  <schwab@redhat.com>
34720
34721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34722         Restore proper fallback handling.
34723
34724 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
34725
34726         [BZ #11701]
34727         * posix/group_member.c (__group_member): Correct checking loop.
34728
34729         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34730         OOM in getpwuid_r correctly.  Return error number when the caller
34731         should return, otherwise -1.
34732         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34733         call returning > 0 value.
34734         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34735
34736 2010-06-07  Andreas Schwab  <schwab@redhat.com>
34737
34738         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34739         libc_nonshared.a from targets in modules-names.
34740
34741 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
34742
34743         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34744         requires it.
34745
34746 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
34747
34748         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34749         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34750         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34751         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34752
34753 2010-06-02  Andreas Schwab  <schwab@redhat.com>
34754
34755         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34756
34757 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
34758
34759         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34760         and F_GETPIPE_SZ.
34761         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34762         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34764         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34765         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34766         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34767
34768 2010-06-14  Roland McGrath  <roland@redhat.com>
34769
34770         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34771
34772 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
34773
34774         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34775         __REDIRECT followed by __THROW.
34776         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34777         * posix/getopt.h (getopt): Likewise.
34778
34779 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
34780
34781         * hurd/lookup-at.c (__file_name_lookup_at): Accept
34782         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
34783         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34784         in AT_FLAGS.
34785         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34786         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34787
34788 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
34789
34790         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34791
34792 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
34793
34794         [BZ #11640]
34795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34796         Properly check family and model.
34797
34798 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
34799
34800         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34801
34802 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
34803
34804         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34805
34806 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
34807
34808         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34809         symbol reference.
34810
34811 2010-05-19  Andreas Schwab  <schwab@redhat.com>
34812
34813         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34814         symbol reference.
34815
34816 2010-05-21  Andreas Schwab  <schwab@redhat.com>
34817
34818         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34819         and internal_recvmmsg.
34820         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34821         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34822         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34823         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34824
34825         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34826         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34827         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34828
34829 2010-05-20  Andreas Schwab  <schwab@redhat.com>
34830
34831         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34832
34833 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
34834
34835         POWER7 optimizations.
34836         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34837         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34838
34839 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
34840
34841         * version.h: Update for 2.13 development version.
34842
34843 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
34844
34845         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34846         exceptions.  Return 0.
34847
34848 2010-05-07  Roland McGrath  <roland@redhat.com>
34849
34850         * elf/ldconfig.c (main): Add a const.
34851
34852 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
34853
34854         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34855         (args_options): Add no-idn option.
34856         (ahosts_keys_int): Add idn_flags to ai_flags.
34857         (parse_option): Handle 'i' option to clear idn_flags.
34858
34859         * malloc/malloc.c (_int_free): Possible race in the most recently
34860         added check.  Only act on the data if no current modification
34861         happened.
34862
34863 See ChangeLog.17 for earlier changes.