MIPS: Consolidate nptl/ subdirectories under linux/...
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10         Moved ...
11         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12         ... here.
13         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
19         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
21         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
24         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26         Moved ...
27         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33         Moved ...
34         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36         Moved ...
37         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41         Moved ...
42         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
43         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
49         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
50         Moved ...
51         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
52         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
53         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
54         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
55         Moved ...
56         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
57         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
58         Moved ...
59         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
60         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
61         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
62         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
63         Moved ...
64         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
65         ... here.
66         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
67         Identical file removed.
68         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
69         Moved ...
70         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
71         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
72         Identical file removed.
73         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
74         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
75         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
76         Moved ...
77         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
78         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
79         Identical file removed.
80         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
81         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
82         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
83         Identical file removed.
84         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
85         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
86         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
87         Identical file removed.
88         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
89         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
90         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
91         Identical file removed.
92         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
93         Moved ...
94         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
95         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
96         Identical file removed.
97         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
98         Moved ...
99         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
101         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
102         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
103         Identical file removed.
104         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
105         Moved ...
106         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
107         ... here.
108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
109         Identical file removed.
110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
111         Moved ...
112         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
114         Identical file removed.
115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
116         Moved ...
117         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
119         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
123         Moved ...
124         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
125         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
126         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
127
128         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
129         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
130         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
131         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
132         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
133
134 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
135
136         [BZ #17092]
137         * nscd/nscd.c (monitor_child): Return exit status of child
138         instead of return value from wait syscall.
139
140 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
141
142         * configure.ac (libc_commonpagesize): Remove variable.
143         (libc_relro_required): Likewise.
144         (libc_cv_z_relro): Remove configure test.
145         * configure: Regenerated.
146         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
147         variable.
148         (libc_relro_required): Likewise.
149         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
150         (libc_relro_required): Likewise.
151         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
152         (libc_relro_required): Likewise.
153         * sysdeps/arm/preconfigure: Regenerated.
154         * sysdeps/ia64/preconfigure: Remove file.
155         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
156         variable.
157         (libc_relro_required): Likewise.
158
159         [BZ #16561]
160         [BZ #16562]
161         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
162         (__ieee754_yn): Set FE_TONEAREST mode internally and then
163         recompute overflowing results in original rounding mode.
164         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
165         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
166         recompute overflowing results in original rounding mode.
167         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
168         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
169         recompute overflowing results in original rounding mode.
170         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
171         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
172         recompute overflowing results in original rounding mode.
173         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
174         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
175         recompute overflowing results in original rounding mode.
176         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
177         (libc_feholdsetround_ctx): New macro.
178         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
179         * sysdeps/i386/fpu/libm-test-ulps: Update.
180         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
181
182 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
183
184         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
185         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
186         corresponding .cpsetup call.
187
188 2014-06-26  Roland McGrath  <roland@hack.frob.com>
189
190         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
191         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
192         * sysdeps/arm/Makefile [$(subdir) = csu]
193         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
194         (static-only-routines): Add aeabi_read_tp here.
195         (shared-only-routines): Add libc-aeabi_read_tp here.
196         (CFLAGS-libc-start.c): Add -fexceptions here.
197         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
198         (sysdep_routines, static-only-routines, shared-only-routines):
199         Don't add to these here.
200         (CFLAGS-libc-start.c): Likewise.
201
202         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
203         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
204         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
205         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
206         * sysdeps/arm/Makefile [$(subdir) = rt]
207         (librt-sysdep_routines, librt-shared-only-routines):
208         Append rt-aeabi_unwind_cpp_pr1 here.
209         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
210         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
211         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
212         (libpthread-sysdep_routines, libpthread-shared-only-routines):
213         Append nptl-aeabi_unwind_cpp_pr1 here.
214         (tests): Filter out tst-cleanupx4 here.
215         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
216         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
217         Don't do those here.
218
219 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
220
221         * scripts/list-sources.sh: Do not handle ports specially.
222
223 2014-06-26  Roland McGrath  <roland@hack.frob.com>
224
225         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
226         * sysdeps/arm/feupdateenv.c: Likewise.
227
228         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
229
230 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
231
232         * manual/texinfo.tex: Update to version 2014-05-05.10 with
233         trailing whitespace removed.
234         * scripts/config.guess: Update to version 2014-03-23.
235         * scripts/config.sub: Update to version 2014-05-01
236         * scripts/install-sh: Update to version 2013-12-25.23.
237         * scripts/move-if-change: Update from gnulib.
238
239 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
240
241         * debug/memmove_chk.c: Remove pagecopy.h include.
242
243 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
244
245         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
246         identical to gnulib mktime.
247
248 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
249
250         * configure.ac: Do not test for machine being rs6000.  Do not test
251         for powerpc*-*soft.
252         * configure: Regenerated.
253
254         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
255         test.
256         * configure: Regenerated.
257         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
258         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
259         Remove configure test.
260         * sysdeps/arm/configure: Regenerated.
261         * sysdeps/nptl/configure.ac: Do not check
262         libc_cv_asm_cfi_directives.
263         * sysdeps/nptl/configure: Regenerated.
264         * sysdeps/x86_64/nptl/configure.ac: Remove file.
265         * sysdeps/x86_64/nptl/configure: Remove generated file.
266         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
267         unconditional.
268         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
269
270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
271
272         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
273         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
274         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
275         it is defined.
276
277         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
278         instead of whether it is defined.
279         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
280         * sysdeps/hppa/dl-machine.h: Likewise.
281         * sysdeps/ia64/dl-machine.h: Likewise.
282         * sysdeps/m68k/dl-machine.h: Likewise.
283         * sysdeps/microblaze/dl-machine.h: Likewise.
284         * sysdeps/mips/dl-machine.: Likewise.
285         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
286         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
287         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
288         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
289         * sysdeps/sh/dl-machine.h: Likewise.
290         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
291         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
292         * sysdeps/tile/dl-machine.h: Likewise.
293         * sysdeps/x86_64/dl-machine.h: Likewise.
294
295         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
296         code.
297         (verify_persistent_db): Likewise.
298
299 2014-06-26  Roland McGrath  <roland@hack.frob.com>
300
301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
302         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
304         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
306         Moved ...
307         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
308         ... here.
309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
310         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
312         Identical file removed.
313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
314         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
316         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
318         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
320         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
322         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
324         Moved ...
325         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
327         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
329         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
331         Moved ...
332         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
334         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
336         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
338         Identical file removed.
339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
340         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
344         Moved ...
345         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
346         ... here.
347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
350         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
352         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
356         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
358         Moved ...
359         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
361         Moved ...
362         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
364         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
366         Moved ...
367         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
369         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
370
371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
372         folded into ...
373         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
374         * sysdeps/unix/sysv/linux/s390/Versions
375         (libpthread: GLIBC_2.19): New version set.
376         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
377         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
378         (librt: GLIBC_2.3.3): New version set.
379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
380         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
381         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
383         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
385         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
386         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
387         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
388         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
389         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
390         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
391         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
392         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
393         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
394         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
395         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
396         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
398         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
399         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
401         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
409         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
415         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
424
425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
426         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
427         (__libc_vfork): Define the function under this name.
428         [!NOT_IN_libc] (__vfork): Make this an alias.
429         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
431         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
432         (__libc_vfork): Define the function under this name.
433         [!NOT_IN_libc] (__vfork): Make this an alias.
434         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
435         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
436         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
440
441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
442         code that was previously under [RESET_PID].
443         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
446
447         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
448         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
450         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
452         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
453         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
454         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
455         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
456         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
457         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
458         Moved ...
459         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
460         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
461         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
462         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
464         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
465         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
466         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
467         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
468         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
470         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
471         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
472         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
473         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
474         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
475         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
476         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
477         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
478         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
480         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
481         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
482         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
483         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
484         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
485         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
488
489 2014-06-25  Roland McGrath  <roland@hack.frob.com>
490
491         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
492         that was previously under [RESET_PID].
493         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
494
495 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
496
497         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
498         not undefine and redefine.
499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
500         [O_CLOEXEC]: Make code unconditional.
501         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
502         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
503         <kernel-features.h>.
504         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
505         conditional variable definition.
506         (shm_open) [O_CLOEXEC]: Make code unconditional.
507         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
508         code.
509
510         * configure.ac (USE_REGPARMS): Don't define here.
511         * configure: Regenerated.
512         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
513         * sysdeps/i386/configure: Regenerated.
514
515         * nptl/createthread.c: Don't include kernel-features.h.
516         * nptl/pthread_cancel.c: Likewise.
517         * nptl/pthread_condattr_setclock.c: Likewise.
518         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
519         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
520         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
521         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
522         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
527         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
528         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
529         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
531         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
532         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
533         * nscd/gai.c: Likewise.
534         * nss/nss_db/db-open.c: Likewise.
535         * sysdeps/generic/ldsodefs.h: Likewise.
536         * sysdeps/sh/nptl/tls.h: Likewise.
537         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
538         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
539         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
540         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
541         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
542         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
543         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
546         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
547         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
549         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
550         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
551         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
552         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
553         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
554         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
556         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
566         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
567         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
568         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
569         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
574         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
575         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
577         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
578         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
579         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
580         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
581         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
582         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
583         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
584         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
585         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
586         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
587         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
588         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
589         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
590         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
591         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
592         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
593         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
617         * sysdeps/unix/sysv/linux/pread.c: Likewise.
618         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
619         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
620         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
621         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
624         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
625         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
626         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
627         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
628         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
629         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
630         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
631         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
632         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
633         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
634         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
635         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
636         * sysdeps/unix/sysv/linux/system.c: Likewise.
637         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
638         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
639         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
640         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
641         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
644
645         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
646         * configure: Regenerated.
647         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
648
649         * configure.ac (base_machine): Do not set specially for particular
650         machines here.
651         * configure: Regenerated.
652         * sysdeps/powerpc/preconfigure: Move machine and base_machine
653         settings from configure.ac.
654         * sysdeps/i386/preconfigure: New file.
655         * sysdeps/s390/preconfigure: Likewise.
656         * sysdeps/sh/preconfigure: Likewise.
657         * sysdeps/sparc/preconfigure: Likewise.
658
659 2014-06-25  Roland McGrath  <roland@hack.frob.com>
660
661         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
662         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
663         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
664         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
665         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
666         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
667         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
668         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
669         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
670         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
671         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
672         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
673         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
678         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
679         * sysdeps/sparc/sparc64/Makefile: ... appended here.
680
681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
682         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
683         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
684         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
685         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
686         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
687         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
688         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
689         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
690         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
691         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
692         * sysdeps/sparc/sparc32/sem_post.c: ... here.
693         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
694         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
695         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
696         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
697         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
698         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
699         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
702         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
712         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
714         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
716         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
718         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
719
720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
721         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
723         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
725         Moved ...
726         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
727         ... here.
728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
729         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
731         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
733         Moved ...
734         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
736         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
740         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
742         Moved ...
743         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
745         Moved ...
746         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
748         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
750         Moved ...
751         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
755         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
757         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
759         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
761         Moved ...
762         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
763         ... here.
764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
765         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
767         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
769         Moved ...
770         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
772         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
776         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
778         Moved ...
779         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
781         Moved ...
782         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
786         Moved ...
787         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
789         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
792
793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
794
795         * timezone/checktab.awk: Update from tzcode 2014e.
796         * timezone/private.h: Likewise.
797         * timezone/tzfile.h: Likewise.
798         * timezone/zdump.c: Likewise.
799         * timezone/zic.c: Likewise.
800
801         * sysdeps/unix/sysv/linux/kernel-features.h
802         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
804         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
806         Remove conditional code.
807
808 2014-06-25  Will Newton  <will.newton@linaro.org>
809
810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
811         (_dl_arm_cap_flags): Add HWCAP2 values.
812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
813         (_DL_HWCAP_COUNT): Increase to 37.
814         (_DL_HWCAP_LAST): New define.
815         (_DL_HWCAP2_LAST): New define.
816         (_dl_procinfo): Add support for printing
817         AT_HWCAP2 entries.
818         (_dl_string_hwcap): Use _dl_hwcap_string.
819
820 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
821
822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
823
824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
825
826         * README: Do not mention ports directory.
827
828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
829         Remove macro.
830         * sysdeps/unix/sysv/linux/futimes.c: Do not include
831         <kernel-features.h>.
832         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
833         conditional variable definition.
834         (__futimes): Update comment.
835         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
836         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
837
838         [BZ #16560]
839         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
840         arguments close to 0.
841         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
842         Likewise.
843         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
844         Likewise.
845         * math/auto-libm-test-in: Add more tests of exp10.
846         * math/auto-libm-test-out: Regenerated.
847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
848
849         * sysdeps/unix/sysv/linux/kernel-features.h
850         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
851         * sysdeps/unix/sysv/linux/readv.c: Do not include
852         <kernel-features.h>.
853         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
854         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
855         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
856         unconditional.
857         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
858         conditional code.
859         * sysdeps/unix/sysv/linux/writev.c: Do not include
860         <kernel-features.h>.
861         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
862         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
863         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
864         unconditional.
865         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
866         conditional code.
867
868 2014-06-25  Will Newton  <will.newton@linaro.org>
869
870         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
871         comment changes throughout the file.  Remove checks
872         for HAVE_*_H definitions that are not required.
873         (__gen_tempname): Call abort if an unknown kind value is
874         passed.
875
876 2014-06-25  Andreas Schwab  <schwab@suse.de>
877
878         [BZ #17086]
879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
880         scalbln, scalblnf, scalblnl in libc.
881
882 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
883
884         [BZ #17086]
885         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
886         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
887         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
888
889 2014-06-24  Roland McGrath  <roland@hack.frob.com>
890
891         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
892         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
893         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
894         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
895         Update #include.
896         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
897         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
898         Update #include.
899         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
901         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
903         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
904         * sysdeps/x86/bits/pthreadtypes.h: ... here.
905         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
906         * sysdeps/x86/bits/semaphore.h: ... here.
907         * sysdeps/x86/nptl/elide.h: Moved ...
908         * sysdeps/x86/elide.h: ... here.
909         * sysdeps/x86_64/nptl/Implies: File removed.
910         * sysdeps/i386/nptl/Implies: File removed.
911
912 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
913
914         [BZ #16539]
915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
916         return the argument for normal arguments with exponent below -64.
917         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
918         Likewise.
919         * math/auto-libm-test-in: Add another test of expm1.
920         * math/auto-libm-test-out: Regenerated.
921
922         [BZ #16287]
923         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
924         calling __erfcl for arguments at least 16.
925         * math/auto-libm-test-in: Add more tests of erf.
926         * math/auto-libm-test-out: Regenerated.
927
928         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
929         individual architectures.
930         * sysdeps/unix/sysv/linux/configure: Regenerated.
931         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
932         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
933         * sysdeps/unix/sysv/linux/powerpc/configure.ac
934         (ldd_rewrite_script): Define variable.
935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
937         file.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
939         generated file.
940         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
941         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
942         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
943         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
944         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
945         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
946         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
947         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
948
949 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
950
951         [BZ #17084]
952         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
953         Rename member __data.d to __data.__elision_data.
954
955 2014-06-24  Wilco  <wdijkstr@arm.com>
956
957         * NEWS: Add 16918 to fixed bug list.
958
959 2014-06-24  Wilco  <wdijkstr@arm.com>
960
961         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
962
963 2014-06-24  Wilco  <wdijkstr@arm.com>
964
965         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
966         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
967         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
968         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
969         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
970         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
971         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
972         Use _FPU_MASK_RM.
973
974 2014-06-24  Wilco  <wdijkstr@arm.com>
975
976         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
977
978 2014-06-24  Wilco  <wdijkstr@arm.com>
979
980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
981         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
982         * sysdeps/arm/fesetround.c (fesetround): Remove space.
983         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
984
985 2014-06-24  Wilco  <wdijkstr@arm.com>
986
987         [BZ #16918]
988         * sysdeps/arm/feupdateenv.c (feupdateenv):
989         Rewrite to reduce FPSCR accesses and fix return value.
990
991 2014-06-24  Wilco  <wdijkstr@arm.com>
992
993         * sysdeps/arm/fclrexcpt.c (feclearexcept):
994         Optimize to avoid unnecessary FPSCR writes.
995         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
996         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
997         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
998         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
999
1000 2014-06-24  Wilco  <wdijkstr@arm.com>
1001
1002         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1003         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1004         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1005         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1006         Call libc_fetestexcept_vfp.
1007         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1008         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1009         __SOFTFP__ ifdef so that they can be built for softfp.
1010
1011 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1012
1013         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1014         argument type signed char.
1015
1016         * Makerules (check-abi): Dump diff of symlist if the test
1017         fails.
1018
1019 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1020
1021         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1022         using abort.
1023
1024         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1025         Remove unused variable ST.
1026
1027 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1028
1029         [BZ #16354]
1030         [BZ #17061]
1031         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1032         small arguments before calling __expm1.
1033         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1034         small arguments before calling __expm1f.
1035         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1036         small arguments before calling __expm1l.
1037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1038         Likewise.
1039         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1040         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1041         spurious underflow for some cosh tests.
1042         * math/auto-libm-test-out: Regenerated.
1043         * sysdeps/i386/fpu/libm-test-ulps: Update.
1044
1045         [BZ #17050]
1046         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1047         (__ieee754_y1): Set errno if return value overflows.
1048         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1049         (__ieee754_y1f): Set errno if return value overflows.
1050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1051         (__ieee754_y1l): Set errno if return value overflows.
1052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1053         (__ieee754_y1l): Set errno if return value overflows.
1054         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1055         * math/auto-libm-test-out: Regenerated.
1056
1057         * math/gen-auto-libm-tests.c: Document use of
1058         ignore-zero-inf-sign.
1059         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1060         (input_flags): Add ignore-zero-inf-sign.
1061         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1062         * math/gen-libm-test.pl (generate_testfile): Handle
1063         ignore-zero-inf-sign.
1064         * math/auto-libm-test-in: Mark some cpow tests with
1065         ignore-zero-inf-sign and some with xfail-rounding.
1066         * math/auto-libm-test-out: Regenerated.
1067         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1068         * sysdeps/i386/fpu/libm-test-ulps: Update.
1069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1070
1071         [BZ #16315]
1072         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1073         overflowing or underflowing operations take place with sign of
1074         result.
1075         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1076         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1077         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1078         (__ieee754_pow): Recompute overflowing and underflowing results in
1079         original rounding mode.
1080         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1081         (__powl_helper): Allow negative argument X and scale negated value
1082         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1084         overflowing or underflowing operations take place with sign of
1085         result.
1086         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1087         Include <math.h>.
1088         * math/auto-libm-test-in: Add more tests of pow.
1089         * math/auto-libm-test-out: Regenerated.
1090         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1091         (pow_tonearest_test_data): Remove.
1092         (pow_test_tonearest): Likewise.
1093         (pow_towardzero_test_data): Likewise.
1094         (pow_test_towardzero): Likewise.
1095         (pow_downward_test_data): Likewise.
1096         (pow_test_downward): Likewise.
1097         (pow_upward_test_data): Likewise.
1098         (pow_test_upward): Likewise.
1099         (main): Don't call removed functions.
1100         * sysdeps/i386/fpu/libm-test-ulps: Update.
1101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1102
1103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1104
1105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1106         Moved ...
1107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1112         Moved ...
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1115         Moved ...
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1118         File removed.
1119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1120         File removed.
1121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1122         File removed.
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1124         File removed.
1125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1126         File removed.
1127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1128         File removed.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1130         File removed.
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1132         File removed.
1133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1134         File removed.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1136         File removed.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1138         File removed.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1140         File removed.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1142         Moved ...
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1145         Moved ...
1146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1147         ... here.
1148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1149         Moved ...
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1152         Moved ...
1153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1155         Moved ...
1156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1158         Moved ...
1159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1161         Moved ...
1162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1164         Moved ...
1165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1167         Moved ...
1168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1171         ... here.
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1173         Moved ...
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1176         Moved ...
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1178         ... here.
1179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1180         Moved ...
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1182         ... here.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1184         Moved ...
1185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1186         ... here.
1187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1188         Moved ...
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1191         Moved ...
1192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1196         Moved ...
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1198         ... here.
1199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1200         Moved ...
1201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1202         ... here.
1203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1204         Moved ...
1205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1207         Moved ...
1208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1210         Moved ...
1211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1213         Moved ...
1214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1216         Moved ...
1217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1218         ... here.
1219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1220         Moved ...
1221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1223         Moved ...
1224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1226         Moved ...
1227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1229         Moved ...
1230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1234         Moved ...
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1237         Moved ...
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1240         Moved ...
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1242         ... here.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1244         Moved ...
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1246         ... here.
1247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1248         Moved ...
1249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1250         ... here.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1252         Moved ...
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1255         Moved ...
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1258         Moved ...
1259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1261         Moved ...
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1263         ... here.
1264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1265         Moved ...
1266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1267         ... here.
1268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1269         Moved ...
1270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1271         ... here.
1272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1273         Moved ...
1274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1276         Moved ...
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1278
1279 2014-06-23  Will Newton  <will.newton@linaro.org>
1280             Wilco  <wdijkstr@arm.com>
1281
1282         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1283         implementation.  Include get-rounding-mode.h.
1284         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1285         [!libc_feholdsetround_noex_ctx]: Define
1286         libc_feholdsetround_noex_ctx.
1287         [!libc_feholdsetround_noexf_ctx]: Define
1288         libc_feholdsetround_noexf_ctx.
1289         [!libc_feholdsetround_noexl_ctx]: Define
1290         libc_feholdsetround_noexl_ctx.
1291         (libc_feholdsetround_ctx): New function.
1292         (libc_feresetround_ctx): New function.
1293         (libc_feholdsetround_noex_ctx): New function.
1294         (libc_feresetround_noex_ctx): New function.
1295
1296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1297
1298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1299         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1300         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1301         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1302         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1303         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1304
1305         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1306         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1308         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1309         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1310         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1312         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1314         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1316         Moved ...
1317         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1318         ... here.
1319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1320         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1322         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1324         Moved ...
1325         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1327         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1329         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1331         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1333         Moved ...
1334         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1336         Moved ...
1337         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1339         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1341         Moved ...
1342         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1344         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1345         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1346         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1347         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1350         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1352         Moved ...
1353         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1354         ... here.
1355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1356         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1360         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1362         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1366         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1368         Moved ...
1369         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1371         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1373         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1375         Moved ...
1376         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1378         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1379         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1381
1382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1383         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1384         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1385         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1386         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1387         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1389         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1391         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1393         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1394         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1395         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1397         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1398         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1399         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1401         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1403         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1405         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1406         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1407         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1408         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1409         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1410
1411 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1412
1413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1414         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1415         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1416         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1417         (IPV6_PMTUDISC_INTERFACE): Likewise.
1418         (IPV6_PMTUDISC_OMIT): Likewise.
1419
1420 2014-06-23  Andreas Schwab  <schwab@suse.de>
1421
1422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1423         Remove unused errout label.
1424
1425 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1426
1427         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1428         macro: hardware supports Vector Crypto instructions.
1429
1430 2014-06-23  Will Newton  <will.newton@linaro.org>
1431
1432         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1433         rather than __builtin_expect.
1434
1435         * elf/dl-lookup.c (undefined_msg): Remove variable.
1436         (_dl_lookup_symbol_x): Replace undefined_msg with string
1437         literal.
1438
1439         * elf/dl-lookup.c (do_lookup_unique): New function.
1440         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1441         to a separate function.
1442
1443 2014-06-23  Andreas Schwab  <schwab@suse.de>
1444
1445         [BZ #17079]
1446         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1447         before reading the next line.
1448
1449 2014-06-23  Will Newton  <will.newton@linaro.org>
1450
1451         * test-skeleton.c (signal_handler): Use printf and %m
1452         rather than perror.  Use printf rather than fprintf to
1453         stderr.  Use puts rather than fputs to stderr.
1454         (main): Likewise.
1455
1456 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1457
1458         * nscd/nscd.c (thread_info_t): Remove typedef.
1459         (thread_info): Remove variable.
1460
1461 2014-06-21  Allan McRae  <allan@archlinux.org>
1462
1463         * NEWS: Mention CVE-2014-4043.
1464
1465 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1466
1467         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1468         * nptl/smp.h: ... here.
1469
1470         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1471
1472         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1473         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1474         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1475         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1476
1477         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1478         * nptl/stack-aliasing.h: New file.
1479         * sysdeps/i386/i686/stack-aliasing.h: New file.
1480         * sysdeps/i386/i686/nptl/Makefile: File removed.
1481         * sysdeps/x86_64/stack-aliasing.h: New file.
1482         * sysdeps/x86_64/nptl/Makefile
1483         (CFLAGS-pthread_create.c): Variable removed.
1484
1485         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1486         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1487         old file.
1488         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1489         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1490         old file.
1491
1492 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1493
1494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1495         (__ASSUME_SIGFRAME_V2): Remove macro.
1496         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1497         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1498         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1499         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1500         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1501         Declare as function.  Remove conditional macro definitions.
1502         (__default_rt_sa_restorer): Likewise.
1503         (__default_sa_restorer_v1): Remove declaration.
1504         (__default_sa_restorer_v2): Likewise.
1505         (__default_rt_sa_restorer_v1): Likewise.
1506         (__default_rt_sa_restorer_v2): Likewise.
1507         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1508         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1509         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1510
1511 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1512
1513         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1514         (libpthread-routines): Add sysdep.
1515         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1516         * sysdeps/unix/sysv/linux/sparc/Versions
1517         (libpthread: GLIBC_2.3.3): New version set.
1518         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1519         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1520         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1521         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1522         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1524         Moved ...
1525         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1526         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1527         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1529         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1530         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1531         * sysdeps/sparc/nptl/sem_init.c: ... here.
1532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1533         * sysdeps/sparc/nptl/sem_post.c: ... here.
1534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1535         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1537         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1538         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1540         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1541         (libpthread-routines): Add cpu_relax.
1542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1543         File removed.
1544         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1545         (librt: GLIBC_2.3.3): New version set.
1546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1547         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1549         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1552         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1554         Moved ...
1555         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1557         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1559         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1561         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1563         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1565         Moved ...
1566         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1567         Update #include.
1568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1569         Moved ...
1570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1571         Update #include.
1572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1573         Moved ...
1574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1575         Update #include.
1576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1577         Moved ...
1578         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1579         Update #include.
1580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1581         Moved ...
1582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1583         Update #include.
1584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1585         Moved ...
1586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1587         Update #include.
1588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1589         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1599         Moved ...
1600         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1605
1606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1607
1608         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1609         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1610         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1612         * nscd/nscd.c: Likewise.
1613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1614         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1615         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1616         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1617
1618         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1619         <kernel-features.h>.
1620         (init_mq_netlink): Remove conditional have_sock_cloexec
1621         definitions.  Remove code conditional on have_sock_cloexec < 0.
1622         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1623         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1624         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1625         <kernel-features.h>.
1626         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1627         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1628
1629 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1630
1631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1632         Add tests for memset_chk and memset.
1633
1634         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1635         with AVX2_Usable.
1636
1637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1638
1639         [BZ #16046]
1640         * elf/tst-dl-iter-static.c: New file.
1641         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1642
1643         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1644         error.
1645
1646 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1647
1648         * sysdeps/unix/sysv/linux/kernel-features.h
1649         (__ASSUME_F_GETOWN_EX): Remove macro.
1650         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1651         <kernel-features.h>.
1652         (miss_F_GETOWN_EX): Remove variable or macro.
1653         (do_fcntl): Do not check miss_F_GETOWN_EX.
1654         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1655
1656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1657         Remove macro.
1658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1659         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1660         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1661
1662         * sysdeps/unix/sysv/linux/kernel-features.h
1663         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1664         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1665         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1666         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1667
1668 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1669
1670         [BZ #17075]
1671         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1672         Fix calculation of the symbol's value.
1673         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1674         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1675         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1676         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1677         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1678         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1679         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1680         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1681         (modules-names): Add `tst-armtlsdescmod',
1682         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1683         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1684         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1685         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1686         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1687         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1688         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1689         ($(objpfx)tst-armtlsdescloc): New dependency.
1690         ($(objpfx)tst-armtlsdescextnow): Likewise.
1691         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1692         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1693         TLS scheme support.
1694         * sysdeps/arm/configure: Regenerate.
1695
1696 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1697
1698         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1699         (__atfct_seterrno_2): Likewise.
1700         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1701         <kernel-features.h>.
1702         (__ASSUME_ATFCTS): Do not undefine and redefine.
1703         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1704         (__have_atfcts): Remove conditional definition.
1705         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1707         unreachable if [__ASSUME_ATFCTS].
1708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1709         not undefine and redefine.
1710         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1711         <kernel-features.h>.
1712         (faccessat) [__NR_faccessat]: Make code unconditional.
1713         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1714         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1715         <kernel-features.h>.
1716         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1717         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1718         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1719         <kernel-features.h>.
1720         (fchownat) [__NR_fchownat]: Make code unconditional.
1721         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1722         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1723         <kernel-features.h>.
1724         (futimesat) [__NR_futimesat]: Make code unconditional.
1725         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1727         <kernel-features.h>.
1728         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1729         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1730         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1731         <kernel-features.h>.
1732         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1733         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1734         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1736         <kernel-features.h>.
1737         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1739         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1740         <kernel-features.h>.
1741         (linkat) [__NR_linkat]: Make code unconditional.
1742         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1743         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1744         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1745         <kernel-features.h>.
1746         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1748         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1749         <kernel-features.h>.
1750         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1751         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1752         * sysdeps/unix/sysv/linux/openat.c: Do not include
1753         <kernel-features.h>.
1754         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1755         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1756         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1757         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1758         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1759         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1760         <kernel-features.h>.
1761         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1762         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1763         result of INLINE_SYSCALL directly, not via int variable.
1764         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1765         <kernel-features.h>.
1766         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1767         (renameat) [__NR_renameat]: Make code unconditional.
1768         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1769         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1770         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1771         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1773         (__ASSUME_ATFCTS): Do not undefine and redefine.
1774         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1775         <kernel-features.h>.
1776         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1777         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1778         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1779         <kernel-features.h>.
1780         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1781         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1782         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1783         (__ASSUME_ATFCTS): Do not undefine and redefine.
1784         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1785         <kernel-features.h>.
1786         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1788         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1789         <kernel-features.h>.
1790         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1791         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1792
1793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1794
1795         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1796
1797 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1798
1799         [BZ #17069]
1800         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1801         constructed tree before returning error.
1802         * posix/bug-regexp36.c: Expand test case.
1803
1804 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1805
1806         [BZ #6803]
1807         * math/libm-test.inc (scalbln_test_date):
1808         Add errno expectations.
1809         * math/w_scalblnf.c: New File.
1810         Add wrapper which checks for setting errno to ERANGE.
1811         Add weak_alias for corresponding scalbln function.
1812         * math/w_scalbln.c: Likewise.
1813         * math/w_scalblnl.c: Likewise.
1814         * math/Makefile (libm-calls): Add w_scalbln.
1815         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1816         Remove weak_alias for corresponding scalbln function.
1817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1821         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1822         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1823         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1824         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1825         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1826         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1827         Remove long_double_symbol for scalblnl function in libm, libc.
1828         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1829         Add wrapper which checks for setting errno to ERANGE.
1830         Add long_double_symbol for scalblnl function in libm, libc.
1831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1832         Remove long_double_symbol for scalblnl in libm.
1833         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1834         Add wrapper which checks for setting errno to ERANGE.
1835         Add long_double_symbol for scalblnl function in libm.
1836         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1837         Do not use wrapper because of own implementation.
1838
1839 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1840
1841         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1842         3 bytes for __pad1 for x32.
1843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1844
1845 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1846             H.J. Lu  <hongjiu.lu@intel.com>
1847
1848         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1849         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1852         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1853
1854 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1855
1856         [BZ #17069]
1857         * posix/regcomp.c (parse_expression): Deallocate partially
1858         constructed tree before returning error.
1859         * posix/Makefile.c (tests): Add bug-regex36.
1860         (generated): Add bug-regex36.mtrace.
1861         (tests-special): Add $(objpfx)bug-regex36-mem.out
1862         (bug-regex36-ENV): New variable.
1863         ($(objpfx)bug-regex36-mem.out): New rule.
1864         * posix/bug-regex36.c: New file.
1865
1866 2014-06-19  Will Newton  <will.newton@linaro.org>
1867
1868         * malloc/malloc.c (systrim): If extra is zero then return
1869         early.
1870
1871 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1872
1873         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1874
1875 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1876
1877         * sysdeps/aarch64/strchr.S: New file.
1878
1879 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1880
1881         [BZ #17022]
1882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1883         from arguments -2 or below.
1884         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1885         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1886
1887 2014-06-18  Andreas Schwab  <schwab@suse.de>
1888
1889         [BZ #17062]
1890         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1891         of a bracket expr not to run off the end of the string.
1892         * posix/Makefile (tests): Add tst-fnmatch3.
1893         * posix/tst-fnmatch3.c: New file.
1894
1895 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1896
1897         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1898         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1899         [$(cross-compiling) = no]: Likewise.
1900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1901         [$(cross-compiling) = no]: Likewise.
1902
1903 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1904
1905         [BZ #17031]
1906         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1907         double, adjusted for any remainder from the high double.
1908         * math/libm-test.inc (nearbyint): Add tests.
1909         (rint): Likewise.
1910
1911 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1912
1913         * nptl/sysdeps/powerpc/Makefile: Moved ...
1914         * sysdeps/powerpc/nptl/Makefile: ... here.
1915         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1916         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1917         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1918         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1919         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1920         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1921         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1922         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1923         * nptl/sysdeps/powerpc/tls.h: Moved ...
1924         * sysdeps/powerpc/nptl/tls.h: ... here.
1925
1926 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1927
1928         [BZ #16681]
1929         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1930         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1931         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1932         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1933         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1934         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1935         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1936         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1937         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1938
1939 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1940
1941         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1942
1943 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1944
1945         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1946         defined operator.
1947
1948         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1949         $TIMEOUTFACTOR.
1950
1951 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1952
1953         [BZ #17058]
1954         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1955         non-executed part of the test.
1956
1957 2014-06-16  Andreas Schwab  <schwab@suse.de>
1958
1959         * string/bits/string2.h (strdup, strndup): Update feature guard.
1960
1961 2014-06-14  David S. Miller  <davem@davemloft.net>
1962
1963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1964
1965 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1966
1967         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1968         that was previously under [RESET_PID].
1969         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1970
1971         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1972         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1975         (__libc_vfork): New strong alias.
1976         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1977
1978 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1979
1980         * sysdeps/generic/elide.h: New file.
1981
1982 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1983
1984         * Makefile (installed-headers): Adjust path of pthread.h header.
1985
1986 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1987
1988         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1989         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1990         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1991         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1992
1993         * nptl/sysdeps/s390/Makefile: Moved ...
1994         * sysdeps/s390/nptl/Makefile: ... here.
1995         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1996         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1997         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1998         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1999         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2000         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2001         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2002         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2003         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2004         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2005         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2006         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2007         * nptl/sysdeps/s390/tls.h: Moved ...
2008         * sysdeps/s390/nptl/tls.h: ... here.
2009
2010         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2011         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2012
2013 2014-06-13  David S. Miller  <davem@davemloft.net>
2014
2015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2018         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2022         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2023         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2024         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2025         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2026         Remove RESET_PID cpp guards.
2027         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2028         Remove RESET_PID cpp guards.
2029         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2030
2031 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2032
2033         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2034         __sp to uintptr_t.
2035
2036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2037
2038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2058
2059         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2060         (pthread_rwlock_rdlock): Add elision.
2061         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2062         (pthread_rwlock_wrlock): Add elision.
2063         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2064         (pthread_rwlock_trywrlock): Add elision.
2065         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2066         (pthread_rwlock_tryrdlock): Add elision.
2067         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2068         (pthread_rwlock_tryrdlock): Add elision unlock.
2069         * nptl/sysdeps/pthread/pthread.h:
2070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2071         (PTHREAD_RWLOCK_INITIALIZER,
2072         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2073         Handle new elision field.
2074         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2075         * sysdeps/arm/nptl/bits/pthreadtypes.h
2076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2077         * sysdeps/sh/nptl/bits/pthreadtypes.h
2078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2079         * sysdeps/tile/nptl/bits/pthreadtypes.h
2080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2081         * sysdeps/a/nptl/bits/pthreadtypes.h
2082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2085         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2087         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2091         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2093         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2095         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2097         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2099         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2100         (elision_init): Set try_xbegin to zero when no RTM.
2101         * sysdeps/x86/nptl/bits/pthreadtypes.h
2102         (pthread_rwlock_t): Change __pad1 to __rwelision.
2103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2104
2105 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2106
2107         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2108         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2109         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2110         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2111
2112 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2113
2114         [BZ #16996]
2115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2116         that the cached result has been set before returning it.
2117
2118 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2119
2120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2121         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2123         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2125         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2126
2127         * nptl/sysdeps/sparc/Makefile: Moved ...
2128         * sysdeps/sparc/nptl/Makefile: ... here.
2129         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2130         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2131         * nptl/sysdeps/sparc/tls.h: Moved ...
2132         * sysdeps/sparc/nptl/tls.h: ... here.
2133         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2134         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2135         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2136         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2137         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2138         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2139         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2141         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2143         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2145         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2147         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2151         Update #include.
2152         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2154         Update #include.
2155         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2157         Update #include.
2158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2160         Update #include.
2161
2162         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2163
2164         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2165         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2166
2167         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2168         (struct list_links): Type removed.
2169         (struct thread_node, struct timer_node): Replace struct list_links
2170         with struct list_head.
2171         (list_unlink_ip): Likewise.
2172         * sysdeps/pthread/timer_routines.c
2173         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2174         (list_append, list_insbefore): Likewise.
2175         (list_init): Function removed.
2176         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2177         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2178         * sysdeps/pthread/Makefile: ... here, new file.
2179
2180         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2181         * sysdeps/nptl/Implies: ... here.
2182         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2183         * nptl/sysdeps/pthread/list.h: Moved ...
2184         * include/list.h: ... here.
2185         * nptl/sysdeps/pthread/createthread.c: Moved ...
2186         * nptl/createthread.c: ... here.
2187         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2188         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2189         * nptl/pt-longjmp.c: ... here.
2190         * nptl/sysdeps/pthread/Makefile: Moved ...
2191         * sysdeps/nptl/Makefile: ... here.
2192         * nptl/sysdeps/pthread/Subdirs: Moved ...
2193         * sysdeps/nptl/Subdirs: ... here.
2194         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2195         * sysdeps/nptl/aio_misc.h: ... here.
2196         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2197         * sysdeps/nptl/bits/libc-lock.h: ... here.
2198         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2199         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2200         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2201         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2202         * nptl/sysdeps/pthread/configure: Moved ...
2203         * sysdeps/nptl/configure: ... here.
2204         * nptl/sysdeps/pthread/configure.ac: Moved ...
2205         * sysdeps/nptl/configure.ac: ... here.
2206         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2207         * sysdeps/nptl/gai_misc.h: ... here.
2208         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2209         * sysdeps/nptl/librt-cancellation.c: ... here.
2210         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2211         * sysdeps/nptl/malloc-machine.h: ... here.
2212         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2213         * sysdeps/nptl/pthread-functions.h: ... here.
2214         * nptl/sysdeps/pthread/pthread.h: Moved ...
2215         * sysdeps/nptl/pthread.h: ... here.
2216         * nptl/sysdeps/pthread/setxid.h: Moved ...
2217         * sysdeps/nptl/setxid.h: ... here.
2218         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2219         * sysdeps/nptl/sigfillset.c: ... here.
2220         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2221         * sysdeps/nptl/tcb-offsets.h: ... here.
2222         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2223         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2224         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2225         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2226         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2227         * sysdeps/pthread/allocalim.h: ... here.
2228         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2229         * sysdeps/pthread/bits/sigthread.h: ... here.
2230         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2231         * sysdeps/pthread/flockfile.c: ... here.
2232         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2233         * sysdeps/pthread/ftrylockfile.c: ... here.
2234         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2235         * sysdeps/pthread/funlockfile.c: ... here.
2236         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2237         * sysdeps/pthread/posix-timer.h: ... here.
2238         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2239         * sysdeps/pthread/timer_create.c: ... here.
2240         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2241         * sysdeps/pthread/timer_delete.c: ... here.
2242         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2243         * sysdeps/pthread/timer_getoverr.c: ... here.
2244         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2245         * sysdeps/pthread/timer_gettime.c: ... here.
2246         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2247         * sysdeps/pthread/timer_routines.c: ... here.
2248         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2249         * sysdeps/pthread/timer_settime.c: ... here.
2250         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2251         * sysdeps/pthread/tst-timer.c: ... here.
2252         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2253         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2254
2255         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2256         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2257
2258         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2259         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2260         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2261         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2262         Update #include target.
2263         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2264         * sysdeps/i386/i686/nptl/Makefile: ... here.
2265         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2266         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2267         Update #include target.
2268         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2269         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2270         * nptl/sysdeps/i386/Makefile: Moved ...
2271         * sysdeps/i386/nptl/Makefile: ... here.
2272         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2273         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2274         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2275         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2276         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2277         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2278         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2279         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2280         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2281         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2282         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2283         * nptl/sysdeps/i386/tls.h: Moved ...
2284         * sysdeps/i386/nptl/tls.h: ... here.
2285
2286         * sysdeps/sh/Makefile [$(subdir) = csu]
2287         (gen-as-const-headers): Add tcb-offsets.sym.
2288         * nptl/sysdeps/sh/Makefile: File removed.
2289         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2290         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2291         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2292         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2293         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2294         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2295         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2296         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2297         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2298         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2299         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2300         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2301         * nptl/sysdeps/sh/tls.h: Moved ...
2302         * sysdeps/sh/nptl/tls.h: ... here.
2303         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2304         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2305         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2306         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2308         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2312         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2314         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2316         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2318         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2320         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2324         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2328         Moved ...
2329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2337         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2338         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2339         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2340         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2341         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2342         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2343         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2344         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2345         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2346         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2347         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2348         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2349         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2350         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2351
2352 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2353
2354         * posix/spawn_faction_addopen.c: Include string.h.
2355
2356 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2357
2358         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2359         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2360         * nptl/sysdeps/x86_64/Makefile: Moved ...
2361         * sysdeps/x86_64/nptl/Makefile: ... here.
2362         * nptl/sysdeps/x86_64/configure: Moved ...
2363         * sysdeps/x86_64/nptl/configure: ... here.
2364         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2365         * sysdeps/x86_64/nptl/configure.ac: ... here.
2366         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2367         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2368         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2369         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2370         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2371         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2372         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2373         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2374         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2375         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2376         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2377         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2378         * nptl/sysdeps/x86_64/tls.h: Moved ...
2379         * sysdeps/x86_64/nptl/tls.h: ... here.
2380         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2381         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2382         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2383         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2384
2385         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2386
2387 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2388
2389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2390
2391 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2392
2393         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2394         type.
2395         [POSIX] (off_t): Likewise.
2396         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2397         [POSIX] (S_ISBLK): Require macro.
2398         [POSIX] (S_ISCHR): Likewise.
2399         [POSIX] (S_ISDIR): Likewise.
2400         [POSIX] (S_ISFIFO): Likewise.
2401         [POSIX] (S_ISREG): Likewise.
2402         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2403         optional-macro.
2404         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2405         type.
2406         [POSIX] (time_t): Likewise.
2407         [POSIX] (timer_t): Likewise.
2408
2409 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2410
2411         [BZ #17048]
2412         * posix/spawn_int.h (struct __spawn_action): Make the path string
2413         non-const to support deallocation.
2414         * posix/spawn_faction_addopen.c
2415         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2416         * posix/spawn_faction_destroy.c
2417         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2418         path in all spawn_do_open actions.
2419         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2420         posix_spawn_file_actions_addopen.
2421
2422 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2423
2424         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2425         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2426         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2427         conditional code always true.
2428         (__libc_vfork): New alias.
2429
2430 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2431
2432         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2433         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2434
2435         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2436
2437         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2438         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2439
2440         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2441         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2442
2443         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2444         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2445
2446 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2447
2448         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2450         multiarch strcmp for PPC64.
2451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2454         multiarch optimizations.
2455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2456         (__libc_ifunc_impl_list): Likewise.
2457
2458 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2459
2460         * benchtests/scripts/validate_benchout.py: New script.
2461         * benchtests/Makefile (bench-func): Call it.
2462         * benchtests/scripts/benchout.schema.json: New file.
2463
2464 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2465
2466         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2467         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2468         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2469         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2470         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2471         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2472         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2473         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2474         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2475         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2476         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2478         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2480         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2483         Moved ...
2484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2485         ... here.
2486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2487         Moved ...
2488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2490         Moved ...
2491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2492         ... here.
2493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2494         Moved ...
2495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2496         ... here.
2497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2501         Moved ...
2502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2503         ... here.
2504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2505         Moved ...
2506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2507         ... here.
2508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2509         Moved ...
2510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2512         Moved ...
2513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2514         ... here.
2515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2518         ... here.
2519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2520         Moved ...
2521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2522         ... here.
2523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2524         Moved ...
2525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2527         Moved ...
2528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2529         ... here.
2530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2531         Moved ...
2532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2533         ... here.
2534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2535         Moved ...
2536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2537         ... here.
2538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2539         Moved ...
2540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2542         Moved ...
2543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2544         ... here.
2545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2546         Moved ...
2547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2548         ... here.
2549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2550         Moved ...
2551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2553         Moved ...
2554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2555         ... here.
2556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2557         Moved ...
2558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2560         Moved ...
2561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2563         Moved ...
2564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2565         ... here.
2566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2567         Moved ...
2568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2569         ... here.
2570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2571         Moved ...
2572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2573         ... here.
2574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2575         Moved ...
2576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2578         Moved ...
2579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2580         ... here.
2581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2584         ... here.
2585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2586         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2588         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2590         Moved ...
2591         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2592         ... here.
2593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2594         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2598         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2600         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2604         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2606         Moved ...
2607         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2612         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2614         Moved ...
2615         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2617         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2618         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2619         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2620         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2621         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2622
2623 2014-06-10  Wilco  <wdijkstr@arm.com>
2624
2625         * math/test-fenv-return.c: New file.
2626         * math/Makefile: Add new test test-fenv-return.
2627
2628 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2629
2630         [BZ #17042]
2631         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2632         when x - 1 is zero.
2633         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2634         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2635         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2636         0.0L for an argument of 1.0L.
2637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2638         Likewise.
2639         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2640         value when x - 1 is zero.
2641         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2642         * sysdeps/i386/fpu/libm-test-ulps: Update.
2643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2644
2645 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2646
2647         [BZ #15119]
2648         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2649
2650 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2651
2652         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2653         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2654
2655 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2656
2657         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2658         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2659
2660         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2661         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2662
2663         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2664         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2665
2666         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2667         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2668
2669         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2670         if not already defined.
2671         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2672         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2673         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2674         (TLS_INIT_TP): Use it.
2675         (TLS_DEFINE_INIT_TP): New macro.
2676         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2677
2678 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2679
2680         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2681         constant.
2682         [POSIX] (IXANY): Likewise.
2683         [POSIX] (OLCUC): Likewise.
2684         [POSIX || POSIX2008] (CBAUD): Do not allow.
2685         [POSIX || POSIX2008] (DEFECHO): Likewise.
2686         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2687         [POSIX || POSIX2008] (ECHOKE): Likewise.
2688         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2689         [POSIX || POSIX2008] (EXTA): Likewise.
2690         [POSIX || POSIX2008] (EXTB): Likewise.
2691         [POSIX || POSIX2008] (FLUSHO): Likewise.
2692         [POSIX || POSIX2008] (LOBLK): Likewise.
2693         [POSIX || POSIX2008] (PENDIN): Likewise.
2694         [POSIX || POSIX2008] (SWTCH): Likewise.
2695         [POSIX || POSIX2008] (VDISCARD): Likewise.
2696         [POSIX || POSIX2008] (VDSUSP): Likewise.
2697         [POSIX || POSIX2008] (VLNEXT): Likewise.
2698         [POSIX || POSIX2008] (VREPRINT): Likewise.
2699         [POSIX || POSIX2008] (VSTATUS): Likewise.
2700         [POSIX || POSIX2008] (VWERASE): Likewise.
2701         (B*): Change to B[0123456789]*.
2702         * conform/data/time.h-data [POSIX || UNIX98]
2703         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2704         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2705         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2706         [POSIX] (tm_*): Do not allow.
2707
2708 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2709
2710         * Makefile (install): Don't set LANGUAGE.
2711         * Makefile.in (install): Likewise.
2712         * assert/Makefile (test-assert-ENV): Remove variable.
2713         (test-assert-perr-ENV): Likewise.
2714         * elf/Makefile (neededtest4-ENV): Likewise.
2715         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2716         [$(cross-compiling) = no]: Don't set LANGUAGE.
2717         * io/ftwtest-sh (LANG): Remove variable.
2718         * libio/Makefile (tst-widetext-ENV): Likewise.
2719         * manual/install.texi (Running make install): Don't refer to
2720         environment settings for make install.
2721         * INSTALL: Regenerated.
2722         * nptl/tst-tls6.sh: Don't set LANG.
2723         * posix/globtest.sh (LANG): Remove variable.
2724         * string/Makefile (tester-ENV): Likewise.
2725         (inl-tester-ENV): Likewise.
2726         (noinl-tester-ENV): Likewise.
2727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2728         [$(cross-compiling) = no]: Don't set LANGUAGE.
2729         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2730         without explicit environment settings.
2731
2732 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2733
2734         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2735         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2736         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2737         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2738
2739 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2740
2741         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2742         other files in the crypt directory.
2743         * crypt/crypt.c: Remove duplicate includes.
2744         * crypt/crypt-entry.c: Likewise.
2745         * crypt/crypt_util.c: Likewise.
2746
2747 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2748
2749         * Makeconfig (run-program-env): New variable.
2750         (run-program-prefix-before-env): Likewise.
2751         (run-program-prefix-after-env): Likewise.
2752         (run-program-prefix): Define in terms of new variables.
2753         (built-program-cmd-before-env): New variable.
2754         (built-program-cmd-after-env): Likewise.
2755         (built-program-cmd): Define in terms of new variables.
2756         (test-program-prefix-before-env): New variable.
2757         (test-program-prefix-after-env): Likewise.
2758         (test-program-prefix): Define in terms of new variables.
2759         (test-program-cmd-before-env): New variable.
2760         (test-program-cmd-after-env): Likewise.
2761         (test-program-cmd): Define in terms of new variables.
2762         * Rules (make-test-out): Use $(run-program-env).
2763         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2764         (help): Do not mention environment variables.  Mention
2765         --timeoutfactor option.
2766         (timeoutfactor): New variable.
2767         (blacklist_exports): Remove function.
2768         (exports): Remove variable.
2769         (command): Do not include ${exports}.
2770         * manual/install.texi (Configuring and compiling): Do not mention
2771         test wrappers preserving environment variables.  Mention that last
2772         assignment to a variable must take precedence.
2773         * INSTALL: Regenerated.
2774         * benchtests/Makefile (run-bench): Use $(run-program-env).
2775         * catgets/Makefile ($(objpfx)test1.cat): Use
2776         $(built-program-cmd-before-env), $(run-program-env) and
2777         $(built-program-cmd-after-env).
2778         ($(objpfx)test2.cat): Do not specify environment variables
2779         explicitly.
2780         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2781         $(run-program-env) and $(built-program-cmd-after-env).
2782         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2783         $(run-program-env) and $(test-program-cmd-after-env).
2784         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2785         explicitly.
2786         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2787         run_program_env and test_program_cmd_after_env arguments.
2788         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2789         * elf/tst-pathopt.sh: Use run_program_env argument.
2790         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2791         $(test-wrapper-env) and $(run-program-env).
2792         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2793         run_program_env arguments.
2794         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2795         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2796         $(test-program-prefix-before-env), $(run-program-env) and
2797         $(test-program-prefix-after-env).
2798         ($(objpfx)tst-gettext2.out): Likewise.
2799         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2800         run_program_env and test_program_prefix_after_env arguments.
2801         * intl/tst-gettext2.sh: Likewise.
2802         * intl/tst-gettext4.sh: Do not set environment variables
2803         explicitly.
2804         * intl/tst-gettext6.sh: Likewise.
2805         * intl/tst-translit.sh: Likewise.
2806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2807         $(test-program-prefix-before-env), $(run-program-env) and
2808         $(test-program-prefix-after-env).
2809         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2810         run_program_env and test_program_prefix_after_env arguments.
2811         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2812         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2813         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2814         explicitly with each use of ${test_wrapper_env}.
2815         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2816         $(test-program-prefix-before-env), $(run-program-env) and
2817         $(test-program-prefix-after-env).
2818         * posix/tst-getconf.sh: Do not set environment variables
2819         explicitly.
2820         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2821         run_program_env and test_program_prefix_after_env arguments.
2822         * stdio-common/tst-printf.sh: Do not set environment variables
2823         explicitly.
2824         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2825         $(test-program-prefix-before-env), $(run-program-env) and
2826         $(test-program-prefix-after-env).
2827         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2828         run_program_env and test_program_prefix_after_env arguments.
2829         Split $test calls into $test_pre and $test.
2830         * timezone/Makefile (build-testdata): Use
2831         $(built-program-cmd-before-env), $(run-program-env) and
2832         $(built-program-cmd-after-env).
2833
2834 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2835
2836         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2837         strlen for non SHARED builds.
2838
2839 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2840
2841         * nptl/allocatestack.c (check_list): Inlined function...
2842         (__reclaim_stacks): ... here.
2843
2844 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2845
2846         [BZ #15698]
2847         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2848         memory overrun.
2849
2850 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2851
2852         * Rules (make-test-out): Include
2853         LOCPATH=$(common-objpfx)localedata in default environment.
2854         * debug/Makefile (tst-chk1-ENV): Remove variable.
2855         (tst-chk2-ENV): Likewise.
2856         (tst-chk3-ENV): Likewise.
2857         (tst-chk4-ENV): Likewise.
2858         (tst-chk5-ENV): Likewise.
2859         (tst-chk6-ENV): Likewise.
2860         (tst-lfschk1-ENV): Likewise.
2861         (tst-lfschk2-ENV): Likewise.
2862         (tst-lfschk3-ENV): Likewise.
2863         (tst-lfschk4-ENV): Likewise.
2864         (tst-lfschk5-ENV): Likewise.
2865         (tst-lfschk6-ENV): Likewise.
2866         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2867         (tst-iconv7-ENV): Likewise.
2868         * intl/Makefile (LOCPATH-ENV): Likewise.
2869         (tst-codeset-ENV): Likewise.
2870         (tst-gettext3-ENV): Likewise.
2871         (tst-gettext5-ENV): Likewise.
2872         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2873         (tst-fopenloc-ENV): Likewise.
2874         (tst-fgetws-ENV): Remove variable.
2875         (tst-ungetwc1-ENV): Likewise.
2876         (tst-ungetwc2-ENV): Likewise.
2877         (bug-ungetwc2-ENV): Likewise.
2878         (tst-swscanf-ENV): Likewise.
2879         (bug-ftell-ENV): Likewise.
2880         (tst-fgetwc-ENV): Likewise.
2881         (tst-fseek-ENV): Likewise.
2882         (tst-ftell-partial-wide-ENV): Likewise.
2883         (tst-ftell-active-handler-ENV): Likewise.
2884         (tst-ftell-append-ENV): Likewise.
2885         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2886         (tst-regexloc-ENV): Likewise.
2887         (bug-regex1-ENV): Likewise.
2888         (tst-regex-ENV): Likewise.
2889         (tst-regex2-ENV): Likewise.
2890         (bug-regex5-ENV): Likewise.
2891         (bug-regex6-ENV): Likewise.
2892         (bug-regex17-ENV): Likewise.
2893         (bug-regex18-ENV): Likewise.
2894         (bug-regex19-ENV): Likewise.
2895         (bug-regex20-ENV): Likewise.
2896         (bug-regex22-ENV): Likewise.
2897         (bug-regex23-ENV): Likewise.
2898         (bug-regex25-ENV): Likewise.
2899         (bug-regex26-ENV): Likewise.
2900         (bug-regex30-ENV): Likewise.
2901         (bug-regex32-ENV): Likewise.
2902         (bug-regex33-ENV): Likewise.
2903         (bug-regex34-ENV): Likewise.
2904         (bug-regex35-ENV): Likewise.
2905         (tst-rxspencer-ENV): Likewise.
2906         (tst-rxspencer-no-utf8-ENV): Likewise.
2907         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2908         (tst-sscanf-ENV): Likewise.
2909         (tst-swprintf-ENV): Likewise.
2910         (tst-swscanf-ENV): Likewise.
2911         (test-vfprintf-ENV): Likewise.
2912         (scanf13-ENV): Likewise.
2913         (bug14-ENV): Likewise.
2914         (tst-grouping-ENV): Likewise.
2915         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2916         (tst-strtod3-ENV): Likewise.
2917         (tst-strtod4-ENV): Likewise.
2918         (tst-strtod5-ENV): Likewise.
2919         (testmb2-ENV): Likewise./
2920         * string/Makefile (tst-strxfrm-ENV): Likewise.
2921         (tst-strxfrm2-ENV): Likewise.
2922         (bug-strcoll1-ENV): Likewise.
2923         (test-strcasecmp-ENV): Likewise.
2924         (test-strncasecmp-ENV): Likewise.
2925         * time/Makefile (tst-strptime-ENV): Likewise.
2926         (tst-ftime_l-ENV): Likewise.
2927         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2928         (tst-mbrtowc-ENV): Likewise.
2929         (tst-wcrtomb-ENV): Likewise.
2930         (tst-mbrtowc2-ENV): Likewise.
2931         (tst-c16c32-1-ENV): Likewise.
2932         (tst-mbsnrtowcs-ENV): Likewise.
2933
2934 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2935
2936         * manual/resource.texi (How to get information about the memory
2937         subsystem?): Fix typo.
2938         Reported by Peon de la Parra Ivan <peon@keba.com>
2939
2940 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2941
2942         [BZ #16882]
2943         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2944         (pthread_spin_lock): Branch out of spin loop to proper location.
2945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2946         (pthread_spin_lock): Likewise.
2947
2948         * nptl/tst-spin4.c: New test.
2949         * nptl/Makefile (tests): Add tst-spin4.
2950
2951 2014-06-03  Andreas Schwab  <schwab@suse.de>
2952
2953         [BZ #15946]
2954         * resolv/res_send.c (send_dg): Reload file descriptor after
2955         calling reopen.
2956
2957 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2958
2959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2960
2961 2014-06-03  Richard Henderson  <rth@redhat.com>
2962
2963         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2964         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2965         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2966         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2967         in the SAVE_PID block.
2968         (__libc_vfork): New alias.
2969         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2970
2971         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2972         child in registers, not on the stack.  Remove RESET_PID conditionals.
2973         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2974
2975 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2976
2977         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2978
2979 2014-06-03  Wilco  <wdijkstr@arm.com>
2980
2981         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2982         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2983         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2984         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2985         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2986         Likewise.
2987
2988 2014-06-03  Wilco  <wdijkstr@arm.com>
2989
2990         * sysdeps/aarch64/fpu/math_private.h
2991         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2992         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2993         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2994         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2995         Fix declarations.
2996
2997 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2998
2999         * crypt/crypt-private.h: Include ufc-crypt.h.
3000         (__b64_from_24bit): Declare extern.
3001         * crypt/crypt_util.c(__b64_from_24bit): New function.
3002         (b64t): New static const variable.
3003         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3004         (b64t): Remove variable.
3005         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3006         * crypt/sha256-crypt.c: Include crypt-private.h.
3007         (b64t): Remove variable.
3008         (__sha256_crypt_r): Remove b64_from_24bit and replace
3009         with __b64_from_24bit.
3010         * crypt/sha512-crypt.c: Likewise.
3011
3012 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3013
3014         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3015         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3016         Label the code __libc_vfork rather than __vfork.
3017         [!NOT_IN_libc] (vfork): Define as weak alias.
3018         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3019         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3020         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3021
3022 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3023
3024         * malloc/malloc.c (malloc_info): Fix format specifier for
3025         n_mmaps.
3026
3027 2014-06-02  Wilco  <wdijkstr@arm.com>
3028
3029         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3030         FPCR write.
3031
3032 2014-06-02  Wilco  <wdijkstr@arm.com>
3033
3034         [BZ #17009]
3035         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3036         Rewrite to reduce FPCR/FPSR accesses.
3037
3038 2014-06-01  David S. Miller  <davem@davemloft.net>
3039
3040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3041
3042 2014-05-31  David S. Miller  <davem@davemloft.net>
3043
3044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3045         to occur in round to nearest mode when |x| >= 2.0
3046
3047 2014-05-30  Richard Henderson  <rth@twiddle.net>
3048
3049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3050         (PSEUDO_RET_NOERRNO): Remove.
3051         (ret): Don't redefine.
3052         (ret_NOERRNO): Define in terms of ret.
3053         (ret_ERRVAL): Likewise.
3054
3055         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3056         use of PSEUDO_RET; perform the error check directly.
3057
3058 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3059
3060         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3061         with __int128_t.
3062
3063 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3064
3065         * malloc/malloc (malloc_info): Fix formatting.
3066
3067 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3068             Roland McGrath  <roland@hack.frob.com>
3069
3070         * malloc/malloc (malloc_info): Also print mmapped statistics.
3071
3072 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3073
3074         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3075         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3076
3077 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3078
3079         * malloc/malloc.c (malloc_info): Inline mi_arena.
3080
3081 2014-05-29  Richard Henderson  <rth@twiddle.net>
3082
3083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3084         Remove comma before expanding ASM_ARGS_##nr.
3085         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3086         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3087         of ASM_ARGS_##nr.
3088         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3089         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3090         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3091         (ASM_ARGS_1): Add leading comma.
3092
3093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3094         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3095         to __errno_location.
3096         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3097         Remove the expected plt for __errno_location.
3098
3099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3100         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3101         call to __read_tp.
3102
3103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3104         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3105         it and break it down.
3106         (DOCARGS_0, DOCARGS_1): Do nothing.
3107         (DOCARGS_2): Update to store into the new stack frame.
3108         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3109         (UNDOCARGS_1): Update to restore from the new stack frame.
3110         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3111         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3112
3113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3114         (SINGLE_THREAD_P): New parameter for result regno.
3115         (PSEUDO): Update to match; use cbz instead of beq.
3116
3117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3118         Use ENTRY to define the _nocancel entry point.  Share the syscall
3119         and syscall error check paths with the cancel path.
3120         (PSEUDO_END): New.
3121
3122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3123         whitespace; tabs before and after asm mnemonics.
3124
3125 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3126
3127         [BZ #15132]
3128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3129         Call fstat64 or stat64 internally, depending on arguments passed.
3130         Replace stat buffer argument with file descriptor argument.
3131         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3132         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3133         Pass fd to __internal_statvfs instead of calling fstat64.
3134         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3135         Pass fd to __internal_statvfs64 instead of calling fstat64.
3136         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3137         Pass -1 to __internal_statvfs instead of calling stat64.
3138         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3139         Pass -1 to __internal_statvfs64 instead of calling stat64.
3140
3141 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3142
3143         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3144         that was previously under [RESET_PID].
3145         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3146
3147         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3148         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3149
3150 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3151
3152         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3153
3154         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3155         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3156
3157 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3158
3159         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3160
3161 2014-05-27  Andreas Schwab  <schwab@suse.de>
3162
3163         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3164         TLS_INIT_TP macro.
3165         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3166         * elf/rtld.c (init_tls, dl_main): Likewise.
3167         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3168         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3169         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3170         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3171         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3172         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3173         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3174         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3175         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3176         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3177         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3178         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3179         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3180         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3181         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3182         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3183         * sysdeps/generic/tls.h: Update description.
3184
3185 2014-05-27  Will Newton  <will.newton@linaro.org>
3186
3187         [BZ #16990]
3188         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3189         and restore r2 rather than just restoring.
3190
3191 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3192
3193         [BZ #16724]
3194         * libio/tst-ftell-append.c: New test case.
3195         * libio/Makefile (tests): Add test case.
3196         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3197         append mode.
3198         * libio/wfileops.c (do_ftell_wide): Likewise.
3199
3200 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3201
3202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3203
3204         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3205         ...
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3208         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3209         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3210         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3211         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3212         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3218         Moved ...
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3220         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3222         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3223         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3225         ...
3226         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3227         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3228         Moved ...
3229         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3230         here.
3231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3232         ...
3233         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3234         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3235         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3236
3237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3238         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3240         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3241
3242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3243         merge into ...
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3246         ...
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3249         ...
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3252         Moved ...
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3254         here.
3255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3256         Moved ...
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3259         Moved ...
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3261
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3263         conditional [RESET_PID].
3264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3266         removed.
3267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3268         removed.
3269
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3271         <tcb-offsets.h>.
3272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3273         (__libc_vfork): New strong alias.
3274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3275         removed.
3276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3277         Removed.
3278
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3280         <tcb-offsets.h>.
3281         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3282         (__libc_vfork): New strong alias.
3283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3284         removed.
3285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3286         removed.
3287
3288 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3289
3290         * malloc/malloc.c (mi_arena): New function.
3291         (malloc_info): Remove nested function mi_arena. Call non-nosted
3292         function mi_arena.
3293
3294 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3295
3296         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3297         by insrwi.
3298         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3299         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3300         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3301         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3303         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3304         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3305
3306 2014-05-26  Andreas Schwab  <schwab@suse.de>
3307
3308         [BZ #16984]
3309         * locale/programs/repertoire.c (repertoire_read): Add slash
3310         between I18NPATH element and file name.
3311         * locale/programs/locfile.c (locfile_read): Likewise.
3312
3313 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3314
3315         * nptl/pthread_mutexattr_settype.c
3316         (__pthread_mutexattr_settype):
3317         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3318
3319 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3320
3321         * nptl/tst-mutex5 (do_test):
3322         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3323
3324 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3325
3326         * benchtests/README: Document 'init' directive.
3327         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3328         BENCH_INIT.
3329         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3330         (parse_file): Recognize 'init' directive.
3331
3332 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3333
3334         [BZ #16796]
3335         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3336         alignment of struct pthread.
3337
3338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3339
3340         [BZ #16878]
3341         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3342         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3343         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3345
3346 2014-05-25  Richard Henderson  <rth@twiddle.net>
3347
3348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3349         (SINGLE_THREAD_P_PIC): Remove.
3350         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3351         (SINGLE_THREAD_P_PIC): Remove.
3352
3353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3354         branch to syscall error ...
3355         (PSEUDO): ... here.
3356         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3357         from __local_syscall_error to .Lsyscall_error.
3358         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3359         (SYSCALL_ERROR): Update label name.
3360
3361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3362         Do not use DOARGS/UNDOARGS.
3363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3364         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3365         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3366         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3367         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3368
3369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3370         block comment.
3371
3372         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3373         define if !NOT_IN_libc.
3374         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3375         define with non-default symbol versions.
3376
3377 2014-05-23  Richard Henderson  <rth@twiddle.net>
3378
3379         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3380         (vfork, __vfork): Define via compat_symbol.
3381
3382         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3383         [!HAVE_IFUNC] (vfork_compat): Remove.
3384         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3385
3386 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3387
3388         [BZ #16978]
3389         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3390         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3391         variable.
3392
3393 2014-05-23  Richard Henderson  <rth@twiddle.net>
3394
3395         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3396         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3397         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3398         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3399
3400         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3401         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3403         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3405         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3407         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3408         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3409         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3410         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3411         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3412         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3413         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3414         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3415         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3416         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3417         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3418         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3419         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3420         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3421         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3422         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3423         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3424         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3426         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3427         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3428         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3429         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3430         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3431         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3433         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3435         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3436         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3437         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3438         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3439         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3440         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3442         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3447         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3449         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3451         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3453         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3455         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3456
3457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3458         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3459         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3460         before exiting on error.
3461         (__libc_vfork): New strong alias.
3462         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3463         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3464
3465         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3466         that was previously under [RESET_PID].
3467         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3468
3469         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3470
3471 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3472
3473         [BZ #16977]
3474         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3475         value when x - 1 is zero.
3476         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3478         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3479         0.0L for an argument of 1.0L.
3480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3481         Likewise.
3482         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3483         value when x - 1 is zero.
3484         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3485         * sysdeps/i386/fpu/libm-test-ulps: Update.
3486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3487
3488 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3489
3490         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3491         alphasort and versionsort.
3492
3493 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3494
3495         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3496         macro.
3497         [copysignf]: Likewise.
3498
3499 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3500
3501         * crypt/md5-crypt.c: Fix formatting.
3502
3503 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3504
3505         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3506         (b64_from_24bit): New function.
3507
3508 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3509
3510         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3511         libc_hidden_builtin_def to ifunc.
3512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3513         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3514
3515 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3516
3517         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3518         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3519
3520 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3521
3522         * nscd/Depend (linuxthreads): Remove.
3523         (nptl): Add.
3524         * resolv/Depend (linuxthreads): Remove.
3525         * rt/Depend (linuxthreads): Remove.
3526
3527         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3528         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3529         $(common-objpfx)elf/.
3530         (link-libc-before-gnulib): Likewise.
3531         (elfobjdir): Remove variable.
3532         * Makefile (install): Use $(elf-objpfx) instead of
3533         $(common-objpfx)elf/.
3534         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3535         $(elfobjdir)/.
3536         (link-libc-deps): Likewise.
3537         ($(common-objpfx)libc.so): Likewise.
3538         ($(common-objpfx)linkobj/libc.so): Likewise.
3539         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3540         instead of $(common-objpfx)elf/.
3541         (symbolic-link-list): Likewise.
3542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3543         [$(cross-compiling) = no]: Likewise.
3544         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3545         $(elfobjdir)/.
3546         (static-gnulib-arch): Likewise.
3547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3548         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3549         $(common-objpfx)elf/.
3550
3551 2014-05-21  Richard Henderson  <rth@redhat.com>
3552
3553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3554         (SINGLE_THREAD_P): Use the correct width load.  Fold
3555         into the ldr offset.
3556
3557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3558         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3559
3560 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3561
3562         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3563         (libgcc_s_resume): Use __attribute_used__.
3564         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3565         Likewise.
3566
3567 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3568
3569         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3570         optimization when used with float constants.
3571
3572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3573
3574 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3575
3576         [BZ #16915]
3577         * locale/nl_langinfo_l.c: Make direct reference to every
3578         _nl_current_CATEGORY symbol.
3579         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3580         (tests-static): Add tst-langinfo-static.
3581         (tests-special): Add tst-langinfo-static.out.
3582         ($(objpfx)tst-langinfo.out): Redirect output.
3583         ($(objpfx)tst-langinfo-static.out): New.
3584         * localedata/tst-langinfo.sh: Send output to stdout.
3585         * localedata/tst-langinfo-static.c: New file.
3586
3587         [BZ #16965]
3588         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3589         when the shift amount is modulo the limb size.
3590
3591 2014-05-20  Richard Henderson  <rth@redhat.com>
3592
3593         [BZ #16967]
3594         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3595         Change type of sa_flags from unsigned int to int.
3596
3597         [BZ #16966]
3598         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3599
3600         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3601
3602 2014-05-20  Will Newton  <will.newton@linaro.org>
3603
3604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3605         Test the return value of the system call in the nocancel case.
3606
3607 2014-05-20  Will Newton  <will.newton@linaro.org>
3608             Yvan Roux  <yvan.roux@linaro.org>
3609
3610         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3611         #include of asm/ptrace.h.
3612         (PTRACE_GET_THREAD_AREA): Remove #undef.
3613         (PTRACE_GETHBPREGS): Likewise.
3614         (PTRACE_SETHBPREGS): Likewise.
3615         (struct user_regs_struct): New structure.
3616         (struct user_fpsimd_struct): New structure.
3617         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3618         #include of asm/ptrace.h and second #include of sys/user.h.
3619         (PTRACE_GET_THREAD_AREA): Remove #undef.
3620         (PTRACE_GETHBPREGS): Likewise.
3621         (PTRACE_SETHBPREGS): Likewise.
3622         (ELF_NGREG): Use new struct user_regs_struct.
3623         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3624
3625 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3626
3627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3629
3630 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3631
3632         [BZ #16958]
3633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3634         membar to avoid block loads/stores to overlap previous stores.
3635
3636 2014-05-17  Richard Henderson  <rth@redhat.com>
3637
3638         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3639         Create the __##syscall_name##_nocancel entry point.
3640         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3641         Remove; let the sysdep-cancel.h code create it.
3642
3643 2014-05-17  David S. Miller  <davem@davemloft.net>
3644
3645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3646         Protect with __USE_GNU.
3647         (TIOCSET_TEMPT): Likewise.
3648         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3649         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3650         these are already provided in bits/ioctl-types.h
3651
3652 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3653
3654         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3655         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3656
3657         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3658         Use wait4 regardless of [__NR_waitpid].
3659
3660 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3661
3662         PR libgcc/60166
3663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3664         (_FP_NANSIGN_Q): Set the quiet bit.
3665
3666 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3667
3668         * benchtests/Makefile
3669         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3670         not $(common-objpfx)math/libm.so.
3671         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3672         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3673         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3674         $(common-objpfx)dlfcn/libdl.so.
3675         ($(objpfx)tst-audit8): Depend on $(libm), not
3676         $(common-objpfx)math/libm.so.
3677         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3678         not $(common-objpfx)dlfcn/libdl.so.
3679         * math/Makefile
3680         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3681         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3682         [$(build-shared) = yes].
3683         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3684         $(common-objpfx)nptl/libpthread.so.
3685         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3686         $(common-objpfx)math/libm.so$(libm.so-version) or
3687         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3688         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3689         $(common-objpfx)dlfcn/libdl.so.
3690         * setjmp/Makefile (link-libm): Remove variable.
3691         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3692         * stdio-common/Makefile (link-libm): Remove variable.
3693         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3694         * stdlib/Makefile (link-libm): Remove variable.
3695         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3696         ($(objpfx)tst-strtod-round): Likewise.
3697         ($(objpfx)tst-tininess): Likewise.
3698         ($(objpfx)tst-strtod-underflow): Likewise.
3699         ($(objpfx)tst-strtod6): Likewise.
3700         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3701         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3702         $(common-objpfx)dlfcn/libdl.so.
3703
3704 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3705
3706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3707         BSD terminal modes definitions.
3708
3709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3710
3711         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3712         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3713
3714         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3715         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3716         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3717         Don't do #include_next.
3718         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3719         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3720         Don't do #include_next.
3721         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3722         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3723         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3724         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3725
3726 2014-05-16  Allan McRae  <allan@archlinux.org>
3727
3728         * po/sv.po: Update Swedish translation from translation project.
3729
3730         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3731         in sed expression.
3732
3733 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3734
3735         [BZ #16917]
3736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3737         errno if the TIOCGPTN ioctl fails with an error different than
3738         EINVAL.
3739         * login/tst-ptsname.c: New file.
3740         * login/Makefile (tests): Add tst-ptsname.
3741
3742         [BZ #16943]
3743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3744         and prlimit64.
3745
3746 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3747
3748         [BZ #16849]
3749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3750         herrno to return EAI_AGAIN.
3751
3752 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3753
3754         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3755         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3756         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3757         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3758         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3763         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3764         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3765         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3766         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3767         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3768         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3769         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3770         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3771         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3772         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3773         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3774         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3775         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3776         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3777         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3778         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3779         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3780         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3781         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3782         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3783         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3785         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3787         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3789         Moved ...
3790         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3792         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3796         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3798         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3802         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3804         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3806         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3808         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3810         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3812         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3814         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3816         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3818         Moved ...
3819         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3821         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3823         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3825         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3827         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3831         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3833         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3835         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3837         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3842         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3843
3844         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3845         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3846         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3847         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3848         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3850         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3852         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3854         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3855         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3856         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3857         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3858         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3859         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3860         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3861         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3862         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3863         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3864         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3866         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3867         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3875
3876         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3877         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3878
3879         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3880         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3881         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3883         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3885         Moved ...
3886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3888         Moved ...
3889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3891         Moved ...
3892         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3894         Moved ...
3895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3897         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3899         Moved ...
3900         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3901         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3902         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3904         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3905         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3906         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3908         Moved ...
3909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3911         Moved ...
3912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3913         ... here.
3914         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3915         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3917         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3919         Moved ...
3920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3921         ... here.
3922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3923         Moved ...
3924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3925         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3926         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3928         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3930         Moved ...
3931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3933         Moved ...
3934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3936         Moved ...
3937         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3939         Moved ...
3940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3942         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3944         Moved ...
3945         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3946         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3947         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3951         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3953         Moved ...
3954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3956         Moved ...
3957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3958         ... here.
3959         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3960         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3962         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3964         Moved ...
3965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3966         ... here.
3967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3968         Moved ...
3969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3970         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3971         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3972         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3973         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3974         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3977         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3979         Moved ...
3980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3982         Moved ...
3983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3985         Moved ...
3986         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3988         Moved ...
3989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3991         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3992         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3993         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3995         Moved ...
3996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3997         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3998         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4001         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4002         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4004         Moved ...
4005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4007         Moved ...
4008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4009         ... here.
4010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4011         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4013         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4015         Moved ...
4016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4017         ... here.
4018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4019         Moved ...
4020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4021         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4022         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4023         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4024         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4025         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4026         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4027         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4028         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4029         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4030         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4031
4032         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4033         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4034
4035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4037
4038         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4039         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4040         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4041         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4042         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4044         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4045         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4046         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4047         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4052         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4054         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4056         Moved ...
4057         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4061         Moved ...
4062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4066         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4070         Moved ...
4071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4073         Moved ...
4074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4080         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4081         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4084         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4086         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4088         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4089         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4091
4092         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4093         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4094         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4095         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4096         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4097
4098         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4099         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4101         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4102         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4103         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4104         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4105         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4106         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4107         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4108
4109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4111
4112         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4113         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4114         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4115         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4116         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4117         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4119         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4121         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4123         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4125         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4127         Update #include.
4128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4129         Likewise.
4130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4131         Likewise.
4132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4133         Likewise.
4134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4135         Likewise.
4136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4137         Likewise.
4138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4139         Likewise.
4140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4141         Likewise.
4142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4143         Likewise.
4144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4145         Likewise.
4146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4161
4162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4163         that was previously under [RESET_PID].
4164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4165         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4166         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4167
4168         * sysdeps/i386/nptl/Implies: New file.
4169         * sysdeps/x86_64/nptl/Implies: New file.
4170         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4171         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4172         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4173         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4174
4175         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4177         (__libc_vfork): New strong alias.
4178         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4179         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4180
4181         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4183         (__libc_vfork): New strong alias.
4184         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4185         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4186
4187         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4189         (__libc_vfork): New strong alias.
4190         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4191         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4192         * nptl/pt-vfork.c: New file.
4193         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4194         (libpthread: GLIBC_2.20): New version set (empty).
4195
4196 2014-05-14  Will Newton  <will.newton@linaro.org>
4197
4198         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4199         rather than #if.
4200
4201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4202
4203         [BZ #16564]
4204         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4205         arguments with exponent 65 or above.
4206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4207         arguments 0x1p113L or above.
4208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4209         to arguments 0x1p107L or above.
4210         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4211         positive arguments with exponent 65 or above.
4212         * math/auto-libm-test-in: Add more tests of log1p.
4213         * math/auto-libm-test-out: Regenerated.
4214
4215         [BZ #16928]
4216         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4217         non-finite arguments is +0.
4218         * math/s_cacosf.c (__cacosf): Likewise.
4219         * math/s_cacosl.c (__cacosl): Likewise.
4220         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4221         * sysdeps/i386/fpu/libm-test-ulps: Update.
4222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223
4224         [BZ #16927]
4225         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4226         value.
4227         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4228         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4229         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4230         for explicit high bit of mantissa when testing for argument equal
4231         to 1.
4232         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4233         * sysdeps/i386/fpu/libm-test-ulps: Update.
4234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4235
4236         [BZ #16516]
4237         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4238         (__erf): Scale by 16 instead of 8 in potentially underflowing
4239         case.  Ensure exception if result actually underflows.
4240         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4241         (__erff): Scale by 16 instead of 8 in potentially underflowing
4242         case.  Ensure exception if result actually underflows.
4243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4244         (efx8): Remove variable.
4245         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4246         case.  Ensure exception if result actually underflows.
4247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4248         (efx8): Remove variable.
4249         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4250         case.  Ensure exception if result actually underflows.
4251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4252         (efx8): Remove variable.
4253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4254         case.  Ensure exception if result actually underflows.
4255         * math/auto-libm-test-in: Add more tests of erf.
4256         * math/auto-libm-test-out: Regenerated.
4257
4258 2014-05-14  Andreas Schwab  <schwab@suse.de>
4259
4260         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4261         Remove code conditionalized on USE___THREAD.
4262
4263         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4264         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4265         not definedness.
4266
4267 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4268
4269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4270         Define unconditionally.
4271         (__ASSUME_O_CLOEXEC): Likewise.
4272         (__ASSUME_SOCK_CLOEXEC): Likewise.
4273         (__ASSUME_IN_NONBLOCK): Likewise.
4274         (__ASSUME_PIPE2): Likewise.
4275         (__ASSUME_EVENTFD2): Likewise.
4276         (__ASSUME_SIGNALFD4): Likewise.
4277         (__ASSUME_DUP3): Likewise.
4278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4279         (__ASSUME_DUP3): Do not define.
4280         (__ASSUME_EVENTFD2): Likewise.
4281         (__ASSUME_IN_NONBLOCK): Likewise.
4282         (__ASSUME_O_CLOEXEC): Likewise.
4283         (__ASSUME_PIPE2): Likewise.
4284         (__ASSUME_SIGNALFD4): Likewise.
4285         (__ASSUME_SOCK_CLOEXEC): Likewise.
4286         (__ASSUME_UTIMES): Undefine.
4287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4288         (__ASSUME_UTIMES): Do not define.
4289         (__ASSUME_O_CLOEXEC): Likewise.
4290         (__ASSUME_SOCK_CLOEXEC): Likewise.
4291         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4292         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4293         0x020621].
4294         (__ASSUME_PIPE2): Likewise.
4295         (__ASSUME_EVENTFD2): Likewise.
4296         (__ASSUME_SIGNALFD4): Likewise.
4297         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4298         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4299         Do not define.
4300         (__ASSUME_EVENTFD2): Likewise.
4301         (__ASSUME_SIGNALFD4): Likewise.
4302         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4303         (__ASSUME_32BITUIDS): Likewise.
4304         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4305         (__ASSUME_IPC64): Likewise.
4306         (__ASSUME_ST_INO_64_BIT): Likewise.
4307         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4308         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4310         (__ASSUME_UTIMES): Do not define.
4311         (__ASSUME_PSELECT): Likewise.
4312         (__ASSUME_PPOLL): Likewise.
4313         (__ASSUME_O_CLOEXEC): Likewise.
4314         (__ASSUME_SOCK_CLOEXEC): Likewise.
4315         (__ASSUME_IN_NONBLOCK): Likewise.
4316         (__ASSUME_PIPE2): Likewise.
4317         (__ASSUME_EVENTFD2): Likewise.
4318         (__ASSUME_SIGNALFD4): Likewise.
4319         (__ASSUME_DUP3): Likewise.
4320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4321         (__ASSUME_UTIMES): Likewise.
4322         (__ASSUME_O_CLOEXEC): Likewise.
4323         (__ASSUME_SOCK_CLOEXEC): Likewise.
4324         (__ASSUME_IN_NONBLOCK): Likewise.
4325         (__ASSUME_PIPE2): Likewise.
4326         (__ASSUME_EVENTFD2): Likewise.
4327         (__ASSUME_SIGNALFD4): Likewise.
4328         (__ASSUME_DUP3): Likewise.
4329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4330         (__ASSUME_UTIMES): Likewise.
4331         (__ASSUME_O_CLOEXEC): Likewise.
4332         (__ASSUME_SOCK_CLOEXEC): Likewise.
4333         (__ASSUME_IN_NONBLOCK): Likewise.
4334         (__ASSUME_PIPE2): Likewise.
4335         (__ASSUME_EVENTFD2): Likewise.
4336         (__ASSUME_SIGNALFD4): Likewise.
4337         (__ASSUME_DUP3): Likewise.
4338         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4339         Likewise.
4340         (__ASSUME_UTIMES): Likewise.
4341         (__ASSUME_EVENTFD2): Likewise.
4342         (__ASSUME_SIGNALFD4): Likewise.
4343         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4344         (__ASSUME_O_CLOEXEC): Likewise.
4345         (__ASSUME_SOCK_CLOEXEC): Likewise.
4346         (__ASSUME_IN_NONBLOCK): Likewise.
4347         (__ASSUME_PIPE2): Likewise.
4348         (__ASSUME_EVENTFD2): Likewise.
4349         (__ASSUME_SIGNALFD4): Likewise.
4350         (__ASSUME_DUP3): Likewise.
4351         (__ASSUME_UTIMES): Undefine.
4352
4353         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4354         feclearexcept.  Remove symbol versioning code.
4355         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4356         symbol versioning code.
4357         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4358         symbol versioning code.
4359         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4360         feupdateenv.  Remove symbol versioning code.
4361         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4362         fegetexceptflag.  Remove symbol versioning code.
4363         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4364         fesetexceptflag.  Remove symbol versioning code.
4365         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4366         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4367         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4368         (__posix_fadvise64_l32): Remove prototype.
4369         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4370         code.
4371
4372 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4373
4374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4375         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4376         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4377         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4378
4379 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4380
4381         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4382         current working directory
4383
4384 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4385
4386         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4387         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4388         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4389         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4390         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4391         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4392         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4393         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4394         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4395         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4396         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4397         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4398         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4399         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4401         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4402         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4403         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4404         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4405         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4406         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4407         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4409         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4410         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4411         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4412         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4413         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4414         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4415         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4416         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4417         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4418         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4419         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4420         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4422         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4423         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4424         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4425         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4427         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4428
4429         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4430         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4431
4432         * sysdeps/unix/sysv/linux/arm/Makefile
4433         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4434         Add rt-aeabi_unwind_cpp_pr1.
4435         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4436         Add nptl-aeabi_unwind_cpp_pr1.
4437         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4438         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4439         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4440         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4441         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4442         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4443
4444         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4445         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4446         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4447         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4448
4449         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4450         Deconditionalize the code that was previously under [RESET_PID].
4451         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4452
4453         * sysdeps/generic/exit-thread.h: New file.
4454         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4455         * include/unistd.h (__exit_thread): Remove declaration.
4456         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4457         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4458         * csu/libc-start.c: Include <exit-thread.h>.
4459         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4460         * nptl/pthread_create.c: Include <exit-thread.h>.
4461         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4462         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4463         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4464         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4465         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4466         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4467         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4468         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4469         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4470         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4471         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4472         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4473         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4474         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4475         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4476         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4477         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4478
4479 2014-05-13  Andreas Schwab  <schwab@suse.de>
4480
4481         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4482
4483 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4484
4485         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4486         (__ASSUME_UTIMES): Do not condition on kernel version.
4487         (__ASSUME_PSELECT): Define unconditionally.
4488         (__ASSUME_PPOLL): Likewise.
4489         (__ASSUME_ATFCTS): Likewise.
4490         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4491         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4492         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4493         (__ASSUME_UTIMENSAT): Define unconditionally.
4494         (__ASSUME_PRIVATE_FUTEX): Likewise.
4495         (__ASSUME_FALLOCATE): Likewise.
4496         (__ASSUME_O_CLOEXEC): Likewise.
4497         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4498         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4499         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4500         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4501         (__ASSUME_IN_NONBLOCK): Likewise.
4502         (__ASSUME_PIPE2): Likewise.
4503         (__ASSUME_EVENTFD2): Likewise.
4504         (__ASSUME_SIGNALFD4): Likewise.
4505         (__ASSUME_DUP3): Likewise.
4506         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4507         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4508         (__ASSUME_AT_RANDOM): Likewise.
4509         (__ASSUME_PREADV): Likewise.
4510         (__ASSUME_PWRITEV): Likewise.
4511         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4512         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4513         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4515         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4517         (__ASSUME_O_CLOEXEC): Define unconditionally.
4518         (__ASSUME_PSELECT): Do not undefine conditionally.
4519         (__ASSUME_PPOLL): Likewise.
4520         (__ASSUME_ATFCTS): Likewise.
4521         (__ASSUME_SET_ROBUST_LIST): Likewise.
4522         (__ASSUME_UTIMENSAT): Likewise.
4523         (__ASSUME_FDATASYNC): Define unconditionally.
4524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4525         (__ASSUME_SIGFRAME_V2): Likewise.
4526         )__ASSUME_EVENTFD2): Likewise.
4527         (__ASSUME_SIGNALFD4): Likewise.
4528         (__ASSUME_PSELECT): Do not undefine conditionally.
4529         (__ASSUME_PPOLL): Likewise.
4530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4531         (__ASSUME_PSELECT): Define unconditionally.
4532         (__ASSUME_PPOLL): Likewise.
4533         (__ASSUME_O_CLOEXEC): Likewise.
4534         (__ASSUME_SOCK_CLOEXEC): Likewise.
4535         (__ASSUME_IN_NONBLOCK): Likewise.
4536         (__ASSUME_PIPE2): Likewise.
4537         (__ASSUME_EVENTFD2): Likewise.
4538         (__ASSUME_SIGNALFD4): Likewise.
4539         (__ASSUME_DUP3): Likewise.
4540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4541         (__ASSUME_O_CLOEXEC): Likewise.
4542         (__ASSUME_SOCK_CLOEXEC): Likewise.
4543         (__ASSUME_IN_NONBLOCK): Likewise.
4544         (__ASSUME_PIPE2): Likewise.
4545         (__ASSUME_EVENTFD2): Likewise.
4546         (__ASSUME_SIGNALFD4): Likewise.
4547         (__ASSUME_DUP3): Likewise.
4548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4549         (__ASSUME_EVENTFD2): Likewise.
4550         (__ASSUME_SIGNALFD4): Likewise.
4551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4552
4553 2014-05-12  Andreas Schwab  <schwab@suse.de>
4554
4555         [BZ #16932]
4556         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4557         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4558         than maximum RPC packet size.
4559         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4560         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4561         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4562         (_nss_nis_getservbyport_r): Likewise.
4563
4564 2014-05-12  Will Newton  <will.newton@linaro.org>
4565
4566         * malloc/Makefile (tests): Add tst-mallopt.
4567         * malloc/tst-mallopt.c: New file.
4568
4569 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4570
4571         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4572         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4573
4574 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4575
4576         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4577         (tst-tlsmod6.so): Likewise.
4578
4579 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4580
4581         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4582
4583 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4584
4585         [BZ #16064]
4586         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4587         and <dl-procinfo.h>.
4588         (__fegetenv): Save SSE state in envp->__eip if supported.
4589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4590         envp->__eip if supported.
4591         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4592         and <dl-procinfo.h>.
4593         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4594         __data_offset and __data_selector in environment to 0.  Set SSE
4595         state if supported.
4596         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4597         test-fenv-sse.
4598         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4599         -mfpmath=sse.
4600         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4601
4602 2014-05-09  Will Newton  <will.newton@linaro.org>
4603
4604         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4605         and libc_relro_required for ARM.
4606         * sysdeps/arm/preconfigure: Regenerate.
4607
4608 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4609             Stefan Liebler  <stli@linux.vnet.ibm.com>
4610
4611         * config.make.in (enable-lock-elision): New Makefile variable.
4612         * configure.ac: Likewise.
4613         * configure: Regenerate.
4614         * sysdeps/s390/configure.ac:
4615         Add check for gcc transactions support.
4616         * sysdeps/s390/configure: Regenerate.
4617         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4618         Build elision files if enabled.
4619         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4620         Add lock elision support for s390.
4621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4622         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4623         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4624         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4626         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4628         Likewise.
4629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4630         Likewise.
4631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4632         Likewise.
4633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4634         Likewise.
4635         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4636         (__lll_timedlock_elision, __lll_lock_elision)
4637         (__lll_unlock_elision, __lll_trylock_elision)
4638         (lll_timedlock_elision, lll_lock_elision)
4639         (lll_unlock_elision, lll_trylock_elision): Add.
4640         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4641         (pthread_mutex_t): Add lock elision support for s390.
4642
4643 2014-05-14  Wilco  <wdijkstr@arm.com>
4644
4645         * sysdeps/arm/fclrexcpt.c: Cleanup.
4646         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4647         * sysdeps/arm/feenablxcpt.c: Cleanup.
4648         * sysdeps/arm/fegetenv.c: Cleanup.
4649         * sysdeps/arm/fegetexcept.c: Cleanup.
4650         * sysdeps/arm/fegetround.c: Cleanup.
4651         * sysdeps/arm/feholdexcpt.c: Cleanup.
4652         * sysdeps/arm/fesetenv.c: Cleanup.
4653         * sysdeps/arm/fesetround.c: Cleanup.
4654         * sysdeps/arm/feupdateenv.c: Cleanup.
4655         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4656         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4657         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4658         * sysdeps/arm/ftestexcept.c: Cleanup.
4659         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4660         * sysdeps/arm/setfpucw.c: Cleanup.
4661
4662 2014-05-09  Will Newton  <will.newton@linaro.org>
4663
4664         * sysdeps/arm/armv7/strcmp.S: New file.
4665         * NEWS: Mention addition of ARMv7 optimized strcmp.
4666
4667 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4668
4669         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4670         look for %.ac rather than %.in.
4671
4672         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4673         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4674         * sysdeps/mach/hurd/configure: Regenerated.
4675         * sysdeps/unix/sysv/linux/configure: Regenerated.
4676
4677         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4678
4679 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4680
4681         [BZ# 16922]
4682         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4683         (LONG_SUB): Ditto.
4684         (PTR_SUB): Ditto.
4685
4686 2014-05-07  Andreas Schwab  <schwab@suse.de>
4687
4688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4689         when skipping over non-matching result from nscd.
4690
4691 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4692
4693         [BZ #16876]
4694         * nptl/sockperf.c (client): Check socket return value.
4695
4696         [BZ #16877]
4697         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4698         nscd security class.
4699
4700 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4701
4702         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4703         * sysdeps/arm/unwind.h: ... here.
4704
4705 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4706
4707         [BZ# 16916]
4708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4709         Define.
4710
4711 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4712
4713         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4714         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4715         multiarch strncpy for PPC64.
4716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4717         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4719         multiarch optimizations.
4720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4721         (__libc_ifunc_impl_list): Likewise.
4722         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4723         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4724         multiarch stpncpy for PPC64.
4725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4727
4728 2014-05-06  Andreas Schwab  <schwab@suse.de>
4729
4730         [BZ #16912]
4731         * gmon/mcount.c (_MCOUNT_DECL): Use
4732         atomic_compare_and_exchange_bool_acq instead of
4733         catomic_compare_and_exchange_bool_acq.
4734
4735 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4736
4737         * elf/Makefile (others, install-bin): Remove pldd.
4738         (pldd-modules): Variable removed.
4739         ($(objpfx)pldd): Target removed.
4740         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4741         (others, install-bin): Append pldd here.
4742         ($(objpfx)pldd): New target.
4743
4744         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4745         to 0, so the first #if test emitted later doesn't see it undefined.
4746         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4747         * sysdeps/gnu/errlist.c: Regenerated.
4748
4749 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4750
4751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4752         [libc_hidden_builtin_def]: Define to empty value.
4753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4754         [libc_hidden_builtin_def]: Likewise.
4755         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4756         [libc_hidden_builtin_def]: Likewise.
4757         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4758         [libc_hidden_builtin_def]: Likewise.
4759         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4760         __redirect_memcpy and define ifunc as default hidden symbol.
4761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4762         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4763
4764 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4765
4766         * locale/iso-4217.def: Reintroduce XDR currency.
4767
4768 2014-05-04  Allan McRae  <allan@archlinux.org>
4769
4770         * po/eo.po: Update Esperanto translation from translation project.
4771
4772 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4773
4774         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4775         and FEATURE_INDEX_MAX to 1.
4776         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4777
4778 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4779
4780         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4781         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4782         * iconvdata/big5.c (ONE_DIRECTION): Define.
4783         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4784         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4785         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4786         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4787         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4788         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4789         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4790         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4791         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4792         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4793         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4794         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4795         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4796         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4797         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4798         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4799         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4800         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4801         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4802         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4803         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4804         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4805         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4806         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4807         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4808         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4809         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4810         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4811         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4812         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4813         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4814         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4815         * iconvdata/johab.c (ONE_DIRECTION): Define.
4816         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4817         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4818         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4819         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4820         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4821         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4822         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4823         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4824         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4825         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4826
4827 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4828
4829         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4830         (_IO_JUMPS_OFFSET): Define to 0.
4831
4832         * nptl/sysdeps/pthread/bits/libc-lock.h
4833         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4834         (__libc_lock_define_initialized_recursive): Always define using
4835         initializer.  Modern compilers treat uninitialized (implicit zero) and
4836         explicit zero initializers the same (i.e. put the datum in bss).
4837
4838 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4839
4840         * nscd/nscd-client.h: Include <string.h>.
4841
4842 2014-05-01  David S. Miller  <davem@davemloft.net>
4843
4844         [BZ #16885]
4845         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4846         multiple zero bytes exist at the end of a string.
4847         Reported by Aurelien Jarno <aurelien@aurel32.net>
4848
4849         * string/test-strcmp.c (check): Add explicit test for situations where
4850         there are multiple zero bytes after the first.
4851
4852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4853
4854         [BZ #16890]
4855         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4856         when compiling wprintf.
4857         * stdio-common/tstdiomisc.c (t3): New function.
4858         (main): Call it.
4859
4860 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4861
4862         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4863         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4864         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4865         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4866
4867 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4868
4869         * stdlib/longlong.h: Updated from GCC.
4870
4871 2014-05-01  Will Newton  <will.newton@linaro.org>
4872             Bernard Ogden  <bernie.ogden@linaro.org>
4873
4874         * NEWS: Update fixed bug list.
4875
4876         [BZ #15119]
4877         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4878
4879 2014-04-30  David S. Miller  <davem@davemloft.net>
4880
4881         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4882         (libc_feholdexcept_setround_sparc_ctx): New function.
4883         (libc_fesetenv_sparc_ctx): Likewise.
4884         (libc_feupdateenv_sparc_ctx): Likewise.
4885         (libc_feholdsetround_sparc_ctx): Likewise.
4886         (libc_feholdexcept_setround_ctx): Define.
4887         (libc_feholdexcept_setroundf_ctx): Likewise.
4888         (libc_feholdexcept_setroundl_ctx): Likewise.
4889         (libc_fesetenv_ctx): Likewise.
4890         (libc_fesetenvf_ctx): Likewise.
4891         (libc_fesetenvl_ctx): Likewise.
4892         (libc_feupdateenv_ctx): Likewise.
4893         (libc_feupdateenvf_ctx): Likewise.
4894         (libc_feupdateenvl_ctx): Likewise.
4895         (libc_feresetround_ctx): Likewise.
4896         (libc_feresetroundf_ctx): Likewise.
4897         (libc_feresetroundl_ctx): Likewise.
4898         (libc_feholdsetround_ctx): Likewise.
4899         (libc_feholdsetroundf_ctx): Likewise.
4900         (libc_feholdsetroundl_ctx): Likewise.
4901
4902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4903         with __USE_GNU instead of XOPEN cpp guards.
4904
4905         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4906         0.
4907
4908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4909         with XOPEN cpp guards.
4910
4911 2014-04-30  Julian Brown  <julian@codesourcery.com>
4912
4913         [BZ #16888]
4914         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4915         handling.
4916
4917 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4918
4919         [BZ #9894]
4920         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4921         Change to 2.6.32.
4922         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4923         * sysdeps/unix/sysv/linux/configure: Regenerated.
4924         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4925         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4926         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4927         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4928         * README: Update reference to required Linux kernel version.
4929         * manual/install.texi (Linux): Update reference to required Linux
4930         kernel headers version.
4931         * INSTALL: Regenerated.
4932
4933         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4934         header inclusion.
4935         [POSIX] (limits.h): Likewise.
4936         [POSIX] (math.h): Likewise.
4937         [POSIX] (sys/wait.h): Likewise.
4938         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4939         function.
4940         [POSIX] (stddef.h): Do not allow header inclusion.
4941
4942 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4943
4944         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4945
4946 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4947
4948         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4949         Return immediately after lll_futex_wake.
4950
4951 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4952
4953         [BZ #16791]
4954         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4955         structure.
4956         (datahead_init_pos): Call datahead_init_common early.
4957         (datahead_init_neg): Likewise.
4958
4959         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4960         datahead_init_neg): New functions.
4961         * nscd/aicache.c (addhstaiX): Use them.
4962         * nscd/grpcache.c (cache_addgr): Likewise.
4963         * nscd/hstcache.c (cache_addhst): Likewise.
4964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4965         * nscd/netgroupcache.c (do_notfound): Likewise.
4966         (addgetnetgrentX): Likewise.
4967         (addinnetgrX): Likewise.
4968         * nscd/pwdcache.c (cache_addpw): Likewise.
4969         * nscd/servicescache.c (cache_addserv): Likewise.
4970
4971 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4972             Atsushi Onoe  <atsushi@onoe.org>
4973
4974         [BZ #14308]
4975         [BZ #12994]
4976         [BZ #13651]
4977         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4978         one response is valid.
4979         * resolv/res_send.c (send_dg): Check for validity of other
4980         response if the current response is a referral.
4981
4982 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4983
4984         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4985
4986 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4987
4988         [BZ #16823]
4989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4990         Always divide by positive zero when computing -Inf result.
4991         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4992         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4993
4994 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4995
4996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4997         FPSCR if value do not change.
4998         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4999         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5003         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5004         function.
5005
5006 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5007
5008         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5009         * sysdeps/unix/sysv/linux/hppa: Move directory from
5010         ports/systeps/unix/sysv/linux/hppa.
5011         * README: Update listing for hppa-*-linux-gnu.
5012
5013 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5014
5015         [BZ #16754]
5016         * manual/stdio.texi (Hook functions): Fix types of stream hook
5017         functions.
5018         [BZ #16854]
5019         * socket/sys/socket.h: Fix typo in comment.
5020
5021 2014-04-28  Wilco  <wdijkstr@arm.com>
5022
5023         * sysdeps/arm/fenv_private.h: New file.
5024         * sysdeps/arm/math_private.h: New file.
5025         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5026
5027 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5028
5029         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5030         with __int128_t.
5031         (La_x86_64_retval): Likewise.
5032
5033 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5034
5035         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5036         fpsr if value didn't change.
5037         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5038         to fpcr if value didn't change.
5039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5040         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5041         fpsr or fpcr if value didn't change.
5042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5044         fpcr if value didn't change.
5045         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5046         to fpsr if value didn't change.
5047
5048 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5049
5050         * nptl/tst-sem3.c: Use test-skeleton.c
5051         (main): Rename to do_test.  Use return instead of
5052         exit.
5053         * nptl/tst-sem4.c: Use test-skeleton.c
5054         (main): Rename to do_test.
5055
5056 2014-04-22  David S. Miller  <davem@davemloft.net>
5057
5058         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5059         (struct sigaction): New struct member __glibc_reserved0, change
5060         type of sa_flags to int.
5061
5062 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5063
5064         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5065         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5066
5067 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5068
5069         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5071
5072 2014-04-22  Will Newton  <will.newton@linaro.org>
5073             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5074
5075         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5076         (__longjmp): Add longjmp and longjmp_target SystemTap
5077         probes.
5078         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5079         (__sigsetjmp): Add setjmp SystemTap probe.
5080
5081 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5082
5083         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5084         match manual order.
5085
5086 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5087
5088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5089
5090         * sysdeps/powerpc/fpu/fenv_private.h
5091         (libc_feholdexcept_setroundl_ctx): Define to
5092         libc_feholdexcept_setround_ppc_ctx.
5093         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5094         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5095         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5096         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5097
5098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5099
5100         * sysdeps/aarch64/math-tests.h: New file.
5101
5102 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5103
5104         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5105         New.
5106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5107         Check and set bit_AVX2_Usable.
5108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5109         macro.
5110         (bit_AVX2): Likewise.
5111         (index_AVX2_Usable): Likewise.
5112         (CPUID_AVX2): Likewise.
5113         (HAS_AVX2): Likewise.
5114
5115 2014-04-17  Will Newton  <will.newton@linaro.org>
5116
5117         * manual/setjmp.texi (System V contexts): Add note that
5118         calling setcontext on a context created by a call to a
5119         signal handler is undefined.  Update text to note that
5120         setcontext from a signal handler is possible but not
5121         recommended.
5122
5123         [BZ #16629]
5124         * stdlib/tst-setcontext.c: Include signal.h.
5125         (main): Check that the signal stack before and
5126         after swapcontext is the same.
5127
5128         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5129         Re-implement to restore registers in user code and avoid
5130         rt_sigreturn system call.
5131
5132 2014-04-17  Wilco  <wdijkstr@arm.com>
5133
5134         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5135         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5136         * math/test-fenv.c: Skip exception trap tests on targets which only
5137         support non-stop mode.
5138
5139 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5140             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5141
5142         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5143         (libc_feholdsetround_aarch64_ctx)
5144         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5145         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5146         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5147         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5148         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5149         (libc_feresetround_noexl_ctx): Define.
5150
5151 2014-04-16  Richard Henderson  <rth@redhat.com>
5152
5153         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5154
5155         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5156         unwind tables.
5157
5158         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5159         const from the non-libc, non-ldso copy.
5160
5161         * sysdeps/alpha/libm-test-ulps: Regenerate.
5162
5163 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5164             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5165
5166         * sysdeps/aarch64/fpu/math_private.h: New file.
5167
5168 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5169
5170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5171
5172 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5173
5174         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5175         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5177         Intel MPX bound registers before _dl_profile_fixup.
5178         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5179         registers after _dl_profile_fixup.  Save and restore bound
5180         registers bnd0/bnd1 when calling _dl_call_pltexit.
5181         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5182         (LR_BND_OFFSET): Likewise.
5183         (LRV_BND0_OFFSET): Likewise.
5184         (LRV_BND1_OFFSET): Likewise.
5185
5186 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5187
5188         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5189         to...
5190         * sysdeps/mach/hurd/i386/tls.h: ... here.
5191         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5192         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5193         fields.
5194
5195 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5196
5197         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5198
5199 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5200
5201         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5202
5203 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5204
5205         [BZ #14770]
5206         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5207         * sysdeps/s390/configure: Regenerate.
5208
5209         [BZ #16824]
5210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5211         Set round-to-nearest internally to reduce error accumulation.
5212
5213 2014-04-16  Alan Modra  <amodra@gmail.com>
5214
5215         [BZ #16740]
5216         [BZ #16619]
5217         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5218         * math/libm-test.inc (frexp_test_data): Add tests.
5219         * NEWS: Update fixed bug list.
5220
5221 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5222
5223         * benchtests/Makefile: Depend on libraries in build directory.
5224         (bench-math): Separate out math tests.
5225         (bench-pthread): Separate out pthread tests.
5226         (bench): Include math and pthread tests.
5227
5228 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5229
5230         [BZ #16831]
5231         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5232         _dl_debug_initialize.
5233
5234         * configure.ac: Remove SELinux header check.
5235         * configure: Regenerate.
5236         * nscd/selinux.c (perms): Array of const char* to permission names.
5237         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5238         default policy. Call string_to_security_class and string_to_av_perm to
5239         translate strings. Enforce default policy and call avs_has_perm with
5240         results of translated strings.
5241
5242 2014-04-13  David S. Miller  <davem@davemloft.net>
5243
5244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5245
5246 2014-04-12  Allan McRae  <allan@archlinux.org>
5247
5248         [BZ #16838]
5249         * manual/string.texi (Collation Functions): Fix qsort argument
5250         order in example.
5251         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5252
5253 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5254
5255         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5256         Make the test a no-op if there are no exceptions defined.
5257
5258 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5259
5260         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5261         enable-hardcoded-path-in-tests
5262
5263 2014-04-11  Will Newton  <will.newton@linaro.org>
5264
5265         * benchtests/Makefile (extra-objs): Add json-lib.o.
5266         (bench-func): Tidy up JSON output.
5267         * benchtests/bench-skeleton.c: Include json-lib.h.
5268         (main): Use JSON library functions to do output of
5269         benchmark results.
5270         * benchtests/bench-timing-type.c (main): Output the
5271         timing type simply, leaving formatting to the user.
5272         * benchtests/json-lib.c: New file.
5273         * benchtests/json-lib.h: Likewise.
5274
5275 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5276
5277         [BZ #15215]
5278         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5279         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5280         memory barriers.  Add comments.
5281         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5282         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5283         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5284         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5285         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5286         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5287
5288 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5289
5290         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5291         * sysdeps/s390/s390-64/configure.ac: ... this ...
5292         * sysdeps/s390/configure.ac: ... to here.
5293         * sysdeps/s390/s390-32/configure: Delete file.
5294         * sysdeps/s390/s390-64/configure: Delete file.
5295         * sysdeps/s390/configure: Regenerate.
5296
5297 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5298
5299         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5300
5301 2014-04-11  Will Newton  <will.newton@linaro.org>
5302
5303         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5304         to zero if it is not defined elsewhere.  (mtrim): Test
5305         the value of MALLOC_DEBUG with #if rather than #ifdef.
5306
5307 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5308
5309         * benchtests/pthread_once-inputs: New file.
5310         * benchtests/pthread_once-source.c: New file.
5311         * benchtests/README: Update documentation.
5312
5313 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5314             H.J. Lu  <hongjiu.lu@intel.com>
5315
5316         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5317         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5318         * sysdeps/x86_64/configure: Regenerated.
5319         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5320         macro.
5321         (REGISTER_SAVE_RAX): Likewise.
5322         (REGISTER_SAVE_RCX): Likewise.
5323         (REGISTER_SAVE_RDX): Likewise.
5324         (REGISTER_SAVE_RSI): Likewise.
5325         (REGISTER_SAVE_RDI): Likewise.
5326         (REGISTER_SAVE_R8): Likewise.
5327         (REGISTER_SAVE_R9): Likewise.
5328         (REGISTER_SAVE_BND0): Likewise.
5329         (REGISTER_SAVE_BND1): Likewise.
5330         (REGISTER_SAVE_BND2): Likewise.
5331         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5332         bound registers when calling _dl_fixup.
5333
5334 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5335
5336         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5337         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5338         of its definition.
5339         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5340         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5341         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5342         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5343         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5344         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5345         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5346
5347 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5348
5349         [BZ #15514]
5350         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5351         pathconf(_PC_NAME_MAX).
5352
5353 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5354
5355         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5356         Remove macro usage.
5357         (__PTHREAD_SPINS): Move definition to ...
5358         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5359         (__PTHREAD_SPINS): ... here.
5360         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5361         (__PTHREAD_SPIN): Likewise.
5362         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5363         (__PTHREAD_SPIN): Likewise.
5364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5365         (__PTHREAD_SPIN): Likewise.
5366         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5367         (__PTHREAD_SPIN): Likewise.
5368         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5369         (__PTHREAD_SPIN): Likewise.
5370         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5371         (__PTHREAD_SPIN): Likewise.
5372         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5373         (__PTHREAD_SPIN): Likewise.
5374         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5375         (__PTHREAD_SPIN): Likewise.
5376         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5377         (__PTHREAD_SPIN): Likewise.
5378         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5379         (__PTHREAD_SPIN): Likewise.
5380         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5381         (__PTHREAD_SPIN): Likewise.
5382         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5383         (__PTHREAD_SPIN): Likewise.
5384
5385         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5386         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5387         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5388         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5389         imply folder.
5390         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5391         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5392         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5393         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5394         correct imply path.
5395         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5396         strlen symbol for non multi-arch builds.
5397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5398         missing hidden_def and weak_alias.
5399
5400 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5401
5402         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5403
5404 2014-04-07  Will Newton  <will.newton@linaro.org>
5405
5406         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5407         and contents.  [!_LIBC] Remove #ifndef and contents.
5408         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5409         * string/memccpy.c (__memccpy): Use ANSI prototype.
5410         * string/memfrob.c (memfrob): Likewise.
5411         * string/strcoll.c (STRCOLL): Likewise.
5412         * string/strlen.c (strlen): Likewise.
5413         * string/strtok.c (STRTOK): Likewise.
5414         * string/strcat.c: Remove unused #include of memcopy.h.
5415         (strcat): Use ANSI prototype.
5416         * string/strchr.c: Remove unused #include of memcopy.h.
5417         (strchr): Use ANSI prototype.
5418         * string/strcmp.c: Remove unused #include of memcopy.h.
5419         (strcmp): Use ANSI prototype.
5420         * string/strcpy.c: Remove unused #include of memcopy.h.
5421         (strcpy): Use ANSI prototype.
5422
5423 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5424
5425         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5426         * config.make.in (config-extra-cppflags): Set it from
5427         libc_extra_cppflags.
5428         * configure.ac (libc_extra_cflags): Make it accumulate over
5429         configure fragments.
5430         (libc_extra_cppflags): New flag.
5431         * configure. Regenerate.
5432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5433         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5434         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5436
5437         [BZ #16815]
5438         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5439         result for FE_DOWNWARD rounding mode.
5440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5441         Likewise.
5442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5443
5444 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5445
5446         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5447         in function argument name.
5448
5449 2014-04-03  David Svoboda  <svoboda@cert.org>
5450
5451         [BZ #5666]
5452         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5453         explicitly.
5454
5455 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5456
5457         * elf/dl-unmap-segments.h: New file.
5458         * sysdeps/generic/ldsodefs.h
5459         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5460         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5461         * elf/dl-fptr.c: Likewise.
5462         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5463         * sysdeps/aarch64/tlsdesc.c: Likewise.
5464         * sysdeps/arm/tlsdesc.c: Likewise.
5465         * sysdeps/i386/tlsdesc.c: Likewise.
5466         * sysdeps/tile/dl-runtime.c: Likewise.
5467         * sysdeps/x86_64/tlsdesc.c: Likewise.
5468         * elf/dl-load.h: New file.
5469         * elf/dl-load.c: Include it.
5470         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5471         Macros moved to dl-load.h.
5472         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5473         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5474         Use _dl_unmap_segments in place of __munmap.
5475         Break out segment-mapping loop into ...
5476         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5477
5478 2014-04-03  Will Newton  <will.newton@linaro.org>
5479
5480         * elf/dl-lookup.c (do_lookup_x): Remove comment
5481         referring to nested function and move variable
5482         declarations down to before first use.
5483
5484 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5485
5486         [BZ #16799]
5487         [BZ #16800]
5488         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5489         with 0 numerator.
5490         * math/s_catanf.c (__catanf): Likewise.
5491         * math/s_catanh.c (__catanh): Likewise.
5492         * math/s_catanhf.c (__catanhf): Likewise.
5493         * math/s_catanhl.c (__catanhl): Likewise.
5494         * math/s_catanl.c (__catanl): Likewise.
5495         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5496         by positive zero when computing -Inf result.
5497         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5498         (catanh_test): Likewise.
5499         * sysdeps/i386/fpu/libm-test-ulps: Update.
5500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5501
5502         [BZ #16789]
5503         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5504         instead of using underflowing value in computing result.
5505         * math/s_clog10.c (__clog10): Likewise.
5506         * math/s_clog10f.c (__clog10f): Likewise.
5507         * math/s_clog10l.c (__clog10l): Likewise.
5508         * math/s_clogf.c (__clogf): Likewise.
5509         * math/s_clogl.c (__clogl): Likewise.
5510         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5511         (clog10_test): Likewise.
5512         * sysdeps/i386/fpu/libm-test-ulps: Update.
5513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514
5515 2014-04-02  Alan Modra  <amodra@gmail.com>
5516
5517         [BZ #16739]
5518         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5519         output when value is near a power of two.  Use int64_t for lx and
5520         remove casts.  Use decimal rather than hex exponent constants.
5521         Don't use long double multiplication when double will suffice.
5522         * math/libm-test.inc (nextafter_test_data): Add tests.
5523         * NEWS: Add 16739 and 16786 to bug list.
5524
5525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5526
5527         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5528
5529 2014-04-01  Will Newton  <will.newton@linaro.org>
5530
5531         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5532         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5533
5534 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5535
5536         [BZ #13347]
5537         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5538         * nptl/tst-setuid2.c: New file.
5539         * nptl/Makefile (xtests): Add tst-setuid2.
5540
5541 2014-04-01  Alan Modra  <amodra@gmail.com>
5542
5543         [BZ #16786]
5544         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5545
5546 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5547
5548         [BZ #6803]
5549         [BZ #6804]
5550         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5551         set errno as appropriate.
5552         * math/w_scalbf.c (__scalbf): Likewise.
5553         * math/w_scalbl.c (__scalbl): Likewise.
5554         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5555         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5556         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5557         Add more NaN tests.
5558
5559         [BZ #16349]
5560         * math/w_atan2.c: Include <errno.h>.
5561         (__atan2): Set errno for result underflowing to zero.
5562         * math/w_atan2f.c: Include <errno.h>.
5563         (__atan2f): Set errno for result underflowing to zero.
5564         * math/w_atan2l.c: Include <errno.h>.
5565         (__atan2l): Set errno for result underflowing to zero.
5566         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5567         tests.
5568         * math/auto-libm-test-out: Regenerated.
5569
5570 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5571
5572         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5573         Encode instruction correctly in little endian.
5574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5575         Likewise.
5576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5577         Likewise.
5578         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5579         Likewise.
5580         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5581         Likewise.
5582
5583 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5584
5585         [BZ #9894]
5586         * sysdeps/unix/sysv/linux/kernel-features.h
5587         [__sparc__ && !__arch64__ && !__sparc_v9__]
5588         (__ASSUME_SET_ROBUST_LIST): Do not define.
5589         [__sparc__ && !__arch64__ && !__sparc_v9__]
5590         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5591         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5592         Likewise.
5593         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5594         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5595         (__ASSUME_REQUEUE_PI): Likewise.
5596         (__ASSUME_SET_ROBUST_LIST): Likewise.
5597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5598         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5599         Undefine.
5600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5601         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5602         Likewise.
5603         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5604         Likewise.
5605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5606         Likewise.
5607         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5608         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5609         Undefine.
5610         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5611         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5612         Likewise.
5613
5614         [BZ #16648]
5615         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5617         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5618
5619 2014-03-31  Will Newton  <will.newton@linaro.org>
5620
5621         * benchtests/Makefile (bench): Add ffs and ffsll to list
5622         of tests.
5623         * benchtests/ffs-inputs: New file.
5624         * benchtests/ffsll-inputs: Likewise.
5625
5626 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5627
5628         [BZ #16770]
5629         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5630         too large before casting to int.
5631         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5632         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5633         * math/libm-test.inc (scalb_test_data): Add more tests.
5634
5635 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5636
5637         * benchtests/Makefile (DETAILED_OPT): New make option.
5638         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5639         set.
5640         * benchtests/bench-skeleton.c: Include stdbool.h.
5641         (main): Store and print timings per input.
5642         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5643         member to each argument value.
5644         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5645         (_print_arg_data): Initialize per-input timing to 0.
5646
5647         * benchtests/Makefile (timing-type): New binary.
5648         (bench-clean): Also remove bench-timing-type.
5649         (bench): New target for timing-type.
5650         (bench-func): Print output in JSON format.
5651         * benchtests/bench-skeleton.c (main): Print output in JSON
5652         format.
5653         * benchtests/bench-timing-type.c: New file.
5654         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5655         (TIMING_PRINT_STATS): Remove.
5656         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5657         name separately.
5658
5659         * benchtests/bench-modf.c: Remove.
5660         * benchtests/modf-inputs: New inputs file.
5661
5662 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5663
5664         [BZ #16362]
5665         * math/s_clog10.c (M_PI_LOG10E): New macro.
5666         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5667         imaginary parts are 0.
5668         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5669         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5670         imaginary parts are 0.
5671         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5672         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5673         imaginary parts are 0.
5674         * math/libm-test.inc (clog10_test_data): Update expected results
5675         for when real and imaginary parts are 0.
5676
5677 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5678
5679         * elf/dl-load.c: Finish conversion of __builtin_expect into
5680         __glibc_{un}likely.
5681
5682 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5683
5684         [BZ #16348]
5685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5686         1+x for argument with exponent below -67.
5687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5688         Likewise.
5689         * math/auto-libm-test-in: Add more tests of exp.
5690         * math/auto-libm-test-out: Regenerated.
5691
5692 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5693
5694         [BZ #16759]
5695         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5696         (nscd_getnetgrent): Use it.
5697
5698         [BZ #16760]
5699         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5700         of stpcpy.
5701
5702 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5703
5704         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5705         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5706         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5707         (lll_robust_unlock): Remove out of line section. Use cfi
5708         intrinsics.
5709         (LLL_STUB_UNWIND_INFO*): Remove.
5710         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5711         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5712         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5713         (lll_robust_unlock): Remove out of line section. Use cfi
5714         intrinsics.
5715         (LLL_STUB_UNWIND_INFO*): Remove.
5716
5717 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5718
5719         [BZ #16758]
5720         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5721         blank values.
5722
5723 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5724
5725         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5726
5727 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5728
5729         [BZ #16198]
5730         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5731         fnstenv.
5732         * math/test-fenv-preserve.c: New file.
5733         * math/Makefile (tests): Add test-fenv-preserve.
5734
5735 2014-03-26  Will Newton <will.newton@linaro.org>
5736
5737         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5738
5739 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5740
5741         * scripts/versionlist.awk: Partition the version sets and emit all
5742         GLIBC_* (sorted) before all others (sorted).
5743
5744 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5745
5746         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5747         GLIBC_2.2.5 version.
5748
5749 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5750
5751         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5752         calls.
5753
5754         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5755         previous change.
5756
5757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5758
5759 2014-03-25  Andreas Schwab  <schwab@suse.de>
5760
5761         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5762         label to be used after in6ailist is initialized.
5763
5764 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765
5766         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5767         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5768
5769 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5770
5771         [BZ #16357]
5772         [BZ #16599]
5773         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5774         min_plus_half.
5775         (fp_formats): Update initializers.
5776         (init_fp_formats): Initialize new field.
5777         (output_for_one_input_case): Allow underflow for results up to
5778         min_plus_half.
5779         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5780         * math/auto-libm-test-in: Don't mark some underflows from asin and
5781         atanh as spurious.
5782         * math/auto-libm-test-out: Regenerated.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5785
5786 2014-03-25  Andreas Schwab  <schwab@suse.de>
5787
5788         * libio/Makefile (tst-ftell-partial-wide-ENV)
5789         (tst-ftell-active-handler-ENV): Define.
5790
5791 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5792
5793         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5794
5795 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5796
5797         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5798
5799 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5800
5801         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5802         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5803         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5804
5805 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5806
5807         [BZ #16634]
5808         * elf/dl-load.c (open_verify): Add mode parameter.
5809         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5810         (open_path): Change from boolean 'secure' to complete flag 'mode'
5811         (_dl_map_object): Adjust.
5812         * elf/Makefile (tests): Add tst-dlopen-aout.
5813         * elf/tst-dlopen-aout.c: New test.
5814
5815 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5816
5817         [BZ #16714]
5818         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5819         (struct stat): Rename member pad0 to __glibc_reserved0.
5820
5821         [BZ #16712]
5822         * sysdeps/s390/s390-32/bits/wordsize.h
5823         (__WORDSIZE32_SIZE_ULONG): New define.
5824         * sysdeps/s390/s390-64/bits/wordsize.h
5825         (__WORDSIZE32_SIZE_ULONG): Likewise.
5826         * sysdeps/generic/stdint.h (SIZE_MAX):
5827         Define as UL if __WORDSIZE32_SIZE_ULONG.
5828
5829         [BZ #16713]
5830         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5831         (__glibc_reserved0): New variable.
5832         (sa_flags): Change type to int.
5833
5834         * posix/Makefile (before-compile): Use += before-compile instead
5835         of a :=.
5836
5837         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5838         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5839
5840 2014-03-20  Andreas Schwab  <schwab@suse.de>
5841
5842         [BZ #16743]
5843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5844         non-matching result from nscd.
5845
5846 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5847
5848         * scripts/bench.py: Moved to ...
5849         * benchtests/scripts/bench.py: ... here.
5850         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5851
5852 2014-03-24  Andreas Schwab  <schwab@suse.de>
5853
5854         [BZ #16002]
5855         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5856         alloca_account and account alloca use for struct in6ailist.
5857
5858 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5859
5860         [BZ #16284]
5861         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5862         rounding mode to recompute results that overflow to infinity or
5863         underflow to zero.
5864         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5865         bug 16284.
5866         * math/auto-libm-test-out: Regenerated.
5867         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5868         (ccosh_test): Likewise.
5869         (csin_test_data): Use plus_oflow.
5870         (csin_test): Use ALL_RM_TEST.
5871         (csinh_test_data): Use plus_oflow.
5872         (csinh_test): Use ALL_RM_TEST.
5873         * sysdeps/i386/fpu/libm-test-ulps: Update.
5874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5875
5876 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5877
5878         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5879         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5880         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5881
5882         [BZ #16731]
5883         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5884         when x - 1 is zero.
5885         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5886         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5887         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5888         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5889         argument is 1.
5890         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5891         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5892         zero.
5893         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5894         * sysdeps/i386/fpu/libm-test-ulps: Update.
5895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
5897 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5898
5899         * scripts/bench.pl: Remove file.
5900         * scripts/bench.py: New benchmark script.
5901         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5902         * benchtests/README: Mention python dependency.
5903         * scripts/pylintrc: New file.
5904         * scripts/pylint: New file.
5905
5906         * bits/mathdef.h: Use #ifdef instead of #if.
5907         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5908         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5909         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5910         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5911         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5913
5914 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5915             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5916
5917         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5919         and strpbrk-ppc64 objects.
5920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5921         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5922         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5923         multiarch strpbrk for POWER7.
5924         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5925         multiarch strpbrk for PPC64.
5926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5927         ifunc selector.
5928         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5929         strpbrk for POWER7.
5930
5931 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5932
5933         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5934         (atan_test): Likewise.
5935         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5936         (atanh_test): Use ALL_RM_TEST.
5937         (atan2_test_data): Likewise.
5938         (cabs_test): Likewise.
5939         (cacosh_test): Likewise.
5940         (carg_test): Likewise.
5941         (casin_test): Likewise.
5942         (casinh_test): Likewise.
5943         (cbrt_test): Likewise.
5944         (csqrt_test): Likewise.
5945         (erf_test): Likewise.
5946         (erfc_test): Likewise.
5947         (pow10_test): Likewise.
5948         (exp2_test): Likewise.
5949         (hypot_test): Likewise.
5950         (j0_test): Likewise.
5951         (j1_test): Likewise.
5952         (lgamma_test): Likewise.
5953         (gamma_test): Likewise.
5954         (sincos_test): Likewise.
5955         (tanh_test): Likewise.
5956         (y0_test): Likewise.
5957         (y1_test): Likewise.
5958         * sysdeps/i386/fpu/libm-test-ulps: Update.
5959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5960
5961 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5962
5963         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5965         and strcspn-ppc64 objects.
5966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5967         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5968         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5969         multiarch strcspn for POWER7.
5970         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5971         multiarch strcspn for PPC64.
5972         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5973         ifunc selector.
5974         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5975         strcspn for POWER7.
5976
5977 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5978
5979         * math/gen-libm-test.pl (generate_testfile): Expect only function
5980         name as argument to AUTO_TESTS_* and pass results for all rounding
5981         modes to parse_args.
5982         (parse_auto_input): Separate inputs of automatic tests from
5983         outputs before storing in %auto_tests.
5984         * math/libm-test.inc (acos_test_data): Update call to
5985         AUTO_TESTS_f_f.
5986         (acos_test): Use ALL_RM_TEST.
5987         (acos_tonearest_test_data): Remove.
5988         (acos_test_tonearest): Likewise.
5989         (acos_towardzero_test_data): Likewise.
5990         (acos_test_towardzero): Likewise.
5991         (acos_downward_test_data): Likewise.
5992         (acos_test_downward): Likewise.
5993         (acos_upward_test_data): Likewise.
5994         (acos_test_upward): Likewise.
5995         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5996         (asin_test_data): Likewise.
5997         (asin_test): Use ALL_RM_TEST.
5998         (asin_tonearest_test_data): Remove.
5999         (asin_test_tonearest): Likewise.
6000         (asin_towardzero_test_data): Likewise.
6001         (asin_test_towardzero): Likewise.
6002         (asin_downward_test_data): Likewise.
6003         (asin_test_downward): Likewise.
6004         (asin_upward_test_data): Likewise.
6005         (asin_test_upward): Likewise.
6006         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6007         (atan_test_data): Likewise.
6008         (atanh_test_data): Likewise.
6009         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6010         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6011         (carg_test_data): Likewise.
6012         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6013         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6014         (ccosh_test_data): Likewise.
6015         (cexp_test_data): Likewise.
6016         (clog_test_data): Likewise.
6017         (clog10_test_data): Likewise.
6018         (cos_test_data): Update call to AUTO_TESTS_f_f.
6019         (cos_test): Use ALL_RM_TEST.
6020         (cos_tonearest_test_data): Remove.
6021         (cos_test_tonearest): Likewise.
6022         (cos_towardzero_test_data): Likewise.
6023         (cos_test_towardzero): Likewise.
6024         (cos_downward_test_data): Likewise.
6025         (cos_test_downward): Likewise.
6026         (cos_upward_test_data): Likewise.
6027         (cos_test_upward): Likewise.
6028         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6029         (cosh_test): Use ALL_RM_TEST.
6030         (cosh_tonearest_test_data): Remove.
6031         (cosh_test_tonearest): Likewise.
6032         (cosh_towardzero_test_data): Likewise.
6033         (cosh_test_towardzero): Likewise.
6034         (cosh_downward_test_data): Likewise.
6035         (cosh_test_downward): Likewise.
6036         (cosh_upward_test_data): Likewise.
6037         (cosh_test_upward): Likewise.
6038         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6039         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6040         (ctan_test_data): Likewise.
6041         (ctan_test): Use ALL_RM_TEST.
6042         (ctan_tonearest_test_data): Remove.
6043         (ctan_test_tonearest): Likewise.
6044         (ctan_towardzero_test_data): Likewise.
6045         (ctan_test_towardzero): Likewise.
6046         (ctan_downward_test_data): Likewise.
6047         (ctan_test_downward): Likewise.
6048         (ctan_upward_test_data): Likewise.
6049         (ctan_test_upward): Likewise.
6050         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6051         (ctanh_test): Use ALL_RM_TEST.
6052         (ctanh_tonearest_test_data): Remove.
6053         (ctanh_test_tonearest): Likewise.
6054         (ctanh_towardzero_test_data): Likewise.
6055         (ctanh_test_towardzero): Likewise.
6056         (ctanh_downward_test_data): Likewise.
6057         (ctanh_test_downward): Likewise.
6058         (ctanh_upward_test_data): Likewise.
6059         (ctanh_test_upward): Likewise.
6060         (erf_test_data): Update call to AUTO_TESTS_f_f.
6061         (erfc_test_data): Likewise.
6062         (exp_test_data): Likewise.
6063         (exp_test): Use ALL_RM_TEST.
6064         (exp_tonearest_test_data): Remove.
6065         (exp_test_tonearest): Likewise.
6066         (exp_towardzero_test_data): Likewise.
6067         (exp_test_towardzero): Likewise.
6068         (exp_downward_test_data): Likewise.
6069         (exp_test_downward): Likewise.
6070         (exp_upward_test_data): Likewise.
6071         (exp_test_upward): Likewise.
6072         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6073         (exp10_test): Use ALL_RM_TEST.
6074         (exp10_tonearest_test_data): Remove.
6075         (exp10_test_tonearest): Likewise.
6076         (exp10_towardzero_test_data): Likewise.
6077         (exp10_test_towardzero): Likewise.
6078         (exp10_downward_test_data): Likewise.
6079         (exp10_test_downward): Likewise.
6080         (exp10_upward_test_data): Likewise.
6081         (exp10_test_upward): Likewise.
6082         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6083         (expm1_test_data): Likewise.
6084         (expm1_test): Use ALL_RM_TEST.
6085         (expm1_tonearest_test_data): Remove.
6086         (expm1_test_tonearest): Likewise.
6087         (expm1_towardzero_test_data): Likewise.
6088         (expm1_test_towardzero): Likewise.
6089         (expm1_downward_test_data): Likewise.
6090         (expm1_test_downward): Likewise.
6091         (expm1_upward_test_data): Likewise.
6092         (expm1_test_upward): Likewise.
6093         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6094         (fma_test): Use ALL_RM_TEST.
6095         (fma_towardzero_test_data): Remove.
6096         (fma_test_towardzero): Likewise.
6097         (fma_downward_test_data): Likewise.
6098         (fma_test_downward): Likewise.
6099         (fma_upward_test_data): Likewise.
6100         (fma_test_upward): Likewise.
6101         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6102         (j0_test_data): Update call to AUTO_TESTS_f_f.
6103         (j1_test_data): Likewise.
6104         (jn_test_data): Update call to AUTO_TESTS_if_f.
6105         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6106         (log_test_data): Update call to AUTO_TESTS_f_f.
6107         (log10_test_data): Likewise.
6108         (log1p_test_data): Likewise.
6109         (log2_test_data): Likewise.
6110         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6111         (pow_tonearest_test_data): Likewise.
6112         (sin_test_data): Update call to AUTO_TESTS_f_f.
6113         (sin_test): Use ALL_RM_TEST.
6114         (sin_tonearest_test_data): Remove.
6115         (sin_test_tonearest): Likewise.
6116         (sin_towardzero_test_data): Likewise.
6117         (sin_test_towardzero): Likewise.
6118         (sin_downward_test_data): Likewise.
6119         (sin_test_downward): Likewise.
6120         (sin_upward_test_data): Likewise.
6121         (sin_test_upward): Likewise.
6122         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6123         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6124         (sinh_test): Use ALL_RM_TEST.
6125         (sinh_tonearest_test_data): Remove.
6126         (sinh_test_tonearest): Likewise.
6127         (sinh_towardzero_test_data): Likewise.
6128         (sinh_test_towardzero): Likewise.
6129         (sinh_downward_test_data): Likewise.
6130         (sinh_test_downward): Likewise.
6131         (sinh_upward_test_data): Likewise.
6132         (sinh_test_upward): Likewise.
6133         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6134         (sqrt_test): Use ALL_RM_TEST.
6135         (sqrt_tonearest_test_data): Remove.
6136         (sqrt_test_tonearest): Likewise.
6137         (sqrt_towardzero_test_data): Likewise.
6138         (sqrt_test_towardzero): Likewise.
6139         (sqrt_downward_test_data): Likewise.
6140         (sqrt_test_downward): Likewise.
6141         (sqrt_upward_test_data): Likewise.
6142         (sqrt_test_upward): Likewise.
6143         (tan_test_data): Update call to AUTO_TESTS_f_f.
6144         (tan_test): Use ALL_RM_TEST.
6145         (tan_tonearest_test_data): Remove.
6146         (tan_test_tonearest): Likewise.
6147         (tan_towardzero_test_data): Likewise.
6148         (tan_test_towardzero): Likewise.
6149         (tan_downward_test_data): Likewise.
6150         (tan_test_downward): Likewise.
6151         (tan_upward_test_data): Likewise.
6152         (tan_test_upward): Likewise.
6153         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6154         (tgamma_test_data): Likewise.
6155         (y0_test_data): Likewise.
6156         (y1_test_data): Likewise.
6157         (yn_test_data): Update call to AUTO_TESTS_if_f.
6158         (main): Do not call removed functions.
6159
6160 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6161
6162         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6163         (ldexp_test_data): Remove.
6164         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6165         scalbn_test_data.
6166         (scalb_test): Use ALL_RM_TEST.
6167
6168 2014-03-19  Andreas Schwab  <schwab@suse.de>
6169
6170         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6171
6172 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6173
6174         [BZ #16649]
6175         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6176         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6177         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6179         (__ASSUME_PREADV): Undefine.
6180         (__ASSUME_PWRITEV): Likewise.
6181
6182 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6183
6184         * bits/mman-linux.h: Add comment about non-Linux use.
6185         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6186         bits/mman-linux.h resting place.
6187
6188         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6189         * bits/mman-linux.h: ... here.
6190
6191 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6192
6193         * conform/conformtest.pl: Add standard definition when calling C
6194         preprocessor on data files.
6195         (checknamespace): Remove unused variable.
6196
6197 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6198
6199         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6200         minus_oflow, plus_uflow and minus_uflow in expected results.
6201         * math/libm-test.inc (scalbn_test_data): Add more tests of
6202         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6203         minus_uflow.
6204         (scalbn_test): Use ALL_RM_TEST.
6205         (scalbln_test_data): Add more tests of negative arguments.  Use
6206         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6207         (scalbln_test): Use ALL_RM_TEST.
6208
6209 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6210
6211         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6212
6213 2014-03-18  Will Newton  <will.newton@linaro.org>
6214
6215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6216         inaccurate comment.
6217
6218 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6219
6220         * Makerules [!subdir] (check-abi): Exit with error status if a
6221         test failed.
6222
6223 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6224
6225         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6226         for rint.  Include results for all rounding modes.
6227         (nearbyint_test): Use ALL_RM_TEST.
6228         (rint_test_data): Include all tests used for nearbyint.
6229
6230 2014-03-17  Will Newton  <will.newton@linaro.org>
6231
6232         * nptl/sysdeps/pthread/pthread.h: Revert previous
6233         change.
6234
6235         * sysdeps/generic/ldsodefs.h: Revert previous
6236         change.
6237
6238         * libio/genops.c: Revert previous change.
6239         * libio/libioP.h: Likewise.
6240         * stdio-common/vfprintf.c: Likewise.
6241
6242         * sysdeps/generic/math_private.h: Revert previous
6243         change.
6244
6245         * sysdeps/generic/math_private.h: Check whether
6246         HAVE_RM_CTX is defined with #ifdef rather
6247         than #if.
6248
6249         * argp/argp-fmtstream.h: Check whether
6250         __STRICT_ANSI__ is defined with #ifdef rather
6251         than #if.
6252         * argp/argp.h: Likewise.
6253
6254         * libio/genops.c: Check whether
6255         _IO_JUMPS_OFFSET is defined with #ifdef rather
6256         than #if.
6257         * libio/libioP.h: Likewise.
6258         * stdio-common/vfprintf.c: Likewise.
6259
6260         * sysdeps/generic/ldsodefs.h: Check whether
6261         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6262         than #if.
6263
6264         * nptl/sysdeps/pthread/pthread.h: Check
6265         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6266         its value.
6267
6268 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6269
6270         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6271         setting O_APPEND.
6272         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6273         test case.
6274
6275         [BZ #16680]
6276         * libio/fileops.c (_IO_file_open): Seek to end of file but
6277         don't cache the offset.
6278         (get_file_offset): Remove function.
6279         (do_ftell): Use cached offset when available.
6280         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6281         don't cache the offset.
6282         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6283         case.
6284         (do_one_test): Call it.
6285         (do_ftell_test): Fix up expected old offset for a+ mode.
6286         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6287         available.
6288
6289         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6290         up test status with function return status.
6291         (do_write_test): Likewise.
6292         (do_append_test): Likewise.
6293
6294         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6295         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6296         Remove.
6297
6298 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6299
6300         * math/gen-libm-test.pl (parse_args): Handle results specified for
6301         each rounding mode separately.
6302         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6303         tests and results from lrint_tonearest_test_data,
6304         lrint_towardzero_test_data, lrint_downward_test_data and
6305         lrint_upward_test_data.
6306         (lrint_test): Use ALL_RM_TEST.
6307         (lrint_tonearest_test_data): Remove.
6308         (lrint_test_tonearest): Likewise.
6309         (lrint_towardzero_test_data): Likewise.
6310         (lrint_test_towardzero): Likewise.
6311         (lrint_downward_test_data): Likewise.
6312         (lrint_test_downward): Likewise.
6313         (lrint_upward_test_data): Likewise.
6314         (lrint_test_upward): Likewise.
6315         (llrint_test_data): Merge in per-rounding-mode tests and results
6316         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6317         llrint_downward_test_data and llrint_upward_test_data.
6318         (llrint_test): Use ALL_RM_TEST.
6319         (llrint_tonearest_test_data): Remove.
6320         (llrint_test_tonearest): Likewise.
6321         (llrint_towardzero_test_data): Likewise.
6322         (llrint_test_towardzero): Likewise.
6323         (llrint_downward_test_data): Likewise.
6324         (llrint_test_downward): Likewise.
6325         (llrint_upward_test_data): Likewise.
6326         (llrint_test_upward): Likewise.
6327         (rint_test_data): Merge in per-rounding-mode tests and results
6328         from rint_tonearest_test_data, rint_towardzero_test_data,
6329         rint_downward_test_data and rint_upward_test_data.  Add
6330         per-rounding-mode results for tests not in those arrays.
6331         (rint_test): Use ALL_RM_TEST.
6332         (rint_tonearest_test_data): Remove.
6333         (rint_test_tonearest): Likewise.
6334         (rint_towardzero_test_data): Likewise.
6335         (rint_test_towardzero): Likewise.
6336         (rint_downward_test_data): Likewise.
6337         (rint_test_downward): Likewise.
6338         (rint_upward_test_data): Likewise.
6339         (rint_test_upward): Likewise.
6340         (main): Don't call removed functions.
6341
6342 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6343
6344         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6345         "Compiled on ..." crapola.  It is anti-useful.
6346
6347 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6348
6349         * scripts/evaluate-test.sh: Handle fourth argument to determine
6350         whether test run should stop on failure.
6351         * Makeconfig (stop-on-test-failure): New variable.
6352         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6353         $(stop-on-test-failure).
6354         * Makefile (tests): Give a summary of results from testing and
6355         exit with failure status if they include an ERROR or FAIL.
6356         (xtests): Likewise.
6357         * manual/install.texi (Configuring and compiling): Mention
6358         stop-on-test-failure=y.
6359         * INSTALL: Regenerated.
6360
6361 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6362
6363         * scripts/versionlist.awk: New file.
6364         * Makerules [$(build-shared) = yes]
6365         (postclean-generated): Add Versions.def, not Versions.def.v and
6366         Versions.def.v.i.
6367         ($(common-objpfx)Versions.def.v.i): Target removed.
6368         ($(common-objpfx)Versions.def): New target.
6369         ($(common-objpfx)Versions.all): Depend on that rather that
6370         $(common-objpfx)Versions.def.v.
6371         * Versions.def: File removed.
6372
6373         * Makeconfig (+gccwarn): Add -Wundef.
6374         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6375         a dl-sysdep.h breaking its contract.
6376         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6377         * include/stackinfo.h: New file.
6378         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6379         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6380         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6381         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6382         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6383         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6384         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6385         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6386         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6387         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6388         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6389         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6390         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6391         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6392         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6393
6394 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6395
6396         [BZ #16707]
6397         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6398         implementation.
6399         * math/libm-test.inc (round_test_data): Add more tests.
6400
6401         [BZ #16706]
6402         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6403         implementation.
6404         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6405
6406         [BZ #16701]
6407         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6408         implementation.
6409         * math/libm-test.inc (ceil_test_data): Add more tests.
6410
6411         * math/libm-test.inc (trunc_test_data): Add more tests related to
6412         BZ#16414.
6413
6414 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6415
6416         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6417         with #if rather than #ifdef.
6418         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6419
6420 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6421
6422         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6423         first.  Disable AVX-512 GCC support if assembler doesn't support
6424         it.
6425         * sysdeps/x86_64/configure: Regenerated.
6426
6427 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6428
6429         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6430         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6431         (__old_pthread_attr_setstack): Likewise.
6432         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6433         [!_STACK_GROWS_DOWN]: Likewise.
6434
6435 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6436
6437         * config.make.in (have-bash2): Delete.
6438         * configure.ac (libc_cv_have_bash2): Delete.
6439         * configure: Regenerate.
6440         * elf/Makefile (common-ldd-rewrite): Rename to ...
6441         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6442         (sh-ldd-rewrite): Delete.
6443         (bash-ldd-rewrite): Delete.
6444         (have-bash2): Delete checks.
6445         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6446         ldd-rewrite.
6447
6448         * config.make.in (have-ksh): Delete.
6449         (KSH): Delete.
6450         * configure.ac (libc_cv_have_ksh): Delete.
6451         * configure: Regenerate.
6452
6453         * elf/Makefile: Delete $(have-ksh) check.
6454         ($(objpfx)sotruss): Change KSH to BASH.
6455         * elf/sotruss.ksh: Rename to ...
6456         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6457         function style to match POSIX.  Drop ksh vim mode setting.
6458
6459         * manual/time.texi (Specifying the Time Zone with TZ): Change
6460         Tuesday to Thursday.
6461
6462         * debug/tst-longjmp_chk2.c: Update header comment.
6463         (stackoverflow_handler): Add comment.  Call assert on pass value.
6464
6465 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6466
6467         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6468         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6469         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6470         (La_x86_64_vector): Add zmm.
6471         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6472         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6473         ($(objpfx)tst-audit10): New target.
6474         ($(objpfx)tst-audit10.out): Likewise.
6475         (tst-audit10-ENV): New.
6476         (AVX512-CFLAGS): Likewise.
6477         (CFLAGS-tst-audit10.c): Likewise.
6478         (CFLAGS-tst-auditmod10a.c): Likewise.
6479         (CFLAGS-tst-auditmod10b.c): Likewise.
6480         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6481         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6482         * sysdeps/x86_64/configure: Regenerated.
6483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6484         AVX-512 zmm register support.
6485         (_dl_x86_64_save_sse): Likewise.
6486         (_dl_x86_64_restore_sse): Likewise.
6487         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6488         size vector registers.
6489         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6490         (ZMM_SIZE): Likewise.
6491         * sysdeps/x86_64/tst-audit10.c: New file.
6492         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6493         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6494
6495 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6496
6497         * configure.ac (HAVE_EHDR_START): New check.
6498         * configure: Regenerated.
6499         * config.h.in (HAVE_EHDR_START): New #undef.
6500         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6501         assuming the lowest-addressed segment maps the start of the file.
6502
6503 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6504
6505         * INSTALL: Regenerated.
6506
6507 2014-03-13  Will Newton  <will.newton@linaro.org>
6508
6509         * manual/setjmp.texi (System V contexts): Improve
6510         clarity and grammar of documentation.
6511
6512 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6513
6514         [BZ #16381]
6515         * elf/Makefile (tests): Add tst-pie2.
6516         (tests-pie): Add tst-pie2.
6517         * elf/tst-pie2.c: New file.
6518         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6519         for ET_EXEC.
6520         * elf/rtld.c (map_doit): Load executable as lt_executable.
6521         (dl_main): Likewise.
6522
6523 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6524
6525         [BZ #16642]
6526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6527         (__ASSUME_PSELECT): Undefine.
6528
6529 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6530
6531         [BZ #16689]
6532         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6533         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6534         static build.
6535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6536         selector for static builds.
6537
6538 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6539
6540         [BZ #16695]
6541         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6542         key in the buffer.
6543
6544 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6545
6546         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6547         IFUNC selector for static builds.
6548
6549 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6550
6551         * sysdeps/mips/math_private.h [__mips_hard_float]
6552         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6553         libc_feresetround_mips_ctx.
6554         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6555         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6556         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6557
6558         [BZ #16677]
6559         * math/s_nextafter.c (__nextafter): Do not return value from
6560         overflowing computation.
6561         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6562         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6563         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6564         Likewise.
6565         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6566         Likewise.
6567         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6568         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6569
6570 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6571
6572         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6573         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6574         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6575         the new mov targetting sp.
6576
6577 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6578
6579         [BZ #16683]
6580         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6581         Define it for static builds as well.
6582         (NO_BZERO_IMPL): Likewise.
6583
6584 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6585
6586         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6587         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6588         multiarch strspn for PPC64.
6589         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6590         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6592         (__libc_ifunc_impl_list): Likewise.
6593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6594         multiarch optimizations
6595         * string/strspn.c (strspn): Using macro to redefine symbol name.
6596
6597 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6599
6600         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6601         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6602         multiarch strncat for PPC64.
6603         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6604         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6606         (__libc_ifunc_impl_list): Likewise.
6607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6608         multiarch optimizations
6609
6610 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6611
6612         [BZ #16639]
6613         * nscd/nscd.service: Make service type forking.
6614
6615 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6616
6617         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6618         sign in non default rounding modes.
6619         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6620
6621 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6622
6623         * math/libm-test.inc (ALL_RM_TEST): New macro.
6624         (ceil_test): Use ALL_RM_TEST.
6625         (cimag_test): Likewise.
6626         (conj_test): Likewise.
6627         (copysign_test): Likewise.
6628         (cproj_test): Likewise.
6629         (creal_test): Likewise.
6630         (fabs_test): Likewise.
6631         (floor_test): Likewise.
6632         (fmax_test): Likewise.
6633         (fmin_test): Likewise.
6634         (fmod_test): Likewise.
6635         (fpclassify_test): Likewise.
6636         (frexp_test): Likewise.
6637         (ilogb_test): Likewise.
6638         (isfinite_test): Likewise.
6639         (finite_test): Likewise.
6640         (isgreater_test): Likewise.
6641         (isgreaterequal_test): Likewise.
6642         (isinf_test): Likewise.
6643         (isless_test): Likewise.
6644         (islessequal_test): Likewise.
6645         (islessgreater_test): Likewise.
6646         (isnan_test): Likewise.
6647         (isnormal_test): Likewise.
6648         (issignaling_test): Likewise.
6649         (isunordered_test): Likewise.
6650         (logb_test): Likewise.
6651         (logb_downward_test_data): Remove.
6652         (logb_test_downward): Likewise.
6653         (lround_test): Use ALL_RM_TEST.
6654         (llround_test): Likewise.
6655         (modf_test): Likewise.
6656         (nexttoward_test): Likewise.
6657         (remainder_test): Likewise.
6658         (drem_test): Likewise.
6659         (remainder_tonearest_test_data): Likewise.
6660         (remainder_test_tonearest): Likewise.
6661         (drem_test_tonearest): Likewise.
6662         (remainder_towardzero_test_data): Likewise.
6663         (remainder_test_towardzero): Likewise.
6664         (drem_test_towardzero): Likewise.
6665         (remainder_downward_test_data): Likewise.
6666         (remainder_test_downward): Likewise.
6667         (drem_test_downward): Likewise.
6668         (remainder_upward_test_data): Likewise.
6669         (remainder_test_upward): Likewise.
6670         (drem_test_upward): Likewise.
6671         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6672         (round_test): Use ALL_RM_TEST.
6673         (signbit_test): Likewise.
6674         (trunc_test): Likewise.
6675         (significand_test): Likewise.
6676         (main): Don't call removed functions.
6677
6678 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6679
6680         [BZ #16674]
6681         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6682         || __USE_XOPEN2K8].
6683         (ILL_ILLOPN): Likewise.
6684         (ILL_ILLADR): Likewise.
6685         (ILL_ILLTRP): Likewise.
6686         (ILL_PRVOPC): Likewise.
6687         (ILL_PRVREG): Likewise.
6688         (ILL_COPROC): Likewise.
6689         (ILL_BADSTK): Likewise.
6690         (FPE_INTDIV): Likewise.
6691         (FPE_INTOVF): Likewise.
6692         (FPE_FLTDIV): Likewise.
6693         (FPE_FLTOVF): Likewise.
6694         (FPE_FLTUND): Likewise.
6695         (FPE_FLTRES): Likewise.
6696         (FPE_FLTINV): Likewise.
6697         (FPE_FLTSUB): Likewise.
6698         (SEGV_MAPERR): Likewise.
6699         (SEGV_ACCERR): Likewise.
6700         (BUS_ADRALN): Likewise.
6701         (BUS_ADRERR): Likewise.
6702         (BUS_OBJERR): Likewise.
6703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6704         (TRAP_TRACE): Likewise.
6705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6706         __USE_XOPEN2K8].
6707         (CLD_KILLED): Likewise.
6708         (CLD_DUMPED): Likewise.
6709         (CLD_TRAPPED): Likewise.
6710         (CLD_STOPPED): Likewise.
6711         (CLD_CONTINUED): Likewise.
6712         (POLL_IN): Likewise.
6713         (POLL_OUT): Likewise.
6714         (POLL_MSG): Likewise.
6715         (POLL_ERR): Likewise.
6716         (POLL_PRI): Likewise.
6717         (POLL_HUP): Likewise.
6718         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6719         Likewise.
6720         (ILL_ILLOPN): Likewise.
6721         (ILL_ILLADR): Likewise.
6722         (ILL_ILLTRP): Likewise.
6723         (ILL_PRVOPC): Likewise.
6724         (ILL_PRVREG): Likewise.
6725         (ILL_COPROC): Likewise.
6726         (ILL_BADSTK): Likewise.
6727         (FPE_INTDIV): Likewise.
6728         (FPE_INTOVF): Likewise.
6729         (FPE_FLTDIV): Likewise.
6730         (FPE_FLTOVF): Likewise.
6731         (FPE_FLTUND): Likewise.
6732         (FPE_FLTRES): Likewise.
6733         (FPE_FLTINV): Likewise.
6734         (FPE_FLTSUB): Likewise.
6735         (SEGV_MAPERR): Likewise.
6736         (SEGV_ACCERR): Likewise.
6737         (BUS_ADRALN): Likewise.
6738         (BUS_ADRERR): Likewise.
6739         (BUS_OBJERR): Likewise.
6740         (BUS_MCEERR_AR): Likewise.
6741         (BUS_MCEERR_AO): Likewise.
6742         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6743         (TRAP_TRACE): Likewise.
6744         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6745         __USE_XOPEN2K8].
6746         (CLD_KILLED): Likewise.
6747         (CLD_DUMPED): Likewise.
6748         (CLD_TRAPPED): Likewise.
6749         (CLD_STOPPED): Likewise.
6750         (CLD_CONTINUED): Likewise.
6751         (POLL_IN): Likewise.
6752         (POLL_OUT): Likewise.
6753         (POLL_MSG): Likewise.
6754         (POLL_ERR): Likewise.
6755         (POLL_PRI): Likewise.
6756         (POLL_HUP): Likewise.
6757         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6758         (ILL_ILLOPN): Likewise.
6759         (ILL_ILLADR): Likewise.
6760         (ILL_ILLTRP): Likewise.
6761         (ILL_PRVOPC): Likewise.
6762         (ILL_PRVREG): Likewise.
6763         (ILL_COPROC): Likewise.
6764         (ILL_BADSTK): Likewise.
6765         (FPE_INTDIV): Likewise.
6766         (FPE_INTOVF): Likewise.
6767         (FPE_FLTDIV): Likewise.
6768         (FPE_FLTOVF): Likewise.
6769         (FPE_FLTUND): Likewise.
6770         (FPE_FLTRES): Likewise.
6771         (FPE_FLTINV): Likewise.
6772         (FPE_FLTSUB): Likewise.
6773         (SEGV_MAPERR): Likewise.
6774         (SEGV_ACCERR): Likewise.
6775         (BUS_ADRALN): Likewise.
6776         (BUS_ADRERR): Likewise.
6777         (BUS_OBJERR): Likewise.
6778         (BUS_MCEERR_AR): Likewise.
6779         (BUS_MCEERR_AO): Likewise.
6780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6781         (TRAP_TRACE): Likewise.
6782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6783         __USE_XOPEN2K8].
6784         (CLD_KILLED): Likewise.
6785         (CLD_DUMPED): Likewise.
6786         (CLD_TRAPPED): Likewise.
6787         (CLD_STOPPED): Likewise.
6788         (CLD_CONTINUED): Likewise.
6789         (POLL_IN): Likewise.
6790         (POLL_OUT): Likewise.
6791         (POLL_MSG): Likewise.
6792         (POLL_ERR): Likewise.
6793         (POLL_PRI): Likewise.
6794         (POLL_HUP): Likewise.
6795         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6796         Likewise.
6797         (ILL_ILLOPN): Likewise.
6798         (ILL_ILLADR): Likewise.
6799         (ILL_ILLTRP): Likewise.
6800         (ILL_PRVOPC): Likewise.
6801         (ILL_PRVREG): Likewise.
6802         (ILL_COPROC): Likewise.
6803         (ILL_BADSTK): Likewise.
6804         (ILL_BADIADDR): Likewise.
6805         (ILL_BREAK): Likewise.
6806         (FPE_INTDIV): Likewise.
6807         (FPE_INTOVF): Likewise.
6808         (FPE_FLTDIV): Likewise.
6809         (FPE_FLTOVF): Likewise.
6810         (FPE_FLTUND): Likewise.
6811         (FPE_FLTRES): Likewise.
6812         (FPE_FLTINV): Likewise.
6813         (FPE_FLTSUB): Likewise.
6814         (FPE_DECOVF): Likewise.
6815         (FPE_DECDIV): Likewise.
6816         (FPE_DECERR): Likewise.
6817         (FPE_INVASC): Likewise.
6818         (FPE_INVDEC): Likewise.
6819         (SEGV_MAPERR): Likewise.
6820         (SEGV_ACCERR): Likewise.
6821         (SEGV_PSTKOVF): Likewise.
6822         (BUS_ADRALN): Likewise.
6823         (BUS_ADRERR): Likewise.
6824         (BUS_OBJERR): Likewise.
6825         (BUS_MCEERR_AR): Likewise.
6826         (BUS_MCEERR_AO): Likewise.
6827         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6828         (TRAP_TRACE): Likewise.
6829         (TRAP_BRANCH): Likewise.
6830         (TRAP_HWBKPT): Likewise.
6831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6832         __USE_XOPEN2K8].
6833         (CLD_KILLED): Likewise.
6834         (CLD_DUMPED): Likewise.
6835         (CLD_TRAPPED): Likewise.
6836         (CLD_STOPPED): Likewise.
6837         (CLD_CONTINUED): Likewise.
6838         (POLL_IN): Likewise.
6839         (POLL_OUT): Likewise.
6840         (POLL_MSG): Likewise.
6841         (POLL_ERR): Likewise.
6842         (POLL_PRI): Likewise.
6843         (POLL_HUP): Likewise.
6844         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6845         (ILL_ILLOPN): Likewise.
6846         (ILL_ILLADR): Likewise.
6847         (ILL_ILLTRP): Likewise.
6848         (ILL_PRVOPC): Likewise.
6849         (ILL_PRVREG): Likewise.
6850         (ILL_COPROC): Likewise.
6851         (ILL_BADSTK): Likewise.
6852         (FPE_INTDIV): Likewise.
6853         (FPE_INTOVF): Likewise.
6854         (FPE_FLTDIV): Likewise.
6855         (FPE_FLTOVF): Likewise.
6856         (FPE_FLTUND): Likewise.
6857         (FPE_FLTRES): Likewise.
6858         (FPE_FLTINV): Likewise.
6859         (FPE_FLTSUB): Likewise.
6860         (SEGV_MAPERR): Likewise.
6861         (SEGV_ACCERR): Likewise.
6862         (BUS_ADRALN): Likewise.
6863         (BUS_ADRERR): Likewise.
6864         (BUS_OBJERR): Likewise.
6865         (BUS_MCEERR_AR): Likewise.
6866         (BUS_MCEERR_AO): Likewise.
6867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6868         (TRAP_TRACE): Likewise.
6869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6870         __USE_XOPEN2K8].
6871         (CLD_KILLED): Likewise.
6872         (CLD_DUMPED): Likewise.
6873         (CLD_TRAPPED): Likewise.
6874         (CLD_STOPPED): Likewise.
6875         (CLD_CONTINUED): Likewise.
6876         (POLL_IN): Likewise.
6877         (POLL_OUT): Likewise.
6878         (POLL_MSG): Likewise.
6879         (POLL_ERR): Likewise.
6880         (POLL_PRI): Likewise.
6881         (POLL_HUP): Likewise.
6882         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6883         (ILL_ILLOPN): Likewise.
6884         (ILL_ILLADR): Likewise.
6885         (ILL_ILLTRP): Likewise.
6886         (ILL_PRVOPC): Likewise.
6887         (ILL_PRVREG): Likewise.
6888         (ILL_COPROC): Likewise.
6889         (ILL_BADSTK): Likewise.
6890         (FPE_INTDIV): Likewise.
6891         (FPE_INTOVF): Likewise.
6892         (FPE_FLTDIV): Likewise.
6893         (FPE_FLTOVF): Likewise.
6894         (FPE_FLTUND): Likewise.
6895         (FPE_FLTRES): Likewise.
6896         (FPE_FLTINV): Likewise.
6897         (FPE_FLTSUB): Likewise.
6898         (SEGV_MAPERR): Likewise.
6899         (SEGV_ACCERR): Likewise.
6900         (BUS_ADRALN): Likewise.
6901         (BUS_ADRERR): Likewise.
6902         (BUS_OBJERR): Likewise.
6903         (BUS_MCEERR_AR): Likewise.
6904         (BUS_MCEERR_AO): Likewise.
6905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6906         (TRAP_TRACE): Likewise.
6907         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6908         __USE_XOPEN2K8].
6909         (CLD_KILLED): Likewise.
6910         (CLD_DUMPED): Likewise.
6911         (CLD_TRAPPED): Likewise.
6912         (CLD_STOPPED): Likewise.
6913         (CLD_CONTINUED): Likewise.
6914         (POLL_IN): Likewise.
6915         (POLL_OUT): Likewise.
6916         (POLL_MSG): Likewise.
6917         (POLL_ERR): Likewise.
6918         (POLL_PRI): Likewise.
6919         (POLL_HUP): Likewise.
6920         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6921         (ILL_ILLOPN): Likewise.
6922         (ILL_ILLADR): Likewise.
6923         (ILL_ILLTRP): Likewise.
6924         (ILL_PRVOPC): Likewise.
6925         (ILL_PRVREG): Likewise.
6926         (ILL_COPROC): Likewise.
6927         (ILL_BADSTK): Likewise.
6928         (FPE_INTDIV): Likewise.
6929         (FPE_INTOVF): Likewise.
6930         (FPE_FLTDIV): Likewise.
6931         (FPE_FLTOVF): Likewise.
6932         (FPE_FLTUND): Likewise.
6933         (FPE_FLTRES): Likewise.
6934         (FPE_FLTINV): Likewise.
6935         (FPE_FLTSUB): Likewise.
6936         (SEGV_MAPERR): Likewise.
6937         (SEGV_ACCERR): Likewise.
6938         (BUS_ADRALN): Likewise.
6939         (BUS_ADRERR): Likewise.
6940         (BUS_OBJERR): Likewise.
6941         (BUS_MCEERR_AR): Likewise.
6942         (BUS_MCEERR_AO): Likewise.
6943         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6944         (TRAP_TRACE): Likewise.
6945         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6946         __USE_XOPEN2K8].
6947         (CLD_KILLED): Likewise.
6948         (CLD_DUMPED): Likewise.
6949         (CLD_TRAPPED): Likewise.
6950         (CLD_STOPPED): Likewise.
6951         (CLD_CONTINUED): Likewise.
6952         (POLL_IN): Likewise.
6953         (POLL_OUT): Likewise.
6954         (POLL_MSG): Likewise.
6955         (POLL_ERR): Likewise.
6956         (POLL_PRI): Likewise.
6957         (POLL_HUP): Likewise.
6958         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6959         (ILL_ILLOPN): Likewise.
6960         (ILL_ILLADR): Likewise.
6961         (ILL_ILLTRP): Likewise.
6962         (ILL_PRVOPC): Likewise.
6963         (ILL_PRVREG): Likewise.
6964         (ILL_COPROC): Likewise.
6965         (ILL_BADSTK): Likewise.
6966         (ILL_DBLFLT): Likewise.
6967         (ILL_HARDWALL): Likewise.
6968         (FPE_INTDIV): Likewise.
6969         (FPE_INTOVF): Likewise.
6970         (FPE_FLTDIV): Likewise.
6971         (FPE_FLTOVF): Likewise.
6972         (FPE_FLTUND): Likewise.
6973         (FPE_FLTRES): Likewise.
6974         (FPE_FLTINV): Likewise.
6975         (FPE_FLTSUB): Likewise.
6976         (SEGV_MAPERR): Likewise.
6977         (SEGV_ACCERR): Likewise.
6978         (BUS_ADRALN): Likewise.
6979         (BUS_ADRERR): Likewise.
6980         (BUS_OBJERR): Likewise.
6981         (BUS_MCEERR_AR): Likewise.
6982         (BUS_MCEERR_AO): Likewise.
6983         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6984         (TRAP_TRACE): Likewise.
6985         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6986         __USE_XOPEN2K8].
6987         (CLD_KILLED): Likewise.
6988         (CLD_DUMPED): Likewise.
6989         (CLD_TRAPPED): Likewise.
6990         (CLD_STOPPED): Likewise.
6991         (CLD_CONTINUED): Likewise.
6992         (POLL_IN): Likewise.
6993         (POLL_OUT): Likewise.
6994         (POLL_MSG): Likewise.
6995         (POLL_ERR): Likewise.
6996         (POLL_PRI): Likewise.
6997         (POLL_HUP): Likewise.
6998         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6999         (ILL_ILLOPN): Likewise.
7000         (ILL_ILLADR): Likewise.
7001         (ILL_ILLTRP): Likewise.
7002         (ILL_PRVOPC): Likewise.
7003         (ILL_PRVREG): Likewise.
7004         (ILL_COPROC): Likewise.
7005         (ILL_BADSTK): Likewise.
7006         (FPE_INTDIV): Likewise.
7007         (FPE_INTOVF): Likewise.
7008         (FPE_FLTDIV): Likewise.
7009         (FPE_FLTOVF): Likewise.
7010         (FPE_FLTUND): Likewise.
7011         (FPE_FLTRES): Likewise.
7012         (FPE_FLTINV): Likewise.
7013         (FPE_FLTSUB): Likewise.
7014         (SEGV_MAPERR): Likewise.
7015         (SEGV_ACCERR): Likewise.
7016         (BUS_ADRALN): Likewise.
7017         (BUS_ADRERR): Likewise.
7018         (BUS_OBJERR): Likewise.
7019         (BUS_MCEERR_AR): Likewise.
7020         (BUS_MCEERR_AO): Likewise.
7021         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7022         (TRAP_TRACE): Likewise.
7023         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7024         __USE_XOPEN2K8].
7025         (CLD_KILLED): Likewise.
7026         (CLD_DUMPED): Likewise.
7027         (CLD_TRAPPED): Likewise.
7028         (CLD_STOPPED): Likewise.
7029         (CLD_CONTINUED): Likewise.
7030         (POLL_IN): Likewise.
7031         (POLL_OUT): Likewise.
7032         (POLL_MSG): Likewise.
7033         (POLL_ERR): Likewise.
7034         (POLL_PRI): Likewise.
7035         (POLL_HUP): Likewise.
7036         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7037         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7038
7039         [BZ #16670]
7040         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7041         before #include of <time.h>.
7042         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7043         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7044         (test-xfail-UNIX98/sched.h/conform): Likewise.
7045
7046 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7047
7048         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7049         error absence of trapping exception support.
7050         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7051
7052 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7053
7054         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7055         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7056         * timezone/Makefile (testdata): Move definition above include of
7057         Rules.
7058         (test-zones): New variable.
7059         (tests-special): Add zone files.
7060         (build-testdata): Use $(evaluate-test).
7061
7062         * elf/Makefile (tests-special): Rename tests to end with .out.
7063         ($(objpfx)noload-mem): Likewise.
7064         ($(objpfx)tst-leaks1-mem): Likewise.
7065         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7066         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7067         $(objpfx)test-iconvconfig.out.
7068         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7069         set -e inside subshell and redirect output to file.
7070         * iconvdata/Makefile (generated): Rename tests to end with .out.
7071         Correct type.
7072         (tests-special): Rename tests to end with .out.
7073         ($(objpfx)mtrace-tst-loading): Likewise.
7074         * intl/Makefile (generated): Likewise.
7075         (tests-special): Likewise.
7076         ($(objpfx)mtrace-tst-gettext): Likewise.
7077         * misc/Makefile (generated): Likewise.
7078         (tests-special): Likewise.
7079         ($(objpfx)tst-error1-mem): Likewise.
7080         * nptl/Makefile (tests-special): Likewise.
7081         ($(objpfx)tst-stack3-mem): Likewise.
7082         (generated): Likewise.
7083         * posix/Makefile (generated): Likewise.
7084         (tests-special): Likewise.
7085         (xtests-special): Likewise.
7086         ($(objpfx)tst-fnmatch-mem): Likewise.
7087         ($(objpfx)bug-regex2-mem): Likewise.
7088         ($(objpfx)bug-regex14-mem): Likewise.
7089         ($(objpfx)bug-regex21-mem): Likewise.
7090         ($(objpfx)bug-regex31-mem): Likewise.
7091         ($(objpfx)tst-vfork3-mem): Likewise.
7092         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7093         ($(objpfx)tst-pcre-mem): Likewise.
7094         ($(objpfx)tst-boost-mem): Likewise.
7095         ($(objpfx)bug-ga2-mem): Likewise.
7096         ($(objpfx)bug-glob2-mem): Likewise.
7097         * resolv/Makefile (generate): Likewise.
7098         (tests-special): Likewise.
7099         (xtests-special): Likewise.
7100         (generated): Likewise.
7101         ($(objpfx)mtrace-tst-leaks): Likewise.
7102         ($(objpfx)mtrace-tst-leaks2): Likewise.
7103
7104         * scripts/merge-test-results.sh: New file.
7105         * Makefile (tests-special-notdir): New variable.
7106         (tests): Run merge-test-results.sh.
7107         (xtests): Likewise.
7108         * Rules (tests-special-notdir): New variable.
7109         (xtests-special-notdir): Likewise.
7110         (tests): Run merge-test-results.sh
7111         (xtests): Likewise.
7112
7113         * Makeconfig (test-xfail-name): New variable.
7114         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7115         compute variable name for expected failures.
7116         * conform/Makefile (conformtest-headers-data): New variable.
7117         (conformtest-standards): Likewise.
7118         (conformtest-headers-ISO): Likewise.
7119         (conformtest-headers-ISO99): Likewise.
7120         (conformtest-headers-ISO11): Likewise.
7121         (conformtest-headers-POSIX): Likewise.
7122         (conformtest-headers-XPG3): Likewise.
7123         (conformtest-headers-XPG4): Likewise.
7124         (conformtest-headers-UNIX98): Likewise.
7125         (conformtest-headers-XOPEN2K): Likewise.
7126         (conformtest-headers-POSIX2008): Likewise.
7127         (conformtest-headers-XOPEN2K8): Likewise.
7128         (conformtest-header-list-base): Likewise.
7129         (conformtest-header-list-tests): Likewise.
7130         (conformtest-header-base): Likewise.
7131         (conformtest-header-tests): Likewise.
7132         (tests-special): Add $(conformtest-header-list-tests).  If
7133         [$(fast-check) && !$(cross-compiling)], add
7134         $(conformtest-header-tests) instead of
7135         $(objpfx)run-conformtest.out.
7136         (generated): Add $(conformtest-header-list-base).  If
7137         [$(fast-check) && !$(cross-compiling)], add
7138         $(conformtest-header-base).  Remove previous setting.
7139         ($(conformtest-header-list-tests)): New target.
7140         (test-xfail-run-conformtest): Remove variable.
7141         ($(objpfx)run-conformtest.out): Remove target.
7142         (test-xfail-ISO11/complex.h/conform): New variable.
7143         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7144         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7145         (test-xfail-XPG3/varargs.h/conform): Likewise.
7146         (test-xfail-XPG4/varargs.h/conform): Likewise.
7147         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7148         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7149         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7150         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7151         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7152         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7153         (test-xfail-XPG3/ftw.h/conform): Likewise.
7154         (test-xfail-XPG3/grp.h/conform): Likewise.
7155         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7156         (test-xfail-XPG3/limits.h/conform): Likewise.
7157         (test-xfail-XPG3/pwd.h/conform): Likewise.
7158         (test-xfail-XPG3/search.h/conform): Likewise.
7159         (test-xfail-XPG3/signal.h/conform): Likewise.
7160         (test-xfail-XPG3/stdio.h/conform): Likewise.
7161         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7162         (test-xfail-XPG3/string.h/conform): Likewise.
7163         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7164         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7165         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7166         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7167         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7168         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7169         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7170         (test-xfail-XPG3/termios.h/conform): Likewise.
7171         (test-xfail-XPG3/time.h/conform): Likewise.
7172         (test-xfail-XPG3/unistd.h/conform): Likewise.
7173         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7174         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7175         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7176         (test-xfail-XPG4/netdb.h/conform): Likewise.
7177         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7178         (test-xfail-XPG4/signal.h/conform): Likewise.
7179         (test-xfail-XPG4/stdio.h/conform): Likewise.
7180         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7181         (test-xfail-XPG4/stropts.h/conform): Likewise.
7182         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7183         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7184         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7185         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7186         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7187         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7188         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7189         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7190         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7191         (test-xfail-XPG4/termios.h/conform): Likewise.
7192         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7193         (test-xfail-XPG4/unistd.h/conform): Likewise.
7194         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7195         (test-xfail-POSIX/sched.h/conform): Likewise.
7196         (test-xfail-POSIX/signal.h/conform): Likewise.
7197         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7198         (test-xfail-POSIX/tar.h/conform): Likewise.
7199         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7200         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7201         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7202         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7203         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7204         (test-xfail-UNIX98/sched.h/conform): Likewise.
7205         (test-xfail-UNIX98/signal.h/conform): Likewise.
7206         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7207         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7208         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7209         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7210         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7211         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7212         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7213         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7214         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7215         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7216         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7217         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7218         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7219         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7220         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7221         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7222         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7223         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7224         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7225         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7226         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7227         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7228         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7229         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7230         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7231         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7232         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7233         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7234         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7235         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7236         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7237         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7238         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7239         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7240         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7241         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7242         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7243         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7244         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7245         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7246         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7247         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7248         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7249         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7250         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7251         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7252         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7253         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7254         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7255         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7256         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7257         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7258         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7259         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7260         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7261         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7262         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7263         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7264         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7265         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7266         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7267         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7268         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7269         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7270         (conformtest-cc-flags): Likewise.
7271         ($(conformtest-header-tests): New target.
7272         * conform/check-header-lists.sh: New file.
7273         * conform/run-conformtest.sh: Remove.
7274
7275         * conform/conformtest.pl: Allow ' and \ in values given for
7276         constants.
7277         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7278         inclusion.
7279         [POSIX] (sys/types.h): Likewise.
7280         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7281         inclusion.
7282         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7283         inclusion.
7284         * conform/data/signal.h-data (SIGIO): Remove expectation.
7285         [XPG3] (SIGBUS): Do not expect.
7286         [POSIX || XPG3] (SIGPOLL): Likewise.
7287         [POSIX || XPG3] (SIGPROF): Likewise.
7288         [POSIX || XPG3] (SIGSYS): Likewise.
7289         [XPG3] (SIGTRAP): Likewise.
7290         [POSIX || XPG3] (SIGURG): Likewise.
7291         [POSIX || XPG3] (SIGVTALRM): Likewise.
7292         [POSIX || XPG3] (SIGXCPU): Likewise.
7293         [POSIX || XPG3] (SIGXFSZ): Likewise.
7294         [POSIX] (SA_SIGINFO): Expect.
7295         [XPG3] (siginfo_t): Do not expect type or contents.
7296         [POSIX] (si_pid): Do not expect element.
7297         [POSIX] (si_uid): Likewise.
7298         [POSIX] (si_addr): Likewise.
7299         [POSIX] (si_status): Likewise.
7300         [POSIX] (si_band): Likewise.
7301         [XPG4] (si_value): Likewise.
7302         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7303         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7304         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7305         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7306         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7307         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7308         [POSIX || XPG3] (ILL_COPROC): Likewise.
7309         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7310         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7311         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7312         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7313         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7314         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7315         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7316         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7317         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7318         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7319         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7320         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7321         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7322         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7323         [POSIX || XPG3] (CLD_EXITED): Likewise.
7324         [POSIX || XPG3] (CLD_KILLED): Likewise.
7325         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7326         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7327         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7328         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7329         [POSIX || XPG3] (POLL_IN): Likewise.
7330         [POSIX || XPG3] (POLL_OUT): Likewise.
7331         [POSIX || XPG3] (POLL_MSG): Likewise.
7332         [POSIX || XPG3] (POLL_ERR): Likewise.
7333         [POSIX || XPG3] (POLL_PRI): Likewise.
7334         [POSIX || XPG3] (POLL_HUP): Likewise.
7335         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7336         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7337         (SIG*): Do not allow.
7338         [XPG3] (si_*): Likewise.
7339         [XPG3] (SI_*): Likewise.
7340         [XPG3 || XPG4] (sigev_*): Likewise.
7341         [XPG3 || XPG4] (SIGEV_*): Likewise.
7342         [XPG3 || XPG4] (sival_*): Likewise.
7343         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7344         [POSIX || XPG3] (BUS_*): Likewise.
7345         [POSIX || XPG3] (CLD_*): Likewise.
7346         [POSIX || XPG3] (FPE_*): Likewise.
7347         [POSIX || XPG3] (ILL_*): Likewise.
7348         [POSIX || XPG3] (POLL_*): Likewise.
7349         [POSIX || XPG3] (SEGV_*): Likewise.
7350         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7351         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7352         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7353         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7354         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7355         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7356         Specify type and value.
7357         (TVERSLEN): Likewise.
7358         (REGTYPE): Likewise.
7359         (AREGTYPE): Likewise.
7360         (LNKTYPE): Likewise.
7361         (SYMTYPE): Likewise.
7362         (CHRTYPE): Likewise.
7363         (BLKTYPE): Likewise.
7364         (DIRTYPE): Likewise.
7365         (FIFOTYPE): Likewise.
7366         (CONTTYPE): Likewise.
7367         (TSUID): Likewise.
7368         (TSGID): Likewise.
7369         (TSVTX): Likewise.
7370         (TUREAD): Likewise.
7371         (TUWRITE): Likewise.
7372         (TUEXEC): Likewise.
7373         (TGREAD): Likewise.
7374         (TGWRITE): Likewise.
7375         (TGEXEC): Likewise.
7376         (TOREAD): Likewise.
7377         (TOWRITE): Likewise.
7378         (TOEXEC): Likewise.
7379         [POSIX] (TSVTX): Expect constant.
7380
7381 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7382
7383         * Makefile (tests): Change dependencies to ....
7384         (tests-special): ... additions to this variable.
7385         (tests): Depend on $(tests-special).
7386         * Makerules (check-abi-list): New variable.
7387         (check-abi): Depend on $(check-abi-list).
7388         [$(subdir) = elf] (tests-special): Add
7389         $(objpfx)check-abi-libc.out.
7390         [$(build-shared) = yes && subdir] (tests-special): Add
7391         $(check-abi-list).
7392         [$(build-shared) = yes && subdir] (tests): Do not depend on
7393         check-abi.
7394         * Rules (tests): Depend on $(tests-special).
7395         (xtests): Depend on $(xtests-special).
7396         * catgets/Makefile (tests): Change dependencies to ....
7397         (tests-special): ... additions to this variable.
7398         * conform/Makefile (tests): Change dependencies to ....
7399         (tests-special): ... additions to this variable.
7400         * elf/Makefile (tests): Change dependencies to ....
7401         (tests-special): ... additions to this variable.
7402         * grp/Makefile (tests): Change dependencies to ....
7403         (tests-special): ... additions to this variable.
7404         * iconv/Makefile (xtests): Change dependencies to ....
7405         (xtests-special): ... additions to this variable.
7406         * iconvdata/Makefile (tests): Change dependencies to ....
7407         (tests-special): ... additions to this variable.
7408         * intl/Makefile (tests): Change dependencies to ....
7409         (tests-special): ... additions to this variable.  Also add
7410         $(objpfx)tst-gettext.out.
7411         * io/Makefile (tests): Change dependencies to ....
7412         (tests-special): ... additions to this variable.
7413         * libio/Makefile (tests): Change dependencies to ....
7414         (tests-special): ... additions to this variable.
7415         * malloc/Makefile (tests): Change dependencies to ....
7416         (tests-special): ... additions to this variable.
7417         * misc/Makefile (tests): Change dependencies to ....
7418         (tests-special): ... additions to this variable.
7419         * nptl/Makefile (tests): Change dependencies to ....
7420         (tests-special): ... additions to this variable.
7421         * nptl_db/Makefile (tests): Change dependencies to ....
7422         (tests-special): ... additions to this variable.
7423         * posix/Makefile (tests): Change dependencies to ....
7424         (tests-special): ... additions to this variable.
7425         (xtests): Change dependencies to ....
7426         (xtests-special): ... additions to this variable.
7427         * resolv/Makefile (tests): Change dependencies to ....
7428         (tests-special): ... additions to this variable.
7429         (xtests): Change dependencies to ....
7430         (xtests-special): ... additions to this variable.
7431         * stdio-common/Makefile (tests): Change dependencies to ....
7432         (tests-special): ... additions to this variable.
7433         (do-tst-unbputc): Remove target.
7434         (do-tst-printf): Likewise.
7435         * stdlib/Makefile (tests): Change dependencies to ....
7436         (tests-special): ... additions to this variable.
7437         * string/Makefile (tests): Change dependencies to ....
7438         (tests-special): ... additions to this variable.
7439         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7440         (tests-special): ... additions to this variable.
7441
7442         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7443         whole file.
7444         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7445         whole file.
7446         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7447         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7448
7449         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7450         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7451         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7452         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7453         * conform/data/libgen.h-data [XPG3]: Likewise.
7454         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7455         * conform/data/ndbm.h-data [XPG3]: Likewise.
7456         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7457         * conform/data/netdb.h-data [XPG3]: Likewise.
7458         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7459         * conform/data/poll.h-data [XPG3]: Likewise.
7460         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7461         * conform/data/strings.h-data [XPG3]: Likewise.
7462         * conform/data/stropts.h-data [XPG3]: Likewise.
7463         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7464         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7465         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7466         Likewise.
7467         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7468         * conform/data/sys/time.h-data [XPG3]: Likewise.
7469         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7470         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7471         * conform/data/sys/un.h-data [XPG3]: Likewise.
7472         * conform/data/syslog.h-data [XPG3]: Likewise.
7473         * conform/data/ucontext.h-data [XPG3]: Likewise.
7474         * conform/data/utmpx.h-data [XPG3]: Likewise.
7475         * conform/data/varargs.h-data [UNIX98]: Enable file.
7476
7477         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7478
7479         * math/libm-test.inc (struct test_f_f_data): Move expected results
7480         into structure for each rounding mode.
7481         (struct test_ff_f_data): Likewise.
7482         (struct test_ff_f_data_nexttoward): Likewise.
7483         (struct test_fi_f_data): Likewise.
7484         (struct test_fl_f_data): Likewise.
7485         (struct test_if_f_data): Likewise.
7486         (struct test_fff_f_data): Likewise.
7487         (struct test_c_f_data): Likewise.
7488         (struct test_f_f1_data): Likewise.
7489         (struct test_fF_f1_data): Likewise.
7490         (struct test_ffI_f1_data): Likewise.
7491         (struct test_c_c_data): Likewise.
7492         (struct test_cc_c_data): Likewise.
7493         (struct test_f_i_data): Likewise.
7494         (struct test_ff_i_data): Likewise.
7495         (struct test_f_l_data): Likewise.
7496         (struct test_f_L_data): Likewise.
7497         (struct test_fFF_11_data): Likewise.
7498         (RM_): New macro.
7499         (RM_FE_DOWNWARD): Likewise.
7500         (RM_FE_TONEAREST): Likewise.
7501         (RM_FE_TOWARDZERO): Likewise.
7502         (RM_FE_UPWARD): Likewise.
7503         (RUN_TEST_LOOP_f_f): Update references to expected results.
7504         (RUN_TEST_LOOP_2_f): Likewise.
7505         (RUN_TEST_LOOP_fff_f): Likewise.
7506         (RUN_TEST_LOOP_c_f): Likewise.
7507         (RUN_TEST_LOOP_f_f1): Likewise.
7508         (RUN_TEST_LOOP_fF_f1): Likewise.
7509         (RUN_TEST_LOOP_fI_f1): Likewise.
7510         (RUN_TEST_LOOP_ffI_f1): Likewise.
7511         (RUN_TEST_LOOP_c_c): Likewise.
7512         (RUN_TEST_LOOP_cc_c): Likewise.
7513         (RUN_TEST_LOOP_f_i): Likewise.
7514         (RUN_TEST_LOOP_f_i_tg): Likewise.
7515         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7516         (RUN_TEST_LOOP_f_b): Likewise.
7517         (RUN_TEST_LOOP_f_b_tg): Likewise.
7518         (RUN_TEST_LOOP_f_l): Likewise.
7519         (RUN_TEST_LOOP_f_L): Likewise.
7520         (RUN_TEST_LOOP_fFF_11): Likewise.
7521         * math/gen-libm-test.pl (parse_args): Output four copies of
7522         expected results for each test.
7523
7524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7525         (__ASSUME_UTIMES): Remove.
7526         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7527         (__ASSUME_UTIMES): Likewise.
7528
7529         * math/gen-auto-libm-tests.c: Update comment on output format.
7530         (output_for_one_input_case): Generate before-rounding and
7531         after-rounding information as conditions on output flags not
7532         floating-point format.
7533         * math/auto-libm-test-out: Regenerated.
7534         * math/gen-libm-test.pl (cond_value): New function.
7535         (or_cond_value): Use cond_value.
7536         (generate_testfile): Handle conditional exceptions.
7537
7538 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7539
7540         * math/libm-test.inc (max_valid_error): New variable.
7541         (init_max_error): Take new argument specifying whether function
7542         results are exactly determined.  Set max_valid_error and bound
7543         other variables for errors based on this argument.
7544         (set_max_error): Do not record results above max_valid_error.
7545         (check_float_internal): Only accept errors of up to 0.5ulps if
7546         also at most max_valid_error.
7547         (START): Take new argument EXACT and pass it to init_max_error.
7548         (acos_test): Update call to START.
7549         (acos_test_tonearest): Likewise.
7550         (acos_test_towardzero): Likewise.
7551         (acos_test_downward): Likewise.
7552         (acos_test_upward): Likewise.
7553         (acosh_test): Likewise.
7554         (asin_test): Likewise.
7555         (asin_test_tonearest): Likewise.
7556         (asin_test_towardzero): Likewise.
7557         (asin_test_downward): Likewise.
7558         (asin_test_upward): Likewise.
7559         (asinh_test): Likewise.
7560         (atan_test): Likewise.
7561         (atanh_test): Likewise.
7562         (atan2_test): Likewise.
7563         (cabs_test): Likewise.
7564         (cacos_test): Likewise.
7565         (cacosh_test): Likewise.
7566         (carg_test): Likewise.
7567         (casin_test): Likewise.
7568         (casinh_test): Likewise.
7569         (catan_test): Likewise.
7570         (catanh_test): Likewise.
7571         (cbrt_test): Likewise.
7572         (ccos_test): Likewise.
7573         (ccosh_test): Likewise.
7574         (ceil_test): Likewise.
7575         (cexp_test): Likewise.
7576         (cimag_test): Likewise.
7577         (clog_test): Likewise.
7578         (clog10_test): Likewise.
7579         (conj_test): Likewise.
7580         (copysign_test): Likewise.
7581         (cos_test): Likewise.
7582         (cos_test_tonearest): Likewise.
7583         (cos_test_towardzero): Likewise.
7584         (cos_test_downward): Likewise.
7585         (cos_test_upward): Likewise.
7586         (cosh_test): Likewise.
7587         (cosh_test_tonearest): Likewise.
7588         (cosh_test_towardzero): Likewise.
7589         (cosh_test_downward): Likewise.
7590         (cosh_test_upward): Likewise.
7591         (cpow_test): Likewise.
7592         (cproj_test): Likewise.
7593         (creal_test): Likewise.
7594         (csin_test): Likewise.
7595         (csinh_test): Likewise.
7596         (csqrt_test): Likewise.
7597         (ctan_test): Likewise.
7598         (ctan_test_tonearest): Likewise.
7599         (ctan_test_towardzero): Likewise.
7600         (ctan_test_downward): Likewise.
7601         (ctan_test_upward): Likewise.
7602         (ctanh_test): Likewise.
7603         (ctanh_test_tonearest): Likewise.
7604         (ctanh_test_towardzero): Likewise.
7605         (ctanh_test_downward): Likewise.
7606         (ctanh_test_upward): Likewise.
7607         (erf_test): Likewise.
7608         (erfc_test): Likewise.
7609         (exp_test): Likewise.
7610         (exp_test_tonearest): Likewise.
7611         (exp_test_towardzero): Likewise.
7612         (exp_test_downward): Likewise.
7613         (exp_test_upward): Likewise.
7614         (exp10_test): Likewise.
7615         (exp10_test_tonearest): Likewise.
7616         (exp10_test_towardzero): Likewise.
7617         (exp10_test_downward): Likewise.
7618         (exp10_test_upward): Likewise.
7619         (pow10_test): Likewise.
7620         (exp2_test): Likewise.
7621         (expm1_test): Likewise.
7622         (expm1_test_tonearest): Likewise.
7623         (expm1_test_towardzero): Likewise.
7624         (expm1_test_downward): Likewise.
7625         (expm1_test_upward): Likewise.
7626         (fabs_test): Likewise.
7627         (fdim_test): Likewise.
7628         (floor_test): Likewise.
7629         (fma_test): Likewise.
7630         (fma_test_towardzero): Likewise.
7631         (fma_test_downward): Likewise.
7632         (fma_test_upward): Likewise.
7633         (fmax_test): Likewise.
7634         (fmin_test): Likewise.
7635         (fmod_test): Likewise.
7636         (fpclassify_test): Likewise.
7637         (frexp_test): Likewise.
7638         (hypot_test): Likewise.
7639         (ilogb_test): Likewise.
7640         (isfinite_test): Likewise.
7641         (finite_test): Likewise.
7642         (isgreater_test): Likewise.
7643         (isgreaterequal_test): Likewise.
7644         (isinf_test): Likewise.
7645         (isless_test): Likewise.
7646         (islessequal_test): Likewise.
7647         (islessgreater_test): Likewise.
7648         (isnan_test): Likewise.
7649         (isnormal_test): Likewise.
7650         (issignaling_test): Likewise.
7651         (isunordered_test): Likewise.
7652         (j0_test): Likewise.
7653         (j1_test): Likewise.
7654         (jn_test): Likewise.
7655         (ldexp_test): Likewise.
7656         (lgamma_test): Likewise.
7657         (gamma_test): Likewise.
7658         (lrint_test): Likewise.
7659         (lrint_test_tonearest): Likewise.
7660         (lrint_test_towardzero): Likewise.
7661         (lrint_test_downward): Likewise.
7662         (lrint_test_upward): Likewise.
7663         (llrint_test): Likewise.
7664         (llrint_test_tonearest): Likewise.
7665         (llrint_test_towardzero): Likewise.
7666         (llrint_test_downward): Likewise.
7667         (llrint_test_upward): Likewise.
7668         (log_test): Likewise.
7669         (log10_test): Likewise.
7670         (log1p_test): Likewise.
7671         (log2_test): Likewise.
7672         (logb_test): Likewise.
7673         (logb_test_downward): Likewise.
7674         (lround_test): Likewise.
7675         (llround_test): Likewise.
7676         (modf_test): Likewise.
7677         (nearbyint_test): Likewise.
7678         (nextafter_test): Likewise.
7679         (nexttoward_test): Likewise.
7680         (pow_test): Likewise.
7681         (pow_test_tonearest): Likewise.
7682         (pow_test_towardzero): Likewise.
7683         (pow_test_downward): Likewise.
7684         (pow_test_upward): Likewise.
7685         (remainder_test): Likewise.
7686         (drem_test): Likewise.
7687         (remainder_test_tonearest): Likewise.
7688         (drem_test_tonearest): Likewise.
7689         (remainder_test_towardzero): Likewise.
7690         (drem_test_towardzero): Likewise.
7691         (remainder_test_downward): Likewise.
7692         (drem_test_downward): Likewise.
7693         (remainder_test_upward): Likewise.
7694         (drem_test_upward): Likewise.
7695         (remquo_test): Likewise.
7696         (rint_test): Likewise.
7697         (rint_test_tonearest): Likewise.
7698         (rint_test_towardzero): Likewise.
7699         (rint_test_downward): Likewise.
7700         (rint_test_upward): Likewise.
7701         (round_test): Likewise.
7702         (scalb_test): Likewise.
7703         (scalbn_test): Likewise.
7704         (scalbln_test): Likewise.
7705         (signbit_test): Likewise.
7706         (sin_test): Likewise.
7707         (sin_test_tonearest): Likewise.
7708         (sin_test_towardzero): Likewise.
7709         (sin_test_downward): Likewise.
7710         (sin_test_upward): Likewise.
7711         (sincos_test): Likewise.
7712         (sinh_test): Likewise.
7713         (sinh_test_tonearest): Likewise.
7714         (sinh_test_towardzero): Likewise.
7715         (sinh_test_downward): Likewise.
7716         (sinh_test_upward): Likewise.
7717         (sqrt_test): Likewise.
7718         (sqrt_test_tonearest): Likewise.
7719         (sqrt_test_towardzero): Likewise.
7720         (sqrt_test_downward): Likewise.
7721         (sqrt_test_upward): Likewise.
7722         (tan_test): Likewise.
7723         (tan_test_tonearest): Likewise.
7724         (tan_test_towardzero): Likewise.
7725         (tan_test_downward): Likewise.
7726         (tan_test_upward): Likewise.
7727         (tanh_test): Likewise.
7728         (tgamma_test): Likewise.
7729         (trunc_test): Likewise.
7730         (y0_test): Likewise.
7731         (y1_test): Likewise.
7732         (yn_test): Likewise.
7733         (significand_test): Likewise.
7734
7735         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7736         individual tests in comment.
7737         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7738         (prev_max_error): New variable.
7739         (prev_real_max_error): Likewise.
7740         (prev_imag_max_error): Likewise.
7741         (compare_ulp_data): Don't refer to test names in comment.
7742         (find_test_ulps): Remove function.
7743         (find_function_ulps): Likewise.
7744         (find_complex_function_ulps): Likewise.
7745         (init_max_error): Take function name as argument.  Look up ulps
7746         for that function.
7747         (print_ulps): Remove function.
7748         (print_max_error): Use prev_max_error instead of calling
7749         find_function_ulps.
7750         (print_complex_max_error): Use prev_real_max_error and
7751         prev_imag_max_error instead of calling find_complex_function_ulps.
7752         (check_float_internal): Take max_ulp parameter instead of calling
7753         find_test_ulps.  Don't call print_ulps.
7754         (check_float): Update call to check_float_internal.
7755         (check_complex): Update calls to check_float_internal.
7756         (START): Pass argument to init_max_error.
7757         * math/gen-libm-test.pl (%results): Don't include "kind"
7758         information.
7759         (parse_ulps): Don't handle ulps of individual tests.
7760         (print_ulps_file): Likewise.
7761         (output_ulps): Likewise.
7762         * math/README.libm-test: Update.
7763         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7764         individual tests.
7765         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7766         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7767         * sysdeps/arm/libm-test-ulps: Likewise.
7768         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7769         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7770         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7771         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7772         * sysdeps/microblaze/libm-test-ulps: Likewise.
7773         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7774         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7776         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7778         * sysdeps/sh/libm-test-ulps: Likewise.
7779         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7780         * sysdeps/tile/libm-test-ulps: Likewise.
7781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782
7783 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7784
7785         * math/libm-test.inc (print_complex_max_error): Check separately
7786         whether real and imaginary errors are within allowed range and
7787         pass 0 to print_complex_function_ulps instead of value within
7788         allowed range.
7789
7790 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7791
7792         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7793         formatting.
7794         (get_handles_fopen): Likewise.
7795         (do_write_test): Likewise.
7796
7797         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7798
7799         * libio/fileops.c (do_ftell): Use cached offset when
7800         available.
7801         * libio/iofwide.c (do_ftell_wide): Likewise.
7802         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7803         _IO_file_attach.
7804         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7805
7806         [BZ #16532]
7807         * libio/libioP.h (get_file_offset): New function.
7808         * libio/fileops.c (get_file_offset): Likewise.
7809         (do_ftell): Likewise.
7810         (_IO_new_file_seekoff): Split out ftell logic.
7811         * libio/wfileops.c (do_ftell_wide): Likewise.
7812         (_IO_wfile_seekoff): Split out ftell logic.
7813         * libio/tst-ftell-active-handler.c: New test case.
7814         * libio/Makefile (tests): Add it.
7815
7816 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7817
7818         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7819         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7820
7821 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7822
7823         [BZ #16639]
7824         * nscd/connections.c (nscd_init): Call do_exit.
7825         (start_threads): Call do_exit and notify_parent.
7826         (begin_drop_privileges): Call do_exit.
7827         (finish_drop_privileges): Likewise.
7828         * nscd/selinux.c (preserve_capabilities): Likewise.
7829         (install_real_capabilities): Likewise.
7830         (nscd_selinux_enabled): Likewise.
7831         (avc_create_thread): Likewise.
7832         (avc_alloc_lock): Likewise.
7833         (nscd_avc_init): Likewise.
7834         * nscd/nscd.c (parent_fd): New static variable.
7835         (main): Create a pipe between parent and child processes.
7836         Skip closing parent_fd.
7837         (monitor_child): New function.
7838         (do_exit): Likewise.
7839         (notify_parent): Likewise.
7840         * nscd/nscd.h (notify_parent): Likewise.
7841         (do_exit): Likewise.
7842
7843 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7844
7845         * malloc/malloc.c (__libc_calloc): Revert last change.
7846
7847 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7848
7849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7850
7851 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7852
7853         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7855         implementation.
7856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7857         (__libc_ifunc_impl_list): Likewise.
7858         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7859         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7860         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7861         * string/strrchr.c: Define STRRCHR.
7862
7863 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7864
7865         * benchtest/bench-strtok.c (simple_strtok): Delete.
7866         (strtok_string): Use as benchmark.
7867         * string/strtok (STRTOK): New macro.
7868
7869 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7870
7871         * manual/threads.texi: Add header and standard comments to all
7872         functions.
7873
7874         * elf/dl-lookup.c (check_match): New function.
7875         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7876         (do_lookup_x): Remove nested function check_match. Use non-nested
7877         function check_match.
7878
7879 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7880
7881         * csu/Makefile (generated, before-compile): Use += rather than =.
7882         * catgets/Makefile (generated, generated-dirs): Likewise.
7883         * debug/Makefile (generated): Likewise.
7884         * dlfcn/Makefile (generated): Likewise.
7885         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7886         * iconvdata/Makefile (before-compile, generated): Likewise.
7887         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7888         * libio/Makefile (generated): Likewise.
7889         * malloc/Makefile (generated): Likewise.
7890         * manual/Makefile (generated, generated-dirs): Likewise.
7891         * misc/Makefile (generated): Likewise.
7892         * posix/Makefile (generated): Likewise.
7893         * resolv/Makefile (generated): Likewise.
7894         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7895         * timezone/Makefile (generated, generated-dirs): Likewise.
7896
7897         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7898
7899 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7900
7901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7902         power8 implementation.
7903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7904         file: POWER8 llround ifunc implementation.
7905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7906         (__lllround): Add POWER8 implementation.
7907         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7908         POWER8 llround implementation.
7909
7910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7911         power8 implementation.
7912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7913         file: POWER8 llrint ifunc implementation.
7914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7915         Add POWER8 implementation.
7916         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7917         POWER8 llrint implementation.
7918
7919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7920         power8 implementation.
7921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7922         file: POWER8 finite ifunc implementation.
7923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7924         Add POWER8 implementation.
7925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7926         Likewise.
7927         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7928         POWER8 finite implementation.
7929         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7930
7931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7932         power8 implementation.
7933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7934         file: POWER8 isinf ifunc implementation.
7935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7936         POWER8 implementation.
7937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7938         Likewise.
7939         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7940         isinf implementation.
7941         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7942
7943         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7944         (INIT_ARCH): Add hwcap2 initialization.
7945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7946         power8 implementation.
7947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7948         file: POWER8 isnan ifunc implementation.
7949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7950         POWER8 implementation.
7951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7952         Likewise.
7953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7954         isnan implementation.
7955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7956
7957 2014-02-27  Joey Ye  <joey.ye@arm.com>
7958
7959         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7960         (_FP_NANFRAC_Q): Set to zero.
7961
7962 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7963
7964         [BZ #16623]
7965         * math/auto-libm-test-in: New test inputs.
7966         * math/auto-libm-test-out: Regenerate.
7967         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7968         and DA.
7969         (__cos): Likewise.
7970         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7971
7972 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7973
7974         * scripts/evaluate-test.sh: Take new argument indicating whether
7975         failure is expected.
7976         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7977         indicating whether failure is expected.
7978         * conform/Makefile (test-xfail-run-conformtest): New variable.
7979         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7980         level.
7981         * posix/Makefile (test-xfail-annexc): New variable.
7982         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7983
7984 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7985
7986         * argp/Makefile: Include Makeconfig immediately after defining
7987         subdir.
7988         * assert/Makefile: Likewise.
7989         * benchtests/Makefile: Likewise.
7990         * catgets/Makefile: Likewise.
7991         * conform/Makefile: Likewise.
7992         * crypt/Makefile: Likewise.
7993         * csu/Makefile: Likewise.
7994         (all): Remove target.
7995         * ctype/Makefile: Include Makeconfig immediately after defining
7996         subdir.
7997         * debug/Makefile: Likewise.
7998         * dirent/Makefile: Likewise.
7999         * dlfcn/Makefile: Likewise.
8000         * gmon/Makefile: Likewise.
8001         * gnulib/Makefile: Likewise.
8002         * grp/Makefile: Likewise.
8003         * gshadow/Makefile: Likewise.
8004         * hesiod/Makefile: Likewise.
8005         * hurd/Makefile: Likewise.
8006         (all): Remove target.
8007         * iconvdata/Makefile: Include Makeconfig immediately after
8008         defining subdir.
8009         * inet/Makefile: Likewise.
8010         * intl/Makefile: Likewise.
8011         * io/Makefile: Likewise.
8012         * libio/Makefile: Likewise.
8013         (all): Remove target.
8014         * locale/Makefile: Include Makeconfig immediately after defining
8015         subdir.
8016         * login/Makefile: Likewise.
8017         * mach/Makefile: Likewise.
8018         (all): Remove target.
8019         * malloc/Makefile: Include Makeconfig immediately after defining
8020         subdir.
8021         (all): Remove target.
8022         * manual/Makefile: Include Makeconfig immediately after defining
8023         subdir.
8024         * math/Makefile: Likewise.
8025         * misc/Makefile: Likewise.
8026         * nis/Makefile: Likewise.
8027         * nss/Makefile: Likewise.
8028         * po/Makefile: Likewise.
8029         (all): Remove target.
8030         * posix/Makefile: Include Makeconfig immediately after defining
8031         subdir.
8032         * pwd/Makefile: Likewise.
8033         * resolv/Makefile: Likewise.
8034         * resource/Makefile: Likewise.
8035         * rt/Makefile: Likewise.
8036         * setjmp/Makefile: Likewise.
8037         * shadow/Makefile: Likewise.
8038         * signal/Makefile: Likewise.
8039         * socket/Makefile: Likewise.
8040         * soft-fp/Makefile: Likewise.
8041         * stdio-common/Makefile: Likewise.
8042         * stdlib/Makefile: Likewise.
8043         * streams/Makefile: Likewise.
8044         * string/Makefile: Likewise.
8045         * sunrpc/Makefile: Likewise.
8046         (all): Remove target.
8047         * sysvipc/Makefile: Include Makeconfig immediately after defining
8048         subdir.
8049         * termios/Makefile: Likewise.
8050         * time/Makefile: Likewise.
8051         * timezone/Makefile: Likewise.
8052         (all): Remove target.
8053         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8054         subdir.
8055         * wctype/Makefile: Likewise.
8056
8057 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8058
8059         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8060         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8061         (libc_feholdexcept_setround_mips): Ditto.
8062         (libc_feholdsetround): New.
8063         (libc_feholdsetroundf): New.
8064         (libc_feholdsetroundl): New.
8065         (libc_feupdateenv_test_mips): New.
8066         (libc_feupdateenv_test): New.
8067         (libc_feupdateenv_testf): New.
8068         (libc_feupdateenv_testl): New.
8069         (libc_feresetround): New.
8070         (libc_feresetroundf): New.
8071         (libc_feresetroundl): New.
8072         (libc_fetestexcept_mips): New.
8073         (libc_fetestexcept): New.
8074         (libc_fetestexceptf): New.
8075         (libc_fetestexceptl): New.
8076         (HAVE_RM_CTX): New.
8077         (libc_feholdexcept_setround_mips_ctx): New.
8078         (libc_feholdexcept_setround_ctx): New.
8079         (libc_feholdexcept_setroundf_ctx): New.
8080         (libc_feholdexcept_setroundl_ctx): New.
8081         (libc_fesetenv_mips_ctx): New.
8082         (libc_fesetenv_ctx): New.
8083         (libc_fesetenv_ctxf): New.
8084         (libc_fesetenv_ctxl): New.
8085         (libc_feupdateenv_mips_ctx): New.
8086         (libc_feupdateenv_ctx): New.
8087         (libc_feupdateenvf_ctx): New.
8088         (libc_feupdateenvl_ctx): New.
8089         (libc_feholdsetround_mips_ctx): New.
8090         (libc_feholdsetround_ctx): New.
8091         (libc_feholdsetroundf_ctx): New.
8092         (libc_feholdsetroundl_ctx): New.
8093         (libc_feresetround_mips_ctx): New.
8094         (libc_feresetround_ctx): New.
8095         (libc_feresetroundf_ctx): New.
8096         (libc_feresetroundl_ctx): New.
8097
8098 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8099
8100         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8101
8102         * manual/ipc.texi: New file.
8103         * manual/Makefile (chapters): Add ipc.
8104         * manual/job.texi: Add "Inter-Process Communication" to next.
8105         * manual/process.texi: Add "Inter-Process Communication" to prev.
8106
8107 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8108
8109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8110
8111 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8112
8113         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8114
8115         * manual/arith.texi: Fix spaces after sentences.
8116         * manual/charset.texi: Likewise.
8117         * manual/errno.texi: Likewise.
8118         * manual/install.texi: Likewise.
8119         * manual/llio.texi: Likewise.
8120         * manual/locale.texi: Likewise.
8121         * manual/maint.texi: Likewise.
8122         * manual/math.texi: Likewise.
8123         * manual/memory.texi: Likewise.
8124         * manual/message.texi: Likewise.
8125         * manual/probes.texi: Likewise.
8126         * manual/resource.texi: Likewise.
8127         * manual/signal.texi: Likewise.
8128         * manual/socket.texi: Likewise.
8129         * manual/stdio.texi: Likewise.
8130         * manual/string.texi: Likewise.
8131         * manual/time.texi: Likewise.
8132         * manual/users.texi: Likewise.
8133
8134 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8135
8136         [BZ #16632]
8137         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8138         _DEFAULT_SOURCE is defined.
8139
8140 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8141             Carlos O'Donell  <carlos@redhat.com>
8142
8143         [BZ #16613]
8144         * elf/dl-tls.c (_dl_count_modids): New function.
8145         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8146         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8147         audit library and increment generation counter.
8148         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8149         * elf/tst-audit9.c: New file.
8150         * elf/tst-auditmod9a.c: New file.
8151         * elf/tst-auditmod9b.c: New file.
8152         * elf/Makefile: Add rules to build and run tst-audit9.
8153
8154 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8155
8156         [BZ #15347]
8157         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8158
8159 2014-02-25  Will Newton  <will.newton@linaro.org>
8160
8161         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8162         (__longjmp): Restore sp and lr before restoring callee
8163         saved registers.  Add longjmp and longjmp_target
8164         SystemTap probe point.
8165         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8166         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8167         Define to zero to match jmpbuf layout.
8168         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8169         (__sigsetjmp): Save sp and lr before saving callee
8170         saved registers.  Add setjmp SystemTap probe point.
8171
8172 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8173
8174         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8175
8176 2014-02-24  Andreas Schwab  <schwab@suse.de>
8177
8178         [BZ #15804]
8179         * elf/pldd.c (wait_for_ptrace_stop): New function.
8180         (main): Call it after attaching.
8181
8182 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8183
8184         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8185         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8186         Versions files is now verboten.
8187         * hurd/Versions (libc: GLIBC_2.0):
8188         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8189         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8190         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8191         * mach/Versions: Likewise.
8192
8193         * csu/Versions: Remove unused %include.
8194         * resolv/Versions: Likewise.
8195
8196 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8197
8198         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8199         ($(objpfx)check-local-headers.out): Likewise.
8200         ($(objpfx)begin-end-check.out): Likewise.
8201         * Makerules (check-abi-%.out): Likewise.
8202         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8203         ($(objpfx)test2.cat): Likewise.
8204         ($(objpfx)de/libc.cat): Likewise.
8205         ($(objpfx)test-gencat.out): Likewise.
8206         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8207         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8208         ($(objpfx)noload-mem): Likewise.
8209         ($(objpfx)tst-pathopt.out): Likewise.
8210         ($(objpfx)tst-rtld-load-self.out): Likewise.
8211         ($(objpfx)tst-array1-cmp.out): Likewise.
8212         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8213         ($(objpfx)tst-array2-cmp.out): Likewise.
8214         ($(objpfx)tst-array3-cmp.out): Likewise.
8215         ($(objpfx)tst-array4-cmp.out): Likewise.
8216         ($(objpfx)tst-array5-cmp.out): Likewise.
8217         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8218         ($(objpfx)check-textrel.out): Likewise.
8219         ($(objpfx)check-execstack.out): Likewise.
8220         ($(objpfx)check-localplt.out): Likewise.
8221         ($(objpfx)order2-cmp.out): Likewise.
8222         ($(objpfx)tst-leaks1-mem): Likewise.
8223         ($(objpfx)tst-leaks1-static-mem): Likewise.
8224         ($(objpfx)tst-initorder-cmp.out): Likewise.
8225         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8226         ($(objpfx)tst-unused-dep.out): Likewise.
8227         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8228         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8229         * iconv/Makefile (test-iconvconfig): Likewise.
8230         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8231         ($(objpfx)iconv-test.out): Likewise.
8232         ($(objpfx)tst-tables.out): Likewise.
8233         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8234         ($(objpfx)tst-gettext.out): Likewise.
8235         ($(objpfx)tst-translit.out): Likewise.
8236         ($(objpfx)tst-gettext2.out): Likewise.
8237         ($(objpfx)tst-gettext4.out): Likewise.
8238         ($(objpfx)tst-gettext6.out): Likewise.
8239         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8240         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8241         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8242         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8243         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8244         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8245         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8246         ($(objpfx)wordexp-tst.out): Likewise.
8247         ($(objpfx)annexc.out): Likewise.
8248         ($(objpfx)tst-fnmatch-mem): Likewise.
8249         ($(objpfx)bug-regex2-mem): Likewise.
8250         ($(objpfx)bug-regex14-mem): Likewise.
8251         ($(objpfx)bug-regex21-mem): Likewise.
8252         ($(objpfx)bug-regex31-mem): Likewise.
8253         ($(objpfx)tst-vfork3-mem): Likewise.
8254         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8255         ($(objpfx)tst-pcre-mem): Likewise.
8256         ($(objpfx)tst-boost-mem): Likewise.
8257         ($(objpfx)tst-getconf.out): Likewise.
8258         ($(objpfx)bug-ga2-mem): Likewise.
8259         ($(objpfx)bug-glob2-mem): Likewise.
8260         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8261         ($(objpfx)mtrace-tst-leaks2): Likewise.
8262         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8263         ($(objpfx)tst-printf.out): Likewise.
8264         ($(objpfx)tst-setvbuf1.out): Likewise.
8265         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8266         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8267         ($(objpfx)tst-fmtmsg.out): Likewise.
8268         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8269         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8270
8271         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8272         * bits/sigaction.h [__USE_MISC]: Likewise.
8273         * bits/waitstatus.h: Update #endif comments.
8274         * ctype/ctype.h: Likewise.
8275         * dirent/dirent.h: Likewise.
8276         [__USE_MISC]: Remove redundant conditionals.
8277         * grp/grp.h: Update #endif comments.
8278         [__USE_GNU]: Remove redundant conditionals.
8279         [__USE_MISC]: Likewise.
8280         * inet/netinet/in.h [__USE_GNU]: Likewise.
8281         * io/sys/stat.h [__USE_MISC]: Likewise.
8282         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8283         * libio/bits/stdio.h: Update #endif comments.
8284         [__USE_MISC]: Remove redundant conditionals.
8285         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8286         * libio/stdio.h: Update #endif comments.
8287         [__USE_MISC]: Remove redundant conditionals.
8288         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8289         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8290         * math/math.h: Update #else and #endif comments.
8291         [__USE_MISC]: Remove redundant conditionals.
8292         * misc/sys/uio.h: Update #endif comments.
8293         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8294         * posix/glob.h [__USE_MISC]: Likewise.
8295         * posix/sys/types.h: Update #endif comments.
8296         [__USE_MISC]: Remove redundant conditionals.
8297         * posix/sys/wait.h: Update #endif comments.
8298         [__USE_MISC]: Remove redundant conditionals.
8299         * posix/unistd.h: Update #endif comments.
8300         [__USE_MISC]: Remove redundant conditionals.
8301         * pwd/pwd.h [__USE_GNU]: Likewise.
8302         [__USE_MISC]: Likewise.
8303         * resolv/netdb.h [__USE_GNU]: Likewise.
8304         * signal/signal.h: Update #endif comments.
8305         [__USE_MISC]: Remove redundant conditionals.
8306         * stdlib/stdlib.h: Update #else and #endif comments.
8307         [__USE_MISC]: Remove redundant conditionals.
8308         [__USE_GNU]: Likewise.
8309         * string/bits/string2.h [__USE_MISC]: Likewise.
8310         * string/string.h: Update #endif comments.
8311         [__USE_MISC]: Remove redundant conditionals.
8312         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8313         Likewise.
8314         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8315         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8316         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8317         Likewise.
8318         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8319         Likewise.
8320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8321         comments.
8322         [__USE_MISC]: Remove redundant conditionals.
8323         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8324         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8325         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8326         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8327         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8330         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8331         Likewise.
8332         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8333         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8336         Likewise.
8337         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8338         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8339         Likewise.
8340         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8341         Likewise.
8342         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8343         * sysdeps/x86/bits/string.h: Update #endif comments.
8344         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8345         conditionals.
8346         * time/sys/time.h: Update #endif comments.
8347         * time/time.h: Likewise.
8348         [__USE_MISC]: Remove redundant conditionals.
8349
8350 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8351
8352         [BZ #16600]
8353         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8354
8355 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8356
8357         * Versions.def (librt): Add GLIBC_2.17.
8358
8359 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8360
8361         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8362         synonym for _SYS_AUXV_H to allow direct inclusion.
8363         * sysdeps/sparc/bits/hwcap.h: Likewise.
8364         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8365         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8366         * sysdeps/sparc/sysdep.h: Likewise.
8367
8368 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369
8370         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8371
8372 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8373
8374         * benchtests/bench-strrchr.c: Print length instead of position.
8375
8376 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8377
8378         [BZ #16611]
8379         * sysdeps/unix/sysv/linux/kernel-features.h
8380         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8381         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8382         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8383         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8384         Likewise.
8385         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8386         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8387         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8388         (__ASSUME_SENDMMSG): Define instead of using previous
8389         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8390         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8391         (__ASSUME_SENDMMSG_SYSCALL): Define.
8392         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8393         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8394         Likewise.
8395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8396         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8397         Likewise.
8398         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8399         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8400         Likewise.
8401         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8402         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8403         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8404         [__ASSUME_SENDMMSG]: Change conditionals to
8405         [__ASSUME_SENDMMSG_SOCKETCALL].
8406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8407         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8408         Define.
8409         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8410         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8411         Likewise.
8412         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8413         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8414         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8415         [!__ASSUME_SENDMMSG]: Change conditional to
8416         [!__ASSUME_SENDMMSG_SOCKETCALL].
8417         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8418         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8419         Define.
8420
8421         [BZ #16610]
8422         * sysdeps/unix/sysv/linux/kernel-features.h
8423         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8424         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8425         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8426         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8427         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8428         [__i386__ || __sparc__]
8429         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8430         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8431         (__ASSUME_RECVMMSG): Define instead of using previous
8432         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8433         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8434         (__ASSUME_RECVMMSG_SYSCALL): Define.
8435         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8436         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8437         Likewise.
8438         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8443         Likewise.
8444         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8445         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8446         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8447         [__ASSUME_RECVMMSG]: Change condition to
8448         [__ASSUME_RECVMMSG_SOCKETCALL].
8449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8450         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8451         Define.
8452         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8453         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8455         Likewise.
8456         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8457         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8458         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8459         [!__ASSUME_RECVMMSG]: Change condition to
8460         [!__ASSUME_RECVMMSG_SOCKETCALL].
8461         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8462         (__ASSUME_RECVMMSG_SYSCALL): Define.
8463
8464         [BZ #16609]
8465         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8466         __powerpc__ || __s390__ || __sh__ || __sparc__]
8467         (__ASSUME_SOCKETCALL): Define.
8468         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8469         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8470         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8471         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8472         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8473         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8474         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8475         (__ASSUME_ACCEPT4): Define instead of using previous
8476         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8477         __powerpc__ || __sparc__ || __s390__)] condition.
8478         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8479         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8480         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8481         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8482         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8483         [!__ASSUME_ACCEPT4]: Change condition to
8484         [!__ASSUME_ACCEPT4_SOCKETCALL].
8485         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8486         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8487         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8488         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8489         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8490         __ASSUME_ACCEPT4_SYSCALL.
8491         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8492         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8494         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8495         __ASSUME_ACCEPT4_SYSCALL.
8496         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8497         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8498         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8499         [__ASSUME_ACCEPT4]: Change condition to
8500         [__ASSUME_ACCEPT4_SOCKETCALL].
8501         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8502         (__ASSUME_SOCKETCALL): Define.
8503         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8505         (__ASSUME_SOCKETCALL): Define.
8506         (__ASSUME_ACCEPT4): Remove.
8507         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8508         Define.
8509         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8510         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8511         Likewise.
8512         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8513         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8514
8515         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8516         macro.
8517         (HWCAP_ARM_LPAE): Likewise.
8518         (HWCAP_ARM_EVTSTRM): Likewise.
8519         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8520         Add vpfd32, lpae and evtstrm.
8521         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8522         Increase to 22.
8523
8524 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8525
8526         * math/auto-libm-test-in: Add tests of clog10.
8527         * math/auto-libm-test-out: Regenerated.
8528         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8529         * sysdeps/i386/fpu/libm-test-ulps: Update.
8530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8531
8532 2014-02-18  Andreas Schwab  <schwab@suse.de>
8533
8534         [BZ #16574]
8535         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8536         Store non-zero if the second buffer was newly allocated.
8537         (send_dg): Likewise.
8538         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8539         to send_vc and send_dg.
8540         (res_nsend): Pass NULL for ansp2_malloced.
8541         * resolv/res_query.c (__libc_res_nquery): Add parameter
8542         answerp2_malloced and pass it down to __libc_res_nsend.
8543         (res_nquery): Pass additional NULL to __libc_res_nquery.
8544         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8545         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8546         second answer buffer if answerp2_malloced was set.
8547         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8548         (__libc_res_nquerydomain): Add parameter
8549         answerp2_malloced and pass it down to __libc_res_nquery.
8550         (res_nquerydomain): Pass additional NULL to
8551         __libc_res_nquerydomain.
8552         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8553         additional NULL to __libc_res_nsend and __libc_res_nquery.
8554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8555         additional NULL to __libc_res_nsearch.
8556         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8557         parameter of __libc_res_nsearch to check for separately allocated
8558         second buffer.
8559         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8560         __libc_res_nquery.
8561         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8562         additional NULL to __libc_res_nquery.
8563         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8564         __libc_res_nsearch.
8565         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8566         * include/resolv.h: Update prototypes of __libc_res_nquery,
8567         __libc_res_nsearch, __libc_res_nsend.
8568
8569 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8570
8571         * math/auto-libm-test-in: Add tests of fma.
8572         * math/auto-libm-test-out: Regenerated.
8573         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8574         (fma_towardzero_test_data): Likewise.
8575         (fma_downward_test_data): Likewise.
8576         (fma_upward_test_data): Likewise.
8577         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8578         mpc_mode.
8579         (rounding_modes): Add values for new field.
8580         (func_calc_method): Add value mpfr_fff_f.
8581         (func_calc_desc): Add mpfr_fff_f union field.
8582         (test_function): Add field exact_args.
8583         (FUNC): Add macro argument EXACT_ARGS.
8584         (FUNC_mpfr_f_f): Update call to FUNC.
8585         (FUNC_mpfr_f_f): Likewise.
8586         (FUNC_mpfr_ff_f): Likewise.
8587         (FUNC_mpfr_if_f): Likewise.
8588         (FUNC_mpc_c_f): Likewise.
8589         (FUNC_mpc_c_c): Likewise.
8590         (test_functions): Add fma.  Update calls to FUNC.
8591         (handle_input_arg): Add argument exact_args.
8592         (add_test): Update call to handle_input_arg.
8593         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8594         (output_for_one_input_case): Update call to calc_generic_results.
8595         Recalculate exact zero results in each rounding mode.
8596
8597         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8598         non-negative before setting low bit.
8599         * math/auto-libm-test-in: Mark one asin test possibly having
8600         spurious underflow.
8601         * math/auto-libm-test-out: Regenerated.
8602         * sysdeps/i386/fpu/libm-test-ulps: Update.
8603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604
8605 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8606
8607         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8608         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8609         ports/sysdeps/unix/sysv/linux/microblaze.
8610         * README: Add missing listing for microblaze*-*-linux-gnu.
8611
8612 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8613
8614         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8615         * sysdeps/unix/sysv/linux/ia64: Move directory from
8616         ports/sysdeps/unix/sysv/linux/ia64.
8617         * README: Update listing for ia64-*-linux-gnu.
8618
8619 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8620             Joseph Myers  <joseph@codesourcery.com>
8621
8622         * Makeconfig (test-name): New variable.
8623         (evaluate-test): Likewise.
8624         * Makerules (do-test-clean): Remove .test-result files.
8625         (common-mostlyclean): Likewise.
8626         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8627         * scripts/evaluate-test.sh: New file.
8628
8629 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8630
8631         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8632         separate $(objpfx)tst-fopenloc-cmp.out and
8633         $(objpfx)tst-fopenloc-mem.out targets.
8634         (tests): Update dependencies.
8635         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8636         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8637         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8638         (tst-rxspencer-no-utf8-ARGS): New variable.
8639         (tst-rxspencer-no-utf8-ENV): Likewise.
8640         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8641         instead of $(objpfx)tst-rxspencer-mem.
8642         ($(objpfx)tst-rxspencer-mem): Change target to
8643         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8644         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8645         * posix/tst-rxspencer-no-utf8.c: New file.
8646
8647         * elf/Makefile ($(objpfx)order.out): Remove rule.
8648         [$(run-built-tests) = yes] (tests): Depend on
8649         $(objpfx)order-cmp.out.
8650         ($(objpfx)order-cmp.out): New rule.
8651         [$(run-built-tests) = yes] (tests): Depend on
8652         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8653         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8654         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8655         $(objpfx)tst-array5-static-cmp.out.
8656         ($(objpfx)tst-array1.out): Remove rule.
8657         ($(objpfx)tst-array1-cmp.out): New rule.
8658         ($(objpfx)tst-array1-static.out): Remove rule.
8659         ($(objpfx)tst-array1-static-cmp.out): New rule.
8660         ($(objpfx)tst-array2.out): Remove rule.
8661         ($(objpfx)tst-array2-cmp.out): New rule.
8662         ($(objpfx)tst-array3.out): Remove rule.
8663         ($(objpfx)tst-array3-cmp.out): New rule.
8664         ($(objpfx)tst-array4.out): Remove rule.
8665         ($(objpfx)tst-array4-cmp.out): New rule.
8666         ($(objpfx)tst-array5.out): Remove rule.
8667         ($(objpfx)tst-array5-cmp.out): New rule.
8668         ($(objpfx)tst-array5-static.out): Remove rule.
8669         ($(objpfx)tst-array5-static-cmp.out): New rule.
8670         [$(run-built-tests) = yes] (tests): Depend on
8671         $(objpfx)order2-cmp.out.
8672         ($(objpfx)order2.out): Remove rule.
8673         ($(objpfx)order2-cmp.out): New rule.
8674         ($(objpfx)tst-initorder.out): Remove rule.
8675         [$(run-built-tests) = yes] (tests): Depend on
8676         $(objpfx)tst-initorder-cmp.out.
8677         ($(objpfx)tst-initorder-cmp.out): New rule.
8678         ($(objpfx)tst-initorder2.out): Remove rule.
8679         [$(run-built-tests) = yes] (tests): Depend on
8680         $(objpfx)tst-initorder2-cmp.out.
8681         ($(objpfx)tst-initorder2-cmp.out): New rule.
8682         [$(run-built-tests) = yes] (tests): Depend on
8683         $(objpfx)tst-unused-dep-cmp.out.
8684         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8685         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8686         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8687         on $(objpfx)tst-setvbuf1-cmp.out.
8688         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8689         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8690         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8691         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8692         ($(objpfx)tst-svc.out): Remove rule.
8693         ($(objpfx)tst-svc-cmp.out): New rule.
8694
8695 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8696
8697         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8698         * ctype/ctype.h [__USE_MISC]: Likewise.
8699         * dirent/dirent.h [__USE_MISC]: Likewise.
8700         * grp/grp.h [__USE_MISC]: Likewise.
8701         * io/fcntl.h [__USE_MISC]: Likewise.
8702         * io/sys/stat.h [__USE_MISC]: Likewise.
8703         * libio/stdio.h [__USE_MISC]: Likewise.
8704         * posix/unistd.h [__USE_MISC]: Likewise.
8705         * pwd/pwd.h [__USE_MISC]: Likewise.
8706         * stdlib.h [__USE_MISC]: Likewise.
8707         * string/bits/string2.h [__USE_MISC]: Likewise.
8708         * string/string.h [__USE_MISC]: Likewise.
8709         * time/time.h [__USE_MISC]: Likewise.
8710
8711 2014-02-13  Andreas Schwab  <schwab@suse.de>
8712
8713         [BZ #16574]
8714         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8715         second answer buffer if it was separately allocated.
8716
8717 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8718
8719         * sysdeps/mips/math-tests.h: Include <features.h>.
8720         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8721         (ROUNDING_TESTS_long_double): Do not define.
8722         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8723         (EXCEPTION_TESTS_long_double): Likewise.
8724         * sysdeps/mips/mips64/libm-test-ulps: Update.
8725
8726         * include/features.h (__USE_BSD): Remove macro definitions.
8727         (__USE_SVID): Likewise.
8728         (_BSD_SOURCE): Likewise.
8729         (_SVID_SOURCE): Likewise.
8730         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8731         from definition of _DEFAULT_SOURCE.
8732         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8733         [_DEFAULT_SOURCE].
8734         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8735         * bits/mman.h [__USE_BSD]: Likewise.
8736         * bits/termios.h [__USE_BSD]: Likewise.
8737         * bits/waitstatus.h [__USE_BSD]: Likewise.
8738         * ctype/ctype.h [__USE_SVID]: Likewise.
8739         * dirent/dirent.h [__USE_BSD]: Likewise.
8740         * grp/grp.h [__USE_SVID]: Likewise.
8741         [__USE_BSD]: Likewise.
8742         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8743         * io/fcntl.h [__USE_BSD]: Likewise.
8744         * io/ftw.h [__USE_BSD]: Likewise.
8745         * io/sys/stat.h [__USE_BSD]: Likewise.
8746         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8747         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8748         * libio/stdio.h [__USE_SVID]: Likewise.
8749         [__USE_BSD]: Likewise.
8750         * math/math.h [__USE_SVID]: Likewise.
8751         [__USE_BSD]: Likewise.
8752         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8753         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8754         * misc/search.h [__USE_SVID]: Likewise.
8755         * misc/sys/mman.h [__USE_BSD]: Likewise.
8756         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8757         * misc/sys/uio.h [__USE_BSD]: Likewise.
8758         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8759         * posix/glob.h [__USE_BSD]: Likewise.
8760         * posix/regex.h [__USE_BSD]: Likewise.
8761         * posix/sys/types.h [__USE_BSD]: Likewise.
8762         [__USE_SVID]: Likewise.
8763         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8764         * posix/sys/wait.h [__USE_BSD]: Likewise.
8765         [__USE_SVID]: Likewise.
8766         * posix/unistd.h [__USE_BSD]: Likewise.
8767         [__USE_SVID]: Likewise.
8768         * pwd/pwd.h [__USE_SVID]: Likewise.
8769         * resolv/netdb.h [__USE_BSD]: Likewise.
8770         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8771         * signal/signal.h [__USE_BSD]: Likewise.
8772         [__USE_SVID]: Likewise.
8773         * socket/sys/socket.h [__USE_BSD]: Likewise.
8774         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8775         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8776         [__USE_SVID]: Likewise.
8777         * string/bits/string2.h [__USE_BSD]: Likewise.
8778         [__USE_SVID]: Likewise.
8779         * string/bits/string3.h [__USE_BSD]: Likewise.
8780         * string/endian.h [__USE_BSD]: Likewise.
8781         * string/string.h [__USE_SVID]: Likewise.
8782         [__USE_BSD]: Likewise.
8783         * string/strings.h [__USE_BSD]: Likewise.
8784         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8785         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8786         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8787         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8788         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8789         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8794         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8795         Likewise.
8796         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8797         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8798         Likewise.
8799         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8800         Likewise.
8801         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8802         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8804         Likewise.
8805         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8806         Likewise.
8807         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8808         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8809         * termios/termios.h [__USE_BSD]: Likewise.
8810         * time/sys/time.h [__USE_BSD]: Likewise.
8811         * time/time.h [__USE_BSD]: Likewise.
8812         [__USE_SVID]: Likewise.
8813
8814         * Makefile (subdir_targets): Remove subdir_lint.out.
8815
8816         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8817         (do-tst-printf): Likewise.
8818         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8819         $(objpfx)tst-printf.out.
8820
8821         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8822
8823         * Makerules (check-abi-%): Change target to
8824         $(objpfx)check-abi-%.out.
8825         (check-abi target): Update dependencies.
8826         (check-abi-pattern variable): Redirect output of diff to $@.
8827         (check-abi variable): Likewise.
8828         * elf/Makefile (check-abi): Update dependencies.
8829
8830         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8831         unused.
8832         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8833         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8834         subnormal range.
8835         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8836         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8837         value has largest subnormal exponent.
8838         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8839         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8840         * sysdeps/aarch64/soft-fp/sfp-machine.h
8841         (_FP_TININESS_AFTER_ROUNDING): New macro.
8842         * sysdeps/alpha/soft-fp/sfp-machine.h
8843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8844         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8845         Likewise.
8846         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8847         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8848         * sysdeps/mips/soft-fp/sfp-machine.h
8849         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8850         * sysdeps/powerpc/soft-fp/sfp-machine.h
8851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8852         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8853         Likewise.
8854         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8856         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8858         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8859         Likewise.
8860
8861 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8862
8863         [BZ #16545]
8864         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8865         model 1.
8866
8867 2014-02-12  Richard Henderson  <rth@redhat.com>
8868
8869         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8870         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8871         * sysdeps/unix/sysv/linux/alpha: Move directory from
8872         ports/sysdeps/unix/sysv/linux/alpha.
8873         * README: Update listing for alpha-*-linux-gnu.
8874
8875 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8876
8877         * include/features.h: Update comment documenting feature test
8878         macros.
8879         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8880         _DEFAULT_SOURCE.
8881         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8882         (_SVID_SOURCE): Likewise.
8883         (_DEFAULT_SOURCE): Update description of default features.
8884         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8885         with _GNU_SOURCE.
8886         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8887         (S_ISVTX): Likewise.
8888         * manual/math.texi (Mathematical Constants): Likewise.
8889         * manual/signal.texi (Interrupted Primitives): Likewise.
8890         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8891         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8892         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8893         Don't refer to _SVID_SOURCE in warning text.
8894
8895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8896
8897         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8898         already defined.
8899         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8900         * sysdeps/mips/dl-lookup.c: Remove.
8901         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8902
8903 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8904
8905         [BZ #16447]
8906         * math/auto-libm-test-in: Add testcase for expl.
8907         * math/auto-libm-test-out: Regenerate.
8908         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8909         calculation of unsafe.
8910         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8911
8912 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8913
8914         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8915         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8916         ports/sysdeps/unix/sysv/linux/aarch64.
8917         * README: Update listing for aarch64*-*-linux-gnu.
8918
8919 2014-02-11  Will Newton  <will.newton@linaro.org>
8920
8921         * manual/probes.texi (Mathematical Function Probes): Use
8922         "triggered" instead of "hit".
8923
8924         * manual/probes.texi (Internal Probes): Add documentation
8925         of setjmp, longjmp and longjmp_target probes.
8926
8927         * include/stap-probe.h: Add comment about probe argument
8928         format.
8929
8930         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8931         definition.  (tr_where, tr_freehook, tr_mallochook,
8932         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8933
8934 2014-02-11  David S. Miller  <davem@davemloft.net>
8935
8936         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8937         processing int_tests.
8938
8939 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8940
8941         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8942         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8943         * sysdeps/unix/sysv/linux/mips: Move directory from
8944         ports/sysdeps/unix/sysv/linux/mips.
8945         * README: Update listing for mips-*-linux-gnu and
8946         mips64-*-linux-gnu.
8947
8948 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8949
8950         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8951         * sysdeps/unix/sysv/linux/m68k: Move directory from
8952         ports/sysdeps/unix/sysv/linux/m68k.
8953         * README: Update listing for m68k-*-linux-gnu.
8954
8955 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8956
8957         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8958         * sysdeps/unix/sysv/linux/generic: Move directory from
8959         ports/sysdeps/unix/sysv/linux/generic.
8960         * sysdeps/unix/sysv/linux/tile: Move directory from
8961         ports/sysdeps/unix/sysv/linux/tile.
8962         * README: Update listing for tile*-*-linux-gnu.
8963
8964 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8965
8966         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8967         __builtin_expect.
8968         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8969         * catgets/open_catalog.c (__open_catalog): Likewise.
8970         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8971         * debug/confstr_chk.c: Likewise.
8972         * debug/fread_chk.c (__fread_chk): Likewise.
8973         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8974         * debug/getgroups_chk.c: Likewise.
8975         * debug/mbsnrtowcs_chk.c: Likewise.
8976         * debug/mbsrtowcs_chk.c: Likewise.
8977         * debug/mbstowcs_chk.c: Likewise.
8978         * debug/memcpy_chk.c: Likewise.
8979         * debug/memmove_chk.c: Likewise.
8980         * debug/mempcpy_chk.c: Likewise.
8981         * debug/memset_chk.c: Likewise.
8982         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8983         * debug/strcat_chk.c (__strcat_chk): Likewise.
8984         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8985         * debug/strncat_chk.c (__strncat_chk): Likewise.
8986         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8987         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8988         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8989         * debug/wcpncpy_chk.c: Likewise.
8990         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8991         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8992         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8993         * debug/wcsncpy_chk.c: Likewise.
8994         * debug/wcsnrtombs_chk.c: Likewise.
8995         * debug/wcsrtombs_chk.c: Likewise.
8996         * debug/wcstombs_chk.c: Likewise.
8997         * debug/wmemcpy_chk.c: Likewise.
8998         * debug/wmemmove_chk.c: Likewise.
8999         * debug/wmempcpy_chk.c: Likewise.
9000         * debug/wmemset_chk.c: Likewise.
9001         * dirent/scandirat.c (SCANDIRAT): Likewise.
9002         * dlfcn/dladdr1.c (dladdr1): Likewise.
9003         * dlfcn/dladdr.c (dladdr): Likewise.
9004         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9005         * dlfcn/dlerror.c (__dlerror): Likewise.
9006         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9007         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9008         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9009         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9010         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9011         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9012         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9013         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9014         Likewise.
9015         * elf/dl-conflict.c: Likewise.
9016         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9017         * elf/dl-dst.h: Likewise.
9018         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9019         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9020         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9021         * elf/dl-init.c (call_init, _dl_init): Likewise.
9022         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9023         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9024         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9025         Likewise.
9026         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9027         Likewise.
9028         * elf/dl-minimal.c (__libc_memalign): Likewise.
9029         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9030         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9031         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9032         * elf/dl-sym.c (do_sym): Likewise.
9033         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9034         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9035         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9036         * elf/dl-writev.h (_dl_writev): Likewise.
9037         * elf/ldconfig.c (search_dir): Likewise.
9038         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9039         (dl_main): Likewise.
9040         * elf/setup-vdso.h (setup_vdso): Likewise.
9041         * grp/compat-initgroups.c (compat_call): Likewise.
9042         * grp/fgetgrent.c (fgetgrent): Likewise.
9043         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9044         * grp/putgrent.c (putgrent): Likewise.
9045         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9046         Likewise.
9047         * hurd/hurdinit.c: Likewise.
9048         * iconvdata/8bit-gap.c (struct): Likewise.
9049         * iconvdata/ansi_x3.110.c : Likewise.
9050         * iconvdata/big5.c : Likewise.
9051         * iconvdata/big5hkscs.c : Likewise.
9052         * iconvdata/cp1255.c: Likewise.
9053         * iconvdata/cp1258.c : Likewise.
9054         * iconvdata/cp932.c : Likewise.
9055         * iconvdata/euc-cn.c: Likewise.
9056         * iconvdata/euc-jisx0213.c : Likewise.
9057         * iconvdata/euc-jp.c: Likewise.
9058         * iconvdata/euc-jp-ms.c : Likewise.
9059         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9060         * iconvdata/gb18030.c : Likewise.
9061         * iconvdata/gbbig5.c (const): Likewise.
9062         * iconvdata/gbgbk.c: Likewise.
9063         * iconvdata/gbk.c : Likewise.
9064         * iconvdata/ibm1364.c : Likewise.
9065         * iconvdata/ibm930.c : Likewise.
9066         * iconvdata/ibm932.c: Likewise.
9067         * iconvdata/ibm933.c : Likewise.
9068         * iconvdata/ibm935.c : Likewise.
9069         * iconvdata/ibm937.c : Likewise.
9070         * iconvdata/ibm939.c : Likewise.
9071         * iconvdata/ibm943.c: Likewise.
9072         * iconvdata/iso_11548-1.c: Likewise.
9073         * iconvdata/iso-2022-cn.c : Likewise.
9074         * iconvdata/iso-2022-cn-ext.c : Likewise.
9075         * iconvdata/iso-2022-jp-3.c: Likewise.
9076         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9077         * iconvdata/iso-2022-kr.c : Likewise.
9078         * iconvdata/iso646.c (gconv_end): Likewise.
9079         * iconvdata/iso_6937-2.c : Likewise.
9080         * iconvdata/iso_6937.c : Likewise.
9081         * iconvdata/iso8859-1.c: Likewise.
9082         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9083         * iconvdata/shift_jisx0213.c : Likewise.
9084         * iconvdata/sjis.c : Likewise.
9085         * iconvdata/t.61.c : Likewise.
9086         * iconvdata/tcvn5712-1.c : Likewise.
9087         * iconvdata/tscii.c: Likewise.
9088         * iconvdata/uhc.c : Likewise.
9089         * iconvdata/unicode.c (gconv_end): Likewise.
9090         * iconvdata/utf-16.c (gconv_end): Likewise.
9091         * iconvdata/utf-32.c (gconv_end): Likewise.
9092         * iconvdata/utf-7.c (base64): Likewise.
9093         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9094         * iconv/gconv_close.c (__gconv_close): Likewise.
9095         * iconv/gconv_open.c (__gconv_open): Likewise.
9096         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9097         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9098         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9099         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9100         (ucs4le_internal_loop_single): Likewise.
9101         * iconv/iconv.c (iconv): Likewise.
9102         * iconv/iconv_close.c: Likewise.
9103         * iconv/loop.c (SINGLE): Likewise.
9104         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9105         * include/atomic.h: Likewise.
9106         * inet/inet6_option.c (option_alloc): Likewise.
9107         * intl/bindtextdom.c (set_binding_values): Likewise.
9108         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9109         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9110         * intl/localealias.c (read_alias_file): Likewise.
9111         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9112         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9113         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9114         * libio/fmemopen.c (fmemopen): Likewise.
9115         * libio/iofgets.c (_IO_fgets): Likewise.
9116         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9117         * libio/iofgetws.c (fgetws): Likewise.
9118         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9119         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9120         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9121         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9122         * locale/findlocale.c (_nl_find_locale): Likewise.
9123         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9124         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9125         Likewise.
9126         * locale/setlocale.c (setlocale): Likewise.
9127         * login/programs/pt_chown.c (main): Likewise.
9128         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9129         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9130         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9131         (mmap, mmap64, mremap, munmap): Likewise.
9132         * math/e_exp2l.c: Likewise.
9133         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9134         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9135         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9136         * math/s_catan.c (__catan): Likewise.
9137         * math/s_catanf.c (__catanf): Likewise.
9138         * math/s_catanh.c (__catanh): Likewise.
9139         * math/s_catanhf.c (__catanhf): Likewise.
9140         * math/s_catanhl.c (__catanhl): Likewise.
9141         * math/s_catanl.c (__catanl): Likewise.
9142         * math/s_ccosh.c (__ccosh): Likewise.
9143         * math/s_ccoshf.c (__ccoshf): Likewise.
9144         * math/s_ccoshl.c (__ccoshl): Likewise.
9145         * math/s_cexp.c (__cexp): Likewise.
9146         * math/s_cexpf.c (__cexpf): Likewise.
9147         * math/s_cexpl.c (__cexpl): Likewise.
9148         * math/s_clog10.c (__clog10): Likewise.
9149         * math/s_clog10f.c (__clog10f): Likewise.
9150         * math/s_clog10l.c (__clog10l): Likewise.
9151         * math/s_clog.c (__clog): Likewise.
9152         * math/s_clogf.c (__clogf): Likewise.
9153         * math/s_clogl.c (__clogl): Likewise.
9154         * math/s_csin.c (__csin): Likewise.
9155         * math/s_csinf.c (__csinf): Likewise.
9156         * math/s_csinh.c (__csinh): Likewise.
9157         * math/s_csinhf.c (__csinhf): Likewise.
9158         * math/s_csinhl.c (__csinhl): Likewise.
9159         * math/s_csinl.c (__csinl): Likewise.
9160         * math/s_csqrt.c (__csqrt): Likewise.
9161         * math/s_csqrtf.c (__csqrtf): Likewise.
9162         * math/s_csqrtl.c (__csqrtl): Likewise.
9163         * math/s_ctan.c (__ctan): Likewise.
9164         * math/s_ctanf.c (__ctanf): Likewise.
9165         * math/s_ctanh.c (__ctanh): Likewise.
9166         * math/s_ctanhf.c (__ctanhf): Likewise.
9167         * math/s_ctanhl.c (__ctanhl): Likewise.
9168         * math/s_ctanl.c (__ctanl): Likewise.
9169         * math/w_pow.c: Likewise.
9170         * math/w_powf.c: Likewise.
9171         * math/w_powl.c: Likewise.
9172         * math/w_scalb.c (sysv_scalb): Likewise.
9173         * math/w_scalbf.c (sysv_scalbf): Likewise.
9174         * math/w_scalbl.c (sysv_scalbl): Likewise.
9175         * misc/error.c (error_tail): Likewise.
9176         * misc/pselect.c (__pselect): Likewise.
9177         * nis/nis_callback.c (__nis_create_callback): Likewise.
9178         * nis/nis_call.c (__nisfind_server): Likewise.
9179         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9180         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9181         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9182         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9183         * nis/nis_lookup.c (nis_lookup): Likewise.
9184         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9185         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9186         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9187         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9188         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9189         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9190         * nis/nss_compat/compat-initgroups.c (add_group)
9191         (internal_getgrent_r): Likewise.
9192         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9193         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9194         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9195         (internal_getspnam_r): Likewise.
9196         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9197         (_nss_nis_getaliasbyname_r): Likewise.
9198         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9199         (_nss_nis_getntohost_r): Likewise.
9200         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9201         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9202         (_nss_nis_getgrgid_r): Likewise.
9203         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9204         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9205         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9206         (_nss_nis_gethostbyname4_r): Likewise.
9207         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9208         (initgroups_netid): Likewise.
9209         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9210         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9211         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9212         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9213         (_nss_nis_getprotobynumber_r): Likewise.
9214         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9215         (_nss_nis_getsecretkey): Likewise.
9216         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9217         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9218         (_nss_nis_getpwuid_r): Likewise.
9219         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9220         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9221         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9222         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9223         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9224         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9225         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9226         Likewise.
9227         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9228         (_nss_nisplus_getntohost_r): Likewise.
9229         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9230         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9231         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9232         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9233         Likewise.
9234         * nis/nss_nisplus/nisplus-initgroups.c
9235         (_nss_nisplus_initgroups_dyn): Likewise.
9236         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9237         (_nss_nisplus_getnetbyaddr_r): Likewise.
9238         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9239         (_nss_nisplus_getprotobynumber_r): Likewise.
9240         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9241         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9242         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9243         Likewise.
9244         * nis/nss_nisplus/nisplus-service.c
9245         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9246         (_nss_nisplus_getservbyport_r): Likewise.
9247         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9248         (_nss_nisplus_getspnam_r): Likewise.
9249         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9250         Likewise.
9251         * nscd/aicache.c (addhstaiX): Likewise.
9252         * nscd/cache.c (cache_search, prune_cache): Likewise.
9253         * nscd/connections.c (register_traced_file, send_ro_fd)
9254         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9255         (main_loop_epoll): Likewise.
9256         * nscd/grpcache.c (addgrbyX): Likewise.
9257         * nscd/hstcache.c (addhstbyX): Likewise.
9258         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9259         * nscd/mem.c (gc, mempool_alloc): Likewise.
9260         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9261         (addinnetgrX): Likewise.
9262         * nscd/nscd-client.h (__nscd_acquire_maplock)
9263         (__nscd_drop_map_ref): Likewise.
9264         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9265         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9266         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9267         Likewise.
9268         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9269         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9270         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9271         (__nscd_get_map_ref): Likewise.
9272         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9273         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9274         Likewise.
9275         * nscd/pwdcache.c (addpwbyX): Likewise.
9276         * nscd/selinux.c (preserve_capabilities): Likewise.
9277         * nscd/servicescache.c (addservbyX): Likewise.
9278         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9279         * posix/fnmatch.c (fnmatch): Likewise.
9280         * posix/getopt.c (_getopt_internal_r): Likewise.
9281         * posix/glob.c (glob, glob_in_dir): Likewise.
9282         * posix/wordexp.c (exec_comm_child): Likewise.
9283         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9284         (getanswer_r, gaih_getanswer_slice): Likewise.
9285         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9286         * resolv/res_init.c: Likewise.
9287         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9288         * resolv/res_query.c (__libc_res_nquery): Likewise.
9289         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9290         Likewise.
9291         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9292         * stdio-common/perror.c (perror): Likewise.
9293         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9294         * stdio-common/tmpnam.c (tmpnam): Likewise.
9295         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9296         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9297         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9298         Likewise.
9299         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9300         * stdlib/putenv.c (putenv): Likewise.
9301         * stdlib/setenv.c (__add_to_environ): Likewise.
9302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9303         * stdlib/strtol_l.c (INTERNAL): Likewise.
9304         * string/memmem.c (memmem): Likewise.
9305         * string/strerror.c (strerror): Likewise.
9306         * string/strnlen.c (__strnlen): Likewise.
9307         * string/test-memmem.c (simple_memmem): Likewise.
9308         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9309         * sunrpc/pm_getport.c (__get_socket): Likewise.
9310         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9311         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9312         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9313         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9314         Likewise.
9315         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9316         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9317         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9318         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9319         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9320         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9321         Likewise.
9322         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9323         Likewise.
9324         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9325         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9326         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9327         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9328         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9330         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9331         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9332         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9333         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9334         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9335         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9336         Likewise.
9337         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9338         Likewise.
9339         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9340         Likewise.
9341         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9342         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9343         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9344         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9345         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9346         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9347         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9348         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9349         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9350         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9351         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9352         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9353         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9354         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9355         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9356         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9357         Likewise.
9358         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9359         Likewise.
9360         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9361         Likewise.
9362         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9363         Likewise.
9364         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9366         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9367         Likewise.
9368         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9369         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9370         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9371         * sysdeps/posix/sleep.c: Likewise.
9372         * sysdeps/posix/tempname.c: Likewise.
9373         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9374         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9375         Likewise.
9376         * sysdeps/powerpc/powerpc32/dl-machine.h
9377         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9378         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9380         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9381         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9382         Likewise.
9383         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9384         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9385         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9386         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9387         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9388         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9389         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9390         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9391         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9392         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9393         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9394         (elf_machine_lazy_rel): Likewise.
9395         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9397         (elf_machine_lazy_rel): Likewise.
9398         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9399         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9400         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9401         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9402         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9403         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9404         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9408         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9409         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9410         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9411         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9412         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9413         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9414         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9415         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9416         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9417         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9420         (__posix_fallocate64_l64): Likewise.
9421         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9422         (posix_fallocate): Likewise.
9423         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9424         Likewise.
9425         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9426         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9427         (getifaddrs_internal): Likewise.
9428         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9429         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9430         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9431         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9432         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9433         (__posix_fallocate64_l64): Likewise.
9434         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9435         Likewise.
9436         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9437         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9438         (__get_clockfreq): Likewise.
9439         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9440         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9441         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9443         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9444         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9445         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9446         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9447         Likewise.
9448         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9449         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9450         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9451         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9452         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9453         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9454         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9455         Likewise.
9456         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9457         (posix_fallocate): Likewise.
9458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9459         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9460         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9461         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9462         (elf_machine_rela, elf_machine_rela_relative)
9463         (elf_machine_lazy_rel): Likewise.
9464         * time/asctime.c (asctime_internal): Likewise.
9465         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9466         * time/tzset.c (__tzset_parse_tz): Likewise.
9467         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9468         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9469         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9470         * wcsmbs/wcsmbsload.h: Likewise.
9471
9472         [BZ #15894]
9473         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9474
9475         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9476         (arena_get2): Remove THREAD_STATS conditionals.
9477         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9478         (__malloc_stats, int): Likewise.
9479
9480 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9481
9482         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9483         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9484
9485         * manual/setjmp.texi: Fix typos/grammar errors.
9486
9487         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9488         Only return early when n is <= 0.  Delete unused return statement.
9489
9490         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9491         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9492         * debug/tst-longjmp_chk3.c: New file.
9493
9494         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9495         (test_main): Replace code with set_fortify_handler call.
9496         * debug/test-strcpy_chk.c: Likewise.
9497         * debug/tst-chk1.c: Likewise.
9498         * debug/tst-longjmp_chk.c: Likewise.
9499         * test-skeleton.c: Include fcntl.h & paths.h
9500         (set_fortify_handler): Define.
9501
9502         * debug/tst-longjmp_chk.c: Add header comment and include
9503         ../test-skeleton.c.
9504         (do_test): Mark static.
9505         (TEST_FUNCTION): Define.
9506
9507         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9508         (IP_PMTUDISC_INTERFACE): Likewise.
9509         (IP_MULTICAST_IF): Likewise.
9510         (IP_MULTICAST_TTL): Likewise.
9511         (IP_MULTICAST_LOOP): Likewise.
9512         (IP_ADD_MEMBERSHIP): Likewise.
9513         (IP_DROP_MEMBERSHIP): Likewise.
9514         (IP_UNBLOCK_SOURCE): Likewise.
9515         (IP_BLOCK_SOURCE): Likewise.
9516         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9517         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9518         (IP_MSFILTER): Likewise.
9519         (MCAST_JOIN_GROUP): Likewise.
9520         (MCAST_BLOCK_SOURCE): Likewise.
9521         (MCAST_UNBLOCK_SOURCE): Likewise.
9522         (MCAST_LEAVE_GROUP): Likewise.
9523         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9524         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9525         (MCAST_MSFILTER): Likewise.
9526         (IP_MULTICAST_ALL): Likewise.
9527         (IP_UNICAST_IF): Likewise.
9528
9529         * timezone/Makefile: Delete $(have-ksh) check.
9530         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9531         * timezone/tzselect.ksh: Add +x mode bits.
9532
9533         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9534         (ANON_INODE_FS_MAGIC): Likewise.
9535         (BDEVFS_MAGIC): Likewise.
9536         (BINFMTFS_MAGIC): Likewise.
9537         (BTRFS_TEST_MAGIC): Likewise.
9538         (CRAMFS_MAGIC_WEND): Likewise.
9539         (DEBUGFS_MAGIC): Likewise.
9540         (ECRYPTFS_SUPER_MAGIC): Likewise.
9541         (EXT3_SUPER_MAGIC): Likewise.
9542         (EXT4_SUPER_MAGIC): Likewise.
9543         (FUTEXFS_SUPER_MAGIC): Likewise.
9544         (HOSTFS_SUPER_MAGIC): Likewise.
9545         (HUGETLBFS_MAGIC): Likewise.
9546         (MINIX3_SUPER_MAGIC): Likewise.
9547         (MTD_INODE_FS_MAGIC): Likewise.
9548         (NILFS_SUPER_MAGIC): Likewise.
9549         (OPENPROM_SUPER_MAGIC): Likewise.
9550         (PIPEFS_MAGIC): Likewise.
9551         (PSTOREFS_MAGIC): Likewise.
9552         (QNX6_SUPER_MAGIC): Likewise.
9553         (RAMFS_MAGIC): Likewise.
9554         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9555         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9556         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9557         (SECURITYFS_MAGIC): Likewise.
9558         (SELINUX_MAGIC): Likewise.
9559         (SMACK_MAGIC): Likewise.
9560         (SOCKFS_MAGIC): Likewise.
9561         (SQUASHFS_MAGIC): Likewise.
9562         (STACK_END_MAGIC): Likewise.
9563         (TMPFS_MAGIC): Likewise.
9564         (USBDEVICE_SUPER_MAGIC): Likewise.
9565         (V9FS_MAGIC): Likewise.
9566         (XENFS_SUPER_MAGIC): Likewise.
9567         (CRAMFS_MAGIC): Fix typo in comment.
9568         (EXT2_SUPER_MAGIC): Update comment.
9569         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9570
9571 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9572
9573         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9574         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9575         * sysdeps/unix/sysv/linux/arm: Move directory from
9576         ports/sysdeps/unix/sysv/linux/arm.
9577         * README: Update listing for arm-*-linux-gnueabi.
9578
9579         * README: Remove mention of am33.
9580
9581 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9582
9583         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9584         than the comma operator, to avoid "rhs of comma has no effect"
9585         compiler warnings.
9586         (__sigfillset, __sigandset, __sigorset): Likewise.
9587         * include/signal.h (__sigemptyset): Likewise.
9588         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9589
9590 2014-02-07  Allan McRae  <allan@archlinux.org>
9591
9592         * version.h (RELEASE): Set to "development".
9593         (VERSION): Set to "2.19.90"
9594         * NEWS: Add 2.20 section.
9595
9596 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9597
9598         [BZ #16529]
9599         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9600
9601 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9602
9603         * manual/contrib.texi: Update entry for Carlos O'Donell,
9604         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9605
9606 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9607
9608         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9609
9610         * sysdeps/unix/sysv/linux/kernel-features.h
9611         [__LINUX_KERNEL_VERSION >= 0x020621]
9612         (__ASSUME_PROC_PID_TASK_COMM): Define.
9613
9614 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9615
9616         [BZ #16398]
9617         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9618         conversion when destination buffer does not have enough space.
9619         * libio/tst-ftell-partial-wide.c: New test case.
9620         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9621
9622         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9623         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9624         Leonard and Allan McRae.
9625
9626 2014-02-04  David S. Miller  <davem@davemloft.net>
9627
9628         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9629         32-bit.
9630
9631 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9632
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9634         New file
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9636         New file
9637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9638         New file.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9640         New file.
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9642         New file.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9644         New file.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9646         New file.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9648         New file.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9650         New file.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9652         New file.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9654         New file.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9656         New file.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9658         New file.
9659
9660 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9661
9662         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9663         * shlib-versions: Likewise.
9664
9665 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9666             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9667
9668         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9669         (abilist-pattern): New variable, set to %-le.abilist.
9670
9671         * Makerules (abilist-pattern): New variable.
9672         (vpath): Use $(abilist-pattern) in place of %.abilist.
9673         (check-abi-% pattern rule): Likewise.
9674         (check-abi, update-abi): Likewise.
9675
9676 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9677
9678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9679
9680 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9681
9682         * manual/startup.texi: Add next, previous, and top entries for
9683         the `Program Arguments' and `Environment Variables' nodes.
9684
9685 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9686
9687         * manual/macros.texi: Add comments before MTASC-safety macros.
9688
9689         * manual/users.texi: Document MTASC-safety properties.
9690
9691         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9692         (pthread_getspecific, pthread_setspecific): Format with
9693         @deftypefun, and add @safety note.
9694         * manual/signal.texi: Move comments that analyze the above
9695         functions to their home place.
9696
9697 2014-02-03  Allan McRae  <allan@archlinux.org>
9698
9699         * po/sl.po: Update Slovenian translation from translation project.
9700
9701 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9702
9703         * manual/time.texi (timegm): Add missing blank after @c.
9704         Reported by Joseph Myers <joseph@codesourcery.com>.
9705
9706 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9707
9708         * manual/check-safety.sh: New.
9709         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9710
9711         * manual/terminal.texi: Document MTASC-safety properties.
9712
9713         * manual/filesys.texi: Document MTASC-safety properties.
9714
9715         * manual/errno.texi: Document MTASC-safety properties.
9716
9717         * manual/intro.texi: Document safety identifiers and
9718         conditionals.
9719
9720         * manual/string.texi (wcstok): Fix prototype.
9721         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9722
9723         * manual/time.texi: Document MTASC-safety properties.
9724
9725         * manual/string.texi: Document MTASC-safety properties.
9726
9727         * manual/threads.texi: Document MTASC-safety properties.
9728
9729         * manual/stdio.texi: Document MTASC-safety properties.
9730
9731         * manual/syslog.texi: Document MTASC-safety properties.
9732
9733         * manual/sysinfo.texi: Document MTASC-safety properties.
9734
9735         * manual/startup.texi: Document MTASC-safety properties.
9736
9737         * manual/socket.texi: Document MTASC-safety properties.
9738
9739         * manual/signal.texi: Document MTASC-safety properties.
9740
9741 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9742
9743         * manual/setjmp.texi: Document MTASC-safety properties.
9744
9745         * manual/search.texi: Document MTASC-safety properties.
9746
9747         * manual/resource.texi: Document MTASC-safety properties.
9748
9749         * manual/process.texi: Document MTASC-safety properties.
9750
9751         * manual/platform.texi: Document MTASC-safety properties.
9752
9753         * manual/pipe.texi: Document MTASC-safety properties.
9754
9755         * manual/pattern.texi: Document MTASC-safety properties.
9756
9757         * manual/message.texi: Document MTASC-safety properties.
9758
9759         [BZ #12751]
9760         * manual/memory.texi: Document MTASC-safety properties.
9761
9762         * manual/math.texi: Document MTASC-safety properties.
9763
9764         * manual/locale.texi: Document MTASC-safety properties.
9765
9766         * manual/llio.texi: Document MTASC-safety properties.
9767
9768         * manual/libdl.texi: New.
9769
9770         * manual/lang.texi: Document MTASC-safety properties.
9771
9772         * manual/job.texi: Document MTASC-safety properties.
9773
9774         * manual/getopt.texi: Document MTASC-safety properties.
9775
9776         * manual/ctype.texi: Document MTASC-safety properties.
9777
9778 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9779
9780         [BZ #16046]
9781         * csu/libc-tls.c (static_map): Remove variable.
9782         (__libc_setup_tls): Use main executable's link map for TLS data.
9783         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9784         casing for LM_ID_BASE and GL(dl_nns).
9785         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9786         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9787         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9788         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9789         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9790         member.
9791         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9792         l_phnum members.
9793
9794 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9795
9796         * manual/debug.texi: Document MTASC-safety properties.
9797
9798 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9799
9800         [BZ #16510]
9801         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9802         of __x86_64__ when disabling x87 inline functions.
9803
9804 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9805
9806         * manual/charset.texi: Document MTASC-safety properties.
9807
9808         * manual/crypt.texi: Document MTASC-safety properties.
9809
9810         * manual/conf.texi: Document MTASC-safety properties.
9811
9812         * manual/arith.texi: Document MTASC-safety properties.
9813
9814         * manual/argp.texi: Document MTASC-safety properties.
9815
9816         * manual/macros.texi: Introduce macros to document multi
9817         thread, asynchronous signal and asynchronous cancellation
9818         safety properties.
9819         * manual/intro.texi: Introduce the properties themselves.
9820
9821 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9822
9823         * sysdeps/sh/sh4/Makefile: New file.
9824
9825 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9826
9827         * math/gen-libm-test.pl ($srcdir): New variable.
9828         ($auto_input): Use it.
9829
9830 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9831
9832         [BZ #16506]
9833         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9834         access beyond array bounds when parsing netgroups file.
9835
9836         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9837         the old buffer before realloc.
9838
9839 2014-01-27  Allan McRae  <allan@archlinux.org>
9840
9841         * po/fr.po: Update French translation from translation project.
9842
9843 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9844
9845         * sysdeps/sh/libm-test-ulps: Regenerate.
9846
9847 2014-01-24  David S. Miller  <davem@davemloft.net>
9848
9849         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9850
9851 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9852
9853         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9854         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9855
9856 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9857
9858         [BZ #16474]
9859         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9860         string pointers after reallocation.
9861
9862 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9863
9864         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9865         __SH4A__ instead of __SH_FPU_ANY__.
9866
9867 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9868
9869         * sysdeps/sh/fpu_control.h: New file.
9870         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9871         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9872         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9873         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9874         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9875         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9876         * sysdeps/sh/sys/ucontext.h: Remove.
9877         * sysdeps/sh/sys: Remove directory.
9878
9879 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9880
9881         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9882         s390/sys/ucontext.h.
9883         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9884         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9885
9886 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9887
9888         [BZ #15605]
9889         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9890
9891 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9892
9893         [BZ#16431]
9894         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9895         Adjust the vDSO correctly for internal calls.
9896         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9897
9898 2014-01-20  Allan McRae  <allan@archlinux.org>
9899
9900         * po/ca.po: Update Catalan translation from translation project.
9901
9902 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9903
9904         * sysdeps/s390/sotruss-lib.c: New file.
9905
9906 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9907
9908         [BZ#16430]
9909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9910         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9911         local calls issues by not having a PLT stub required for IFUNC calls.
9912         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9913
9914 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9915
9916         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9917         * math/test-fpucw-static.c: Likewise.
9918
9919 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9920
9921         [BZ #16453]
9922         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9923
9924 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9925
9926         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9927         implementation for powerpc.
9928
9929 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9930
9931         [BZ #14782]
9932         * sysdeps/posix/system.c (__libc_system): Do not enable
9933         asynchronous cancellation.
9934
9935 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9936
9937         [BZ #16427]
9938         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9939         handling only for numbers special also in the IEEE case.
9940
9941 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9942
9943         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9944
9945 2014-01-11  Allan McRae  <allan@archlinux.org>
9946
9947         * po/bg.po: Update Bulgarian translation from translation project.
9948
9949         * po/de.po: Update German translation from translation project.
9950
9951 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9952
9953         * sysdeps/generic/gcc-compat.h: New file.
9954
9955 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9956
9957         * benchtests/asin-inputs: Correct slow inputs.
9958         * benchtests/acos-inputs: Likewise.
9959
9960 2014-01-10  Allan McRae  <allan@archlinux.org>
9961
9962         * po:sv.po: Update Swedish translation from translation project.
9963
9964         * po/vi.po: Update Vietnamese translation from translation project.
9965
9966         * po/eo.po: Update Esperanto translation from translation project.
9967
9968         * po/cs.po: Update Czech translation from translation project.
9969
9970         * po/nl.po: Update Dutch translation from translation project.
9971
9972         * po/pl.po: Update Polish translation from translation project.
9973
9974         * po/ru.po: Update Russian translation from translation project.
9975
9976         * po/uk.po: Update Ukrainian translation from translation project.
9977
9978 2014-01-08  Brooks Moses  <bmoses@google.com>
9979
9980         * elf/dl-load.c: Fix comment typo.
9981
9982 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9983
9984         * po/header.pot: Rename to...
9985         * po/pot.header: ... this.
9986         * po/Makefile: Use pot.header.
9987
9988 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9989             Maxim Kuvyrkov  <maxim@kugelworks.com>
9990
9991         [BZ #16394]
9992         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9993         SRC and DEST against LEN.
9994
9995 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9996
9997         [BZ #16414]
9998         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9999         implementation.
10000         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10001
10002 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10003
10004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10005
10006 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10007
10008         [BZ #16408]
10009         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10010         for large positive arguments.
10011
10012 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10013
10014         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10015
10016         * math/auto-libm-test-in: Mark various tests with
10017         xfail-rounding:ldbl-128ibm.
10018         * math/auto-libm-test-out: Regenerated.
10019
10020         [BZ #16407]
10021         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10022         Increase overflow threshold.
10023
10024 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10025
10026         [BZ #14286]
10027         * stdio-common/vfprintf.c: Check for integer overflow.
10028
10029 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10030
10031         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10032         the first argument and return value of __tls_get_addr_internal.
10033
10034 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10035
10036         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10037         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10038
10039 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10040
10041         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10042         * sysdeps/s390/rtld-global-offsets.sym: New file.
10043         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10044         GLIBC_2.19 symbol.
10045         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10046         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10047         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10048         ... this.
10049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10050         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10051         ... this.
10052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10053         Regenerate.
10054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10055         Regenerate.
10056         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10057         halfs of GPRs for high_gprs contexts.
10058         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10059         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10060         field.
10061         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10062         uc_flags field.
10063         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10064         64 bit versions:
10065         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10066         for high GPRs (uc_high_gprs) and for future extensions
10067         (__reserved).
10068         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10069         for future extensions (__reserved).
10070         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10071         64 bit versions:
10072         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10073         SC_HIGHGPRS offset definition.
10074         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10075         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10076
10077         * Versions.def: Add GLIBC_2.19 for libpthread.
10078         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10079         siglongjmp for libpthread with GLIBC_2.19 symver.
10080         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10081         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10082         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10083         * sysdeps/s390/__longjmp.c: New file.
10084         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10085         * sysdeps/s390/longjmp.c: New file.
10086         * sysdeps/s390/setjmp.S: New file.
10087         * sysdeps/s390/sigjmp.S: New file.
10088         * sysdeps/s390/v1-longjmp.c: New file.
10089         * sysdeps/s390/v1-setjmp.h: New file.
10090         * sysdeps/s390/v1-sigjmp.c: New file.
10091         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10092         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10093         GLIBC_2.19 version.
10094         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10095         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10096         versioned symbols for ____longjmp_chk.
10097         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10100         Regenerate.
10101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10102         Regenerate.
10103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10104         Regenerate.
10105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10106         Regenerate.
10107         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10108         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10109         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10110         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10111         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10112         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10113         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10114         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10115         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10116         * sysdeps/s390/rtld-__longjmp.c: New file.
10117         * sysdeps/s390/rtld-setjmp.S: New file.
10118
10119 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10120
10121         [BZ #16400]
10122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10123         Return -__logl (x) for small positive arguments without evaluating
10124         a polynomial.
10125
10126 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10127
10128         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10129         Rename to ...
10130         (__ptrace_peeksiginfo_args): ... this.
10131         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10133         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10134
10135 2014-01-06  Allan McRae  <allan@archlinux.org>
10136
10137         * inet/netinet/in.h: Fix typo in comment.
10138
10139 2014-01-05  Andreas Jaeger  <aj@suse.de>
10140
10141         * sysdeps/i386/fpu/libm-test-ulps: Update.
10142
10143 2014-01-05  Allan McRae  <allan@archlinux.org>
10144
10145         * po/libc.pot: Regenerated.
10146
10147         * malloc/memusagestat.c: Fix gettext call formatting.
10148
10149 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10150
10151         * nscd/nscd.c: Improve usage() output.
10152
10153 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10154
10155         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10156         * sysdeps/unix/sysv/linux/configure: Regenerated.
10157         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10158         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10159
10160 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10161
10162         [BZ #16390]
10163         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10164         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10165
10166 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10167
10168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10169         extra tokens at end of #undef directive.
10170         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10171         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10173
10174 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10175
10176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10177
10178         * math/auto-libm-test-in: Mark various tests with
10179         xfail-rounding:ldbl-128ibm.
10180         * math/auto-libm-test-out: Regenerated.
10181
10182 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10183
10184         [BZ #16386]
10185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10186         numbers with subnormal high part when calculating exponent.
10187
10188         [BZ #16385]
10189         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10190         fabs.
10191
10192         [BZ #16384]
10193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10194         M_LN2l.
10195         (__ieee754_acoshl): Use __log1pl not __log1p.
10196
10197 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10198
10199         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10200         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10201         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10202         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10203         (reused_arena, arena_get2): Convert to GNU style.
10204         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10205         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10206         (memalign_check, __malloc_set_state): Likewise.
10207         * malloc/mallocbug.c (main): Likewise.
10208         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10209         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10210         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10211         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10212         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10213         (__posix_memalign, malloc_info): Likewise.
10214         * malloc/malloc.h: Likewise.
10215         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10216         (mallochook, memalignhook, reallochook, mabort): Likewise.
10217         * malloc/mcheck.h: Likewise.
10218         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10219         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10220         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10221         * malloc/morecore.c (__default_morecore): Likewise.
10222         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10223         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10224         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10225         (print_and_abort): Likewise.
10226         * malloc/obstack.h: Likewise.
10227         * malloc/set-freeres.c (__libc_freeres): Likewise.
10228         * malloc/tst-mallocstate.c (main): Likewise.
10229         * malloc/tst-mtrace.c (main): Likewise.
10230         * malloc/tst-realloc.c (do_test): Likewise.
10231
10232 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10233
10234         [BZ #16366]
10235         * nscd/netgroupcache.c (do_notfound): New function.
10236         (addgetnetgrentX): Use it.
10237
10238         [BZ # 16365]
10239         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10240         NSS_STATUS_NOTFOUND.
10241
10242 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10243
10244         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10246
10247 2014-01-01  Allan McRae  <allan@archlinux.org>
10248
10249         * scripts/update-copyrights: Update configure input file suffix.
10250
10251         * NEWS: Update copyright year.
10252         * catgets/gencat.c: Likewise.
10253         * csu/version.c: Likewise.
10254         * debug/catchsegv.sh: Likewise.
10255         * debug/pcprofiledump.c: Likewise.
10256         * debug/xtrace.sh: Likewise.
10257         * elf/ldconfig.c: Likewise.
10258         * elf/ldd.bash.in: Likewise.
10259         * elf/pldd.c: Likewise.
10260         * elf/sotruss.ksh: Likewise.
10261         * elf/sprof.c: Likewise.
10262         * iconv/iconv_prog.c: Likewise.
10263         * iconv/iconvconfig.c: Likewise.
10264         * locale/programs/locale.c: Likewise.
10265         * locale/programs/localedef.c: Likewise.
10266         * login/programs/pt_chown.c: Likewise.
10267         * malloc/memusage.sh: Likewise.
10268         * malloc/memusagestat.c: Likewise.
10269         * malloc/mtrace.pl: Likewise.
10270         * manual/libc.texinfo: Likewise.
10271         * nscd/nscd.c: Likewise.
10272         * nss/getent.c: Likewise.
10273         * nss/makedb.c: Likewise.
10274         * posix/getconf.c: Likewise.
10275         * scripts/test-installation.pl: Likewise.
10276
10277         * All files with FSF copyright notices: Update copyright dates
10278         using scripts/update-copyrights.
10279         * intl/plural.c: Regenerated.
10280         * locale/programs/charmap-kw.h: Likewise.
10281         * locale/programs/locfile-kw.h: Likewise.
10282
10283 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10284
10285         * sysdeps/unix/sysv/linux/configure: Regenerated.
10286         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10287         the linux/fanotify.h header.
10288         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10289         HAVE_LINUX_FANOTIFY_H is defined.
10290
10291 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292
10293         * benchtests/cos-inputs: New inputs.
10294         * benchtests/sin-inputs: Likewise.
10295
10296         * benchtests/atan-inputs: New inputs. Fix name of multiple
10297         precision fallback inputs.
10298
10299         * benchtests/atanh-inputs: New inputs.
10300         * benchtests/tanh-inputs: Likewise.
10301
10302         * benchtests/acosh-inputs: New inputs.
10303         * benchtests/asinh-inputs: Likewise.
10304
10305         * benchtests/cosh-inputs: New inputs.
10306         * benchtests/sinh-inputs: Likewise.
10307
10308         * benchtests/acos-inputs: Add more inputs.
10309         * benchtests/asin-inputs: Likewise.
10310
10311 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10312
10313         [BZ #16375]
10314         * manual/arith.texi: Fix spelling.
10315         * manual/charset.texi: Likewise.
10316         * manual/errno.texi: Likewise.
10317         * manual/filesys.texi: Likewise.
10318         * manual/lang.texi: Likewise.
10319         * manual/llio.texi: Likewise.
10320         * manual/locale.texi: Likewise.
10321         * manual/message.texi: Likewise.
10322         * manual/resource.texi: Likewise.
10323         * manual/search.texi: Likewise.
10324         * manual/setjmp.texi: Likewise.
10325         * manual/stdio.texi: Likewise.
10326         * manual/string.texi: Likewise.
10327         * manual/sysinfo.texi: Likewise.
10328         * manual/time.texi: Likewise.
10329
10330 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10331
10332         * po/sl.po: New file.
10333
10334 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10335
10336         * .gitignore: Add core/.gdbinit/.gdb_history.
10337
10338 2013-12-27  Allan McRae  <allan@archlinux.org>
10339
10340         [BZ #16369]
10341         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10342         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10343
10344 2013-12-24  Brooks Moses  <bmoses@google.com>
10345
10346         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10347         all compilers that claim C++98 compliance, not just GCC.
10348         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10349         Likewise.
10350
10351 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10352
10353         * NEWS: Restore accidentally deleted bug-fix entries.
10354
10355 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10356             Ondřej Bílka  <neleai@seznam.cz>
10357
10358         [BZ #15073]
10359         * malloc/malloc.c (_int_free): Perform sanity check only if we
10360         have_lock.
10361
10362 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10363
10364         [BZ #12986]
10365         * manual/stdio.texi (String Input Conversions): Clarify that character
10366         classes are not supported.
10367
10368 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10369
10370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10371
10372 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10373
10374         [BZ #16337]
10375         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10376         Calculate results for small negative arguments directly rather
10377         than using reflection formula with special underflow handling.
10378
10379         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10380         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10381         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10382         (fchflags): Likewise.
10383         (revoke): Likewise.
10384         (setlogin): Likewise.
10385         (sigaltstack): Likewise.
10386         (wait4): Likewise.
10387         (sigblock): Remove.
10388         (sigsetmask): Likewise.
10389         (wait3): Likewise.
10390         (waitpid): Likewise.
10391         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10392         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10393         file.
10394         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10395         * sysdeps/unix/bsd/Makefile: ... here.
10396         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10397         * sysdeps/unix/bsd/Versions: ... here.
10398         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10399         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10400         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10401         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10402         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10403         * sysdeps/unix/bsd/sigblock.c: ... here.
10404         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10405         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10406         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10407         * sysdeps/unix/bsd/sigvec.c: ... here.
10408         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10409         * sysdeps/unix/bsd/tcdrain.c: ... here.
10410         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10411         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10412         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10413         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10414         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10415         * sysdeps/unix/bsd/wait.c: ... here.
10416         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10417         * sysdeps/unix/bsd/wait3.c: ... here.
10418         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10419         * sysdeps/unix/bsd/waitpid.c: ... here.
10420
10421 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10422
10423         [BZ #16356]
10424         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10425         round-to-nearest for [!USE_AS_EXPM1L].
10426         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10427         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10428         more tests of exp and exp10.  Expect some exp10 tests to miss
10429         exceptions or fail in directed rounding modes.
10430         * math/auto-libm-test-out: Regenerated.
10431         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10432         (exp10_test_tonearest): New function.
10433         (exp10_towardzero_test_data): New array.
10434         (exp10_test_towardzero): New function.
10435         (exp10_downward_test_data): New array.
10436         (exp10_test_downward): New function.
10437         (exp10_upward_test_data): New array.
10438         (exp10_test_upward): New function.
10439         (main): Call the new functions.
10440         * sysdeps/i386/fpu/libm-test-ulps: Update.
10441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10442
10443 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10444
10445         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10446         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10447         * math/auto-libm-test-out: Regenerated.
10448         * math/libm-test.inc (acosh_test_data): Add more tests.
10449         (atanh_test_data): Likewise.
10450         (ceil_test_data): Likewise.
10451         (copysign_test_data): Likewise.
10452         * sysdeps/i386/fpu/libm-test-ulps: Update.
10453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10454
10455         * timezone/checktab.awk: Update from tzcode 2013i.
10456         * timezone/private.h: Likewise.
10457         * timezone/scheck.c: Likewise.
10458         * timezone/tzfile.h: Likewise.
10459         * timezone/tzselect.ksh: Likewise.
10460         * timezone/zdump.c: Likewise.
10461         * timezone/zic.c: Likewise.
10462
10463         * math/auto-libm-test-in: Add tests of cpow.
10464         * math/auto-libm-test-out: Regenerated.
10465         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10467         mpc_cc_c.
10468         (func_calc_desc): Add mpc_cc_c union field.
10469         (test_functions): Add cpow.
10470         (special_fill_2pi): New function.
10471         (special_real_inputs): Add 2pi.
10472         (calc_generic_results): Handle mpc_cc_c.
10473         * sysdeps/i386/fpu/libm-test-ulps: Update.
10474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10475
10476         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10477         csqrt, ctan and ctanh.
10478         * math/auto-libm-test-out: Regenerated.
10479         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10480         (TEST_COND_x86): Likewise.
10481         (ccos_test_data): Use AUTO_TESTS_c_c.
10482         (ccosh_test_data): Likewise.
10483         (cexp_test_data): Likewise.
10484         (clog_test_data): Likewise.
10485         (csqrt_test_data): Likewise.
10486         (ctan_test_data): Likewise.
10487         (ctan_tonearest_test_data): Likewise.
10488         (ctan_towardzero_test_data): Likewise.
10489         (ctan_downward_test_data): Likewise.
10490         (ctan_upward_test_data): Likewise.
10491         (ctanh_test_data): Likewise.
10492         (ctanh_tonearest_test_data): Likewise.
10493         (ctanh_towardzero_test_data): Likewise.
10494         (ctanh_downward_test_data): Likewise.
10495         (ctanh_upward_test_data): Likewise.
10496         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10497         mpc_c_c.
10498         (func_calc_desc): Add mpc_c_c union field.
10499         (FUNC_mpc_c_c): New macro.
10500         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10501         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10502         ctanh.
10503         (special_fill_min_subnorm_p120): New function.
10504         (special_real_inputs): Add min_subnorm_p120.
10505         (calc_generic_results): Handle mpc_c_c.
10506         * sysdeps/i386/fpu/libm-test-ulps: Update.
10507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10508
10509 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10510
10511         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10512         (do_sin_slow): New functions.
10513         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10514         (cslow2, csloww1, csloww2): Use the new functions.
10515
10516         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10517         Use M to change sign of result instead of X.  Assume X is
10518         positive.
10519         (csloww1): Likewise.
10520         (__sin): Adjust.
10521         (__cos): Adjust.
10522
10523         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10524         arguments A and DA.
10525         (__sin): Adjust.
10526         (__cos): Likewise.
10527
10528         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10529         (__cos): Likewise.
10530         (sloww1): Don't adjust sign of DX.
10531         (csloww1): Likewise.
10532         (sloww2): Use X directly and don't adjust sign of DX.
10533         (csloww2): Likewise.
10534
10535 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10536
10537         * math/auto-libm-test-in: Add tests of cabs and carg.
10538         * math/auto-libm-test-out: Regenerated.
10539         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10540         (carg_test_data): Likewise.
10541         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10542         mpc_c_f.
10543         (func_calc_desc): Add mpc_c_f union field.
10544         (test_functions): Add cabs and carg.
10545         (calc_generic_results): Handle mpc_c_f.
10546
10547         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10548         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10549         as a macro and a compat symbol.
10550         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10551         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10552         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10553         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10554         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10555         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10556         not use .hidden.
10557         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10558         Likewise.
10559         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10560         Likewise.
10561         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10562         Likewise.
10563         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10564         Likewise.
10565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10566         Likewise.
10567         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10568         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10569         from GLIBC_2.3.2.
10570
10571 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10572
10573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10574
10575 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10576
10577         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10578         trailing whitespace removed.
10579         * scripts/config.guess: Update to version 2013-11-29.
10580         * scripts/config.sub: Update to version 2013-10-01.
10581
10582         * math/auto-libm-test-in: Add tests of sincos.
10583         * math/auto-libm-test-out: Regenerated.
10584         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10585         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10586         mpfr_f_11.
10587         (func_calc_desc): Add mpfr_f_11 union field.
10588         (test_functions): Add sincos.
10589         (calc_generic_results): Handle mpfr_f_11.
10590         * sysdeps/i386/fpu/libm-test-ulps: Update.
10591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10592
10593 2013-12-19  Andreas Schwab  <schwab@suse.de>
10594
10595         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10596         CALL_MCOUNT.
10597         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10598         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10599         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10600
10601 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10602
10603         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10604         * sysdeps/i386/fpu/libm-test-ulps: Update.
10605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10606
10607         [BZ #16293]
10608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10609         round-to-nearest mode when using frndint.
10610         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10611         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10612         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10613         Likewise.
10614         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10615         sinh test to fail.
10616         * math/auto-libm-test-out: Regenerated.
10617         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10618         (TEST_COND_x86): Likewise.
10619         (expm1_tonearest_test_data): New array.
10620         (expm1_test_tonearest): New function.
10621         (expm1_towardzero_test_data): New array.
10622         (expm1_test_towardzero): New function.
10623         (expm1_downward_test_data): New array.
10624         (expm1_test_downward): New function.
10625         (expm1_upward_test_data): New array.
10626         (expm1_test_upward): New function.
10627         (main): Run the new test functions.
10628         * sysdeps/i386/fpu/libm-test-ulps: Update.
10629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10630
10631         * include/features.h: Update comment documenting feature test
10632         macros.  Mention _DEFAULT_SOURCE in comment.
10633         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10634         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10635         _BSD_SOURCE and _SVID_SOURCE.
10636         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10637         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10638         !_SVID_SOURCE]: Likewise.
10639         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10640         (__USE_POSIX_IMPLICITLY): Define.
10641         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10642         (_POSIX_SOURCE): Undefine and redefine.
10643         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10644         (_POSIX_C_SOURCE): Likewise.
10645         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10646         (Feature Test Macros): Update documentation of default features.
10647
10648 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10649
10650         * benchtests/Makefile: Add bench-strtok.
10651         * benchtests/bench-strtok.c: New file: strtok benchtest.
10652
10653 2013-12-19  Allan McRae  <allan@archlinux.org>
10654
10655         * manual/install.texi: Suppress menu for plain text output.
10656         * INSTALL: Regenerated.
10657
10658 2013-12-18  Brooks Moses  <bmoses@google.com>
10659
10660         [BZ #15846]
10661         * misc/getauxval.c: Include errno.h.
10662         (__getauxval): Set errno to ENOENT if the requested type is not
10663         found.
10664         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10665         don't declare with __attribute_const__.
10666         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10667         * manual/startup.texi: Document that getauxval sets errno.
10668
10669 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10670
10671         * math/auto-libm-test-in: Add tests of jn and yn.
10672         * math/auto-libm-test-out: Regenerated.
10673         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10674         (yn_test_data): Likewise.
10675         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10676         mpfr_if_f.
10677         (func_calc_desc): Add mpfr_if_f union field.
10678         (FUNC_mpfr_if_f): New macro.
10679         (test_functions): Add jn and yn.
10680         (calc_generic_results): Assert type of second input for
10681         mpfr_ff_f.  Handle mpfr_if_f.
10682         (output_for_one_input_case): Disable all checking for arguments
10683         fitting floating-point types in case of an integer argument.
10684         * sysdeps/i386/fpu/libm-test-ulps: Update.
10685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686
10687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10688         Don't expect fegetround reference in libm.so.
10689
10690 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10691
10692         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10693         $(config-cflags-nofma).
10694
10695 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10696
10697         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10698         * math/auto-libm-test-out: Regenerated.
10699
10700         [BZ #16338]
10701         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10702         to determine exponent and adjust argument to have exponent of -1.
10703         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10704         log2.
10705         * math/auto-libm-test-out: Regenerated.
10706         * sysdeps/i386/fpu/libm-test-ulps: Update.
10707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708
10709 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10710
10711         * manual/probes.texi: Remove cases when per-thread arenas are
10712         disabled.
10713
10714 2013-12-18  Andreas Schwab  <schwab@suse.de>
10715
10716         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10717         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10718         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10719         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10720         * sysdeps/i386/i686/multiarch/Makefile: Update.
10721         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10722
10723 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10724
10725         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10726         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10727
10728 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10729
10730         [BZ #15968]
10731         Support TZ transition times < 00:00:00.
10732         This is needed for version-3 tz-format files; it supports time
10733         stamps past 2037 for America/Godthab (the only entry in the tz
10734         database for which this change is relevant).
10735         * manual/time.texi (TZ Variable): Document transition times
10736         from -167:59:59 through -00:00:01.
10737         * time/tzset.c (tz_rule): Time of day is now signed.
10738         (__tzset_parse_tz): Parse negative time of day.
10739
10740         Document TZ transition times >= 25:00:00.
10741         * manual/time.texi (TZ Variable): Document transition times from
10742         25:00:00 through 167:59:59.  These are already supported, and this
10743         support will help with version-3 tz-format files.
10744
10745         * manual/time.texi (TZ Variable): Modernize North America example
10746         to reflect current (i.e., 2007-and-later) daylight saving rules.
10747
10748         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10749
10750 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10751
10752         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10753         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10756         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10757         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10758         * sysdeps/unix/bsd/clock.c: Likewise.
10759         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10760         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10761         * sysdeps/unix/bsd/init-posix.c: Likewise.
10762         * sysdeps/unix/bsd/poll.c: Likewise.
10763         * sysdeps/unix/bsd/ptsname.c: Likewise.
10764         * sysdeps/unix/bsd/seekdir.c: Likewise.
10765         * sysdeps/unix/bsd/setegid.c: Likewise.
10766         * sysdeps/unix/bsd/seteuid.c: Likewise.
10767         * sysdeps/unix/bsd/setgid.c: Likewise.
10768         * sysdeps/unix/bsd/setrgid.c: Likewise.
10769         * sysdeps/unix/bsd/setruid.c: Likewise.
10770         * sysdeps/unix/bsd/setsid.c: Likewise.
10771         * sysdeps/unix/bsd/setuid.c: Likewise.
10772         * sysdeps/unix/bsd/sigaction.c: Likewise.
10773         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10774         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10775         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10776         * sysdeps/unix/bsd/telldir.c: Likewise.
10777         * sysdeps/unix/bsd/times.c: Likewise.
10778         * sysdeps/unix/bsd/usleep.c: Likewise.
10779
10780         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10781         ($(objpfx)libbsd-compat.a): Remove rule.
10782
10783         * include/features.h (__FAVOR_BSD): Do not define.
10784         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10785         features conflicting with POSIX.
10786         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10787         (_BSD_SOURCE): Remove description of not being a subset of other
10788         feature test macros.
10789         * manual/job.texi (getpgrp): Do not document BSD version.
10790         (getpgid): Do not document by reference to BSD getpgrp.
10791         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10792         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10793         * signal/signal.h [__FAVOR_BSD]: Likewise.
10794         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10795         instead of making contents conditional on [__FAVOR_BSD].
10796         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10797
10798 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10799
10800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
10802 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10803
10804         [BZ #16314]
10805         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10806         values below 2**-450, not 2**-500.
10807         * math/auto-libm-test-in: Don't allow spurious underflow from
10808         hypot.
10809         * math/auto-libm-test-out: Regenerated.
10810
10811         [BZ #16316]
10812         [BZ #16330]
10813         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10814         values of ha and hb and sort them after adjusting subnormal
10815         arguments.
10816         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10817         Likewise.
10818         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10819         values of ea and eb and sort them after adjusting subnormal
10820         arguments.
10821         * math/auto-libm-test-in: Do not expect some hypot tests of
10822         subnormals to fail.  Add more hypot tests.
10823         * math/auto-libm-test-out: Regenerated.
10824
10825 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10826
10827         [BZ #13304]
10828         * sysdeps/sh/s_fma.c: New file.
10829         * sysdeps/sh/s_fmaf.c: New file.
10830         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10831         version.
10832         * sysdeps/sh/Implies: Add sh/soft-fp.
10833
10834 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10835
10836         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10837         level of indirection to members `objname', `errstring', `malloced'.
10838         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10839         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10840         it as the __longjmp argument (just pass 1 instead).
10841         (_dl_catch_error): Initialize C with argument pointers and address of
10842         volatile local ERRCODE rather than copying values out of C at return.
10843
10844 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10845
10846         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10847         * math/auto-libm-test-out: Regenerated.
10848         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10849         (hypot_test_data): Likewise.
10850         (pow_test_data): Likewise.
10851         (pow_tonearest_test_data): Likewise.
10852         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10853         mpfr_ff_f.
10854         (func_calc_desc): Add mpfr_ff_f union field.
10855         (FUNC_mpfr_ff_f): New macro.
10856         (test_functions): Add atan2, hypot and pow.
10857         (special_fill_min): New function.
10858         (special_fill_minus_min): Likewise.
10859         (special_fill_min_subnorm): Likewise.
10860         (special_fill_minus_min_subnorm): Likewise.
10861         (special_real_inputs): Add min, -min, min_subnorm and
10862         -min_subnorm.
10863         (calc_generic_results): Handle mpfr_ff_f.
10864         * sysdeps/i386/fpu/libm-test-ulps: Update.
10865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10866
10867 2013-12-16  Will Newton  <will.newton@linaro.org>
10868
10869         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10870         (Aligned Memory Blocks): Add documentation for aligned_alloc
10871         and suggest it as an alternative to posix_memalign.
10872         (Hooks for Malloc): Document __memalign_hook is also called
10873         for aligned_alloc.  (Summary of Malloc): Add summary for
10874         aligned alloc.  Document __memalign_hook is also called
10875         for aligned_alloc.
10876
10877 2013-12-16  Will Newton  <will.newton@linaro.org>
10878
10879         * manual/memory.texi (Malloc Examples): Clarify default
10880         alignment documentation.  Suggest posix_memalign rather
10881         than memalign or valloc.
10882         (Aligned Memory Blocks): Remove suggestion to use memalign
10883         or valloc.  Remove obsolete comment about BSD.
10884         Document memalign errno values and mark the function obsolete.
10885         Document posix_memalign returned error codes.  Mark valloc
10886         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10887         called for posix_memalign and valloc.
10888         (Summary of Malloc): Add posix_memalign to function summary.
10889         __memalign_hook is also called for posix_memalign and valloc.
10890
10891 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892
10893         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10894         TAYLOR_SIN.
10895         (__sin): Adjust.
10896         (__cos): Likewise.
10897         (sloww): Use mynumber union.  Expand ternary operator into
10898         if-else statements.
10899         (cslow): use mynumber union.
10900
10901 2013-12-16  Allan McRae  <allan@archlinux.org>
10902
10903         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10904         * configure: Regenerated.
10905
10906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10907
10908         [BZ #14120]
10909         * configure.ac: Added --enable-maintainer-mode. Check for
10910         autoconf when enabled.
10911         * configure: Regenerated.
10912
10913         * nscd/nscd.service: New file.
10914         * nscd/nscd.tmpfiles: New file.
10915
10916 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10917
10918         [BZ #12100]
10919         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10920         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10921         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10922         (strstr): Add __strstr_sse2_unaligned ifunc.
10923         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10924         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10925         (strcasestr): Remove __strcasestr_sse42 ifunc.
10926         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10929
10930 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10931
10932         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10933         * sysdeps/sh/bits/fenv.h: ... here.
10934         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10935
10936 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10937
10938         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10939
10940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10941         hypotf multiarch implementations.
10942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10945         multiarch hypot for PPC64.
10946         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10947         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10949         multiarch hypotf for PPC64.
10950
10951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10952         modff multiarch implementations.
10953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10956         multiarch modf for PPC64.
10957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10960         multiarch modff for PPC64.
10961
10962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10963         and logl multiarch implementations.
10964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10967         multiarch logb for PPC64.
10968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10971         multiarch logb for PPC64.
10972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10975         multiarch logb for PPC64.
10976
10977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10978         isinff multiarch implementation.
10979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10980         file.
10981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10983         multiarch isinf for PPC64.
10984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10985         file.
10986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10987         multiarch isinff for PPC64.
10988
10989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10990         finitef multiarch implementation.
10991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10992         file.
10993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10995         multiarch finite for PPC64.
10996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10997         file.
10998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10999         multiarch finitef for PPC64.
11000
11001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11002         lrint multiarch implementation.
11003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11004         file.
11005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11007         multiarch llrint for PPC64.
11008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11009         multiarch lrint for PPC64.
11010
11011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11012         copysignf multiarch implementation.
11013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11014         file.
11015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11016         file.
11017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11018         multiarch copysign for PPC64.
11019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11020         multiarch copysignf for PPC64.
11021
11022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11023         multiarch implementation.
11024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11025         file.
11026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11027         file.
11028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11029         file.
11030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11031         file.
11032         multiarch llround for PPC64.
11033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11034         multiarch trunc for PPC64.
11035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11036         multiarch truncf for PPC64.
11037
11038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11039         multiarch implementation.
11040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11041         file.
11042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11043         file.
11044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11045         file.
11046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11047         file.
11048         multiarch llround for PPC64.
11049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11050         multiarch round for PPC64.
11051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11052         multiarch roundf for PPC64.
11053
11054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11055         multiarch implementation.
11056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11057         file.
11058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11059         file.
11060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11061         file.
11062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11063         file.
11064         multiarch llround for PPC64.
11065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11066         multiarch floor for PPC64.
11067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11068         multiarch floorf for PPC64.
11069
11070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11071         multiarch implementation.
11072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11073         file.
11074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11075         file.
11076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11077         file.
11078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11079         file.
11080         multiarch llround for PPC64.
11081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11082         multiarch ceil for PPC64.
11083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11084         multiarch ceilf for PPC64.
11085
11086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11087         multiarch implementation.
11088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11089         file.
11090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11091         file.
11092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11093         file.
11094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11095         multiarch llround for PPC64.
11096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11097         multiarch lround for PPC64.
11098
11099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11100         multiarch implementation.
11101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11104         file.
11105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11108         multiarch isnan for PPC64.
11109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11110         multiarch isnanf for PPC64.
11111
11112         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11113         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11114         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11115         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11116         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11118
11119         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11120         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11123
11124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11125         multiarch implementations.
11126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11127         (__libc_ifunc_impl_list): Likewise.
11128         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11129         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11131         multiarch stpcpy for PPC64.
11132
11133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11134         multiarch implementations.
11135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11136         (__libc_ifunc_impl_list): Likewise.
11137         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11139         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11140         multiarch strcpy for PPC64.
11141
11142         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11143         redefine function name.
11144         (_wordcopy_fwd_dest_aligned): Likewise.
11145         (_wordcopy_bwd_aligned): Likewise.
11146         (_wordcopy_bwd_dest_aligned): Likewise.
11147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11148         multiarch implementations.
11149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11150         (__libc_ifunc_impl_list): Likewise.
11151         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11154         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11155         multiarch wcscpy for PPC64.
11156
11157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11158         multiarch implementations.
11159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11160         (__libc_ifunc_impl_list): Likewise.
11161         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11162         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11163         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11164         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11165         multiarch wcscpy for PPC64.
11166
11167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11168         multiarch implementations.
11169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11170         (__libc_ifunc_impl_list): Likewise.
11171         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11172         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11173         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11174         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11175         multiarch wcsrchr for PPC64.
11176
11177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11178         multiarch implementations.
11179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11180         (__libc_ifunc_impl_list): Likewise.
11181         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11182         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11183         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11184         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11185         multiarch wcschr for PPC64.
11186
11187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11188         multiarch implementations.
11189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11190         (__libc_ifunc_impl_list): Likewise.
11191         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11192         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11193         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11194         multiarch strchrnul for PPC64.
11195
11196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11197         implementations.
11198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11199         (__libc_ifunc_impl_list): Likewise.
11200         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11201         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11202         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11203         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11204         strchr for PPC64.
11205
11206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11207         implementations.
11208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11209         (__libc_ifunc_impl_list): Likewise.
11210         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11211         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11213         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11214         strncmp for PPC64.
11215
11216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11217         multiarch implementations.
11218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11219         (__libc_ifunc_impl_list): Likewise.
11220         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11221         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11222         strncasecmp for PPC64.
11223         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11224         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11225         multiarch strncasecmp_l for PPC64.
11226
11227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11228         multiarch implementations.
11229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11230         (__libc_ifunc_impl_list): Likewise.
11231         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11233         multiarch strcasecmp for PPC64.
11234         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11235         file.
11236         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11237         multiarch strcasecmp_l for PPC64.
11238
11239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11240         implementations.
11241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11242         (__libc_ifunc_impl_list): Likewise.
11243         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11244         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11245         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11246         strnlen for PPC64.
11247
11248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11249         implementations.
11250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11251         (__libc_ifunc_impl_list): Likewise.
11252         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11253         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11254         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11255         strlen for PPC64.
11256
11257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11258         implementations.
11259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11260         (__libc_ifunc_impl_list): Likewise.
11261         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11262         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11263         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11264         rawmemrchr for PPC64.
11265
11266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11267         implementation.
11268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11269         (__libc_ifunc_impl_list): Likewise.
11270         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11271         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11272         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11273         memrchr for PPC64.
11274
11275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11276         implementation.
11277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11278         (__libc_ifunc_impl_list): Likewise.
11279         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11280         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11281         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11282         memchr for PPC64.
11283
11284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11285         implementation.
11286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11287         (__libc_ifunc_impl_list): Likewise.
11288         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11290         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11291         mempcpy for PPC64.
11292
11293         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11294         avoid cretion of __bzero symbol.
11295         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11296         Likewise.
11297         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11298         Likewise.
11299         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11300         Likewise.
11301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11302         multiarch implementations.
11303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11304         (__libc_ifunc_impl_list): Likewise.
11305         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11306         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11307         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11308         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11309         bzero for PPC32.
11310         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11311         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11312         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11313         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11314         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11315         memset for PPC64.
11316         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11317
11318         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11320         implementations.
11321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11322         (__libc_ifunc_impl_list): Likewise.
11323         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11324         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11325         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11326         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11327         memcmp for PPC64.
11328
11329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11330         multiarch for POWER/PPC64.
11331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11335         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11338         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11339         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11340         memcpy for PPC64.
11341
11342         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11343         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11344         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11345         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11346         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11347         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11348         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11349         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11350         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11351         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11352         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11353         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11354         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11355         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11356         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11364
11365 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11366
11367         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11368
11369 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11370
11371         * benchtests/Makefile (bench): Add exp2 and log2.
11372         (LDLIBS-bench-exp2): Add -lm.
11373         (LDLIBS-bench-log2): Likewise.
11374         * benchtests/exp2-inputs: New inputs file.
11375         * benchtests/log2-inputs: New inputs file.
11376         * benchtests/log-inputs: Add new inputs.
11377         * benchtests/tan-inputs: Likewise.
11378
11379 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11380
11381         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11382         definition...
11383         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11384         (csloww2): ... from here.
11385
11386         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11387         instead of structures.
11388         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11389         (POLYNOMIAL): Likewise.
11390         (TAYLOR_SLOW): Likewise.
11391         (__sin): Likewise.
11392         (__cos): Likewise.
11393         (slow1): Likewise.
11394         (slow2): Likewise.
11395         (sloww): Likewise.
11396         (sloww1); Likewise.
11397         (sloww2): Likewise.
11398         (bsloww1): Likewise.
11399         (bsloww2): Likewise.
11400         (cslow2): Likewise.
11401         (csloww): Likewise.
11402         (csloww1): Likewise.
11403         (csloww2): Likewise.
11404
11405 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11406
11407         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11408         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11409         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11410         * malloc/hooks.c (realloc_check): Likewise.
11411
11412         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11413         * malloc/arena.c: Remove PER_THREAD conditional.
11414         [!PER_THREAD]: Remove code.
11415         (ptmalloc_unlock_all2): Likewise.
11416         (ptmalloc_init): Likewise.
11417         (_int_new_arena): Likewise.
11418         (arena_get2): Likewise.
11419         * malloc/hooks.c (__malloc_get_state): Likewise.
11420         (__malloc_set_state): Likewise.
11421         * malloc/malloc.c: Likewise.
11422         (struct malloc_state): Likewise.
11423         (struct malloc_par): Likewise.
11424         (__libc_realloc): Likewise.
11425         (__libc_mallopt): Likewise.
11426
11427 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11428
11429         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11430
11431 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11432
11433         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11434         macro to a function.  Check for zero perturb_byte.
11435         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11436
11437         * malloc/malloc.c: (force_reg): Remove.
11438         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11439         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11440         force_reg by atomic_forced_read.
11441         * malloc/arena.c (ptmalloc_init): Likewise.
11442         * malloc/hooks.c (top_check): Likewise.
11443
11444 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11445
11446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11447
11448 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11449
11450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11451
11452 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11453
11454         * math/auto-libm-test-in: Add tests of lgamma.
11455         * math/auto-libm-test-out: Regenerated.
11456         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11457         (M_LOG_2_SQRT_PIl): Likewise.
11458         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11459         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11460         mpfr_f_f1.
11461         (func_calc_desc): Add mpfr_f_f1 union field.
11462         (ARGS1): New macro.
11463         (ARGS2): Likewise.
11464         (ARGS3): Likewise.
11465         (ARGS4): Likewise.
11466         (RET1): Likewise.
11467         (RET2): Likewise.
11468         (CALC): Likewise.
11469         (FUNC): Likewise.
11470         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11471         (test_functions): Add lgamma.
11472         (calc_generic_results): Handle mpfr_f_f1.
11473         * sysdeps/i386/fpu/libm-test-ulps: Update.
11474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11475
11476 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11477
11478         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11479         __mpn_add_n for PowerPC64/POWER7.
11480         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11481         __mpn_sub_n for PowerPC64/POWER7.
11482
11483         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11484         __mpn_addmul_1 for PowerPC64.
11485         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11486         __mpn_submul_1 for PowerPC64.
11487         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11488         for PowerPC64.
11489         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11490         for PowerPC64.
11491
11492 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11493
11494         [BZ #15089]
11495         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11496
11497 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11498
11499         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11500
11501         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11502         add multiarch folders.
11503         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11504         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11505         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11506         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11507         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11508         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11509         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11510         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11511         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11512         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11513         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11520
11521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11522         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11524         New file.
11525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11526         New file.
11527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11528         multiarch __ieee754_hypot for PowerPC32.
11529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11530         New file.
11531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11532         New file.
11533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11534         multiarch __ieee754_hypotf for PowerPC32.
11535
11536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11537         long_double_symbol only if __logbl is defined.
11538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11539         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11541         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11542         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11543         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11545         path for implementation.
11546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11547         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11549         logb, and logbl multiarch implementations for PowerPC32.
11550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11551         file.
11552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11553         file.
11554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11555         multiarch logb for PowerPC32.
11556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11557         file.
11558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11559         file.
11560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11561         multiarch logbf for PowerPC32.
11562         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11564         file.
11565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11566         multiarch logbl implementation for PowerPC32.
11567
11568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11569         and modff multiarch implementations.
11570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11571         New file.
11572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11573         New file.
11574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11575         multiarch modf for PowerPC32.
11576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11577         New file.
11578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11579         New file.
11580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11581         multiarch modff for PowerPC32.
11582
11583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11584         and lrintf multiarch implementations.
11585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11586         New file.
11587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11588         New file.
11589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11590         multiarch lrint for PowerPC32.
11591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11592         file: multiarch lrintf for PowerPC32.
11593
11594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11595         and lroundf multiarch implementations.
11596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11597         New file.
11598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11599         New file.
11600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11601         New file.
11602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11603         multiarch lround for PowerPC32.
11604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11605         file: multiarch lroundf for PowerPC32.
11606
11607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11608         copysign and copysignf multiarch implementations.
11609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11610         New file.
11611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11612         New file.
11613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11614         file: multiarch copysign for PowerPC32.
11615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11616         file: multiarch copysignf for PowerPC32.
11617
11618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11619         and truncf multiarch implementations.
11620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11621         New file.
11622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11623         file.
11624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11625         multiarch trunc for PowerPC32.
11626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11627         New file.
11628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11629         New file.
11630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11631         multiarch truncf for PowerPC32.
11632
11633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11634         and roundf multiarch implementations.
11635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11636         New file.
11637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11638         file.
11639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11640         multiarch round for PowerPC32.
11641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11642         New file.
11643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11644         New file.
11645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11646         multiarch roundf for PowerPC32.
11647
11648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11649         and floorf multiarch implementations.
11650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11651         New file.
11652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11653         file.
11654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11655         multiarch floor for PowerPC32.
11656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11657         New file.
11658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11659         New file.
11660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11661         multiarch floorf for PowerPC32.
11662
11663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11664         and ceilf multiarch implementations.
11665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11666         New file.
11667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11668         file.
11669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11670         multiarch ceil for PowerPC32.
11671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11672         New file.
11673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11674         file.
11675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11676         multiarch ceilf for PowerPC32.
11677
11678         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11679         is defined.
11680         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11681         FINITEF is defined.
11682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11683         and finitef multiarch implementations.
11684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11685         New file.
11686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11687         file.
11688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11689         multiarch finite for PowerPC32.
11690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11691         New file.
11692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11693         file: multiarch finitef for PowerPC32.
11694
11695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11696         and isinff multiarch implementations.
11697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11698         file.
11699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11700         file.
11701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11702         multiarch isinf for PowerPC32.
11703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11704         New file.
11705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11706         multiarch isinff for PowerPC32.
11707
11708         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11709         alias when __isnan is defined.
11710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11711         and isnanf multiarch implementations.
11712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11713         file.
11714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11715         file.
11716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11717         file.
11718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11719         file.
11720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11721         multiarch isnan for PowerPC32.
11722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11723         New file.
11724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11725         New file.
11726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11727         multiarch isnanf for PowerPC32.
11728
11729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11730         and sqrtf multiarch implementations.
11731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11732         file.
11733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11734         file.
11735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11736         multiarch sqrt for PowerPC32.
11737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11738         file.
11739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11740         file.
11741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11742         multiarch sqrtf for PowerPC32.
11743
11744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11745         and llroundf multiarch implementations.
11746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11747         New file.
11748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11749         New file.
11750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11751         New file.
11752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11753         file: multiarch llround for PowerPC32.
11754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11755         file: multiarch llroundf for PowerPC32.
11756
11757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11758         multiarch PowerPC32 fpu implementations.
11759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11760         New file.
11761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11762         New file.
11763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11764         multiarch llrint for PowerPC32.
11765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11766         New file.
11767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11768         New file.
11769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11770         file.
11771
11772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11773
11774         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11775         file.
11776         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11777         file.
11778         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11779         file.
11780         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11781         multiarch wordcopy for PPC32.
11782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11783         wordcopy objects.
11784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11785         (__libc_ifunc_impl_list): Likewise.
11786         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11787         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11788         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11789         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11790         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11791         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11792
11793         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11795         file.
11796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11797         file.
11798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11799         file.
11800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11801         multiarch wcscpy for PPC32.
11802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11803         multiarch objects.
11804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11805         (__libc_ifunc_impl_list): Likewise.
11806         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11807         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11808         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11809         sysdeps/powerpc/power6/wcscpy.c.
11810
11811         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11813         file.
11814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11815         file.
11816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11817         file.
11818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11819         multiarch wcsrchr for PPC32.
11820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11821         multiarch objects.
11822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11823         (__libc_ifunc_impl_list): Likewise.
11824         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11825         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11826         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11827         sysdeps/powerpc/power6/wcsrchr.c.
11828
11829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11830         file.
11831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11832         file.
11833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11835         multiarch wcschr for PPc32.
11836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11837         multiarch objects.
11838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11839         (__libc_ifunc_impl_list): Likewise.
11840         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11841         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11842         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11843         sysdeps/powerpc/power6/wcschr.c.
11844
11845         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11846         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11847         file.
11848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11849         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11850         file: multiarch strchr for PPC32.
11851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11852         multiarch objects.
11853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11854         (__libc_ifunc_impl_list): Likewise.
11855
11856         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11857         name.
11858         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11859         file.
11860         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11861         file.
11862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11863         multiarch strchrnul for PPC32.
11864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11865         multiarch objects.
11866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11867         (__libc_ifunc_impl_list): Likewise.
11868
11869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11870         file.
11871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11872         multiarch strncasecmp for PPC32.
11873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11874         file.
11875         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11876         multiarch strncasecmp_l for PPC32.
11877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11878         strncasecmp multiarch objects.
11879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11880         (__libc_ifunc_impl_list): Likewise.
11881
11882         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11883         file.
11884         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11885         multiarch strncasecmp for PPC32.
11886         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11887         New file.
11888         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11889         multiarch strcasecmp_l for PPC32.
11890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11891         multiarch objects.
11892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11893         (__libc_ifunc_impl_list): Likewise.
11894
11895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11896         file.
11897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11898         file.
11899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11900         multiarch strncmp for PPC32.
11901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11902         multiarch objects.
11903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11904         (__libc_ifunc_impl_list): Likewise.
11905
11906         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11907         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11908         file.
11909         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11910         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11912         multiarch objects.
11913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11914         (__libc_ifunc_impl_list): Likewise.
11915
11916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11917         file.
11918         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11919         file.
11920         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11922         multiarch objects.
11923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11924         (__libc_ifunc_impl_list): Likewise.
11925
11926         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11927         file.
11928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11929         file.
11930         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11931         multiarch rawmemchr for PPC32.
11932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11933         multiarch objects.
11934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11935         (__libc_ifunc_impl_list): Likewise.
11936
11937         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11938         file.
11939         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11940         file.
11941         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11942         file: memrchr multiarch for PPC32.
11943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11944         multiarch objects.
11945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11946         (__libc_ifunc_impl_list): Likewise.
11947
11948         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11950         file.
11951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11952         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11953         multiarch memchr for PPC32.
11954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11955         multiarch objects.
11956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11957         (__libc_ifunc_impl_list): Likewise.
11958
11959         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11960         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11961         file.
11962         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11963         file.
11964         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11965         file: multiarch mempcpy for PPC32.
11966         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11967         multiarch objects.
11968         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11969         (__libc_ifunc_impl_list): Likewise.
11970
11971         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11972         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11974         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11975         multiarch bzero for PPC32.
11976         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11977         file.
11978         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11979         file.
11980         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11981         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11982         file: multiarch memset for PPC32.
11983         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11985         memset multiarch objects.
11986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11987         (__libc_ifunc_impl_list): Likewise.
11988
11989         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11990         file.
11991         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11992         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11993         memcmp for PPC32.
11994         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11996         multiarch objects.
11997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11998         (__libc_ifunc_impl_list): Likewise.
11999
12000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12003         file.
12004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12005         file.
12006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12007         file.
12008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12009         multiarch memcpy for PPC32.
12010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12011         multiarch objects.
12012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12013         (__libc_ifunc_impl_list): Likewise.
12014
12015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12016         support multiarch for POWER/PPC32.
12017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12018         Likewise.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12021         Implies file to make multiarch folder appers before the fpu and
12022         default folder for power4 configuration.
12023
12024 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12025
12026         * scripts/bench.pl: Append volatile keyword to type.
12027
12028 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12029
12030         * sysdeps/sh/sotruss-lib.c: New file.
12031         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12032
12033 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12034
12035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12036
12037 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12038
12039         [BZ #6810]
12040         * math/w_tgamma.c: Include <errno.h>.
12041         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12042         * math/w_tgammaf.c: Include <errno.h>.
12043         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12044         * math/w_tgammal.c: Include <errno.h>.
12045         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12046         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12047         underflow.  Add more tgamma tests.
12048         * math/auto-libm-test-out: Regenerated.
12049         * sysdeps/i386/fpu/libm-test-ulps: Update.
12050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12051
12052         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12053         sin, sinh, tan, tanh, tgamma, y0 and y1.
12054         * math/auto-libm-test-out: Regenerated.
12055         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12056         (TEST_COND_x86): Likewise.
12057         (M_E2l): Remove macro.
12058         (M_E3l): Likewise.
12059         (M_2_SQRT_PIl): Likewise.
12060         (M_SQRT_PIl): Likewise.
12061         (M_1_DIV_El): Likewise.
12062         (log_test_data): Use AUTO_TESTS_f_f.
12063         (log10_test_data): Likewise.
12064         (log1p_test_data): Likewise.
12065         (log2_test_data): Likewise.
12066         (sin_test_data): Likewise.
12067         (sin_tonearest_test_data): Likewise.
12068         (sin_towardzero_test_data): Likewise.
12069         (sin_downward_test_data): Likewise.
12070         (sin_upward_test_data): Likewise.
12071         (sinh_test_data): Likewise.
12072         (sinh_tonearest_test_data): Likewise.
12073         (sinh_towardzero_test_data): Likewise.
12074         (sinh_downward_test_data): Likewise.
12075         (sinh_upward_test_data): Likewise.
12076         (tan_test_data): Likewise.
12077         (tan_tonearest_test_data): Likewise.
12078         (tan_towardzero_test_data): Likewise.
12079         (tan_downward_test_data): Likewise.
12080         (tan_upward_test_data): Likewise.
12081         (tanh_test_data): Likewise.
12082         (tgamma_test_data): Likewise.
12083         (y0_test_data): Likewise.
12084         (y1_test_data): Likewise.
12085         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12086         (special_real_inputs): Add pi/4.
12087         * sysdeps/i386/fpu/libm-test-ulps: Update.
12088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12089
12090 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12091
12092         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12093         "longjmp_target" static probes.
12094         (__longjmp): Rename to __longjmp_symbol.
12095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12096         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12097         on which longjmp to generate.
12098         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12099         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12100         probe.
12101         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12102         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12103         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12104         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12105         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12106         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12108         __longjmp_symbol based on which __longjmp to generate.
12109         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12110         probe.
12111         (setjmp): Rename to setjmp_symbol.
12112         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12113         (_setjmp): Rename to _setjmp_symbol.
12114         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12115         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12116         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12117         which setjmp to generate.
12118         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12119         "longjmp_target" static probes.
12120
12121 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12122
12123         * benchtests/README: Add note about output arguments.
12124         * benchtests/bench-sincos.c: Remove file.
12125         * benchtests/sincos-inputs: New file.
12126         * scripts/bench.pl: Identify output arguments and define
12127         static variables for them.
12128
12129         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12130
12131         [BZ #15941]
12132         * Makefile (INSTALL): Add install-plain.texi as the primary
12133         dependency.
12134         * manual/install-plain.texi: New file.
12135         * manual/install.texi: Include node directive only for
12136         non-plaintext output.
12137
12138 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12139
12140         * stdlib/longlong.h: Update from GCC.
12141
12142         [BZ #6807]
12143         [BZ #15901]
12144         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12145         * math/w_j0f.c (y0f): Likewise.
12146         * math/w_j0l.c (__y0l): Likewise.
12147         * math/w_j1.c (y1): Likewise.
12148         * math/w_j1f.c (y1f): Likewise.
12149         * math/w_j1l.c (__y1l): Likewise
12150         * math/w_jn.c (yn): Likewise.
12151         * math/w_jnf.c (ynf): Likewise.
12152         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12153         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12154         value for Bessel function domain errors outside _SVID_ mode.
12155         Adjust sign of return value for yn (negative integer, 0).
12156         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12157         by zero in return for negative x and set sign appropriately for
12158         negative n.
12159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12161         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12162         expectations in error cases.
12163         (y1_test_data): Likewise.
12164         (yn_test_data): Likewise.
12165         * sysdeps/i386/fpu/libm-test-ulps: Update.
12166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12167
12168 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12169
12170         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12171         "64" to "64-v1".  Add "64-v2".
12172         (abi-64-options): Rename to ...
12173         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12174         (abi-64-condition): Rename to ...
12175         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12176         (abi-64-ld-soname): Rename to ...
12177         (abi-64-v1-ld-soname): ... this.
12178         (abi-64-v2-options): Define.
12179         (abi-64-v2-condition): Likewise.
12180         (abi-64-v2-ld-soname): Likewise.
12181         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12182         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12186
12187 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12188             Alan Modra  <amodra@gmail.com>
12189
12190         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12191         New versions for use with the ELFv2 ABI.
12192         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12193         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12194         declaration.
12195         (struct La_ppc64v2_retval): Likewise.
12196         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12197         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12198         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12199         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12200         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12201         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12202         Do not save or restore CR.
12203         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12204         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12205         return values for ELFv2 ABI.  Fix location of FPR return registers.
12206         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12207         updated values for _CALL_ELF == 2.
12208         (La_regs, La_retval, int_retval): Likewise.
12209
12210 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12211
12212         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12213         (FRAME_MIN_SIZE_PARM): Likewise.
12214         (FRAME_BACKCHAIN): Likewise.
12215         (FRAME_CR_SAVE): Likewise.
12216         (FRAME_LR_SAVE): Likewise.
12217         (FRAME_TOC_SAVE): Likewise.
12218         (FRAME_PARM_SAVE): Likewise.
12219         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12220         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12221         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12222         (call_mcount_parm_offset): New macro.
12223         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12224         (PROF): Use symbolic stack frame offsets.
12225         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12226         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12227         Redefine in terms of FRAME_MIN_SIZE.
12228         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12229         (_dl_profile_resolve): Likewise.  Update comment.
12230         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12231         symbols stack frame offsets.
12232         (__sigsetjmp): Likewise.
12233         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12234         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12235         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12236         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12237
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12239         (FRAME_BACKCHAIN): Remove.
12240         (FRAME_CR_SAVE): Likewise.
12241         (FRAME_LR_SAVE): Likewise.
12242         (FRAME_COMPILER_DW): Likewise.
12243         (FRAME_LINKER_DW): Likewise.
12244         (FRAME_TOC_SAVE): Likewise.
12245         (FRAME_PARM_SAVE): Likewise.
12246         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12247         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12248         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12250         (CHECK_SP): Use symbolic stack frame offsets.
12251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12252         zone" instead of caller's parameter save area for temp storage.
12253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12254         Likewise.  Also, use symbolic stack frame offsets.
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12256         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12257         our own stack frame instead of the caller's.
12258         (__socket): Use symbolic stack frame offsets.
12259
12260 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12261             Alan Modra  <amodra@gmail.com>
12262
12263         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12264         Define.
12265         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12266         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12267         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12268         New function.
12269         (elf_machine_fixup_plt): Call it.
12270         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12271         reloc arguments.
12272         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12273         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12274         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12275         r2 before calling target.
12276
12277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12278             Alan Modra  <amodra@gmail.com>
12279
12280         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12281         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12282         versions of macros to support ELFv2 ABI.
12283         (LOCALENTRY): New macro.
12284         (ENTRY, EALIGN): Use it.
12285         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12286         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12287         fall through into ENTRY entry point.
12288         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12289         Only define if _CALL_ELF != 2.
12290
12291         (elf_machine_matches_host): Verify ABI version matches.
12292         (RTLD_START): Use LOCALENTRY.
12293         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12294         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12295         (PLT_ENTRY_WORDS): New macro.
12296         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12297         (elf_machine_runtime_setup): Support ELFv2 ABI.
12298         (elf_machine_fixup_plt): Likewise.
12299         (elf_machine_plt_conflict): Likewise.
12300         (resolve_ifunc): Likewise.
12301         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12302         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12305         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12307         (makecontext): Support ELFv2 ABI.
12308         * elf/elf.h (EF_PPC64_ABI): Define.
12309
12310 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12311
12312         * sysdeps/powerpc/powerpc64/sysdep.h
12313         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12314         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12315         (ENTRY) [ASSEMBLER]: ... but instead here ...
12316         (EALIGN) [ASSEMBLER]: ... and here.
12317         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12318         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12319         (ENTRY_2) [!ASSEMBLER]: Use it.
12320         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12321         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12322         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12323         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12324         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12326         Use PPC64_LOAD_FUNCPTR.
12327
12328         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12329
12330 2013-12-04  Alan Modra  <amodra@gmail.com>
12331
12332         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12333         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12334         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12335         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12336
12337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12338         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12339         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12340         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12341         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12342         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12343
12344 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12345
12346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12347         (__makecontext): Fix incorrect CFI when backtracing out of
12348         context created via makecontext.
12349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12350         (__setcontext): Fix incorrect CFI during switch to new context.
12351         (__novec_setcontext): Likewise.
12352
12353 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12354
12355         [BZ #4772]
12356         * time/strptime_l.c (__strptime_internal): Allow modifiers
12357         in strptime.
12358         * time/tst-strptime.c (day_tests): Add testcase.
12359
12360 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12361
12362         * scripts/bench.pl: Skip over blank lines.
12363
12364 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12365
12366         [BZ #926]
12367         * manual/time.texi (Calendar Time): Clarify what timezone functions
12368         use.
12369
12370 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12371
12372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12373
12374 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12375
12376         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12377         implementation.
12378         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12379         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12380         * debug/memset_chk.c (__memset_chk): Likewise.
12381         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12382         * debug/strncpy_chk.c: Likewise.
12383
12384 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12385
12386         [BZ #15268]
12387         [BZ #15425]
12388         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12389         (__ieee754_exp): For possibly underflowing results, check size of
12390         result and force underflow exception if required.
12391         * math/auto-libm-test-in: Add more tests of exp.
12392         * math/auto-libm-test-out: Regenerated.
12393         * sysdeps/i386/fpu/libm-test-ulps: Update.
12394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395
12396         [BZ #16283]
12397         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12398         * math/w_exp2f.c (__exp2f): Likewise.
12399         * math/w_exp2l.c (__exp2l): Likewise.
12400         * math/auto-libm-test-in: Do not allow missing errno on exp2
12401         underflow.
12402         * math/auto-libm-test-out: Regenerated.
12403
12404 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12405
12406         [BZ #16274]
12407         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12408         handle filename validation.
12409         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12410         (do_open): Delete.
12411
12412 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12413
12414         [BZ #6786]
12415         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12416         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12417         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12418         <float.h>.
12419         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12420         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12421         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12423         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12424         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12425         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12426         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12427         Add more erfc tests.
12428         * math/auto-libm-test-out: Regenerated.
12429         * sysdeps/i386/fpu/libm-test-ulps: Update.
12430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12431
12432         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12433         exp2, expm1, j0 and j1.
12434         * math/auto-libm-test-out: Regenerated.
12435         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12436         (erfc_test_data): Likewise.
12437         (exp_test_data): Likewise.
12438         (exp_tonearest_test_data): Likewise.
12439         (exp_towardzero_test_data): Likewise.
12440         (exp_downward_test_data): Likewise.
12441         (exp_upward_test_data): Likewise.
12442         (exp10_test_data): Likewise.
12443         (exp2_test_data): Likewise.
12444         (expm1_test_data): Likewise.
12445         (j0_test_data): Likewise.
12446         (j1_test_data): Likewise.
12447         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12448         (input_flag_type): Add flag_xfail_rounding.
12449         (input_flags): Add xfail-rounding.
12450         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12451         (output_for_one_input_case): Handle flag_xfail_rounding.
12452         * sysdeps/i386/fpu/libm-test-ulps: Update.
12453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454
12455 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12456
12457         [BZ #16289]
12458         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12459         division by 0.
12460
12461 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12462
12463         [BZ #16195]
12464         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12465         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12466         (STAP_PROBE0): New macro.
12467         (STAP_PROBE1): Likewise.
12468         (STAP_PROBE2): Likewise.
12469         (STAP_PROBE3): Likewise.
12470         (STAP_PROBE4): Likewise.
12471
12472 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12473
12474         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12475
12476 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12477
12478         * benchtests/Makefile (bench): Add sqrt.
12479         (LDLIBS-bench-sqrt): New.
12480         * benchtests/sqrt-input: New.
12481
12482 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12483
12484         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12485         (GAIH_EAI): Likewise.
12486         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12487         (gaih_inet): Likewise.
12488         (getaddrinfo): Don't use GAIH_EAI.
12489
12490         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12491         (struct gaih): Remove definition.
12492
12493 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12494
12495         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12496         Use HERRNOP directly.
12497
12498 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12499
12500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12501
12502 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12503
12504         * math/gen-auto-libm-tests.c (test_functions): Add more
12505         single-argument functions.
12506         (special_fill_pi_2): New function.
12507         (special_fill_minus_pi_2): Likewise.
12508         (special_fill_pi_6): Likewise.
12509         (special_fill_minus_pi_6): Likewise.
12510         (special_fill_pi_3): Likewise.
12511         (special_fill_2pi_3): Likewise.
12512         (special_fill_e): Likewise.
12513         (special_fill_1_e): Likewise.
12514         (special_fill_e_minus_1): Likewise.
12515         (special_real_inputs): Add more special inputs.
12516         (output_for_one_input_case): Do not require ERANGE on underflow to
12517         zero if round-to-nearest result does not underflow to zero, unless
12518         exact results required.
12519         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12520         atan, atanh, cbrt, cos and cosh.
12521         * math/auto-libm-test-out: Regenerated.
12522         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12523         (acos_tonearest_test_data): Likewise.
12524         (acos_towardzero_test_data): Likewise.
12525         (acos_downward_test_data): Likewise.
12526         (acos_upward_test_data): Likewise.
12527         (acosh_test_data): Likewise.
12528         (asin_test_data): Likewise.
12529         (asin_tonearest_test_data): Likewise.
12530         (asin_towardzero_test_data): Likewise.
12531         (asin_upward_test_data): Likewise.
12532         (asinh_test_data): Likewise.
12533         (atan_test_data): Likewise.
12534         (atanh_test_data): Likewise.
12535         (cbrt_test_data): Likewise.
12536         (cos_test_data): Likewise.
12537         (cos_tonearest_test_data): Likewise.
12538         (cos_towardzero_test_data): Likewise.
12539         (cos_downward_test_data): Likewise.
12540         (cos_upward_test_data): Likewise.
12541         (cosh_test_data): Likewise.
12542         (cosh_tonearest_test_data): Likewise.
12543         (cosh_towardzero_test_data): Likewise.
12544         (cosh_downward_test_data): Likewise.
12545         (cosh_upward_test_data): Likewise.
12546         * sysdeps/i386/fpu/libm-test-ulps: Update.
12547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12548
12549 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12550
12551         [BZ #6787]
12552         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12553         * math/w_exp10f.c (__exp10f): Likewise.
12554         * math/w_exp10l.c (__exp10l): Likewise.
12555         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12556         errno settings in existing tests.
12557
12558         [BZ #14032]
12559         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12560         precision control set to double precision.
12561         * sysdeps/i386/fpu/w_sqrt.c: New file.
12562         * math/auto-libm-test-in: Add more tests.
12563         * math/auto-libm-test-out: Update.
12564
12565         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12566         (sqrt_test_tonearest): New function.
12567         (sqrt_towardzero_test_data): New variable.
12568         (sqrt_test_towardzero): New function.
12569         (sqrt_downward_test_data): New variable.
12570         (sqrt_test_downward): New function.
12571         (sqrt_upward_test_data): New variable.
12572         (sqrt_test_upward): New function.
12573         (main): Call the new functions.
12574
12575         * math/gen-auto-libm-tests.c: New file.
12576         * math/auto-libm-test-in: Likewise.
12577         * math/auto-libm-test-out: New generated file.
12578         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12579         variables.
12580         (%beautify): Add generated representations of zero.
12581         (top level): Set $auto_input and call parse_auto_input.
12582         (beautify): Remove trailing "f" from hex float constants.
12583         (parse_args): Handle XFAIL_TEST.
12584         (convert_condition): New function.
12585         (or_value): Likewise.
12586         (or_cond_value): Likewise.
12587         (generate_testfile): Handle AUTO_TESTS_* lines.
12588         (parse_auto_input): New function.
12589         * math/libm-test.inc (XFAIL_TEST): New macro.
12590         (ERRNO_UNCHANGED): Update value.
12591         (ERRNO_EDOM): Likewise.
12592         (ERRNO_ERANGE): Likewise.
12593         (IGNORE_RESULT): Likewise.
12594         (TEST_COND_flt_32): New macro.
12595         (TEST_COND_dbl_64): Likewise.
12596         (TEST_COND_ldbl_96_intel): Likewise.
12597         (TEST_COND_ldbl_96_m68k): Likewise.
12598         (TEST_COND_ldbl_128): Likewise.
12599         (TEST_COND_ldbl_128ibm): Likewise.
12600         (TEST_COND_long32): Likewise.
12601         (TEST_COND_long64): Likewise.
12602         (TEST_COND_before_rounding): Likewise.
12603         (TEST_COND_after_rounding): Likewise.
12604         (enable_test): Handle XFAIL_TEST flag.
12605         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12606         with finite results.
12607         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12608         auto-libm-test-out.
12609
12610 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12611             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12612
12613         [BZ #16214]
12614         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12615         __tls_get_addr_internal instead of __tls_get_offset in order to
12616         avoid GOT pointer dependency.  Make rtld export
12617         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12618         __tls_get_addr since we are a __tls_get_offset platform.
12619         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12620         GOT pointer being set up before.
12621         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12622
12623 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12624
12625         * manual/math.texi (Errors in Math Functions): Document accuracy
12626         goals.
12627
12628         [BZ #15004]
12629         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12630         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12631         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12632         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12633         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12634         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12635         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12636         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12637         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12638         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12639         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12641         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12642         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12643         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12644         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12645
12646         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12647         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12648         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12649         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12650         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12651         Likewise.
12652         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12653         Likewise.
12654         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12655         Likewise.
12656         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12657         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12658         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12659         atomic-feupdateenv and flt-rounds.
12660         * sysdeps/powerpc/nofpu/Versions (libc): Add
12661         __atomic_feholdexcept, __atomic_feclearexcept,
12662         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12663         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12664         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12665         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12666         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12667         here.
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12669         Update.
12670
12671         * manual/arith.texi (FP Exceptions): Document that exceptions may
12672         not be raised when matherr is used.
12673         (Math Error Reporting): Document overflow in directed rounding
12674         modes.  Document that errno may not be set when finite values are
12675         returned on overflow.  Document intent to set errno on underflow
12676         only for underflow to zero.
12677
12678         [BZ #16271]
12679         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12680         round-to-nearest then adjust result for other rounding modes.
12681         * include/fenv.h (fegetround): Use libm_hidden_proto.
12682         * math/fegetround.c (fegetround): Use libm_hidden_def.
12683         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12684         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12685         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12686         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12687         Likewise.
12688         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12689         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12690         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12691         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12692
12693 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12694
12695         [BZ #16077]
12696         * nss/Versions (libnss_files): Add
12697         _nss_files_gethostbyname3_r.
12698         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12699         New function.
12700         (HOST_DB_LOOKUP): Remove macro.
12701         (_nss_files_gethostbyname_r): Implement function without the
12702         HOST_DB_LOOKUP macro.
12703         (_nss_files_gethostbyname2_r): Likewise.
12704
12705 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12706
12707         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12708
12709 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12710
12711         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12712         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12713         warning.
12714
12715 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12716
12717         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12718         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12719         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12720         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12721         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12722         __fe_nomask_env_priv and attribute_hidden.
12723         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12724         (libc_feupdateenv_test_ppc): Likewise.
12725         (libc_feresetround_ppc): Likewise.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12727         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12728         compat_symbol macro.
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12730         (__fe_nomask_env): Likewise.
12731         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12732
12733 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12734
12735         * string/Makefile: Remove ifunc tests.
12736         * string/test-string.h: Define TEST_IFUNC.
12737         * string/test-bcopy-ifunc.c: Remove.
12738         * string/test-bzero-ifunc.c: Likewise.
12739         * string/test-memccpy-ifunc.c: Likewise.
12740         * string/test-memchr-ifunc.c: Likewise.
12741         * string/test-memcmp-ifunc.c: Likewise.
12742         * string/test-memcpy-ifunc.c: Likewise.
12743         * string/test-memmem-ifunc.c: Likewise.
12744         * string/test-memmove-ifunc.c: Likewise.
12745         * string/test-mempcpy-ifunc.c: Likewise.
12746         * string/test-memrchr-ifunc.c: Likewise.
12747         * string/test-memset-ifunc.c: Likewise.
12748         * string/test-rawmemchr-ifunc.c: Likewise.
12749         * string/test-stpcpy-ifunc.c: Likewise.
12750         * string/test-stpncpy-ifunc.c: Likewise.
12751         * string/test-strcasecmp-ifunc.c: Likewise.
12752         * string/test-strcasestr-ifunc.c: Likewise.
12753         * string/test-strcat-ifunc.c: Likewise.
12754         * string/test-strchr-ifunc.c: Likewise.
12755         * string/test-strchrnul-ifunc.c: Likewise.
12756         * string/test-strcmp-ifunc.c: Likewise.
12757         * string/test-strcpy-ifunc.c: Likewise.
12758         * string/test-strcspn-ifunc.c: Likewise.
12759         * string/test-strlen-ifunc.c: Likewise.
12760         * string/test-strncasecmp-ifunc.c: Likewise.
12761         * string/test-strncat-ifunc.c: Likewise.
12762         * string/test-strncmp-ifunc.c: Likewise.
12763         * string/test-strncpy-ifunc.c: Likewise.
12764         * string/test-strnlen-ifunc.c: Likewise.
12765         * string/test-strpbrk-ifunc.c: Likewise.
12766         * string/test-strrchr-ifunc.c: Likewise.
12767         * string/test-strspn-ifunc.c: Likewise.
12768         * string/test-strstr-ifunc.c: Likewise.
12769
12770 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12771
12772         * benchtests/Makefile: Remove ifunc tests.
12773         * benchtests/bench-string.h: Define TEST_IFUNC.
12774         * benchtests/bench-bcopy-ifunc.c: Remove.
12775         * benchtests/bench-bzero-ifunc.c: Likewise.
12776         * benchtests/bench-memccpy-ifunc.c: Likewise.
12777         * benchtests/bench-memchr-ifunc.c: Likewise.
12778         * benchtests/bench-memcmp-ifunc.c: Likewise.
12779         * benchtests/bench-memcpy-ifunc.c: Likewise.
12780         * benchtests/bench-memmem-ifunc.c: Likewise.
12781         * benchtests/bench-memmove-ifunc.c: Likewise.
12782         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12783         * benchtests/bench-memrchr-ifunc.c: Likewise.
12784         * benchtests/bench-memset-ifunc.c: Likewise.
12785         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12786         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12787         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12788         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12789         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12790         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12791         * benchtests/bench-strcat-ifunc.c: Likewise.
12792         * benchtests/bench-strchr-ifunc.c: Likewise.
12793         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12794         * benchtests/bench-strcmp-ifunc.c: Likewise.
12795         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12796         * benchtests/bench-strcpy-ifunc.c: Likewise.
12797         * benchtests/bench-strcspn-ifunc.c: Likewise.
12798         * benchtests/bench-strlen-ifunc.c: Likewise.
12799         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12800         * benchtests/bench-strncat-ifunc.c: Likewise.
12801         * benchtests/bench-strncmp-ifunc.c: Likewise.
12802         * benchtests/bench-strncpy-ifunc.c: Likewise.
12803         * benchtests/bench-strnlen-ifunc.c: Likewise.
12804         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12805         * benchtests/bench-strrchr-ifunc.c: Likewise.
12806         * benchtests/bench-strsep-ifunc.c: Likewise.
12807         * benchtests/bench-strspn-ifunc.c: Likewise.
12808         * benchtests/bench-strstr-ifunc.c: Likewise.
12809
12810 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12811
12812         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12813
12814 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12815
12816         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12817         * rt/aio.h: Likewise.
12818         * sysdeps/gnu/bits/utmp.h: Likewise.
12819         * sysdeps/gnu/bits/utmpx.h: Likewise.
12820         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12821         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12822         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12823         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12824         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12825         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12826         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12827         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12828         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12829         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12830         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12831         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12832         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12834         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12835         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12836         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12837         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12838         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12839         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12840         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12841         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12842         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12843         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12844         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12846         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12847         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12848         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12849         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12850         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12851         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12852         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12853         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12854         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12855         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12856         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12857         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12858         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12859         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12860         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12861         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12862
12863 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12864
12865         [BZ #16245]
12866         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12867         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12868
12869 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12870
12871         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12872         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12873         Likewise.
12874
12875 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12876
12877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12878         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12879         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12880         (__fesetround): Remove define.
12881         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12882         rounding and exceptions handling.
12883         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12884         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12885         (__fe_nomask_env): Likewise.
12886         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12887         __fegetround instead of fegetround.
12888         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12889         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12890
12891 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12892
12893         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12894         it's there.
12895
12896         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12897
12898 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12899
12900         [BZ #11157]
12901         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12902         (encrypt_r): Likewise.
12903         * malloc/obstack.h (obstack_free): Likewise.
12904         * posix/unistd.h (encrypt): Likewise.
12905
12906 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12907
12908         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12909         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12910         DL_CALL_DT_FINI() that call the functions directly.
12911         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12912         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12913         * elf/dl-fini.c: Likewise.
12914
12915 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12916
12917         * malloc/hooks.c (memalign_check): Add alignment rounding.
12918         * malloc/malloc.c (_mid_memalign): New function.
12919         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12920         Implement by calling _mid_memalign.
12921         * manual/probes.texi (Memory Allocation Probes): Remove
12922         memory_valloc_retry and memory_pvalloc_retry.
12923
12924 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12925
12926         * locale/programs/locarchive.c (open_archive): Add const
12927         qualifier to ARCHIVEFNAME and copy default fname to
12928         DEFAULT_FNAME.
12929
12930         [BZ #15601]
12931         * libio/tst-widetext.input: Rename Oriya to Odia.
12932         * locale/iso-639.def: Likewise.
12933
12934         * manual/probes.texi (Mathematical Function Probes): Add
12935         documentation for sin, cos, asin and acos probes.
12936         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12937         (__sin32): Add slowasin probe.
12938         (__cos32): Add slowacos probe.
12939         (__mpsin): Add slowsin probe.
12940         (__mpcos): Add slowcos probe.
12941
12942 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12943
12944         [BZ #15483]
12945         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12946         thread-local __sim_exceptions_thread and global
12947         __sim_exceptions_global.
12948         (__sim_disabled_exceptions): Change to thread-local
12949         __sim_disabled_exceptions_thread and global
12950         __sim_disabled_exceptions_global.
12951         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12952         and global __sim_round_mode_global.
12953         (__simulate_exceptions): Use thread-local floating-point state and
12954         set global state from it as needed.
12955         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12956         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12957         __sim_round_mode_thread.
12958         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12959         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12960         and global __sim_exceptions_global.
12961         (__sim_disabled_exceptions): Change to thread-local
12962         __sim_disabled_exceptions_thread and global
12963         __sim_disabled_exceptions_global.
12964         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12965         and global __sim_round_mode_global.
12966         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12967         (SIM_SET_GLOBAL): Likewise.
12968         * sysdeps/powerpc/soft-fp/sfp-machine.h
12969         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12970         __sim_round_mode_thread.
12971         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12972         __sim_disabled_exceptions_thread.
12973         (__sim_exceptions): Change to __sim_exceptions_thread.
12974         (__sim_disabled_exceptions): Change to
12975         __sim_disabled_exceptions_thread.
12976         (__sim_round_mode): Change to __sim_round_mode_thread.
12977         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12978         thread-local floating-point state and set global state from it as
12979         needed.
12980         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12981         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12982         (__sim_disabled_exceptions): Remove extern declaration.
12983         (feenableexcept): Use thread-local floating-point state and set
12984         global state from it as needed.
12985         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12986         extern declaration.
12987         (__sim_disabled_exceptions): Likewise.
12988         (__sim_round_mode): Likewise.
12989         (__fegetenv): Use thread-local floating-point state.
12990         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12991         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12992         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12993         floating-point state and set global state from it as needed.
12994         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12995         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12996         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12997         Likewise.
12998         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12999         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13000         Likewise.
13001         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13002         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13003         Use __sim_round_mode_thread.
13004         * math/test-fenv-tls.c: New file.
13005         * math/Makefile (tests): Add test-fenv-tls.
13006         ($(objpfx)test-fenv-tls): Depend on
13007         $(common-objpfx)nptl/libpthread.so.
13008
13009 2013-11-19  Andreas Schwab  <schwab@suse.de>
13010
13011         * locale/programs/locale.c (show_info): Decode wordarray elements.
13012         * locale/categories.def (LC_MONETARY): Add element for
13013         _NL_MONETARY_CRNCYSTR.
13014         * locale/C-monetary.c (conversion_rate): New variable.
13015         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13016         element.
13017
13018 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13019
13020         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13021         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13022
13023 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13024
13025         * elf/Makefile (tst-auxv): New test.
13026         * elf/tst-auxv.c: New
13027         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13028
13029 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13030
13031         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13032         (hidden_proto): Caller changed.
13033         (hidden_tls_proto): New macro.
13034         (libc_hidden_tls_proto): Likewise.
13035         (rtld_hidden_tls_proto): Likewise.
13036         (libm_hidden_tls_proto): Likewise.
13037         (libresolv_hidden_tls_proto): Likewise.
13038         (librt_hidden_tls_proto): Likewise.
13039         (libdl_hidden_tls_proto): Likewise.
13040         (libnss_files_hidden_tls_proto): Likewise.
13041         (libnsl_hidden_tls_proto): Likewise.
13042         (libnss_nisplus_hidden_tls_proto): Likewise.
13043         (libutil_hidden_tls_proto): Likewise.
13044
13045 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13046
13047         [BZ #10253]
13048         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13049         (decompose_rpath): Defer expansion to fillin_rpath.
13050         (_dl_init_paths): Pass linkmap to fillin_rpath.
13051
13052 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13053
13054         * benchtests/Makefile: Add strsep.
13055         * benchtests/bench-strsep.c: New file: strsep benchtest.
13056         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13057
13058 2013-11-18  Andreas Schwab  <schwab@suse.de>
13059
13060         * locale/programs/locale.c (show_info) [case byte]: Check for
13061         '\377' instead of '\177'.
13062         * locale/C-monetary.c (not_available): Always use "\377".
13063         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13064         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13065         detect unavailable sign_posn locale elements.
13066         * locale/localeconv.c (__localeconv): For grouping and
13067         mon_grouping handle "\177" and "\377" like no grouping.
13068         (INT_ELEM): New macro.  Use it to set all numeric members.
13069         * locale/programs/ld-monetary.c (monetary_read)
13070         <tok_mon_grouping>: Normalize single -1 to the empty string.
13071         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13072         Likewise.
13073
13074 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13075
13076         [BZ #16055]
13077         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13078         when we match (nil).
13079         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13080
13081 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13082
13083         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13084         (NO_TEST_INLINE): Update value.
13085         (ERRNO_UNCHANGED): Likewise.
13086         (ERRNO_EDOM): Likewise.
13087         (ERRNO_ERANGE): Likewise.
13088         (IGNORE_RESULT): Likewise.
13089         (check_float_internal): Check signs of NaN results if
13090         TEST_NAN_SIGN used.
13091         (check_complex): Pass TEST_NAN_SIGN flag through to second
13092         check_float_internal call.
13093         (copysign_test_data): Add tests with quiet NaNs as second
13094         argument.  Use TEST_NAN_SIGN.
13095         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13096         TEST_NAN_SIGN.
13097         (signbit_test_data): Add tests of quiet NaN argument.
13098         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13099
13100         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13101         $ignore_result.
13102         (parse_args): Handle function results specified as IGNORE.
13103         * math/libm-test.inc (IGNORE_RESULT): New macro.
13104         (check_float_internal): Do not check numerical result if flag
13105         IGNORE_RESULT set.
13106         (check_complex): Pass through IGNORE_RESULT to second
13107         check_float_internal call.
13108         (check_int): Do not check numerical result if flag IGNORE_RESULT
13109         set.
13110         (check_long): Likewise.
13111         (check_bool): Likewise.
13112         (check_longlong): Likewise.
13113         (lrint_test_data): Add tests of infinite and NaN arguments.
13114         (lrint_tonearest_test_data): Likewise.
13115         (lrint_towardzero_test_data): Likewise.
13116         (lrint_downward_test_data): Likewise.
13117         (lrint_upward_test_data): Likewise.
13118         (llrint_test_data): Likewise.
13119         (llrint_tonearest_test_data): Likewise.
13120         (llrint_towardzero_test_data): Likewise.
13121         (llrint_downward_test_data): Likewise.
13122         (llrint_upward_test_data): Likewise.
13123         (lround_test_data): Likewise.
13124         (llround_test_data): Likewise.
13125
13126         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13127         (ERRNO_UNCHANGED): Update value.
13128         (ERRNO_EDOM): Likewise.
13129         (ERRNO_ERANGE): Likewise.
13130         (NO_TEST_INLINE_FLOAT): New macro.
13131         (NO_TEST_INLINE_DOUBLE): Likewise.
13132         (enable_test): New function.
13133         (RUN_TEST_f_f): Check enable_test before running test.
13134         (RUN_TEST_2_f): Likewise.
13135         (RUN_TEST_fff_f): Likewise.
13136         (RUN_TEST_c_f): Likewise.
13137         (RUN_TEST_f_f1): Likewise.
13138         (RUN_TEST_fF_f1): Likewise.
13139         (RUN_TEST_fI_f1): Likewise.
13140         (RUN_TEST_ffI_f1): Likewise.
13141         (RUN_TEST_c_c): Likewise.
13142         (RUN_TEST_cc_c): Likewise.
13143         (RUN_TEST_f_i): Likewise.
13144         (RUN_TEST_f_i_tg): Likewise.
13145         (RUN_TEST_ff_i_tg): Likewise.
13146         (RUN_TEST_f_b): Likewise.
13147         (RUN_TEST_f_b_tg): Likewise.
13148         (RUN_TEST_f_l): Likewise.
13149         (RUN_TEST_f_L): Likewise.
13150         (RUN_TEST_fFF_11): Likewise.
13151         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13152         conditionals.
13153         (cosh_test_data): Likewise.
13154         (exp_test_data): Likewise.
13155         (expm1_test_data): Likewise.
13156         (hypot_test_data): Likewise.
13157         (pow_test_data): Likewise.
13158         (sinh_test_data): Likewise.
13159         (tanh_test_data): Likewise.
13160         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13161         flags argument.
13162
13163         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13164         tests with quiet NaN input and output.
13165         (acosh_test_data): Likewise.
13166         (asin_test_data): Likewise.
13167         (asinh_test_data): Likewise.
13168         (atan_test_data): Likewise.
13169         (atanh_test_data): Likewise.
13170         (atan2_test_data): Likewise.
13171         (cbrt_test_data): Likewise.
13172         (cos_test_data): Likewise.
13173         (cosh_test_data): Likewise.
13174         (erf_test_data): Likewise.
13175         (erfc_test_data): Likewise.
13176         (exp_test_data): Likewise.
13177         (exp10_test_data): Likewise.
13178         (exp2_test_data): Likewise.
13179         (expm1_test_data): Likewise.
13180         (hypot_test_data): Likewise.
13181         (j0_test_data): Likewise.
13182         (j1_test_data): Likewise.
13183         (jn_test_data): Likewise.
13184         (lgamma_test_data): Likewise.
13185         (log_test_data): Likewise.
13186         (log10_test_data): Likewise.
13187         (log1p_test_data): Likewise.
13188         (log2_test_data): Likewise.
13189         (pow_test_data): Likewise.
13190         (scalb_test_data): Likewise.
13191         (sin_test_data): Likewise.
13192         (sincos_test_data): Likewise.
13193         (sinh_test_data): Likewise.
13194         (tan_test_data): Likewise.
13195         (tanh_test_data): Likewise.
13196         (tgamma_test_data): Likewise.
13197         (y0_test_data): Likewise.
13198         (y1_test_data): Likewise.
13199         (yn_test_data): Likewise.
13200
13201         [BZ #16167]
13202         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13203         argument being NaN and avoid computations with second argument in
13204         that case.
13205         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13206         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13207         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13208
13209 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13210
13211         * locale/iso-639.def: Add Chitwani Tharu (the).
13212
13213 2013-11-14  Andreas Schwab  <schwab@suse.de>
13214
13215         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13216         word instead of empty string.
13217
13218 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13219
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13221         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13223         (__fe_nomask_env): Likewise.
13224
13225 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13226
13227         * benchtests/bench-timing.h: Include time.h.
13228
13229 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13230
13231         [BZ #15997]
13232         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13233         to 3.4.0 for x32.
13234         * sysdeps/unix/sysv/linux/configure: Regenerated.
13235
13236 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13237
13238         [BZ #16151]
13239         * stdlib/strtod_l.c (round_and_return): Do not consider
13240         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13241         exponent one less than half the least subnormal exponent.
13242         * stdlib/test-strtod-round-data: Add more tests.
13243         * stdlib/tst-strtod-round.c (tests): Regenerated.
13244
13245 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246
13247         [BZ #14143]
13248         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13249         (__fe_mask_env): Likewise.
13250         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13251         libm_hidden_proto and add function prototype.
13252         (__fe_mask_env): Add function prototype.
13253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13254         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13256         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13258         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13259
13260 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13261
13262         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13263         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13264
13265 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13266
13267         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13268         of htab_find_slot().
13269
13270 2013-11-11  David S. Miller  <davem@davemloft.net>
13271
13272         [BZ #16150]
13273         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13274         symbol in the non-vis3 case in static builds.
13275         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13276         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13277         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13278         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13279
13280 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13281
13282         [BZ #387]
13283         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13284         it is empty.
13285
13286 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13287
13288         * benchtests/Makefile: Add bench-strtod.
13289         * benchtests/bench-strtod.c: New file: strtod benchtest
13290
13291 2013-11-11  Andreas Schwab  <schwab@suse.de>
13292
13293         [BZ #16153]
13294         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13295         terminating NUL in key length.
13296
13297 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13298
13299         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13300         Add artificial ODP entry for vDSO symbol for PPC64.
13301         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13302         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13303
13304 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13305
13306         [BZ #15374]
13307         * nss/getent.c (services_keys): Recognize services starting with digit.
13308
13309 2013-11-06  David S. Miller  <davem@davemloft.net>
13310
13311         [BZ #15985]
13312         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13313         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13314
13315 2013-11-06  Will Newton  <will.newton@linaro.org>
13316
13317         * manual/memory.texi (Malloc Examples): Remove register
13318         keyword from examples.
13319
13320 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13321
13322         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13323
13324 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13325
13326         [BZ #6981]
13327         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13328         depending on [__GCC_IEC_559 > 0].
13329         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13330         depending on [__GCC_IEC_559_COMPLEX > 0].
13331
13332 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13333
13334         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13335         to iso-639.def.
13336
13337 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13338
13339         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13340
13341 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13342
13343         [BZ #16112]
13344         * malloc/malloc (malloc_info): Do not handle first bin as
13345         special case.
13346
13347 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13348
13349         * locale/iso-639.def: Add Central Nahuatl (nhn).
13350
13351 2013-11-01  Bruno Haible  <bruno@clisp.org>
13352
13353         [BZ #7003]
13354         * manual/math.texi (BSD Random): Specify range upper bound as
13355         in POSIX.
13356
13357 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13358
13359         * locale/iso-639.def: Add Meadow Mari (mhr).
13360
13361 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13362
13363         [BZ #14752], [BZ #15763]
13364         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13365         Validate name.
13366         * rt/tst_shm.c: Add test for escaping directory.
13367
13368 2013-10-31  Andreas Schwab  <schwab@suse.de>
13369
13370         [BZ #15917]
13371         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13372         followed by 'x' as part of digit sequence.
13373         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13374
13375 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13376
13377         [BZ #16037]
13378         * configure.ac: allow GNU Make 4.0 and greater.
13379         * configure: Regenerated.
13380
13381 2013-10-30  Will Newton  <will.newton@linaro.org>
13382
13383         [BZ #16038]
13384         * malloc/hooks.c (memalign_check): Limit alignment to the
13385         maximum representable power of two.
13386         * malloc/malloc.c (__libc_memalign): Likewise.
13387         * malloc/tst-memalign.c (do_test): Add test for very
13388         large alignment values.
13389         * malloc/tst-posix_memalign.c (do_test): Likewise.
13390
13391 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13392
13393         [BZ #11087]
13394         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13395         (munmap_chunk): Likewise.
13396         (mremap_chunk): Likewise.
13397
13398 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13399
13400         [BZ #15799]
13401         * stdlib/div.c (div): Remove obsolete code.
13402         * stdlib/ldiv.c (ldiv): Likewise.
13403         * stdlib/lldiv.c (lldiv): Likewise.
13404
13405 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13406
13407         [BZ #16071]
13408         * nss/nss_files/files-XXX.c (get_contents_ret): New
13409         enumerator.
13410         (get_contents): New function.
13411         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13412
13413 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13414
13415         * configure.in: Moved to ...
13416         * configure.ac: ... here. Change reference to configure.in
13417         to configure.ac.
13418         * sysdeps/arm/preconfigure.ac: ... here.
13419         configure.in to configure.ac.
13420         * sysdeps/gnu/configure.in: Moved to ...
13421         * sysdeps/gnu/configure.ac: ... here.
13422         * sysdeps/i386/configure.in: Moved to ...
13423         * sysdeps/i386/configure.ac: ... here.
13424         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13425         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13426         * sysdeps/mach/configure.in: Moved to ...
13427         * sysdeps/mach/configure.ac: ... here.
13428         * sysdeps/mach/hurd/configure.in: Moved to ...
13429         * sysdeps/mach/hurd/configure.ac: ... here.
13430         * sysdeps/powerpc/configure.in: Moved to ...
13431         * sysdeps/powerpc/configure.ac: ... here.
13432         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13433         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13434         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13435         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13436         * sysdeps/s390/s390-32/configure.in: Moved to ...
13437         * sysdeps/s390/s390-32/configure.ac: ... here.
13438         * sysdeps/s390/s390-64/configure.in: Moved to ...
13439         * sysdeps/s390/s390-64/configure.ac: ... here.
13440         * sysdeps/sh/configure.in: Moved to ...
13441         * sysdeps/sh/configure.ac: ... here.
13442         * sysdeps/sparc/configure.in: Moved to ...
13443         * sysdeps/sparc/configure.ac: ... here.
13444         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13445         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13446         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13447         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13448         * sysdeps/x86_64/configure.in: Moved to ...
13449         * sysdeps/x86_64/configure.ac: ... here.
13450         * sysdeps/x86_64/preconfigure.in: Moved to ...
13451         * sysdeps/x86_64/preconfigure.ac: ... here.
13452         * aclocal.m4: Change reference to configure.in to configure.ac.
13453         * config.h.in: Likewise.
13454         * manual/install.texi: Likewise.
13455         * manual/maint.texi: Likewise.
13456         * Makefile: Likewise.
13457         * malloc/Makefile: Likewise.
13458         * nscd/Makefile: Likewise.
13459         * Makeconfig: Change reference to configure.in and
13460         preconfigure.in to configure.ac and preconfigure.ac
13461         respectively.
13462         * INSTALL: Regenerated.
13463         * configure: Likewise.
13464         * sysdeps/gnu/configure: Likewise.
13465         * sysdeps/i386/configure: Likewise.
13466         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13467         * sysdeps/mach/configure: Likewise.
13468         * sysdeps/mach/hurd/configure: Likewise.
13469         * sysdeps/powerpc/configure: Likewise.
13470         * sysdeps/powerpc/powerpc32/configure: Likewise.
13471         * sysdeps/powerpc/powerpc64/configure: Likewise.
13472         * sysdeps/s390/s390-32/configure: Likewise.
13473         * sysdeps/s390/s390-64/configure: Likewise.
13474         * sysdeps/sh/configure: Likewise.
13475         * sysdeps/sparc/configure: Likewise.
13476         * sysdeps/unix/sysv/linux/configure: Likewise.
13477         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13478         * sysdeps/x86_64/configure: Likewise.
13479         * sysdeps/x86_64/preconfigure: Likewise.
13480
13481 2013-10-29  Andreas Schwab  <schwab@suse.de>
13482
13483         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13484
13485 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13486
13487         * benchtests/pow-inputs: Add new inputs.
13488
13489         * benchtests/exp-inputs: Add new inputs.
13490
13491         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13492         conditional check for return value.
13493         (__cos32): Likewise.
13494
13495 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13496
13497         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13498         to provide a boost for large inputs with word alignment.
13499         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13500         implementation based on optimized PPC64 strcpy.
13501         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13502         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13503         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13504         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13505
13506 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13507
13508         [BZ #2801]
13509         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13510
13511 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13512
13513         [BZ #14876]
13514         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13515         * time/tst-strptime.c (day_tests): Add testcase.
13516
13517 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13518
13519         [BZ #14029]
13520         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13521
13522 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13523
13524         [BZ #16074]
13525         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13526         MAP_FAILED on error.
13527
13528 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13529
13530         [BZ #16072]
13531         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13532         heap for large requests.
13533
13534 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13535
13536         [BZ #9954]
13537         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13538         result if the result has no associated interface.
13539         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13540         interface for all 127.X.Y.Z addresses.
13541
13542 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13543
13544         * locale/iso-639.def: Add Ligurian (lij)
13545
13546 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13547
13548         [BZ #15825]
13549         * sunrpc/rpc_main.c: Document rpcgen -5.
13550
13551 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13552
13553         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13554
13555 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13556
13557         [BZ #10278]
13558         * posix/glob.c: Match only directories when trailing slash is present.
13559         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13560         (main): Add testcase.
13561
13562 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13563
13564         [BZ #15670]
13565         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13566
13567 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13568
13569         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13570         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13571         AUTH_DES and cindex for FIPS 140-2.
13572         (DES Encryption): Add cindex FIPS 46-3.
13573
13574         * locale/locarchive.h (struct locarhandle): Add fname.
13575         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13576         if an optional argument was specified to --list-archive,
13577         otherwise NULL.
13578         * locale/programs/locarchive.c (show_archive_content): Take new
13579         argument fname and pass it via ah.fname to open_archive.
13580         * locale/programs/localedef.h: Update decl.
13581         (open_archive): If AH->fname is non-null, open that file
13582         rather than the default file name, and don't ignore ENOENT.
13583         (create_archive): Set AH.fname to NULL.
13584         (delete_locales_from_archive): Likewise.
13585         (add_locales_to_archive): Likewise.
13586         * locale/programs/locfile.c (write_all_categories): Likewise.
13587
13588 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13589             Aldy Hernandez  <aldyh@redhat.com>
13590
13591         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13592         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13593         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13594         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13595         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13596         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13597         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13599         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13600         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13601         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13602         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13603         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13604         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13605         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13606         Likewise.
13607         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13608         Likewise.
13609         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13610         Likewise.
13611         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13612         Likewise.
13613         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13614         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13615         Likewise.
13616         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13617         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13618         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13619         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13620         Likewise.
13621         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13622         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13623         * sysdeps/powerpc/preconfigure: Likewise.
13624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13625         Likewise.
13626         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13627         Replace contents of file by #include of <fenv_libc.h>.
13628         * sysdeps/powerpc/soft-fp/sfp-machine.h
13629         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13630         and <sys/prctl.h>.
13631         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13633         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13639         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13644         Allow copysignl PLT reference to be missing.
13645
13646 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13647             Joseph Myers  <joseph@codesourcery.com
13648
13649         [BZ #15948]
13650         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13651         single character.
13652         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13653
13654 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13655
13656         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13657         * elf/tst-tls1.c: Likewise.
13658         * elf/tst-tls10.h: Likewise.
13659         * elf/tst-tls14.c: Likewise.
13660         * elf/tst-tls2.c: Likewise.
13661         * elf/tst-tls3.c: Likewise.
13662         * elf/tst-tls4.c: Likewise.
13663         * elf/tst-tls5.c: Likewise.
13664         * elf/tst-tls6.c: Likewise.
13665         * elf/tst-tls7.c: Likewise.
13666         * elf/tst-tls8.c: Likewise.
13667         * elf/tst-tls9.c: Likewise.
13668         * elf/tst-tlsmod1.c: Likewise.
13669         * elf/tst-tlsmod13.c: Likewise.
13670         * elf/tst-tlsmod13a.c: Likewise.
13671         * elf/tst-tlsmod14a.c: Likewise.
13672         * elf/tst-tlsmod16a.c: Likewise.
13673         * elf/tst-tlsmod16b.c: Likewise.
13674         * elf/tst-tlsmod2.c: Likewise.
13675         * elf/tst-tlsmod3.c: Likewise.
13676         * elf/tst-tlsmod4.c: Likewise.
13677         * elf/tst-tlsmod5.c: Likewise.
13678         * elf/tst-tlsmod6.c: Likewise.
13679
13680 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13681
13682         [BZ #12486]
13683         * malloc/malloc.c: remove checks for statistics.
13684
13685 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13686
13687         [BZ #15277]
13688         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13689         * inet/tst-network.c: Add testcase.
13690
13691 2013-10-17  Andreas Schwab  <schwab@suse.de>
13692
13693         [BZ #15218]
13694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13695         to determine canonical name.
13696
13697 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13698
13699         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13700         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13701         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13702         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13704         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13705         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13706         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13707         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13708         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13709         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13710         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13711         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13712         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13713         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13714         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13716         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13717         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13718         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13721         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13722         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13723         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13724         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13725         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13726         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13727         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13728         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13729         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13730         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13731         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13732         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13733         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13734         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13735         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13736         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13737         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13738         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13739         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13740         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13741         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13742         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13743         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13744         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13745         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13746         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13747         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13748         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13749         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13750         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13751         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13752         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13753         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13754         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13755         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13756         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13757
13758 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13759
13760         [BZ #16041]
13761         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13762         make result into a quiet NaN.
13763
13764 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13765
13766         * soft-fp/adddf3.c: Fix horizontal whitespace.
13767         * soft-fp/addsf3.c: Likewise.
13768         * soft-fp/addtf3.c: Likewise.
13769         * soft-fp/divdf3.c: Likewise.
13770         * soft-fp/divsf3.c: Likewise.
13771         * soft-fp/divtf3.c: Likewise.
13772         * soft-fp/double.h: Likewise.
13773         * soft-fp/eqdf2.c: Likewise.
13774         * soft-fp/eqsf2.c: Likewise.
13775         * soft-fp/eqtf2.c: Likewise.
13776         * soft-fp/extenddftf2.c: Likewise.
13777         * soft-fp/extended.h: Likewise.
13778         * soft-fp/extendsfdf2.c: Likewise.
13779         * soft-fp/extendsftf2.c: Likewise.
13780         * soft-fp/extendxftf2.c: Likewise.
13781         * soft-fp/fixdfdi.c: Likewise.
13782         * soft-fp/fixdfsi.c: Likewise.
13783         * soft-fp/fixdfti.c: Likewise.
13784         * soft-fp/fixsfdi.c: Likewise.
13785         * soft-fp/fixsfsi.c: Likewise.
13786         * soft-fp/fixsfti.c: Likewise.
13787         * soft-fp/fixtfdi.c: Likewise.
13788         * soft-fp/fixtfsi.c: Likewise.
13789         * soft-fp/fixtfti.c: Likewise.
13790         * soft-fp/fixunsdfdi.c: Likewise.
13791         * soft-fp/fixunsdfsi.c: Likewise.
13792         * soft-fp/fixunsdfti.c: Likewise.
13793         * soft-fp/fixunssfdi.c: Likewise.
13794         * soft-fp/fixunssfsi.c: Likewise.
13795         * soft-fp/fixunssfti.c: Likewise.
13796         * soft-fp/fixunstfdi.c: Likewise.
13797         * soft-fp/fixunstfsi.c: Likewise.
13798         * soft-fp/fixunstfti.c: Likewise.
13799         * soft-fp/floatdidf.c: Likewise.
13800         * soft-fp/floatdisf.c: Likewise.
13801         * soft-fp/floatditf.c: Likewise.
13802         * soft-fp/floatsidf.c: Likewise.
13803         * soft-fp/floatsisf.c: Likewise.
13804         * soft-fp/floatsitf.c: Likewise.
13805         * soft-fp/floattidf.c: Likewise.
13806         * soft-fp/floattisf.c: Likewise.
13807         * soft-fp/floattitf.c: Likewise.
13808         * soft-fp/floatundidf.c: Likewise.
13809         * soft-fp/floatundisf.c: Likewise.
13810         * soft-fp/floatunditf.c: Likewise.
13811         * soft-fp/floatunsidf.c: Likewise.
13812         * soft-fp/floatunsisf.c: Likewise.
13813         * soft-fp/floatunsitf.c: Likewise.
13814         * soft-fp/floatuntidf.c: Likewise.
13815         * soft-fp/floatuntisf.c: Likewise.
13816         * soft-fp/floatuntitf.c: Likewise.
13817         * soft-fp/fmadf4.c: Likewise.
13818         * soft-fp/fmasf4.c: Likewise.
13819         * soft-fp/fmatf4.c: Likewise.
13820         * soft-fp/gedf2.c: Likewise.
13821         * soft-fp/gesf2.c: Likewise.
13822         * soft-fp/getf2.c: Likewise.
13823         * soft-fp/ledf2.c: Likewise.
13824         * soft-fp/lesf2.c: Likewise.
13825         * soft-fp/letf2.c: Likewise.
13826         * soft-fp/muldf3.c: Likewise.
13827         * soft-fp/mulsf3.c: Likewise.
13828         * soft-fp/multf3.c: Likewise.
13829         * soft-fp/negdf2.c: Likewise.
13830         * soft-fp/negsf2.c: Likewise.
13831         * soft-fp/negtf2.c: Likewise.
13832         * soft-fp/op-1.h: Likewise.
13833         * soft-fp/op-2.h: Likewise.
13834         * soft-fp/op-4.h: Likewise.
13835         * soft-fp/op-8.h: Likewise.
13836         * soft-fp/op-common.h: Likewise.
13837         * soft-fp/quad.h: Likewise.
13838         * soft-fp/single.h: Likewise.
13839         * soft-fp/soft-fp.h: Likewise.
13840         * soft-fp/sqrtdf2.c: Likewise.
13841         * soft-fp/sqrtsf2.c: Likewise.
13842         * soft-fp/sqrttf2.c: Likewise.
13843         * soft-fp/subdf3.c: Likewise.
13844         * soft-fp/subsf3.c: Likewise.
13845         * soft-fp/subtf3.c: Likewise.
13846         * soft-fp/truncdfsf2.c: Likewise.
13847         * soft-fp/trunctfdf2.c: Likewise.
13848         * soft-fp/trunctfsf2.c: Likewise.
13849         * soft-fp/trunctfxf2.c: Likewise.
13850         * soft-fp/unorddf2.c: Likewise.
13851         * soft-fp/unordsf2.c: Likewise.
13852         * soft-fp/unordtf2.c: Likewise.
13853
13854 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13855
13856         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13857         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13858
13859 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13860
13861         * elf/dl-libc.c: Clear initfini list after freeing.
13862
13863 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13864
13865         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13866         * soft-fp/addsf3.c: Likewise.
13867         * soft-fp/addtf3.c: Likewise.
13868         * soft-fp/divdf3.c: Likewise.
13869         * soft-fp/divsf3.c: Likewise.
13870         * soft-fp/divtf3.c: Likewise.
13871         * soft-fp/double.h: Likewise.
13872         * soft-fp/eqdf2.c: Likewise.
13873         * soft-fp/eqsf2.c: Likewise.
13874         * soft-fp/eqtf2.c: Likewise.
13875         * soft-fp/extenddftf2.c: Likewise.
13876         * soft-fp/extended.h: Likewise.
13877         * soft-fp/extendsfdf2.c: Likewise.
13878         * soft-fp/extendsftf2.c: Likewise.
13879         * soft-fp/extendxftf2.c: Likewise.
13880         * soft-fp/fixdfdi.c: Likewise.
13881         * soft-fp/fixdfsi.c: Likewise.
13882         * soft-fp/fixdfti.c: Likewise.
13883         * soft-fp/fixsfdi.c: Likewise.
13884         * soft-fp/fixsfsi.c: Likewise.
13885         * soft-fp/fixsfti.c: Likewise.
13886         * soft-fp/fixtfdi.c: Likewise.
13887         * soft-fp/fixtfsi.c: Likewise.
13888         * soft-fp/fixtfti.c: Likewise.
13889         * soft-fp/fixunsdfdi.c: Likewise.
13890         * soft-fp/fixunsdfsi.c: Likewise.
13891         * soft-fp/fixunsdfti.c: Likewise.
13892         * soft-fp/fixunssfdi.c: Likewise.
13893         * soft-fp/fixunssfsi.c: Likewise.
13894         * soft-fp/fixunssfti.c: Likewise.
13895         * soft-fp/fixunstfdi.c: Likewise.
13896         * soft-fp/fixunstfsi.c: Likewise.
13897         * soft-fp/fixunstfti.c: Likewise.
13898         * soft-fp/floatdidf.c: Likewise.
13899         * soft-fp/floatdisf.c: Likewise.
13900         * soft-fp/floatditf.c: Likewise.
13901         * soft-fp/floatsidf.c: Likewise.
13902         * soft-fp/floatsisf.c: Likewise.
13903         * soft-fp/floatsitf.c: Likewise.
13904         * soft-fp/floattidf.c: Likewise.
13905         * soft-fp/floattisf.c: Likewise.
13906         * soft-fp/floattitf.c: Likewise.
13907         * soft-fp/floatundidf.c: Likewise.
13908         * soft-fp/floatundisf.c: Likewise.
13909         * soft-fp/floatunsidf.c: Likewise.
13910         * soft-fp/floatunsisf.c: Likewise.
13911         * soft-fp/floatuntidf.c: Likewise.
13912         * soft-fp/floatuntisf.c: Likewise.
13913         * soft-fp/floatuntitf.c: Likewise.
13914         * soft-fp/fmadf4.c: Likewise.
13915         * soft-fp/fmasf4.c: Likewise.
13916         * soft-fp/fmatf4.c: Likewise.
13917         * soft-fp/gedf2.c: Likewise.
13918         * soft-fp/gesf2.c: Likewise.
13919         * soft-fp/getf2.c: Likewise.
13920         * soft-fp/ledf2.c: Likewise.
13921         * soft-fp/lesf2.c: Likewise.
13922         * soft-fp/letf2.c: Likewise.
13923         * soft-fp/muldf3.c: Likewise.
13924         * soft-fp/mulsf3.c: Likewise.
13925         * soft-fp/multf3.c: Likewise.
13926         * soft-fp/negdf2.c: Likewise.
13927         * soft-fp/negsf2.c: Likewise.
13928         * soft-fp/negtf2.c: Likewise.
13929         * soft-fp/op-1.h: Likewise.
13930         * soft-fp/op-2.h: Likewise.
13931         * soft-fp/op-4.h: Likewise.
13932         * soft-fp/op-8.h: Likewise.
13933         * soft-fp/op-common.h: Likewise.
13934         * soft-fp/quad.h: Likewise.
13935         * soft-fp/single.h: Likewise.
13936         * soft-fp/soft-fp.h: Likewise.
13937         * soft-fp/sqrtdf2.c: Likewise.
13938         * soft-fp/sqrtsf2.c: Likewise.
13939         * soft-fp/sqrttf2.c: Likewise.
13940         * soft-fp/subdf3.c: Likewise.
13941         * soft-fp/subsf3.c: Likewise.
13942         * soft-fp/subtf3.c: Likewise.
13943         * soft-fp/truncdfsf2.c: Likewise.
13944         * soft-fp/trunctfdf2.c: Likewise.
13945         * soft-fp/trunctfsf2.c: Likewise.
13946         * soft-fp/trunctfxf2.c: Likewise.
13947         * soft-fp/unorddf2.c: Likewise.
13948         * soft-fp/unordsf2.c: Likewise.
13949         * soft-fp/unordtf2.c: Likewise.
13950
13951 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13952
13953         [BZ #15672]
13954         * misc/error.c (error_tail): Fix possible buffer overflow.
13955
13956 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13957
13958         [BZ #13028]
13959         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13960         address.
13961
13962 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13963
13964         [BZ #832]
13965         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13966         testing pipefail option.
13967
13968 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13969
13970         * soft-fp/double.h: Indent preprocessor directives inside #if.
13971         * soft-fp/extended.h: Likewise.
13972         * soft-fp/op-2.h: Likewise.
13973         * soft-fp/op-4.h: Likewise.
13974         * soft-fp/op-common.h: Likewise.
13975         * soft-fp/quad.h: Likewise.
13976         * soft-fp/single.h: Likewise.
13977         * soft-fp/soft-fp.h: Likewise.
13978
13979 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13980
13981         * iconv/iconv_prog.c: Fix typos.
13982         * stdio-common/psiginfo-data.h: Likewise.
13983
13984 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13985
13986         [BZ #15764]
13987         * locale/setlocale.c: Fix typo.
13988
13989 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13990
13991         [BZ #16036]
13992         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13993         signaling NaN arguments.
13994         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13995         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13996
13997         [BZ #14910]
13998         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13999         unordered operands.
14000         * soft-fp/gesf2.c (__gesf2): Likewise.
14001         * soft-fp/getf2.c (__getf2): Likewise.
14002         * soft-fp/ledf2.c (__ledf2): Likewise.
14003         * soft-fp/lesf2.c (__lesf2): Likewise.
14004         * soft-fp/letf2.c (__letf2): Likewise.
14005
14006         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14007         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14008         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14009         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14010         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14011         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14012         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14013         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14014         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14015         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14016         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14017         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14018         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14019         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14020         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14021         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14022         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14023         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14024         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14025         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14026         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14027         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14028         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14029         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14030         * soft-fp/floattidf.c (__floattidf): Likewise.
14031         * soft-fp/floattisf.c (__floattisf): Likewise.
14032         * soft-fp/floattitf.c (__floattitf): Likewise.
14033         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14034         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14035         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14036         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14037         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14038         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14039         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14040         * soft-fp/gesf2.c (__gesf2): Likewise.
14041         * soft-fp/getf2.c (__getf2): Likewise.
14042         * soft-fp/ledf2.c (__ledf2): Likewise.
14043         * soft-fp/lesf2.c (__lesf2): Likewise.
14044         * soft-fp/letf2.c (__letf2): Likewise.
14045
14046         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14047         Undefine and redefine.
14048         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14049         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14050         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14051         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14052         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14053         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14054         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14055         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14056         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14057         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14058         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14059         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14060         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14061         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14062         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14063
14064         [BZ #16032]
14065         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14066         without decrementing exponent if mantissa >= that for the
14067         denominator, not >.
14068         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14069         denominator, not >.  Decrement exponent in < case instead of
14070         incrementing in >= case.
14071         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14072         without decrementing exponent if mantissa >= that for the
14073         denominator, not >.
14074
14075         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14076         computing saturated result for unsigned overflow.
14077
14078 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14079             Jeff Law  <law@redhat.com>
14080
14081         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14082         (atan2Mp): Add systemtap probe marker.
14083         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14084         (__ieee754_log): Add systemtap probe marker.
14085         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14086         (atanMp): Add systemtap probe marker.
14087         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14088         (tanMp): Add systemtap probe marker.
14089         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14090         (__slowexp): Add systemtap probe marker.
14091         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14092         (__slowpow): Add systemtap probe marker.
14093         * manual/probes.texi: Document probes.
14094
14095 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14096
14097         [BZ #15362]
14098         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14099         written.
14100         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14101         written.
14102         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14103         written to buffer but not flushed.
14104         * libio/iofwrite_u.c:  Likewise.
14105         * libio/iopadn.c:  Return bytes returned even if EOF was
14106         encountered.
14107         * libio/iowpadn.c:  Likewise.
14108         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14109         if _IO_padn does not write the whole buffer.
14110         [!COMPILE_WPRINTF] (PAD): Likewise.
14111
14112 2013-10-10  David S. Miller  <davem@davemloft.net>
14113
14114         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14115         directory block.
14116
14117 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14118
14119         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14120         instead of FSF address.
14121         * soft-fp/fixdfti.c: Likewise.
14122         * soft-fp/fixsfti.c: Likewise.
14123         * soft-fp/fixtfti.c: Likewise.
14124         * soft-fp/fixunsdfti.c: Likewise.
14125         * soft-fp/fixunssfti.c: Likewise.
14126         * soft-fp/fixunstfti.c: Likewise.
14127         * soft-fp/floattidf.c: Likewise.
14128         * soft-fp/floattisf.c: Likewise.
14129         * soft-fp/floattitf.c: Likewise.
14130         * soft-fp/floatuntidf.c: Likewise.
14131         * soft-fp/floatuntisf.c: Likewise.
14132         * soft-fp/floatuntitf.c: Likewise.
14133         * soft-fp/trunctfxf2.c: Likewise.
14134
14135         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14136         * soft-fp/fixdfti.c: Likewise.
14137         * soft-fp/fixsfti.c: Likewise.
14138         * soft-fp/fixtfti.c: Likewise.
14139         * soft-fp/fixunsdfti.c: Likewise.
14140         * soft-fp/fixunssfti.c: Likewise.
14141         * soft-fp/fixunstfti.c: Likewise.
14142         * soft-fp/floattidf.c: Likewise.
14143         * soft-fp/floattisf.c: Likewise.
14144         * soft-fp/floattitf.c: Likewise.
14145         * soft-fp/floatuntidf.c: Likewise.
14146         * soft-fp/floatuntisf.c: Likewise.
14147         * soft-fp/floatuntitf.c: Likewise.
14148         * soft-fp/trunctfxf2.c: Likewise.
14149
14150 2013-10-10  David S. Miller  <davem@davemloft.net>
14151
14152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14153
14154 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14155
14156         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14157         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14158         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14159         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14160         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14161         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14162         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14163
14164         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14165         for NaNs before doing comparisons on argument.
14166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14167         Likewise.
14168
14169 2013-10-10  Will Newton  <will.newton@linaro.org>
14170
14171         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14172         passed to _int_memalign does not overflow.
14173
14174 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14175
14176         * scripts/bench.pl: Add include-sources directive.
14177         * benchtests/README: Update documentation.
14178
14179 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14180
14181         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14182         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14183         instead of FP_INIT_ROUNDMODE.
14184         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14185         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14186
14187         [BZ #16034]
14188         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14189         copy class of input value.
14190         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14191         not handle exceptions.
14192         * soft-fp/negsf2.c (__negsf2): Likewise.
14193         * soft-fp/negtf2.c (__negtf2): Likewise.
14194         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14195
14196 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14197
14198         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14199         semicolon.  From Linux kernel.
14200
14201 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14202
14203         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14204
14205 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14206
14207         [BZ #156]
14208         * manual/socket.texi: Added statement about buffer
14209         for gethostbyname2_r.
14210
14211 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14212
14213         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14214         Use .p2align directive instead, throughout.
14215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14217         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14218         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14219         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14220         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14221         * sysdeps/x86_64/strchr.S: Likewise.
14222         * sysdeps/x86_64/strrchr.S: Likewise.
14223
14224 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14225
14226         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14227
14228         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14229
14230         * sysdeps/generic/math_private.h (__mpsin1): Remove
14231         declaration.
14232         (__mpcos1): Likewise.
14233         (__mpsin): New argument __range_reduce.
14234         (__mpcos): Likewise.
14235         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14236         (slow): Use __mpsin and __mpcos.
14237         (slow1): Likewise.
14238         (slow2): Likewise.
14239         (sloww): Likewise.
14240         (sloww1): Likewise.
14241         (sloww2): Likewise.
14242         (bsloww): Likewise.
14243         (bsloww1): Likewise.
14244         (bsloww2): Likewise.
14245         (cslow2): Likewise.
14246         (csloww): Likewise.
14247         (csloww1): Likewise.
14248         (csloww2): Likewise.
14249         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14250         range_reduce.  Merge in __mpsin1.
14251         (__mpcos): Likewise.
14252         (__mpsin1): Remove.
14253         (__mpcos1): Likewise.
14254
14255 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14256
14257         * locale/loadlocale.c (_nl_intern_locale_data): Use
14258         LOCFILE_ALIGNED_P.
14259         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14260         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14261         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14262         obstack data is appropriately aligned.
14263         (obstack_int32_grow_fast): Likewise.
14264         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14265         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14266         (add_locale_uint32_array): Likewise.
14267
14268 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269
14270         * benchtests/Makefile: Remove ARGLIST and RET variables.
14271         ($(objpfx)bench-%.c): Pass only function name to the script.
14272         * benchtests/README: Update documentation.
14273         * benchtests/acos-inputs: Add new directives.
14274         * benchtests/acosh-inputs: Likewise.
14275         * benchtests/asin-inputs: Likewise.
14276         * benchtests/asinh-inputs: Likewise.
14277         * benchtests/atan-inputs: Likewise.
14278         * benchtests/atanh-inputs: Likewise.
14279         * benchtests/cos-inputs: Likewise.
14280         * benchtests/cosh-inputs: Likewise.
14281         * benchtests/exp-inputs: Likewise.
14282         * benchtests/log-inputs: Likewise.
14283         * benchtests/pow-inputs: Likewise.
14284         * benchtests/rint-inputs: Likewise.
14285         * benchtests/sin-inputs: Likewise.
14286         * benchtests/sinh-inputs: Likewise.
14287         * benchtests/tan-inputs: Likewise.
14288         * benchtests/tanh-inputs: Likewise.
14289         * scripts/bench.pl: Add support for new directives.
14290
14291 2013-10-07  Alan Modra  <amodra@gmail.com>
14292
14293         * README: Fix careless merge.
14294
14295 2013-10-05  Alan Modra  <amodra@gmail.com>
14296
14297         * NEWS: Mention powerpc64le support and bugs fixed.
14298         * README: Both big-endian and little-endian powerpc64 supported.
14299
14300 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14301
14302         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14303         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14304         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14305         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14306
14307 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14308
14309         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14310         match prototype.
14311
14312 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14313
14314         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14315         Move -mhard-float appending from
14316         ports/sysdeps/powerpc/powerpc32/Makefile.
14317         [$(with-fp) = yes] (ASFLAGS): Likewise.
14318         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14319         * sysdeps/powerpc/nofpu: Move directory from
14320         ports/sysdeps/powerpc/nofpu.
14321         * sysdeps/powerpc/soft-fp: Move directory from
14322         ports/sysdeps/powerpc/soft-fp.
14323         * sysdeps/powerpc/powerpc32/405: Move directory from
14324         ports/sysdeps/powerpc/powerpc32/405.
14325         * sysdeps/powerpc/powerpc32/440: Move directory from
14326         ports/sysdeps/powerpc/powerpc32/440.
14327         * sysdeps/powerpc/powerpc32/464: Move directory from
14328         ports/sysdeps/powerpc/powerpc32/464.
14329         * sysdeps/powerpc/powerpc32/476: Move directory from
14330         ports/sysdeps/powerpc/powerpc32/476.
14331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14332         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14334         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14336         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14338         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14340         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14341         * README: Update for powerpc-*-linux-gnu software floating point
14342         support in libc.
14343
14344         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14345         case to powerpc/powerpc32*.
14346         * sysdeps/unix/sysv/linux/configure: Regenerated.
14347
14348         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14349         (_FPU_MASK_OM): Define as 0x04.
14350         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14352         0x00c10080.
14353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14354         0x0000003c.
14355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14356
14357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14358         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14359         getcontext_e500.
14360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14361         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14362         setcontext_e500.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14364         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14365         and setcontext_e500.
14366
14367 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14368
14369         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14370
14371 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14372
14373         * manual/threads.texi (Default Thread Attributes): Fix typo.
14374
14375 2013-10-04  Will Newton  <will.newton@linaro.org>
14376
14377         * malloc/Makefile: Add tst-memalign.
14378         * malloc/tst-memalign.c: New file.
14379
14380         * malloc/tst-posix_memalign.c: Add comments.
14381         (do_test): Add comments and call free on all potentially
14382         allocated pointers. Add space after cast.
14383
14384         * malloc/tst-pvalloc.c: Add comments.
14385         (do_test): Add comments and call free on all potentially
14386         allocated pointers. Remove duplicate check for NULL pointer.
14387         Add space after cast.
14388
14389         * malloc/tst-valloc.c: Add comments.
14390         (do_test): Add comments and call free on all potentially
14391         allocated pointers. Remove duplicate check for NULL pointer.
14392         Add space after cast.
14393
14394 2013-10-04  Alan Modra  <amodra@gmail.com>
14395
14396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14397         Use stdint types in rather than __attribute__((mode())).
14398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14399
14400 2013-10-04  Alan Modra  <amodra@gmail.com>
14401
14402         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14403         Correct handling of unaligned relocs for little-endian.
14404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14405
14406 2013-10-04  Alan Modra  <amodra@gmail.com>
14407
14408         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14409         * configure: Regenerate.
14410         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14411         * shlib-versions: Likewise.
14412
14413 2013-10-04  Alan Modra  <amodra@gmail.com>
14414
14415         * string/tester.c (test_memrchr): Increment reported test cycle.
14416
14417 2013-10-04  Alan Modra  <amodra@gmail.com>
14418
14419         * string/test-memcpy.c (do_one_test): When reporting errors, print
14420         string address and don't overrun end of string.
14421
14422 2013-10-04  Alan Modra  <amodra@gmail.com>
14423
14424         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14425         insrdi.  Make better use of reg selection to speed exit slightly.
14426         Schedule entry path a little better.  Remove useless "are we done"
14427         checks on entry to main loop.  Handle wrapping around zero address.
14428         Correct main loop count.  Handle single left-over word from main
14429         loop inline rather than by using loop_small.  Remove extra word
14430         case in loop_small caused by wrong loop count.  Add little-endian
14431         support.
14432         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14433         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14434         cache hint.
14435         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14436         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14437         support.  Avoid rlwimi.
14438         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14439
14440 2013-10-04  Alan Modra  <amodra@gmail.com>
14441
14442         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14443         insrdi.  Formatting.
14444         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14445         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14446         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14447         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14448         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14449         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14450
14451 2013-10-04  Alan Modra  <amodra@gmail.com>
14452
14453         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14454         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14455         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14456         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14457         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14458         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14459         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14460         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14461         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14462         use of regs.  Use power7 mtocrf.  Tidy function tails.
14463
14464 2013-10-04  Alan Modra  <amodra@gmail.com>
14465
14466         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14467         Formatting.  Consistently use rXXX register defines or rN defines.
14468         Use early exit labels that avoid restoring unused non-volatile regs.
14469         Make cr field use more consistent with rWORDn compares.  Rename
14470         regs used as shift registers for unaligned loop, using rN defines
14471         for short lifetime/multiple use regs.
14472         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14473         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14474         addi 1,1,64 to pop stack frame.  Simplify return value code.
14475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14476
14477 2013-10-04  Alan Modra  <amodra@gmail.com>
14478
14479         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14480         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14481         rather than rlwimi.
14482         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14483         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14484         little-endian support.  Correct typos.
14485         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14486         rather than rlwimi.
14487         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14488         in loop and entry code to keep "and." results.
14489         (strchr): Add little-endian support.  Comment.  Move cntlzd
14490         earlier in tail.
14491         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14492
14493 2013-10-04  Alan Modra  <amodra@gmail.com>
14494
14495         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14496         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14497         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14498         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14499
14500 2013-10-04  Alan Modra  <amodra@gmail.com>
14501
14502         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14503         (rTMP): Define as r11.
14504         (strcmp): Add little-endian support.  Optimise tail.
14505         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14506         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14507         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14508         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14509         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14510         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14511         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14512
14513 2013-10-04  Alan Modra  <amodra@gmail.com>
14514
14515         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14516         little-endian support.  Remove unnecessary "are we done" tests.
14517         Handle "s" wrapping around zero and extremely large "size".
14518         Correct main loop count.  Handle single left-over word from main
14519         loop inline rather than by using small_loop.  Correct comments.
14520         Delete "zero" tail, use "end_max" instead.
14521         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14522
14523 2013-10-04  Alan Modra  <amodra@gmail.com>
14524
14525         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14526         support.  Don't branch over align.
14527         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14528         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14529         support.  Rearrange tmp reg use to suit.  Comment.
14530         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14531
14532 2013-10-04  Alan Modra  <amodra@gmail.com>
14533
14534         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14535
14536 2013-10-04  Alan Modra  <amodra@gmail.com>
14537
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14539         conditional form of branch and link when obtaining pc.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14541
14542 2013-10-04  Alan Modra  <amodra@gmail.com>
14543
14544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14545         HIWORD/LOWORD.
14546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14548
14549 2013-10-04  Alan Modra  <amodra@gmail.com>
14550
14551         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14552         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14553         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14554         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14555         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14556         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14557         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14558         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14559         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14560         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14561
14562 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14563             Alistair Popple <alistair@ozlabs.au.ibm.com>
14564             Alan Modra <amodra@gmail.com>
14565
14566         [BZ #15723]
14567         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14568         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14569         _dl_hwcap access for little-endian.
14570         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14571         destroy vmx regs when saving unaligned.
14572         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14573         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14574         destroy vmx regs when saving unaligned.
14575
14576 2013-10-04  Alan Modra  <amodra@gmail.com>
14577
14578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14579         Don't use a union to pack hi/low value.
14580
14581 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14582
14583         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14584         for little-endian.
14585         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14586         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14587         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14588         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14589         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14590
14591 2013-10-04  Alan Modra  <amodra@gmail.com>
14592
14593         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14594         constants to usual value for .cst8 section, and remove redundant
14595         high address load.
14596         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14597         constant for 0x1p52.  Load little-endian words of double from
14598         correct stack offsets.
14599
14600 2013-10-04  Alan Modra  <amodra@gmail.com>
14601
14602         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14603         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14604         words of double from correct stack offsets.
14605         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14606         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14607         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14608         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14609         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14610         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14611         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14612         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14613         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14614         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14615         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14616         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14617         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14618         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14619         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14620         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14621         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14622
14623 2013-10-04  Alan Modra  <amodra@gmail.com>
14624
14625         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14626         64-bit int/double union.
14627         (_FPU_SETCW): Likewise.
14628         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14629         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14630
14631 2013-10-04  Alan Modra  <amodra@gmail.com>
14632
14633         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14634         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14635
14636 2013-10-04  Alan Modra  <amodra@gmail.com>
14637
14638         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14639         use vector int constants.
14640         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14641
14642 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14643
14644         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14645         array with long long.
14646         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14647         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14648         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14649         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14650         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14651         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14652         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14653         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14654         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14655         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14656         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14657         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14658         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14659
14660 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14661
14662         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14663         (__signbit): Likewise.  Correct for little-endian.
14664         (__signbitl): Call __signbit.
14665         (lrint): Correct for little-endian.
14666         (lrintf): Call lrint.
14667
14668 2013-10-04  Alan Modra  <amodra@gmail.com>
14669
14670         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14671         union 32-bit int array member with 64-bit int array.
14672         (t515, tm256): Double rather than long double.
14673         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14674
14675 2013-10-04  Alan Modra  <amodra@gmail.com>
14676
14677         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14678         Delete.
14679         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14681         version of math_ldbl.h.
14682
14683 2013-10-04  Alan Modra  <amodra@gmail.com>
14684
14685         [BZ #15734], [BZ #15735]
14686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14687         all uses of ieee875 long double macros and unions.  Simplify test
14688         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14689         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14690         normalize after ldbl_extract_mantissa, and don't add hidden bit
14691         already handled.  Don't treat low word of ieee854 mantissa like
14692         low word of IBM long double and mask off bit when testing for
14693         zero.
14694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14695         all uses of ieee875 long double macros and unions.  Simplify tests
14696         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14697         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14698         two1022, instead use their values.  Recognise that tests for large
14699         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14700         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14701         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14702         test for 0.0L and nan.  Correct negation.
14703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14704         ieee875 long double macros and unions.  Correct output for large
14705         magnitude x.  Correct absolute value calculation.
14706         (__erfcl): Likewise.
14707         * math/libm-test.inc: Add tests for errors discovered in IBM long
14708         double versions of fmodl, remainderl, erfl and erfcl.
14709
14710 2013-10-04  Alan Modra  <amodra@gmail.com>
14711
14712         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14713         all uses of ieee854 long double macros and unions.  Simplify tests
14714         for long doubles that are fully specified by the high double.
14715         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14716         Likewise.
14717         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14718         Remove dead code too.
14719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14720         (__ieee754_ynl): Likewise.
14721         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14722         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14723         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14724         Remove dead code too.
14725         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14726         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14727         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14728         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14729         Simplify.
14730         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14731         Simplify.
14732         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14733         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14734         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14735         Comment on variable precision.
14736         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14737         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14738         Likewise.
14739         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14740         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14741         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14742         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14743         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14744
14745 2013-10-04  Alan Modra  <amodra@gmail.com>
14746
14747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14748         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14749         all uses of ieee854 long double macros and unions.
14750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14752         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14753         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14754         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14755         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14756         Likewise.
14757         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14758         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14759         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14760         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14763         Simplify sign and nan test too.
14764         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14765         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14766         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14767         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14768         Likewise.
14769         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14770         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14771         Likewise.
14772         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14773         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14774         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14775         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14776         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14777         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14778
14779 2013-10-04  Alan Modra  <amodra@gmail.com>
14780
14781         * stdio-common/printf_size.c (__printf_size): Don't use
14782         union ieee854_long_double in fpnum union.
14783         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14784         signbit macro to retrieve sign from long double.
14785         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14786         retrieve sign from long double.
14787         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14788         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14789         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14790         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14791         * math/test-misc.c (main): Don't use union ieee854_long_double.
14792
14793 2013-10-04  Alan Modra  <amodra@gmail.com>
14794
14795         [BZ #15680]
14796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14797         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14798         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14799         calculation.  Remove unnecessary test for denormal exponent.
14800         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14801         Correct handling of denormals.  Avoid undefined shift behaviour.
14802         Correct normalisation of low mantissa when low double is denormal.
14803         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14804         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14805         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14806         Correct normalisation of low mantissa.  Test for overflow of high
14807         mantissa and normalise.
14808         (ldbl_nearbyint): Use more readable constant for two52.
14809         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14810         (__mpn_construct_long_double): Fix test for overflow of high
14811         mantissa and correct normalisation.  Avoid undefined shift.
14812
14813 2013-10-04  Alan Modra  <amodra@gmail.com>
14814
14815         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14816         (union ibm_extended_long_double): Define as an array of ieee754_double.
14817         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14818         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14819         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14820         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14821         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14823         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14824         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14825         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14826         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14827         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14828
14829 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14830
14831         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14832         page size instead of calling getpagesize.
14833
14834         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14835         (LOCFILE_ALIGN_MASK): Likewise.
14836         (LOCFILE_ALIGN_UP): Likewise.
14837         (LOCFILE_ALIGNED_P): Likewise.
14838         * locale/programs/ld-collate.c (collate_output): Use the new
14839         macros instead of __alignof__ (int32_t).
14840         * locale/weight.h (findidx): Likewise.
14841
14842 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14843
14844         [BZ #431]
14845         * manual/string.texi: Fix strncat and wcsncat.
14846
14847 2013-10-03  Brooks Moses  <bmoses@google.com>
14848
14849         [BZ #15915]
14850         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14851         * Makerules: ...here, and adjust associated comments.
14852
14853 2013-10-02  Will Newton  <will.newton@linaro.org>
14854
14855         * malloc/Makefile: Add tst-pvalloc.
14856         * malloc/tst-pvalloc.c: New file.
14857
14858 2013-10-02  Will Newton  <will.newton@linaro.org>
14859
14860         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14861         improve test coverage.
14862
14863 2013-10-02  Will Newton  <will.newton@linaro.org>
14864
14865         * malloc/Makefile: Add tst-posix_memalign.
14866         * malloc/tst-posix_memalign.c: New file.
14867
14868 2013-10-01  Eric Blake  <eblake@redhat.com>
14869
14870         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14871         Use __THROWNL rather than __THROW on static functions.
14872
14873 2013-09-30  Petr Machata  <pmachata@redhat.com>
14874
14875         * elf/elf.h (R_AARCH64_ABS16): New macro.
14876         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14877         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14878         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14879         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14880         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14881         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14882         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14883         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14884         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14885         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14886         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14887         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14888         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14889         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14890         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14891         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14892         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14893         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14894         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14895         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14896         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14897         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14898         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14899         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14900         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14901         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14902         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14903         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14904         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14905         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14906         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14907         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14908         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14909         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14910         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14911         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14912         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14913         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14914         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14915         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14916         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14917         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14918         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14919         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14920         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14921         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14922         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14923         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14924         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14925         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14926         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14927         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14928         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14929         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14930         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14931         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14932         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14933         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14934         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14935         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14936         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14937         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14938         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14939         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14940         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14941         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14942         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14943         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14944         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14945         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14946         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14947         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14948         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14949         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14950         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14951         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14952         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14953         (R_AARCH64_TLSDESC_LDR): Likewise.
14954         (R_AARCH64_TLSDESC_ADD): Likewise.
14955         (R_AARCH64_TLSDESC_CALL): Likewise.
14956
14957 2013-09-30  Andreas Schwab  <schwab@suse.de>
14958
14959         [BZ #15048]
14960         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14961         the nss database lookup.
14962         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14964
14965 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14966
14967         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14968
14969 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14970
14971         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14972         ${Bash-specific parameter/pattern/string} parameter expansion.
14973         * sysdeps/unix/make-syscalls.sh: Likewise.
14974
14975 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14976
14977         * sysdeps/sh/stackguard-macros.h: New file.
14978
14979 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14980
14981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14983         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14984         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14985         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14986         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14987
14988 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989
14990         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14991         Fix thread ID register.
14992
14993 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14994
14995         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14996         [POSIX || UNIX98]: Require rather than permitting all symbols from
14997         <time.h>.
14998         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14999         element of struct sched_param.
15000         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15001         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15002         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15003         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15004         constant.
15005
15006 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15007
15008         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15009         argument calculation.
15010
15011 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15012
15013         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15014         Expect macro.
15015         [POSIX] (pthread_attr_t): Do not require type.
15016         [POSIX] (pthread_cond_t): Likewise.
15017         [POSIX] (pthread_condattr_t): Likewise.
15018         [POSIX] (pthread_key_t): Likewise.
15019         [POSIX] (pthread_mutex_t): Likewise.
15020         [POSIX] (pthread_mutexattr_t): Likewise.
15021         [POSIX] (pthread_once_t): Likewise.
15022         [POSIX] (pthread_t): Likewise.
15023         [POSIX-based standards] (pthread_atfork): Expect function.
15024
15025 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15026             Richard Sandiford  <richard@codesourcery.com>
15027
15028         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15029         (swap_endianness_p): New extern variable.
15030         (set_big_endian): New inline function.
15031         (maybe_swap_uint32): Likewise.
15032         (maybe_swap_uint32_array): Likewise.
15033         (maybe_swap_uint32_obstack): Likewise.
15034         * locale/programs/locfile.c: Include <stdbool.h>.
15035         (swap_endianness_p): New variable.
15036         (add_locale_uint32): Call maybe_swap_uint32.
15037         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15038         (write_locale_data): Call maybe_swap_uint32_array.
15039         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15040         maybe_swap_uint32.
15041         (obstack_int32_grow_fast): Likewise.
15042         (output_weightwc): Call maybe_swap_uint32_obstack.
15043         (collate_output): Likewise.
15044         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15045         (OPT_LITTLE_ENDIAN): Likewise.
15046         (options): Add --little-endian and --big-endian options.
15047         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15048         * locale/programs/locarchive.c: Include "locfile.h".
15049         (GET): New macro.
15050         (SET): Likewise.
15051         (INC): Likewise.
15052         (create_archive): Use the new macros to access fields of
15053         structures directly mapped from or written to locale archives.
15054         (oldlocrecentcmp): Likewise.
15055         (enlarge_archive): Likewise.
15056         (insert_name): Likewise.
15057         (add_alias): Likewise.
15058         (add_locale): Likewise.
15059         (delete_locales_from_archive): Likewise.
15060         (show_archive_content): Likewise.
15061         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15062         locale data.
15063
15064 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15065
15066         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15067         http://www.gnu.org/doc/freemanuals.texi.
15068         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15069
15070 2013-09-24  Will Newton  <will.newton@linaro.org>
15071
15072         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15073         macro.
15074
15075 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15076
15077         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15078         unsigned char.
15079
15080 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15081
15082         * manual/threads.texi (POSIX Threads): Fix a typo.
15083
15084 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15085
15086         [BZ #14547]
15087         * string/tst-strcoll-overflow.c: New test case.
15088         * string/Makefile (xtests): Add tst-strcoll-overflow.
15089         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15090         cache if string sizes may cause integer overflow.
15091
15092         [BZ #14547]
15093         * string/strcoll_l.c (coll_seq): New members rule, idx,
15094         save_idx and back_us.
15095         (get_next_seq_nocache): New function.
15096         (do_compare_nocache): New function.
15097         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15098         when malloc fails.
15099
15100 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15101
15102         [BZ #15754]
15103         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15104         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15105         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15106
15107         [BZ #15754]
15108         * elf/Makefile (tests): Add tst-ptrguard1.
15109         (tests-static): Add tst-ptrguard1-static.
15110         (tst-ptrguard1-ARGS): Define.
15111         (tst-ptrguard1-static-ARGS): Define.
15112         * elf/tst-ptrguard1.c: New file.
15113         * elf/tst-ptrguard1-static.c: New file.
15114         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15115         * sysdeps/i386/stackguard-macros.h: Likewise.
15116         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15117         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15118         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15119         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15120         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15121         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15122
15123 2013-09-23  Hector Marco  <hecmargi@upv.es>
15124             Ismael Ripoll  <iripoll@disca.upv.es>
15125             Carlos O'Donell  <carlos@redhat.com>
15126
15127         [BZ #15754]
15128         * sysdeps/generic/stackguard-macros.h: Define
15129         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15130         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15131         Define __pointer_chk_guard_local.
15132         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15133         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15134
15135 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15136
15137         [BZ #15859]
15138         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15139
15140 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15141
15142         * include/string.h (__ffs): Declare as hidden.
15143         * string/ffs.c (__ffs): Define as hidden.
15144         * sysdeps/i386/ffs.c (__ffs): Likewise.
15145         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15146         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15147         * sysdeps/s390/ffs.c (__ffs): Likewise.
15148         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15149
15150 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15151
15152         * NEWS: Mention malloc probes.
15153
15154         * malloc/arena.c (new_heap): New memory_heap_new probe.
15155         (grow_heap): New memory_heap_more probe.
15156         (shrink_heap): New memory_heap_less probe.
15157         (heap_trim): New memory_heap_free probe.
15158         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15159         (systrim): New memory_sbrk_less probe.
15160         * manual/probes.texi: Document them.
15161
15162         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15163         * manual/probes.texi: Document it.
15164
15165         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15166         (__libc_realloc): Add memory_realloc_retry probe.
15167         (__libc_memalign): Add memory_memalign_retry probe.
15168         (__libc_valloc): Add memory_valloc_retry probe.
15169         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15170         (__libc_calloc): Add memory_calloc_retry probe.
15171         * manual/probes.texi: Document them.
15172
15173         * malloc/arena.c (get_free_list): Add probe
15174         memory_arena_reuse_free_list.
15175         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15176         and memory_arena_reuse.
15177         (arena_get2) [!PER_THREAD]: Likewise.
15178         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15179         memory_arena_reuse_realloc.
15180         * manual/probes.texi: Document them.
15181
15182         * malloc/malloc.c (__libc_free): Add
15183         memory_mallopt_free_dyn_thresholds probe.
15184         (__libc_mallopt): Add multiple memory_mallopt probes.
15185         * manual/probes.texi: Document them.
15186
15187         * malloc/malloc.c: Include stap-probe.h.
15188         (__libc_mallopt): Add memory_mallopt probe.
15189         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15190         * manual/probes.texi: New.
15191         * manual/Makefile (chapters): Add probes.
15192         * manual/threads.texi: Set next node.
15193
15194 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15195
15196         [BZ #15963, #13985]
15197         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15198         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15199         Add `Chinese' to `nan' entry name.
15200
15201 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15202
15203         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15204         (POLYNOMIAL): Likewise.
15205         (TAYLOR_SINCOS): Likewise.
15206         (TAYLOR_SLOW): Likewise.
15207         (__sin): Use TAYLOR_SINCOS.
15208         (__cos): Likewise.
15209         (slow): Use TAYLOR_SLOW.
15210         (sloww): Likewise.
15211         (bsloww): Likewise.
15212         (csloww): Likewise.
15213
15214 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15215
15216         * stdlib/strtod_l.c: Fix buffer overrun.
15217
15218 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15219
15220         * benchtests/Makefile (bench): Add sincos.
15221         * benchtests/bench-sincos.c: New file.
15222
15223         * math/libm-test.inc (cos_test_data): New test inputs.
15224         (sin_test_data): Likewise.
15225
15226         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15227         macro.
15228         (__sin): Use it.
15229         (__cos): Likewise.
15230         (slow1): Likewise.
15231         (slow2): Likewise.
15232         (sloww1): Likewise.
15233         (sloww2): Likewise.
15234         (bsloww1): Likewise.
15235         (bsloww2): Likewise.
15236         (cslow2): Likewise.
15237         (csloww1): Likewise.
15238         (csloww2): Likewise.
15239
15240         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15241         function.
15242         (__sin): Use it.
15243         (__cos): Likewise.
15244
15245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15246         gotos.
15247         (__cos): Likewise.
15248
15249 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15250
15251         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15252         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15253         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15254         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15255         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15256         * elf/cache.c (print_entry): Handle the new cache flags.
15257
15258 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15259             Aldy Hernandez  <aldyh@redhat.com>
15260
15261         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15262         Change condition to [_SOFT_FLOAT].
15263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15275         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15278         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15279         declaration.
15280
15281 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15282
15283         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15284         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15285         (__longjmp): Use LOAD_GP to load saved GPRs.
15286         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15287         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15288         (__sigsetjmp): Use SAVE_GP to save GPRs.
15289
15290         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15291         Do not append -msoft-float.
15292         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15293
15294 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15295
15296         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15297
15298 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15299
15300         [BZ #15966]
15301         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15302         (_FPU_GETCW): Use initial "__" on variable and field names but not
15303         on macro parameter name.
15304         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15305         parentheses around reference to macro parameter.
15306
15307 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15308
15309         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15310         prototype.
15311         (ctype_startup): Use uint32_t in cast and sizeof for
15312         ctype->charnames.
15313
15314 2013-09-11  Jia Liu  <proljc@gmail.com>
15315
15316         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15317         __daddr_t_defined.
15318         [__FreeBSD__]: Likewise.
15319
15320 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15321
15322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15323         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15324         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15325         (strchr): Remove __strchr_sse42 ifunc selection.
15326         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15327         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15328
15329 2013-09-11  Will Newton  <will.newton@linaro.org>
15330
15331         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15332         parameter to RES. Remove hardcoded 1000 value.
15333         * benchtests/bench-skeleton.c (main): Pass RES parameter
15334         to TIMING_INIT and multiply result by 1000.
15335
15336 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15337
15338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15339
15340 2013-09-11  Andreas Schwab  <schwab@suse.de>
15341
15342         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15343         if not defined.
15344         (O_TMPFILE) [__USE_GNU]: Define.
15345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15346         Define.
15347
15348 2013-09-11  Will Newton  <will.newton@linaro.org>
15349
15350         [BZ #15857]
15351         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15352         does not overflow.
15353
15354 2013-09-11  Will Newton  <will.newton@linaro.org>
15355
15356         [BZ #15856]
15357         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15358         does not overflow.
15359
15360 2013-09-11  Will Newton  <will.newton@linaro.org>
15361
15362         [BZ #15855]
15363         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15364         does not overflow.
15365
15366 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15367
15368         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15370         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15371         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15372         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15373
15374 2013-09-10  Allan McRae  <allan@archlinux.org>
15375
15376         [BZ #15748]
15377         * manual/arith.texi (Parsing of Floats): Clarify
15378         cross-reference.
15379
15380         [BZ #15849]
15381         * manual/install.texi (Running make install): Mention
15382         --enable-pt-chown.
15383         * INSTALL: Regenerated.
15384
15385 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15386
15387         * csu/init-first.c (_init): Remove the !SHARED condition around
15388         FPU control word initialization.
15389         * elf/dl-support.c (_dl_fpu_control): New variable.
15390         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15391         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15392         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15393         * math/test-fpucw-static.c: New file.
15394         * math/test-fpucw-ieee.c: New file.
15395         * math/test-fpucw-ieee-static.c: New file.
15396         * math/Makefile (tests): Add `test-fpucw-ieee' and
15397         `$(tests-static)'.
15398         (tests-static): New variable.
15399         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15400         dependency to...
15401         [($(build-shared),yes)]
15402         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15403         ... this.
15404         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15405         New dependency.
15406
15407 2013-09-09  Allan McRae  <allan@archlinux.org>
15408
15409         [BZ #15939]
15410         * manual/string.texi (Collation Functions): Fix typo in
15411         strcoll example.
15412         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15413
15414         [BZ #15893]
15415         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15416
15417         [BZ #15892]
15418         * libio/memstream.c (open_memstream): Fix memory leak.
15419         * libio/wmemstream.c (open_wmemstream): Likewise.
15420
15421         [BZ #15895]
15422         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15423
15424 2013-09-09  Will Newton  <will.newton@linaro.org>
15425
15426         * malloc/Makefile: Add tst-realloc to tests.
15427         * malloc/tst-realloc.c: New file.
15428
15429 2013-09-09  Allan McRae  <allan@archlinux.org>
15430
15431         [BZ #15844]
15432         * COPYING: Update from GNU website to fix FSF address.
15433         * COPYING.LIB: Likewise.
15434
15435 2013-09-06  David S. Miller  <davem@davemloft.net>
15436
15437         * po/zh_TW.po: Update Chinese (traditional) translation from
15438         translation project.
15439
15440 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15441             Joseph Myers  <joseph@codesourcery.com>
15442
15443         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15444         "localeinfo.h".
15445         (obstack_chunk_alloc): New macro.
15446         (obstack_chunk_free): Likewise.
15447         (record_offset): New function.
15448         (init_locale_data): Likewise.
15449         (align_locale_data): Likewise.
15450         (add_locale_empty): Likewise.
15451         (add_locale_raw_data): Likewise.
15452         (add_locale_raw_obstack): Likewise.
15453         (add_locale_string): Likewise.
15454         (add_locale_wstring): Likewise.
15455         (add_locale_uint32): Likewise.
15456         (add_locale_uint32_array): Likewise.
15457         (add_locale_char): Likewise.
15458         (start_locale_structure): Likewise.
15459         (end_locale_structure): Likewise.
15460         (start_locale_prelude): Likewise.
15461         (end_locale_prelude): Likewise.
15462         (write_locale_data): Take locale_file structure rather than an
15463         iovec.
15464         * locale/programs/locfile.h: Include "obstack.h".
15465         (struct locale_file): Change to store locale file contents instead
15466         of header.
15467         (init_locale_data): New prototype.
15468         (align_locale_data): Likewise.
15469         (add_locale_empty): Likewise.
15470         (add_locale_raw_data): Likewise.
15471         (add_locale_raw_obstack): Likewise.
15472         (add_locale_string): Likewise.
15473         (add_locale_wstring): Likewise.
15474         (add_locale_uint32): Likewise.
15475         (add_locale_uint32_array): Likewise.
15476         (add_locale_char): Likewise.
15477         (start_locale_structure): Likewise.
15478         (end_locale_structure): Likewise.
15479         (start_locale_prelude): Likewise.
15480         (end_locale_prelude): Likewise.
15481         (write_locale_data): Update prototype.
15482         * locale/programs/3level.h (struct TABLE): Remove result field.
15483         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15484         Use new locale_file interface.
15485         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15486         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15487         * locale/programs/ld-address.c (address_output): Use new
15488         locale_file interface.
15489         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15490         NO_ADD_LOCALE.
15491         (collate_finish): Don't call collseq_table_finalize.
15492         (collate_output): Use new locale_file interface.
15493         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15494         in file.
15495         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15496         (TABLE): Move defines earlier in file.
15497         (ELEMENT): Likewise.
15498         (DEFAULT): Likewise.
15499         (wctrans_table_add): Move macro and inline function earlier in
15500         file.
15501         (struct wctype_table): Move type earlier in file.
15502         (add_locale_wctype_table): New static prototype.
15503         (struct locale_ctype_t): Use logical types instead of struct iovec
15504         pointers for members.
15505         (ctype_output): Use new locale_file interface.
15506         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15507         new locale_file interface.
15508         (allocate_arrays): Update for use of new locale_file interface.
15509         * locale/programs/ld-identification.c (identification_output): Use
15510         new locale_file interface.
15511         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15512         * locale/programs/ld-messages.c (messages_output): Likewise.
15513         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15514         * locale/programs/ld-name.c (name_output): Likewise.
15515         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15516         * locale/programs/ld-paper.c (paper_output): Likewise.
15517         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15518         * locale/programs/ld-time.c (time_output): Likewise.
15519
15520 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15521
15522         * benchtests/Makefile: Add memrchr benchmark.
15523         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15524         benchmark as memrchr.
15525         * benchtests/bench-memrchr-ifunc.c: New file.
15526         * benchtests/bench-memrchr.c: New file.
15527
15528 2013-09-06   Will Newton  <will.newton@linaro.org>
15529
15530         * benchtests/Makefile (string-bench): Add memcpy.
15531
15532 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15533             Cong Wang  <amwang@redhat.com>
15534
15535         [BZ #15850]
15536         * sysdeps/unix/sysv/linux/bits/in.h
15537         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15538         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15539         before __USE_KERNEL_IPV6_DEFS uses.
15540         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15541         IPPROTO_BEETPH.
15542         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15543         sockaddr_in6, or ipv6_mreq.
15544
15545 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15546
15547         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15548         memory access for final bytes in some large inputs.
15549         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15550
15551 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15552
15553         * string/test-memrchr.c: New file.
15554         * string/test-memrchr-ifunc.c: New file.
15555         * string/Makefile: Add new memrchr testcase.
15556
15557 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15558
15559         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15560         fanotify_init returns EPERM.
15561
15562 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15563
15564         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15565         errors.
15566         (top level): Treat second token from macro or constant entries for
15567         allowed headers as allowed.
15568         * include/complex.h: Condition internal declarations on
15569         [!_ISOMAC].
15570         * include/fenv.h: Condition include of <stdbool.h> and internal
15571         declarations on [!_ISOMAC].
15572
15573 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15574
15575         [BZ #15923]
15576         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15577
15578 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15579
15580         * configure.in (--enable-versioning): Remove configure option.
15581         (libc_cv_asm_symver_directive): Remove configure test.
15582         (libc_cv_ld_version_script_option): Likewise.
15583         (VERSIONING): Remove variable and AC_SUBST.
15584         (DO_VERSIONING): Remove AC_DEFINE.
15585         * configure: Regenerated.
15586         * config.h.in (DO_VERSIONING): Remove macro.
15587         * Makerules [$(versioning) = yes]: Change conditionals to
15588         [$(build-shared) = yes].
15589         * config.make.in (versioning): Remove variable.
15590         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15591         [$(build-shared) = yes].
15592         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15593         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15594         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15595         [$(build-shared) = yes].
15596         * extra-lib.mk [$(versioning) = yes]: Likewise.
15597         * hurd/Makefile [$(versioning) = yes]: Likewise.
15598         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15599         [SHARED].
15600         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15601         [SHARED].
15602         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15603         [SHARED && !NO_HIDDEN].
15604         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15605         [SHARED].
15606         [SHARED && DO_VERSIONING]: Likewise..
15607         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15608         [$(build-shared) = yes].
15609         * manual/install.texi (--disable-versioning): Remove
15610         documentation.
15611         * INSTALL: Regenerated.
15612         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15613         to [SHARED].
15614         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15615         [$(build-shared) = yes].
15616         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15617         * sysdeps/i386/i686/multiarch/strstr-c.c
15618         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15619         [SHARED && !NO_HIDDEN].
15620         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15621         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15622         * sysdeps/powerpc/powerpc32/dl-machine.c
15623         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15624         * sysdeps/powerpc/powerpc32/sysdep.h
15625         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15626         to [SHARED && PIC && !NO_HIDDEN].
15627         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15628         conditional to [SHARED].
15629
15630 2013-09-04   Will Newton  <will.newton@linaro.org>
15631
15632         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15633         * benchtests/bench-string.h: Include bench-timing.h instead
15634         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15635         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15636         call to HP_TIMING_DIFF_INIT.
15637         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15638         instead of hp-timing.h macros.
15639         * benchtests/bench-memchr.c: Likewise.
15640         * benchtests/bench-memcmp.c: Likewise.
15641         * benchtests/bench-memcpy.c: Likewise.
15642         * benchtests/bench-memmem.c: Likewise.
15643         * benchtests/bench-memmove.c: Likewise.
15644         * benchtests/bench-memset.c: Likewise.
15645         * benchtests/bench-rawmemchr.c: Likewise.
15646         * benchtests/bench-strcasecmp.c: Likewise.
15647         * benchtests/bench-strcasestr.c: Likewise.
15648         * benchtests/bench-strcat.c: Likewise.
15649         * benchtests/bench-strchr.c: Likewise.
15650         * benchtests/bench-strcmp.c: Likewise.
15651         * benchtests/bench-strcpy.c: Likewise.
15652         * benchtests/bench-strcpy_chk.c: Likewise.
15653         * benchtests/bench-strlen.c: Likewise.
15654         * benchtests/bench-strncasecmp.c: Likewise.
15655         * benchtests/bench-strncat.c: Likewise.
15656         * benchtests/bench-strncmp.c: Likewise.
15657         * benchtests/bench-strncpy.c: Likewise.
15658         * benchtests/bench-strnlen.c: Likewise.
15659         * benchtests/bench-strpbrk.c: Likewise.
15660         * benchtests/bench-strrchr.c: Likewise.
15661         * benchtests/bench-strspn.c: Likewise.
15662         * benchtests/bench-strstr.c: Likewise.
15663
15664 2013-09-04  Will Newton  <will.newton@linaro.org>
15665
15666         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15667
15668 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15669
15670         [BZ #15427]
15671         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15672         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15673         * math/libm-test.inc (lgamma_test_data): Add more tests.
15674         * sysdeps/i386/fpu/libm-test-ulps: Update.
15675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15676
15677 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15678
15679         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15681         Add ifunc.
15682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15683         Add strcmp-sse2-unaligned
15684         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15685
15686 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15687
15688         * Versions.def (libc): Add GLIBC_2.19.
15689
15690 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15691
15692         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15693         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15694
15695 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15696
15697         [BZ #14155]
15698         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15699         intermediate calculations in recurrence.
15700         (__ieee754_ynf): Likewise.
15701         * math/libm-test.inc (jn_test_data): Do not allow spurious
15702         underflow exception.  Add more tests.
15703         (yn_test_data): Add more tests.
15704         * sysdeps/i386/fpu/libm-test-ulps: Update.
15705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15706
15707 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15708
15709         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15710
15711 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15712
15713         * csu/init-first.c: Fix then/than typos.
15714         * locale/programs/ld-collate.c: Likewise.
15715         * locale/programs/linereader.h: Likewise.
15716         * manual/charset.texi: Likewise.
15717         * manual/filesys.texi: Likewise.
15718         * manual/stdio.texi: Likewise.
15719         * manual/string.texi: Likewise.
15720         * stdlib/fmtmsg.c: Likewise.
15721         * sysdeps/i386/stpncpy.S: Likewise.
15722         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15723         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15724         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15725         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15726
15727 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15728
15729         * elf/dl-open.c: Fix typos.
15730         * iconvdata/gbbig5.c: Likewise.
15731         * iconvdata/iso-2022-jp.c: Likewise.
15732         * iconv/gconv_int.h: Likewise.
15733         * iconv/loop.c: Likewise.
15734         * nis/rpcsvc/nis.h: Likewise.
15735         * resolv/ns_name.c: Likewise.
15736         * stdio-common/vfscanf.c: Likewise.
15737         * streams/stropts.h: Likewise.
15738         * sunrpc/rpc_thread.c: Likewise.
15739         * sysdeps/i386/strpbrk.S: Likewise.
15740         * sysdeps/ieee754/k_standard.c: Likewise.
15741         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15743         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15744         * sysdeps/mach/hurd/profil.c: Likewise.
15745         * sysdeps/s390/dl-procinfo.h: Likewise.
15746         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15747         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15748         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15749         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15750         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15751
15752 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15753
15754         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15755         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15756
15757 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15758
15759         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15760         aix specific files.
15761         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15762         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15763         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15764         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15765         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15766         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15767         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15768         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15769
15770 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15771             Roland McGrath  <roland@hack.frob.com>
15772
15773         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15774         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15775
15776 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15777
15778         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15779         __executable_start symbol instead of _start.
15780
15781 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15782
15783         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15784         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15785         Move macros to...
15786         * sysdeps/gnu/ldsodefs.h: ... this new file.
15787
15788         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15789         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15790         instead of ELFOSABI_LINUX.
15791
15792         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15793         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15794         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15795         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15796         Likewise.
15797         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15798         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15799         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15800         Likewise.
15801         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15802         (ibm_extended_long_double): Add ieee_nan member.
15803         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15804         (do_test): New function.
15805
15806         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15807         TEST_TRUNC.
15808         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15809         functions, renamed from truncdfsf_test, trunctfsf_test,
15810         trunctfdf_test.
15811         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15812         functions.
15813         (do_test): Run all these.
15814
15815 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15816
15817         * argp/argp-help.c: Fix typos.
15818         * argp/argp-parse.c: Likewise.
15819         * debug/backtracesyms.c: Likewise.
15820         * elf/elf.h: Likewise.
15821         * malloc/malloc.c: Likewise.
15822         * nis/nis_print.c: Likewise.
15823         * resolv/res_comp.c: Likewise.
15824         * stdlib/stdlib.h: Likewise.
15825         * sunrpc/clnt_tcp.c: Likewise.
15826         * sunrpc/clnt_udp.c: Likewise.
15827         * sunrpc/clnt_unix.c: Likewise.
15828         * sysdeps/unix/bsd/ptsname.c: Likewise.
15829         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15830         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15832         Likewise.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15834         Likewise.
15835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15836         Likewise.
15837         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15838
15839 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15840
15841         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15843
15844 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15845
15846         [BZ #15897]
15847         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15848         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15849         ($(objpfx)bug-dl-leaf): New rule.
15850         ($(objpfx)bug-dl-leaf.so): Likewise.
15851         ($(objpfx)bug-dl-leaf.out): Likewise.
15852         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15853         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15854         * dlfcn/bug-dl-leaf.c: New test.
15855         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15856         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15857         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15858         (dlclose): Likewise.
15859         (dlmopen): Likewise.
15860
15861 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15862
15863         * include/netdb.h [!_ISOMAC]:
15864         Don't include <tls.h>.
15865         (h_errno, __libc_h_errno): Move declaration and macros out of
15866         [_LIBC_REENTRANT].
15867
15868         * include/resolv.h [_RESOLV_H_]:
15869         Don't include <tls.h>.
15870         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15871         * resolv/res_libc.c: Don't include <tls.h>.
15872         (_res): Use __attribute__ ((nocommon)) in place of
15873         __attribute__ ((section (".bss"))).
15874
15875         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15876         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15877
15878         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15879
15880         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15881         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15882
15883         * resolv/res_mkquery.c: Include <sys/time.h>.
15884
15885         * inet/ifreq.c: Moved to ...
15886         * sysdeps/unix/ifreq.c: ... here.
15887         * inet/ifreq.c: New file, true stub version.
15888
15889         * socket/sa_len.c: New file.
15890         * socket/Makefile (aux): Add it.
15891         * sysdeps/unix/sysv/linux/Makefile
15892         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15893         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15894         and #include <socket/sa_len.c>.
15895         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15896         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15897
15898         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15899         * bits/socket.h: ... here.
15900
15901         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15902         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15903         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15904
15905 2013-08-27  Andreas Schwab  <schwab@suse.de>
15906
15907         [BZ #15736]
15908         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15909         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15910         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15911         * string/test-strcasecmp.c (test_main): Run tests in several
15912         locales.
15913         * string/test-strncasecmp.c (test_main): Likewise.
15914
15915         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15916         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15917         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15919         (__strncasecmp_ssse3) [PIC]: Likewise.
15920
15921 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15922
15923         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15924
15925         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15926         instead of explicitly declaring xdecrypt.
15927         * nis/nss_nis/nis-publickey.c: Likewise.
15928
15929 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15930
15931         [BZ #15890]
15932         * nscd/aicache.c: Include res_hconf.h.
15933         (addhstaiX): Initialize res_hconf.
15934
15935 2013-08-26  Andreas Schwab  <schwab@suse.de>
15936
15937         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15938         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15939
15940 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15941
15942         * nscd/aicache.c (addhstaiX): Fix indentation.
15943
15944 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15945
15946         * configure.ac: Quote $build_pt_chown test.
15947         * configure: Regenerated.
15948
15949 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15950
15951         [BZ #15532]
15952         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15953         * math/s_cexpf.c (__cexpf): Likewise.
15954         * math/s_cexpl.c (__cexpl): Likewise.
15955         * math/libm-test.inc (cexp_test_data): Correct expected return
15956         value for NaN + i0.  Add another test.
15957
15958 2013-08-22  David S. Miller  <davem@davemloft.net>
15959
15960         * po/ca.po: Update Catalan translation from translation project.
15961         * po/uk.po: Add Ukrainian translations from translation project.
15962
15963 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15964
15965         [BZ #15797]
15966         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15967         is infinite, not alongside NaN test.
15968         * math/s_fdimf.c (__fdimf): Likewise.
15969         * math/s_fdiml.c (__fdiml): Likewise.
15970         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15971         errno is unchanged.
15972
15973 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15974
15975         * argp/argp-help.c: Fix typos.
15976         * crypt/speeds.c: Likewise.
15977         * csu/check_fds.c: Likewise.
15978         * elf/dl-load.c: Likewise.
15979         * elf/dl-open.c: Likewise.
15980         * elf/reldep3.c: Likewise.
15981         * elf/reldep.c: Likewise.
15982         * elf/sprof.c: Likewise.
15983         * iconv/iconv_charmap.c: Likewise.
15984         * iconv/skeleton.c: Likewise.
15985         * iconv/strtab.c: Likewise.
15986         * io/lockf64.c: Likewise.
15987         * libio/libioP.h: Likewise.
15988         * resolv/gai_notify.c: Likewise.
15989         * resolv/ns_name.c: Likewise.
15990         * resolv/ns_samedomain.c: Likewise.
15991         * resolv/res_send.c: Likewise.
15992         * stdlib/random.c: Likewise.
15993         * sunrpc/rpc/xdr.h: Likewise.
15994         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15995         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15996         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15997         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15998         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15999         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16001         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16002         * sysdeps/mach/hurd/check_fds.c: Likewise.
16003         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16004         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16005         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16006         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16007         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16008         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16009         * sysdeps/pthread/aio_notify.c: Likewise.
16010         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16011         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16012         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16013         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16014         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16015
16016 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16017
16018         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16019         version if bit_Slow_SSE4_2 is set.
16020         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16022
16023 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16024
16025         [BZ #15867]
16026         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16027         trampoline stack frame information.
16028         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16029         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16030         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16031         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16032         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16033         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16034         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16035         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16036         sa_flags value.
16037         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16038         interrupting a syscall and set with option SA_SIGINFO.
16039
16040 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16041
16042         [BZ #15531]
16043         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16044         argument is infinite.
16045         * math/s_cprojf.c (__cprojf): Likewise.
16046         * math/s_cprojl.c (__cprojl): Likewise.
16047         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16048         * math/libm-test.inc (cproj_test_data): Add more tests.
16049
16050         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16051
16052         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16053         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16054         size.  Use __ffs to determine corresponding shift.
16055
16056 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16057             Roland McGrath  <roland@hack.frob.com>
16058
16059         * Makefile (INSTALL): Remove trailing blank lines from output of
16060         makeinfo.
16061
16062 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16063
16064         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16065         Align 32 bit compat elf_greg to 8 bytes.
16066
16067 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16068
16069         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16070
16071 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16072
16073         * string/strcoll_l.c (coll_seq): New structure.
16074         (get_next_seq_cached): New function.
16075         (get_next_seq): New function.
16076         (do_compare): New function.
16077         (STRCOLL): Use GNU style definition.  Simplify implementation
16078         by using get_next_seq, get_next_seq_cached and do_compare.
16079
16080 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16081
16082         [BZ #14699]
16083         CVE-2013-4237
16084         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16085         member.
16086         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16087         member.
16088         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16089         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16090         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16091         conditional.
16092         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16093         GETDENTS_64BIT_ALIGNED.
16094         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16095         * manual/filesys.texi (Reading/Closing Directory): Document
16096         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16097         strongly.
16098         * manual/conf.texi (Limits for Files): Add portability note to
16099         NAME_MAX, PATH_MAX.
16100         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16101
16102 2013-08-13  Andreas Schwab  <schwab@suse.de>
16103
16104         [BZ #15749]
16105         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16106         of fabs.
16107         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16108         LDBL_MAX_EXP >= 16384]: Add tests for it.
16109
16110 2013-08-12  David S. Miller  <davem@davemloft.net>
16111
16112         * version.h (RELEASE): Set to "development".
16113         (VERSION): Set to "2.18.90".
16114         * NEWS: Add 2.19 section.
16115
16116 2013-08-03  David S. Miller  <davem@davemloft.net>
16117
16118         * po/ko.po: Update Korean translation from translation project.
16119
16120 2013-08-01  David S. Miller  <davem@davemloft.net>
16121
16122         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16123         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16124         Bilka.
16125
16126 2013-07-30  David S. Miller  <davem@davemloft.net>
16127
16128         * po/fr.po: Update French translation from translation project.
16129
16130 2013-07-28  David S. Miller  <davem@davemloft.net>
16131
16132         * po/cs.po: Update Czech translation from translation project.
16133
16134         * po/sv.po: Update Swedish translation from translation project.
16135
16136 2013-07-27  David S. Miller  <davem@davemloft.net>
16137
16138         * po/eo.po: Update Esperanto translation from translation project.
16139
16140         * po/vi.po: Update Vietnamese translation from translation project.
16141
16142         * po/de.po: Update German translation from translation project.
16143
16144 2013-07-26  David S. Miller  <davem@davemloft.net>
16145
16146         * po/bg.po: Update Bulgarian translation from translation project.
16147
16148         * po/nl.po: Update Dutch translation from translation project.
16149         * po/pl.po: Update Polish translation from translation project.
16150         * po/ru.po: Update Russian translation from translation project.
16151
16152 2013-07-24  David S. Miller  <davem@davemloft.net>
16153
16154         * po/libc.pot: Update.
16155
16156 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16157
16158         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16159         variable page size.
16160         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16161         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16162         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16163
16164 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16165
16166         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16167
16168 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16169             Andreas Schwab  <schwab@suse.de>
16170             Roland McGrath  <roland@hack.frob.com>
16171             Joseph Myers  <joseph@codesourcery.com>
16172             Carlos O'Donell  <carlos@redhat.com>
16173
16174         [BZ #15755]
16175         * config.h.in: Define HAVE_PT_CHOWN.
16176         * config.make.in (build-pt-chown): New variable.
16177         * configure.in (--enable-pt_chown): New configure option.
16178         * configure: Regenerate.
16179         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16180         build-pt-chown is enabled.
16181         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16182         pt_chown to fix pty ownership.
16183         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16184         CLOSE_ALL_FDS.
16185         * manual/install.texi (Configuring and compiling): Mention
16186         --enable-pt_chown. Add @findex for grantpt.
16187         * INSTALL: Regenerate.
16188
16189 2013-07-20  David S. Miller  <davem@davemloft.net>
16190
16191         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16192         difference between 32-bit and 64-bit.
16193
16194 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16195
16196         [BZ #15711]
16197         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16198         Avoid system header dependency with -ffreestanding.
16199         ($(objpfx)bits/syscall%d): Likewise.
16200
16201 2013-07-13  David S. Miller  <davem@davemloft.net>
16202
16203         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16204         underflows from atanl/atan2l due to bug 15319.
16205         (casinh_test_data): Likewise.
16206
16207 2013-07-07  David S. Miller  <davem@davemloft.net>
16208
16209         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16210
16211 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16212
16213         * sysdeps/i386/fpu/libm-test-ulps: Update.
16214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16215
16216 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16217
16218         * configure.in (--enable-lock-elision): Fix message text.
16219         * INSTALL: Regenerate.
16220         * configure: Regenerate.
16221
16222 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16223
16224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16225
16226 2013-07-03  Andreas Jaeger  <aj@suse.de>
16227
16228         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16229         define.
16230         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16231         (ptrace_peeksiginfo_args): Add.
16232         (__ptrace_peeksiginfo_flags): Add.
16233         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16235         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16236
16237 2013-07-03  Allan McRae  <allan@archlinux.org>
16238
16239         * sysdeps/i386/fpu/libm-test-ulps: Update.
16240
16241 2013-07-02  David S. Miller  <davem@davemloft.net>
16242
16243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16244
16245 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16246
16247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16248
16249 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16250
16251         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16253
16254 2013-07-02  Andi Kleen <ak@linux.intel.com>
16255
16256         * config.h.in (ENABLE_LOCK_ELISION): Add.
16257         * configure.in (--enable-lock-elision): Add option.
16258         * manual/install.texi: Document --enable lock elision.
16259         * configure: Regenerate
16260         * INSTALL: Regenerate.
16261
16262 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16263
16264         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16265         SSE4.2 strcasecmp for libc.a.
16266         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16267
16268 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16269
16270         [BZ #13304]
16271         * soft-fp/op-common.h (_FP_FMA): New macro.
16272         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16273         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16274         (_FP_MUL_MEAT_1_imm): ... here.
16275         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16276         (_FP_MUL_MEAT_1_wide): ... here.
16277         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16278         (_FP_MUL_MEAT_1_hard): ... here.
16279         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16280         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16281         (_FP_MUL_MEAT_2_wide): ... here.
16282         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16283         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16284         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16285         (_FP_MUL_MEAT_2_gmp): ... here.
16286         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16287         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16288         (_FP_MUL_MEAT_4_wide): ... here.
16289         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16290         (_FP_MUL_MEAT_4_gmp): ... here.
16291         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16292         (_FP_WFRACBITS_DW_S): Likewise.
16293         (_FP_WFRACXBITS_DW_S): Likewise.
16294         (_FP_HIGHBIT_DW_S): Likewise.
16295         (FP_FMA_S): Likewise.
16296         (_FP_FRAC_HIGH_DW_S): Likewise.
16297         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16298         (_FP_WFRACBITS_DW_D): Likewise.
16299         (_FP_WFRACXBITS_DW_D): Likewise.
16300         (_FP_HIGHBIT_DW_D): Likewise.
16301         (FP_FMA_D): Likewise.
16302         (_FP_FRAC_HIGH_DW_D): Likewise.
16303         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16304         (_FP_WFRACBITS_DW_E): Likewise.
16305         (_FP_WFRACXBITS_DW_E): Likewise.
16306         (_FP_HIGHBIT_DW_E): Likewise.
16307         (FP_FMA_E): Likewise.
16308         (_FP_FRAC_HIGH_DW_E): Likewise.
16309         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16310         (_FP_WFRACBITS_DW_Q): Likewise.
16311         (_FP_WFRACXBITS_DW_Q): Likewise.
16312         (_FP_HIGHBIT_DW_Q): Likewise.
16313         (FP_FMA_Q): Likewise.
16314         (_FP_FRAC_HIGH_DW_Q): Likewise.
16315         * soft-fp/fmasf4.c: New file.
16316         * soft-fp/fmadf4.c: Likewise.
16317         * soft-fp/fmatf4.c: Likewise.
16318
16319 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16320
16321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16322         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16323         Silvermont.
16324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16325         macro.
16326         (index_Slow_SSE4_2): Likewise.
16327         (index_Prefer_PMINUB_for_stringop): Likewise.
16328         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16329         bit_Slow_SSE4_2 is set.
16330         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16331         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16332
16333 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16334
16335         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16336         rtld_global._dl_hwcap2.
16337         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16338         POWER8.
16339         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16340         POWER8 feature descriptions defined in _dl_hwcap2.
16341         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16342         string handling for POWER8 feature bits.
16343         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16344         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16345         _dl_powerpc_cap_flags.
16346         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16347         * sysdeps/powerpc/rtld-global-offsets.sym
16348         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16349         _dl_hwcap2 in the rtld_global_ro structure.
16350
16351 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16352
16353         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16354         hardware capabilities in support of AT_HWCAP2.
16355         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16356         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16357         GLRO(dl_hwcap2).
16358         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16359         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16360         explicitly the unknown a_type display mechanism is used.
16361         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16362         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16363         struct member.
16364         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16365         to macro prototype for AT_HWCAP2 support.
16366         * sysdeps/i386/dl-procinfo.h: Likewise.
16367         * sysdeps/s390/dl-procinfo.h: Likewise.
16368         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16369         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16370         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16371         return -1 for unknown a_type display fallback.
16372         * sysdeps/sparc/dl-procinfo.h: Likewise.
16373         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16374         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16375
16376 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16377
16378         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16379         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16380
16381 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16382
16383         [BZ #12492]
16384         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16385         mprotect making __stack_prot writable.
16386
16387 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16388             Joseph Myers  <joseph@codesourcery.com>
16389
16390         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16391         as being properly aligned.
16392
16393 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16394
16395         * dlfcn/modstatic5.c: New file.
16396         * dlfcn/tststatic5.c: New file.
16397         * dlfcn/Makefile (tests): Add tststatic5.
16398         (tests-static): Likewise.
16399         (modules-names): Add modstatic5.
16400         (tststatic5-ENV): New variable.
16401         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16402
16403         [BZ #15022]
16404         * elf/dl-support.c (_dl_main_map): New variable.
16405         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16406         (_dl_nns, _dl_load_adds): Set to 1.
16407         (_dl_initial_searchlist): Refer to _dl_main_map.
16408         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16409         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16410         call to _dl_get_origin.
16411         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16412         around call_map.
16413         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16414         * dlfcn/modstatic3.c: New file.
16415         * dlfcn/tststatic3.c: New file.
16416         * dlfcn/tststatic4.c: New file.
16417         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16418         (tests-static): Likewise.
16419         (modules-names): Add modstatic3.
16420         (tststatic3-ENV, tststatic4-ENV): New variables.
16421         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16422         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16423
16424 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16425
16426         * configure.in (CC): Require GCC version 4.4 or later.
16427         * configure: Regenerated.
16428         * manual/install.texi (Tools for Compilation): Update GCC version
16429         requirement.
16430         * INSTALL: Regenerated.
16431
16432 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16433
16434         [BZ #15674]
16435         * string/test-memcmp.c (check2): New.
16436         (main): Call check2.
16437
16438         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16439
16440 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16441
16442         [BZ #15022]
16443         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16444         over to...
16445         (dl_open_worker) [!SHARED]: ... here.
16446
16447 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16448
16449         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16450
16451 2013-06-25  Richard Henderson  <rth@redhat.com>
16452
16453         * locale/programs/locarchive.c: Include <libc-internal.h>
16454
16455 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16456
16457         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16458         trailing whitespace removed.
16459
16460 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16461
16462         [BZ #10283]
16463         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16464         * locale/programs/locarchive.c: Include libc-mmap.h.
16465         (prepare_address_space): Take two new outputs (the mmap base and len).
16466         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16467         values.
16468         (create_archive): Declare new mmap base and len values for
16469         prepare_address_space, and store the result in ah.
16470         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16471         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16472         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16473         Declare new mmap base and len values for
16474         prepare_address_space, and store the result in new_ah.
16475         (open_archive): Declare new mmap base and len values for
16476         prepare_address_space, and store the result in ah.
16477         (close_archive): If ah->mmap_base is not NULL, use that and
16478         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16479         * sysdeps/generic/libc-mmap.h: New file.
16480
16481 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16482
16483         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16484         (ALIGN_UP): Likewise.
16485         (PTR_ALIGN_DOWN): Likewise.
16486         (PTR_ALIGN_UP): Likewise.
16487
16488 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16489
16490         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16491         entry mapped to PPC_PLATFORM_POWER8.
16492         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16493         POWER8.
16494         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16495         (_dl_string_platform): Add case for exporting platform position for
16496         POWER8.
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16498         search path to sysdeps/powerpc/powerpc32/power8 directory.
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16500         search path to sysdeps/powerpc/powerpc64/power8 directory.
16501         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16502         power7 directories.
16503         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16504         power7 directories.
16505
16506 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16507
16508         * INSTALL: Regenerate.
16509
16510         * nscd/connections.c (nscd_init): Fix comment.
16511
16512 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16513
16514         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16515
16516         [BZ #15667]
16517         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16518         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16519
16520 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16521
16522         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16523         DL_DST_REQ_STATIC.
16524         (DL_DST_REQ_STATIC): Remove macro.
16525
16526 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16527
16528         [BZ #7006]
16529         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16530         with a shift of 0 bits.
16531
16532 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16533
16534         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16535         $(tststatic-ENV).
16536
16537 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16538
16539         [BZ #15655]
16540         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16541
16542 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16543
16544         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16545         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16546         accepts -fno-tree-loop-distribute-patterns.
16547         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16548         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16549         recursive call.
16550         * string/memset.c (memset): Likewise.
16551         * string/test-memmove.c (simple_memmove): Disable loop transformation
16552         to library calls.
16553         * string/test-memset.c (simple_memset): Likewise.
16554         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16555         * benchtests/bench-memset.c (simple_memset): Likewise.
16556         * configure: Regenerated.
16557
16558 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16559
16560         * math/test-misc.c (main): Ignore fesetround failure when failures
16561         of subsequent rounding tests would be ignored.
16562
16563         [BZ #15654]
16564         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16565         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16566         * math/fegetenv.c (__fegetenv): Return 0.
16567         * math/fegetexcept.c (fegetexcept): Return 0.
16568         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16569         FE_TONEAREST.
16570         * math/feholdexcpt.c (feholdexcept): Return 0.
16571         * math/fesetenv.c (__fesetenv): Return 0.
16572         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16573         argument FE_TONEAREST.
16574         * math/feupdateenv.c (__feupdateenv): Return 0.
16575         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16576
16577 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16578
16579         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16580         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16581         ($(objpfx)rtld-%.os rules): Use them.
16582
16583 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16584
16585         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16586         fields.
16587
16588 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16589
16590         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16591         length of target pattern, then descending length of dependency pattern.
16592         * configure.in (AWK): Require gawk 3.1.2 or newer.
16593         * manual/install.texi (Tools for Compilation): Say that we do.
16594         * configure: Regenerated.
16595
16596         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16597         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16598         * scripts/sysd-rules.awk: ... this new script.
16599         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16600         than a glob-style pattern.
16601
16602 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16603
16604         * math/test-misc.c (main): Do not treat incorrectly rounded
16605         conversions as failure unless ROUNDING_TESTS passes.
16606
16607 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16608
16609         [BZ #15631]
16610         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16611         restore exception state around main square root computation, then
16612         check for inexactness explicitly.
16613
16614         * math/libm-test.inc (fma_test_data): Add another test.
16615
16616 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16617
16618         * manual/threads.texi (Non-POSIX Extensions): New document
16619         node.  Document pthread_getattr_default_np and
16620         pthread_setattr_default_np.
16621
16622         * Versions.def (libpthread): Add GLIBC_2.18.
16623         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16625         Likewise.
16626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16627         Likewise.
16628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16629         Likewise.
16630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16631         Likewise.
16632         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16633         Likewise.
16634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16635         Likewise.
16636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16637         Likewise.
16638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16639         Likewise.
16640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16641         Likewise.
16642
16643 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16644
16645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16646         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16647
16648 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16649             H.J. Lu  <hjl.tools@gmail.com>
16650
16651         [BZ #15627]
16652         * sysdeps/x86_64/rtld-memset.c: Remove file.
16653         * sysdeps/x86_64/rtld-memset.S: New file.
16654
16655 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16656
16657         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16658         (test_in_one_mode): Take arguments for whether the rounding mode
16659         is supported for each floating-point type.
16660         (do_test): Pass new arguments to test_in_one_mode using
16661         ROUNDING_TESTS.
16662
16663 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16664
16665         * posix/tst-waitid.c (do_test): Distinguish different instances of
16666         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16667         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16668         before entering the kernel for waitpid.
16669
16670 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16671
16672         * NEWS: Fix note on clock function precision.  Text by Roland
16673         McGrath.
16674
16675 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16676
16677         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16678         it into place only when and if the sanity check passes.
16679
16680 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16681
16682         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16683         output for whether conversion result is exact.  Take argument
16684         indicating whether type is IBM long double.
16685         (round_for_all): Change need_exact field to ibm_ld.
16686         * stdlib/tst-strtod-round.c (struct exactness): New type.
16687         (struct test): Change bool ld_ok field to struct exactness exact.
16688         (TEST): Update all definitions for change to field.
16689         (tests): Regenerate array contents.
16690         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16691         field value.  Check for IBM long double here.
16692         (do_test): Update calls to test_in_one_mode.
16693
16694 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16695
16696         [BZ #12515]
16697         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16698         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16699
16700 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16701
16702         [BZ #15605]
16703         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16704         generated by the compiler on loop optimizations.
16705         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16706         general definitions.
16707
16708 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16709
16710         * math/bug-nextafter.c: Include <math-tests.h>.
16711         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16712         the relevant type.
16713         * math/bug-nexttoward.c: Include <math-tests.h>.
16714         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16715         the relevant type.
16716         * math/test-misc.c: Include <math-tests.h>.
16717         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16718         the relevant type.
16719
16720 2013-06-12  Andreas Jaeger  <aj@suse.de>
16721
16722         * po/ia.po: Update Interlingua translation from translation
16723         project.
16724
16725 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16726
16727         * include/fenv.h: Include stdbool.h.
16728         (struct rm_ctx): New structure.
16729         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16730         Define macro.
16731         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16732         (SET_RESTORE_ROUNDF): Likewise.
16733         (SET_RESTORE_ROUNDL): Likewise.
16734         (SET_RESTORE_ROUND_NOEX): Likewise.
16735         (SET_RESTORE_ROUND_NOEXF): Likewise.
16736         (SET_RESTORE_ROUND_NOEXL): Likewise.
16737         (SET_RESTORE_ROUND_53BIT): Likewise.
16738         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16739         (libc_feresetround_noexf_ctx): Likewise.
16740         (libc_feresetround_noexl_ctx): Likewise.
16741         (libc_feholdsetround_53bit_ctx): Likewise.
16742         (libc_feresetround_53bit_ctx): Likewise.
16743         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16744         (libc_feholdexcept_setround_sse_ctx): New function.
16745         (libc_fesetenv_sse_ctx): Likewise.
16746         (libc_feupdateenv_sse_ctx): Likewise.
16747         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16748         (libc_feholdexcept_setround_387_ctx): Likewise.
16749         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16750         (libc_feholdsetround_387_prec_ctx): Likewise.
16751         (libc_feholdsetround_387_ctx): Likewise.
16752         (libc_feholdsetround_387_53bit_ctx): Likewise.
16753         (libc_feholdsetround_sse_ctx): Likewise.
16754         (libc_feresetround_sse_ctx): Likewise.
16755         (libc_feresetround_387_ctx): Likewise.
16756         (libc_feupdateenv_387_ctx): Likewise.
16757         (libc_feholdexcept_setroundf_ctx): Define macro.
16758         (libc_fesetenvf_ctx): Likewise.
16759         (libc_feupdateenvf_ctx): Likewise.
16760         (libc_feholdsetroundf_ctx): Likewise.
16761         (libc_feresetroundf_ctx): Likewise.
16762         (libc_feholdexcept_setround_ctx): Likewise.
16763         (libc_fesetenv_ctx): Likewise.
16764         (libc_feupdateenv_ctx): Likewise.
16765         (libc_feholdsetround_ctx): Likewise.
16766         (libc_feresetround_ctx): Likewise.
16767         (libc_feholdexcept_setroundl_ctx): Likewise.
16768         (libc_feupdateenvl_ctx): Likewise.
16769         (libc_feholdsetroundl_ctx): Likewise.
16770         (libc_feresetroundl_ctx): Likewise.
16771         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16772         (libc_feresetround_53bit_ctx): Likewise.
16773
16774 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16775
16776         * locale/iso-639.def: Convert to UTF-8.
16777
16778 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16779
16780         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16781         (EXCEPTION_TESTS_double): Likewise.
16782         (EXCEPTION_TESTS_long_double): Likewise.
16783         (EXCEPTION_TESTS): Likewise.
16784         * math/libm-test.inc (test_exceptions): Only test exceptions if
16785         EXCEPTION_TESTS (FLOAT).
16786
16787 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16788
16789         * benchtests/Makefile (string-bench): Add strcpy_chk and
16790         stpcpy_chk.
16791         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16792         * benchtests/bench-stpcpy_chk.c: New file.
16793         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16794         * benchtests/bench-strcpy_chk.c: New file.
16795         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16796         code.
16797         (do_test): Likewise.
16798
16799 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16800
16801         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16802         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16803         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16804         with tabs where appropriate.
16805         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16806         dl-procinfo.h.
16807         [PPC_PLATFORM_PPC440]: Likewise.
16808         [PPC_PLATFORM_PPC464]: Likewise.
16809         [PPC_PLATFORM_PPC476]: Likewise.
16810         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16811         ppc464, and ppc476 platform strings merging from ports/
16812         dl-procinfo.h.
16813
16814 2013-06-11  Andreas Schwab  <schwab@suse.de>
16815
16816         [BZ #14991]
16817         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16818         (from_ucs4_idx): Regenerate.
16819         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16820         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16821         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16822         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16823         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16824         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16825         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16826         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16827         from FROM_LOOP and TO_LOOP specific macros.
16828         (BODY): Handle combining characters.
16829         * iconvdata/BIG5HKSCS.irreversible: Update.
16830         * iconvdata/BIG5HKSCS.precomposed: New file.
16831         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16832         characters.
16833         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16834
16835 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16836
16837         * include/sys/time.h: Fix indentation and add copyright header.
16838
16839         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16840         (do_test): Likewise.
16841         * string/test-memchr.c (do_one_test): Likewise.
16842         (do_test): Likewise.
16843         * string/test-memcmp.c (do_one_test): Likewise.
16844         (do_test): Likewise.
16845         * string/test-memcpy.c (do_one_test): Likewise.
16846         (do_test): Likewise.
16847         * string/test-memmem.c (do_one_test): Likewise.
16848         (do_test): Likewise.
16849         (do_random_tests): Likewise.
16850         * string/test-memmove.c (do_one_test): Likewise.
16851         (do_test): Likewise.
16852         * string/test-memset.c (do_one_test): Likewise.
16853         (do_test): Likewise.
16854         * string/test-rawmemchr.c (do_one_test): Likewise.
16855         (do_test): Likewise.
16856         * string/test-strcasecmp.c (do_one_test): Likewise.
16857         (do_test): Likewise.
16858         * string/test-strcasestr.c (do_one_test): Likewise.
16859         (do_test): Likewise.
16860         * string/test-strcat.c (do_one_test): Likewise.
16861         (do_test): Likewise.
16862         * string/test-strchr.c (do_one_test): Likewise.
16863         (do_test): Likewise.
16864         * string/test-strcmp.c (do_one_test): Likewise.
16865         (do_test): Likewise.
16866         * string/test-strcpy.c (do_one_test): Likewise.
16867         (do_test): Likewise.
16868         * string/test-string.h: Likewise.
16869         (test_init): Likewise.
16870         * string/test-strlen.c (do_one_test): Likewise.
16871         (do_test): Likewise.
16872         * string/test-strncasecmp.c (do_one_test): Likewise.
16873         (do_test): Likewise.
16874         * string/test-strncat.c (do_one_test): Likewise.
16875         (do_test): Likewise.
16876         * string/test-strncmp.c (do_one_test): Likewise.
16877         (do_test_limit): Likewise.
16878         (do_test): Likewise.
16879         * string/test-strncpy.c (do_one_test): Likewise.
16880         (do_test): Likewise.
16881         * string/test-strnlen.c (do_one_test): Likewise.
16882         (do_test): Likewise.
16883         * string/test-strpbrk.c (do_one_test): Likewise.
16884         (do_test): Likewise.
16885         * string/test-strrchr.c (do_one_test): Likewise.
16886         (do_test): Likewise.
16887         * string/test-strspn.c (do_one_test): Likewise.
16888         (do_test): Likewise.
16889         * string/test-strstr.c (do_one_test): Likewise.
16890         (do_test): Likewise.
16891
16892         * benchtests/Makefile (string-bench): Add string benchmarks.
16893         * benchtests/bench-bcopy-ifunc.c: New file.
16894         * benchtests/bench-bcopy.c: New file.
16895         * benchtests/bench-bzero-ifunc.c: New file.
16896         * benchtests/bench-bzero.c: New file.
16897         * benchtests/bench-memccpy-ifunc.c: New file.
16898         * benchtests/bench-memccpy.c: New file.
16899         * benchtests/bench-memchr-ifunc.c: New file.
16900         * benchtests/bench-memchr.c: New file.
16901         * benchtests/bench-memcmp-ifunc.c: New file.
16902         * benchtests/bench-memcmp.c: New file.
16903         * benchtests/bench-memmem-ifunc.c: New file.
16904         * benchtests/bench-memmem.c: New file.
16905         * benchtests/bench-memmove-ifunc.c: New file.
16906         * benchtests/bench-memmove.c: New file.
16907         * benchtests/bench-mempcpy-ifunc.c: New file.
16908         * benchtests/bench-mempcpy.c: New file.
16909         * benchtests/bench-memset-ifunc.c: New file.
16910         * benchtests/bench-memset.c: New file.
16911         * benchtests/bench-rawmemchr-ifunc.c: New file.
16912         * benchtests/bench-rawmemchr.c: New file.
16913         * benchtests/bench-stpcpy-ifunc.c: New file.
16914         * benchtests/bench-stpcpy.c: New file.
16915         * benchtests/bench-stpncpy-ifunc.c: New file.
16916         * benchtests/bench-stpncpy.c: New file.
16917         * benchtests/bench-strcasecmp-ifunc.c: New file.
16918         * benchtests/bench-strcasecmp.c: New file.
16919         * benchtests/bench-strcasestr-ifunc.c: New file.
16920         * benchtests/bench-strcasestr.c: New file.
16921         * benchtests/bench-strcat-ifunc.c: New file.
16922         * benchtests/bench-strcat.c: New file.
16923         * benchtests/bench-strchr-ifunc.c: New file.
16924         * benchtests/bench-strchr.c: New file.
16925         * benchtests/bench-strchrnul-ifunc.c: New file.
16926         * benchtests/bench-strchrnul.c: New file.
16927         * benchtests/bench-strcmp-ifunc.c: New file.
16928         * benchtests/bench-strcmp.c: New file.
16929         * benchtests/bench-strcpy-ifunc.c: New file.
16930         * benchtests/bench-strcpy.c: New file.
16931         * benchtests/bench-strcspn-ifunc.c: New file.
16932         * benchtests/bench-strcspn.c: New file.
16933         * benchtests/bench-strlen-ifunc.c: New file.
16934         * benchtests/bench-strlen.c: New file.
16935         * benchtests/bench-strncasecmp-ifunc.c: New file.
16936         * benchtests/bench-strncasecmp.c: New file.
16937         * benchtests/bench-strncat-ifunc.c: New file.
16938         * benchtests/bench-strncat.c: New file.
16939         * benchtests/bench-strncmp-ifunc.c: New file.
16940         * benchtests/bench-strncmp.c: New file.
16941         * benchtests/bench-strncpy-ifunc.c: New file.
16942         * benchtests/bench-strncpy.c: New file.
16943         * benchtests/bench-strnlen-ifunc.c: New file.
16944         * benchtests/bench-strnlen.c: New file.
16945         * benchtests/bench-strpbrk-ifunc.c: New file.
16946         * benchtests/bench-strpbrk.c: New file.
16947         * benchtests/bench-strrchr-ifunc.c: New file.
16948         * benchtests/bench-strrchr.c: New file.
16949         * benchtests/bench-strspn-ifunc.c: New file.
16950         * benchtests/bench-strspn.c: New file.
16951         * benchtests/bench-strstr-ifunc.c: New file.
16952         * benchtests/bench-strstr.c: New file.
16953
16954         * benchtests/Makefile: Disable parallel execution of targets.
16955         (string-bench): Add memcpy.
16956         (benchset): New variable to store a list of benchmark sets.
16957         (bench-func): Renamed from bench.
16958         (bench-set): New target.
16959         (bench): Depend on bench-func and bench-set.
16960         * benchtests/README: Add section on benchmark sets.
16961         * benchtests/bench-memcpy-ifunc.c: New file.
16962         * benchtests/bench-memcpy.c: New file.
16963         * benchtests/bench-string.h: New file.
16964
16965 2013-06-11  Andreas Schwab  <schwab@suse.de>
16966
16967         [BZ #15577]
16968         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16969         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16970         values in the triple.
16971         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16972         terminator in the group key.
16973
16974 2013-06-11  Andreas Jaeger  <aj@suse.de>
16975
16976         * po/zh_TW.po: Update Chinese (traditional) translation from
16977         translation project.
16978
16979 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16980
16981         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16982         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16983         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16984         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16985         (clock_getcpuclockid): Likewise.
16986         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16987         Add weak_alias and libc_hidden_def.
16988         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16989         * rt/clock_gettime.c (clock_gettime): Rename to
16990         __clock_gettime.  Add weak_alias and libc_hidden_def.
16991         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16992         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16993         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16994         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16995         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16996         Likewise.
16997         * rt/clock_settime.c (clock_settime): Rename to
16998         __clock_settime.  Add weak_alias and libc_hidden_def.
16999         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17000
17001 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17002
17003         * mach/err_boot.sub: Remove trailing whitespace.
17004         * mach/err_ipc.sub: Likewise.
17005         * mach/err_mach.sub: Likewise.
17006
17007         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17008         (ROUNDING_TESTS_double): Likewise.
17009         (ROUNDING_TESTS_long_double): Likewise.
17010         (ROUNDING_TESTS): Likewise.
17011         * math/libm-test.inc: Include <math-tests.h>.
17012         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17013         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17014         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17015         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17016
17017 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17018
17019         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17020         of assigning.
17021
17022 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17023
17024         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17025         otherwise empty TRANS lines.
17026         * sysdeps/gnu/errlist.c: Regenerated.
17027
17028         * catgets/gencat.c (error_print): Use (void) in function
17029         definition.
17030         * crypt/crypt_util.c (__init_des): Likewise.
17031         * crypt/speeds.c (Stop): Likewise.
17032         (main): Likewise.
17033         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17034         * inet/ruserpass.c (token): Likewise.
17035         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17036         * intl/localealias.c (extend_alias_table): Likewise.
17037         * intl/plural-exp.c (init_germanic_plural): Likewise.
17038         * libio/fcloseall.c (__fcloseall): Likewise.
17039         * libio/genops.c (_IO_flush_all): Likewise.
17040         (_IO_flush_all_linebuffered): Likewise.
17041         (_IO_cleanup): Likewise.
17042         (_IO_iter_begin): Likewise.
17043         (_IO_iter_end): Likewise.
17044         (_IO_list_lock): Likewise.
17045         (_IO_list_unlock): Likewise.
17046         (_IO_list_resetlock): Likewise.
17047         * libio/getchar.c (getchar): Likewise.
17048         * libio/getchar_u.c (getchar_unlocked): Likewise.
17049         * libio/getwchar.c (getwchar): Likewise.
17050         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17051         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17052         * login/getpt.c (__getpt): Likewise.
17053         * login/tst-utmp.c (main): Likewise.
17054         * malloc/hooks.c (__malloc_check_init): Likewise.
17055         * malloc/malloc.c (__malloc_stats): Likewise.
17056         * malloc/mtrace.c (tr_break): Likewise.
17057         (mtrace): Likewise.
17058         (muntrace): Likewise.
17059         * misc/fstab.c (endfsent): Likewise.
17060         * misc/getclktck.c (__getclktck): Likewise.
17061         * misc/getdtsz.c (__getdtablesize): Likewise.
17062         * misc/gethostid.c (gethostid): Likewise.
17063         * misc/getpagesize.c (__getpagesize): Likewise.
17064         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17065         (__get_nprocs): Likewise.
17066         (__get_phys_pages): Likewise.
17067         (__get_avphys_pages): Likewise.
17068         * misc/getttyent.c (getttyent): Likewise.
17069         (setttyent): Likewise.
17070         (endttyent): Likewise.
17071         * misc/getusershell.c (getusershell): Likewise.
17072         (endusershell): Likewise.
17073         (setusershell): Likewise.
17074         (initshells): Likewise.
17075         * misc/hsearch.c (__hdestroy): Likewise.
17076         * misc/sync.c (sync): Likewise.
17077         * misc/syslog.c (closelog_internal): Likewise.
17078         (closelog): Likewise.
17079         * misc/ttyslot.c (ttyslot): Likewise.
17080         * misc/vhangup.c (vhangup): Likewise.
17081         * posix/fork.c (__fork): Likewise.
17082         * posix/getegid.c (__getegid): Likewise.
17083         * posix/geteuid.c (__geteuid): Likewise.
17084         * posix/getgid.c (__getgid): Likewise.
17085         * posix/getpid.c (__getpid): Likewise.
17086         * posix/getppid.c (__getppid): Likewise.
17087         * posix/getuid.c (__getuid): Likewise.
17088         * posix/pause.c (pause): Likewise.
17089         * posix/setpgrp.c (setpgrp): Likewise.
17090         * posix/setsid.c (__setsid): Likewise.
17091         * posix/test-vfork.c (noop): Likewise.
17092         * resolv/gethnamaddr.c (_endhtent): Likewise.
17093         (_gethtent): Likewise.
17094         (ht_endhostent): Likewise.
17095         (gethostent): Likewise.
17096         (dns_service): Likewise.
17097         * stdlib/drand48.c (drand48): Likewise.
17098         * stdlib/lrand48.c (lrand48): Likewise.
17099         * stdlib/mrand48.c (mrand48): Likewise.
17100         * stdlib/rand.c (rand): Likewise.
17101         * stdlib/random.c (__random): Likewise.
17102         * stdlib/setenv.c (clearenv): Likewise.
17103         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17104         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17105         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17106         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17107         (__get_nprocs): Likewise.
17108         (__get_phys_pages): Likewise.
17109         (__get_avphys_pages): Likewise.
17110         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17111         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17112         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17113         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17114         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17115         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17116         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17117         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17118         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17119         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17120         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17121         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17122         * sysdeps/posix/clock.c (clock): Likewise.
17123         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17124         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17125         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17126         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17127         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17128         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17129         (__get_nprocs_conf): Likewise.
17130         (__get_phys_pages): Likewise.
17131         (__get_avphys_pages): Likewise.
17132         * time/clock.c (clock): Likewise.
17133         * time/tzset.c (__tzname_max): Likewise.
17134
17135 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17136
17137         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17138         (__bswap_32): Do not use "register".
17139         * crypt/crypt.c (_ufc_doit_r): Likewise.
17140         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17141         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17142         * gmon/gmon.c (__monstartup): Likewise.
17143         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17144         * hurd/hurdmalloc.c (more_memory): Likewise.
17145         (malloc): Likewise.
17146         (free): Likewise.
17147         (realloc): Likewise.
17148         (malloc_fork_prepare): Likewise.
17149         (malloc_fork_parent): Likewise.
17150         (malloc_fork_child): Likewise.
17151         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17152         (_svcauth_des): Likewise.
17153         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17154         * inet/inet_net.c (inet_network): Likewise.
17155         * inet/inet_netof.c (inet_netof): Likewise.
17156         * inet/rcmd.c (__validuser2_sa): Likewise.
17157         * io/fts.c (fts_open): Likewise.
17158         (fts_load): Likewise.
17159         (fts_close): Likewise.
17160         (fts_read): Likewise.
17161         (fts_children): Likewise.
17162         (fts_build): Likewise.
17163         (fts_stat): Likewise.
17164         (fts_sort): Likewise.
17165         (fts_alloc): Likewise.
17166         (fts_lfree): Likewise.
17167         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17168         (_IO_file_xsgetn): Likewise.
17169         (_IO_file_xsgetn_mmap): Likewise.
17170         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17171         (_IO_cookie_write): Likewise.
17172         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17173         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17174         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17175         * malloc/obstack.c (_obstack_begin): Likewise.
17176         (_obstack_begin_1): Likewise.
17177         (_obstack_newchunk): Likewise.
17178         (_obstack_allocated_p): Likewise.
17179         (obstack_free): Likewise.
17180         (_obstack_memory_used): Likewise.
17181         * misc/getttyent.c (getttynam): Likewise.
17182         (getttyent): Likewise.
17183         (skip): Likewise.
17184         (value): Likewise.
17185         * misc/getusershell.c (initshells): Likewise.
17186         * misc/syslog.c (__vsyslog_chk): Likewise.
17187         * misc/ttyslot.c (ttyslot): Likewise.
17188         * nis/nis_hash.c (__nis_hash): Likewise.
17189         * posix/fnmatch_loop.c (FCT): Likewise.
17190         * posix/getconf.c (print_all): Likewise.
17191         (main): Likewise.
17192         * posix/getopt.c (exchange): Likewise.
17193         * posix/glob.c (globfree): Likewise.
17194         (prefix_array): Likewise.
17195         (__glob_pattern_type): Likewise.
17196         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17197         (NS_GET32): Likewise.
17198         (NS_PUT16): Likewise.
17199         (NS_PUT32): Likewise.
17200         * resolv/gethnamaddr.c (getanswer): Likewise.
17201         (gethostbyname2): Likewise.
17202         (gethostbyaddr): Likewise.
17203         (_gethtent): Likewise.
17204         (_gethtbyname2): Likewise.
17205         (_gethtbyaddr): Likewise.
17206         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17207         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17208         * resolv/res_init.c (__res_vinit): Likewise.
17209         (net_mask): Likewise.
17210         * resolv/res_mkquery.c (outchar): Likewise.
17211         (PRINT): Likewise.
17212         * stdio-common/printf_fp.c (outchar): Likewise.
17213         (PRINT): Likewise.
17214         * stdio-common/printf_fphex.c (outchar): Likewise.
17215         (PRINT): Likewise.
17216         * stdio-common/printf_size.c (outchar): Likewise.
17217         (PRINT): Likewise.
17218         * stdio-common/test_rdwr.c (main): Likewise.
17219         * stdio-common/tfformat.c (matches): Likewise.
17220         * stdio-common/vfprintf.c (outchar): Likewise.
17221         (printf_unknown): Likewise.
17222         (buffered_vfprintf): Likewise.
17223         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17224         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17225         (ReadFile): Likewise.
17226         * stdlib/qsort.c (SWAP): Likewise.
17227         (_quicksort): Likewise.
17228         * stdlib/setenv.c (__add_to_environ): Likewise.
17229         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17230         * stdlib/strtol_l.c (__strtol_l): Likewise.
17231         * stdlib/tst-strtod.c (main): Likewise.
17232         * stdlib/tst-strtol.c (main): Likewise.
17233         * stdlib/tst-strtoll.c (main): Likewise.
17234         * string/bits/string2.h (__strcmp_cc): Likewise.
17235         (__strcmp_cg): Likewise.
17236         (__strcspn_c1): Likewise.
17237         (__strcspn_c2): Likewise.
17238         (__strcspn_c3): Likewise.
17239         (__strspn_c1): Likewise.
17240         (__strspn_c2): Likewise.
17241         (__strspn_c3): Likewise.
17242         (__strsep_1c): Likewise.
17243         (__strsep_2c): Likewise.
17244         (__strsep_3c): Likewise.
17245         * string/memccpy.c (__memccpy): Likewise.
17246         * string/stpcpy.c (__stpcpy): Likewise.
17247         * string/strcmp.c (strcmp): Likewise.
17248         * string/strrchr.c (strrchr): Likewise.
17249         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17250         Likewise.
17251         * sysdeps/mach/hurd/getcwd.c
17252         (_hurd_canonicalize_directory_name_internal): Likewise.
17253         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17254         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17255         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17256         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17257         Likewise, in both definitions.
17258         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17259         definitions.
17260         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17261         64] (__bswap_64): Likewise.
17262         * time/test_time.c (main): Likewise.
17263         * time/tzfile.c (__tzfile_read): Likewise.
17264         (__tzfile_compute): Likewise.
17265         * time/tzset.c (__tzset_parse_tz): Likewise.
17266         (tzset_internal): Likewise.
17267         (compute_change): Likewise.
17268         * wcsmbs/wcscat.c (__wcscat): Likewise.
17269         * wcsmbs/wcschr.c (wcschr): Likewise.
17270         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17271         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17272         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17273         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17274         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17275         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17276         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17277         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17278         * wcsmbs/wmemset.c (wmemset): Likewise.
17279
17280 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17281
17282         * scripts/config.guess: Update to version 2013-05-16.
17283         * scripts/config.sub: Update to version 2013-04-24.
17284         * scripts/install-sh: Update to version 2011-11-20.07.
17285         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17286         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17287
17288 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17289
17290         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17291         * elf/sln.c: Likewise.
17292         * hurd/hurd/ioctl.h: Likewise.
17293         * hurd/hurdmalloc.c: Likewise.
17294         * hurd/xattr.c: Likewise.
17295         * include/shlib-compat.h: Likewise.
17296         * inet/ruserpass.c: Likewise.
17297         * libio/iofgets_u.c: Likewise.
17298         * libio/iofgetws_u.c: Likewise.
17299         * locale/programs/ld-identification.c: Likewise.
17300         * locale/programs/ld-time.c: Likewise.
17301         * mach/msg-destroy.c: Likewise.
17302         * nss/nss_files/files-netgrp.c: Likewise.
17303         * resolv/res_data.c: Likewise.
17304         * soft-fp/op-1.h: Likewise.
17305         * soft-fp/op-2.h: Likewise.
17306         * soft-fp/op-4.h: Likewise.
17307         * soft-fp/op-common.h: Likewise.
17308         * stdio-common/printf_fphex.c: Likewise.
17309         * stdlib/strtod_l.c: Likewise.
17310         * sunrpc/rpc/clnt.h: Likewise.
17311         * sysdeps/generic/framestate.c: Likewise.
17312         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17313         * sysdeps/i386/bsd-setjmp.S: Likewise.
17314         * sysdeps/i386/__longjmp.S: Likewise.
17315         * sysdeps/i386/setjmp.S: Likewise.
17316         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17317         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17318         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17319         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17320         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17321         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17322         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17325         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17326         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17327         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17328         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17329         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17330         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17331         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17332         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17333         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17334         * sysdeps/ieee754/support.c: Likewise.
17335         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17336         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17337         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17338         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17339         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17340         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17341         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17342         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17343         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17344         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17345         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17346         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17347         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17348         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17349         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17350         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17351         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17353
17354 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17355
17356         * posix/transbug.c: Remove executable mode.
17357
17358 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17359
17360         * crypt/speeds.c: Remove trailing whitespace.
17361         * dlfcn/default.c: Likewise.
17362         * elf/ifuncdep2.c: Likewise.
17363         * elf/ifuncmain1.c: Likewise.
17364         * elf/ifuncmain1vis.c: Likewise.
17365         * elf/testobj.h: Likewise.
17366         * elf/tst-stackguard1.c: Likewise.
17367         * gmon/sys/gmon.h: Likewise.
17368         * hurd/hurdmsg.c: Likewise.
17369         * hurd/new-fd.c: Likewise.
17370         * hurd/ports-get.c: Likewise.
17371         * iconvdata/ibm1008_420.c: Likewise.
17372         * inet/tst-getni1.c: Likewise.
17373         * inet/tst-getni2.c: Likewise.
17374         * libio/ioungetc.c: Likewise.
17375         * libio/wfiledoalloc.c: Likewise.
17376         * manual/libm-err-tab.pl: Likewise.
17377         * math/w_dremf.c: Likewise.
17378         * misc/ftruncate.c: Likewise.
17379         * posix/bug-glob2.c: Likewise.
17380         * posix/tst-pcre.c: Likewise.
17381         * posix/wait4.c: Likewise.
17382         * resolv/README: Likewise.
17383         * resolv/res_debug.h: Likewise.
17384         * resolv/tst-inet_ntop.c: Likewise.
17385         * setjmp/bug269-setjmp.c: Likewise.
17386         * soft-fp/extended.h: Likewise.
17387         * soft-fp/op-1.h: Likewise.
17388         * soft-fp/op-2.h: Likewise.
17389         * soft-fp/op-4.h: Likewise.
17390         * soft-fp/op-8.h: Likewise.
17391         * soft-fp/testit.c: Likewise.
17392         * stdio-common/bug16.c: Likewise.
17393         * stdlib/random.c: Likewise.
17394         * sunrpc/rpcsvc/rquota.x: Likewise.
17395         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17396         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17397         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17398         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17399         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17400         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17401         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17402         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17403         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17404         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17405         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17406         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17407         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17409         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17410         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17411         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17412         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17413         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17414         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17415         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17416         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17417         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17418         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17419         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17420         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17423         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17424         * sysdeps/ieee754/s_lib_version.c: Likewise.
17425         * sysdeps/mach/hurd/check_fds.c: Likewise.
17426         * sysdeps/mach/hurd/getsockname.c: Likewise.
17427         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17428         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17429         * sysdeps/powerpc/bits/link.h: Likewise.
17430         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17431         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17432         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17433         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17434         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17435         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17436         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17437         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17438         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17439         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17440         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17441         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17442         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17443         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17444         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17445         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17446         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17449         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17450         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17451         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17452         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17453         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17454         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17455         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17456         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17457         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17458         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17459         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17460         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17461         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17463         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17464         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17465         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17466         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17467         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17468         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17469         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17470         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17471         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17472         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17473         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17474         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17475         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17476         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17477         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17478         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17479         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17482         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17483         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17484         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17485         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17486         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17487         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17488         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17489         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17490         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17491         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17492         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17493         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17494         * sysdeps/powerpc/sysdep.h: Likewise.
17495         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17496         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17497         * sysdeps/sh/dl-trampoline.S: Likewise.
17498         * sysdeps/sh/memset.S: Likewise.
17499         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17500         * sysdeps/sh/strlen.S: Likewise.
17501         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17502         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17503         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17504         * sysdeps/sparc/sparc32/rem.S: Likewise.
17505         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17506         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17507         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17508         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17509         * sysdeps/sparc/sparc32/urem.S: Likewise.
17510         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17511         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17512         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17513         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17514         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17515         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17516         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17517         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17518         * sysdeps/unix/bsd/times.c: Likewise.
17519         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17520         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17524         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17525         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17526         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17527         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17528         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17529         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17531         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17532         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17533         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17534         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17535         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17536         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17537         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17538         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17539         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17540         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17541         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17542         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17543         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17544         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17545         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17546         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17547         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17548         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17549         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17550         * sysdeps/x86_64/strcspn.S: Likewise.
17551
17552 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17553
17554         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17555         generated file.  Regenerate properly from gen-translit.pl.
17556         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17557         locale/C-translit.h.
17558
17559 2013-06-05  Andreas Schwab  <schwab@suse.de>
17560
17561         [BZ #15100]
17562         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17563         week as 6 instead of -1.
17564         * time/tst-strptime.c (day_tests): Add test case.
17565
17566 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17567
17568         * sysdeps/generic/math_private.h
17569         (libc_feholdexcept_setround_53bit): Replace with
17570         libc_feholdsetround_53bit.
17571         (libc_feupdateenv_53bit): Replace with
17572         libc_feresetround_53bit.
17573         (SET_RESTORE_ROUND_53BIT): Adjust.
17574
17575 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17576
17577         * string/test-strchrnul.c: Add copyright header.
17578
17579         * posix/tst-getaddrinfo4.c: Increase test timeout.
17580
17581 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17582
17583         [BZ #15536]
17584         * math/libm-test.inc (MAX_EXP): Remove
17585         (MIN_EXP): Define.
17586         (ulp): Use MIN_EXP - MANT_DIG.
17587         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17588
17589 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17590
17591         * po/be.po: Revert last change.
17592         * po/zh_CN.po: Likewise.
17593         * po/header.pot: Likewise.
17594
17595 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17596
17597         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17598         link-libc-deps to empty as target-specific variable.
17599         * Makerules (link-libc-args): New variable.
17600         (libc-for-link): Likewise.
17601         (link-libc-deps): Likewise.
17602         (lib%.so): Depend on $(link-libc-deps).  Link with
17603         $(link-libc-args).
17604         (build-module): Link with $(link-libc-args).
17605         (build-module-asneeded): Likewise.
17606         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17607         list of objects.
17608         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17609         target-specific variable.
17610         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17611         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17612         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17613         libc.
17614         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17615         libc and ld.so.
17616         ($(objpfx)libpcprofile.so): Likewise.
17617         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17618         libc_nonshared.a.
17619         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17620         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17621         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17622         $(link-libc-deps).
17623         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17624         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17625         * login/Makefile ($(objpfx)libutil.so): Likewise.
17626         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17627         * math/Makefile ($(objpfx)libm.so): Likewise.
17628         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17629         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17630         variable instead of depending directly on libc.
17631         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17632         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17633         $(link-libc-deps).
17634         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17635         libc.
17636         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17637         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17638         ($(objpfx)libanl.so): Likewise.
17639         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17640         ld.so.
17641         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17642         $(link-libc-deps).
17643         * sysdeps/i386/fpu/Makefile: Remove file.
17644         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17645         ($(objpfx)libm.so): Remove dependency on ld.so.
17646
17647 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17648
17649         [BZ # 15553]
17650         * nis/yp_xdr.c (XDRMAXNAME): Define.
17651         (XDRMAXRECORD): Define.
17652         (xdr_domainname): Use XDRMAXNAME.
17653         (xdr_mapname): Likewise.
17654         (xdr_peername): Likewise.
17655         (xdr_keydat): Use XDRMAXRECORD.
17656         (xdr_valdat): Likewise.
17657
17658 2013-05-30  Jeff Law  <law@redhat.com>
17659
17660         [BZ #14256]
17661         * manual/errno.texi (ESTALE): Update to account for more than
17662         just NFS file systems.
17663         * sysdeps/gnu/errlist.c: Regenerated.
17664
17665 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17666
17667         [BZ #15465]
17668         * elf/Makefile (tests): Add tst-null-argv.
17669         (modules-names):  Add tst-null-argv-lib.
17670         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17671         (tst-null-argv-ENV): Set environment for tst-null-argv.
17672         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17673         (RTLD_PROGNAME): New macro.
17674         * elf/tst-null-argv.c: New test case.
17675         * elf/tst-null-argv-lib.c: Library for test case.
17676         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17677         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17678         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17679         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17680         * elf/dl-init.c (call_init): Likewise.
17681         (_dl_init): Likewise.
17682         * elf/dl-load.c (print_search_path): Likewise.
17683         (_dl_map_object): Likewise.
17684         * elf/dl-lookup.c (do_lookup_x): Likewise.
17685         (add_dependency): Likewise.
17686         (_dl_lookup_symbol_x): Likewise.
17687         (_dl_debug_bindings): Likewise.
17688         * elf/dl-open.c (_dl_show_scope): Likewise.
17689         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17690         * elf/dl-version.c (match_symbol): Likewise.
17691         (_dl_check_map_versions): Likewise.
17692         * elf/rtld.c (dl_main): Likewise.
17693         (print_unresolved): Use RTLD_PROGNAME.
17694         (print_missing_version): Likewise.
17695         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17696         (elf_machine_rela): Likewise.
17697         * sysdeps/powerpc/powerpc32/dl-machine.c
17698         (__process_machine_rela): Likewise.
17699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17700         Likewise.
17701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17702         Likewise.
17703         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17704         Likewise.
17705         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17706         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17707         Likewise.
17708         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17709         Likewise.
17710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17711
17712 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17713
17714         * po/be.po: Add descriptive title.
17715         * po/zh_CN.po: Likewise.
17716         * po/header.pot: Likewise.
17717
17718 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17719
17720         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17721         error message.
17722         (enlarge_archive): Likewise.
17723
17724 2013-05-28  Ben North  <ben@redfrontdoor.org>
17725
17726         * manual/arith.texi (frexp): It is the magnitude of the return
17727         value which lies in [0.5, 1), not the return value itself.
17728
17729 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17730
17731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17732
17733 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17734
17735         * stdio-common/bug26.c (main): Correct fscanf template.
17736
17737         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17738         declare _dl_skip_args.
17739
17740         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17741         Don't declare.
17742
17743         * manual/platform.texi: Add missing @end deftypefun.
17744
17745 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17746
17747         [BZ #15529]
17748         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17749         bit of mantissa of 2^16382.
17750         * math/libm-test.inc (hypot_test_data): Add more tests.
17751
17752         * math/libm-test.inc: Add drem and pow10 to list of tested
17753         functions.
17754         (pow10_test): New function.
17755         (drem_test): Likewise.
17756         (drem_test_tonearest): Likewise.
17757         (drem_test_towardzero): Likewise.
17758         (drem_test_downward): Likewise.
17759         (drem_test_upward): Likewise.
17760         (main): Call the new functions.
17761
17762         * math/libm-test.inc (finite_test_data): Remove.
17763         (finite_test): Run tests from isfinite_test_data.
17764         (gamma_test_data): Remove.
17765         (gamma_test): Run tests from lgamma_test_data.
17766         * sysdeps/i386/fpu/libm-test-ulps: Update.
17767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17768
17769 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17770
17771         * manual/platform.texi: Add PowerPC PPR function set documentation.
17772         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17773         implementation.
17774
17775 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17776
17777         * math/libm-test.inc (MAX_EXP): Define.
17778         (ULPDIFF): Define.
17779         (ulp): New function.
17780         (check_float_internal): Use ULPDIFF.
17781         (cpow_test): Disable failing test.
17782         (check_ulp): Test ulp() implemetnation.
17783         (main): Call check_ulp before starting tests.
17784
17785 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17786
17787         * math/gen-libm-test.pl (generate_testfile): Do not handle
17788         START_DATA and END_DATA.
17789         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17790         END_DATA.
17791         (acos_tonearest_test_data): Likewise.
17792         (acos_towardzero_test_data): Likewise.
17793         (acos_downward_test_data): Likewise.
17794         (acos_upward_test_data): Likewise.
17795         (acosh_test_data): Likewise.
17796         (asin_test_data): Likewise.
17797         (asin_tonearest_test_data): Likewise.
17798         (asin_towardzero_test_data): Likewise.
17799         (asin_downward_test_data): Likewise.
17800         (asin_upward_test_data): Likewise.
17801         (asinh_test_data): Likewise.
17802         (atan_test_data): Likewise.
17803         (atanh_test_data): Likewise.
17804         (atan2_test_data): Likewise.
17805         (cabs_test_data): Likewise.
17806         (cacos_test_data): Likewise.
17807         (cacosh_test_data): Likewise.
17808         (carg_test_data): Likewise.
17809         (casin_test_data): Likewise.
17810         (casinh_test_data): Likewise.
17811         (catan_test_data): Likewise.
17812         (catanh_test_data): Likewise.
17813         (cbrt_test_data): Likewise.
17814         (ccos_test_data): Likewise.
17815         (ccosh_test_data): Likewise.
17816         (ceil_test_data): Likewise.
17817         (cexp_test_data): Likewise.
17818         (cimag_test_data): Likewise.
17819         (clog_test_data): Likewise.
17820         (clog10_test_data): Likewise.
17821         (conj_test_data): Likewise.
17822         (copysign_test_data): Likewise.
17823         (cos_test_data): Likewise.
17824         (cos_tonearest_test_data): Likewise.
17825         (cos_towardzero_test_data): Likewise.
17826         (cos_downward_test_data): Likewise.
17827         (cos_upward_test_data): Likewise.
17828         (cosh_test_data): Likewise.
17829         (cosh_tonearest_test_data): Likewise.
17830         (cosh_towardzero_test_data): Likewise.
17831         (cosh_downward_test_data): Likewise.
17832         (cosh_upward_test_data): Likewise.
17833         (cpow_test_data): Likewise.
17834         (cproj_test_data): Likewise.
17835         (creal_test_data): Likewise.
17836         (csin_test_data): Likewise.
17837         (csinh_test_data): Likewise.
17838         (csqrt_test_data): Likewise.
17839         (ctan_test_data): Likewise.
17840         (ctan_tonearest_test_data): Likewise.
17841         (ctan_towardzero_test_data): Likewise.
17842         (ctan_downward_test_data): Likewise.
17843         (ctan_upward_test_data): Likewise.
17844         (ctanh_test_data): Likewise.
17845         (ctanh_tonearest_test_data): Likewise.
17846         (ctanh_towardzero_test_data): Likewise.
17847         (ctanh_downward_test_data): Likewise.
17848         (ctanh_upward_test_data): Likewise.
17849         (erf_test_data): Likewise.
17850         (erfc_test_data): Likewise.
17851         (exp_test_data): Likewise.
17852         (exp_tonearest_test_data): Likewise.
17853         (exp_towardzero_test_data): Likewise.
17854         (exp_downward_test_data): Likewise.
17855         (exp_upward_test_data): Likewise.
17856         (exp10_test_data): Likewise.
17857         (exp2_test_data): Likewise.
17858         (expm1_test_data): Likewise.
17859         (fabs_test_data): Likewise.
17860         (fdim_test_data): Likewise.
17861         (finite_test_data): Likewise.
17862         (floor_test_data): Likewise.
17863         (fma_test_data): Likewise.
17864         (fma_towardzero_test_data): Likewise.
17865         (fma_downward_test_data): Likewise.
17866         (fma_upward_test_data): Likewise.
17867         (fmax_test_data): Likewise.
17868         (fmin_test_data): Likewise.
17869         (fmod_test_data): Likewise.
17870         (fpclassify_test_data): Likewise.
17871         (frexp_test_data): Likewise.
17872         (gamma_test_data): Likewise.
17873         (hypot_test_data): Likewise.
17874         (ilogb_test_data): Likewise.
17875         (isfinite_test_data): Likewise.
17876         (isgreater_test_data): Likewise.
17877         (isgreaterequal_test_data): Likewise.
17878         (isinf_test_data): Likewise.
17879         (isless_test_data): Likewise.
17880         (islessequal_test_data): Likewise.
17881         (islessgreater_test_data): Likewise.
17882         (isnan_test_data): Likewise.
17883         (isnormal_test_data): Likewise.
17884         (issignaling_test_data): Likewise.
17885         (isunordered_test_data): Likewise.
17886         (j0_test_data): Likewise.
17887         (j1_test_data): Likewise.
17888         (jn_test_data): Likewise.
17889         (ldexp_test_data): Likewise.
17890         (lgamma_test_data): Likewise.
17891         (lrint_test_data): Likewise.
17892         (lrint_tonearest_test_data): Likewise.
17893         (lrint_towardzero_test_data): Likewise.
17894         (lrint_downward_test_data): Likewise.
17895         (lrint_upward_test_data): Likewise.
17896         (llrint_test_data): Likewise.
17897         (llrint_tonearest_test_data): Likewise.
17898         (llrint_towardzero_test_data): Likewise.
17899         (llrint_downward_test_data): Likewise.
17900         (llrint_upward_test_data): Likewise.
17901         (log_test_data): Likewise.
17902         (log10_test_data): Likewise.
17903         (log1p_test_data): Likewise.
17904         (log2_test_data): Likewise.
17905         (logb_test_data): Likewise.
17906         (logb_downward_test_data): Likewise.
17907         (lround_test_data): Likewise.
17908         (llround_test_data): Likewise.
17909         (modf_test_data): Likewise.
17910         (nearbyint_test_data): Likewise.
17911         (nextafter_test_data): Likewise.
17912         (nexttoward_test_data): Likewise.
17913         (pow_test_data): Likewise.
17914         (pow_tonearest_test_data): Likewise.
17915         (pow_towardzero_test_data): Likewise.
17916         (pow_downward_test_data): Likewise.
17917         (pow_upward_test_data): Likewise.
17918         (remainder_test_data): Likewise.
17919         (remainder_tonearest_test_data): Likewise.
17920         (remainder_towardzero_test_data): Likewise.
17921         (remainder_downward_test_data): Likewise.
17922         (remainder_upward_test_data): Likewise.
17923         (remquo_test_data): Likewise.
17924         (rint_test_data): Likewise.
17925         (rint_tonearest_test_data): Likewise.
17926         (rint_towardzero_test_data): Likewise.
17927         (rint_downward_test_data): Likewise.
17928         (rint_upward_test_data): Likewise.
17929         (round_test_data): Likewise.
17930         (scalb_test_data): Likewise.
17931         (scalbn_test_data): Likewise.
17932         (scalbln_test_data): Likewise.
17933         (signbit_test_data): Likewise.
17934         (sin_test_data): Likewise.
17935         (sin_tonearest_test_data): Likewise.
17936         (sin_towardzero_test_data): Likewise.
17937         (sin_downward_test_data): Likewise.
17938         (sin_upward_test_data): Likewise.
17939         (sincos_test_data): Likewise.
17940         (sinh_test_data): Likewise.
17941         (sinh_tonearest_test_data): Likewise.
17942         (sinh_towardzero_test_data): Likewise.
17943         (sinh_downward_test_data): Likewise.
17944         (sinh_upward_test_data): Likewise.
17945         (sqrt_test_data): Likewise.
17946         (tan_test_data): Likewise.
17947         (tan_tonearest_test_data): Likewise.
17948         (tan_towardzero_test_data): Likewise.
17949         (tan_downward_test_data): Likewise.
17950         (tan_upward_test_data): Likewise.
17951         (tanh_test_data): Likewise.
17952         (tgamma_test_data): Likewise.
17953         (trunc_test_data): Likewise.
17954         (y0_test_data): Likewise.
17955         (y1_test_data): Likewise.
17956         (yn_test_data): Likewise.
17957         (significand_test_data): Likewise.
17958
17959         * math/gen-libm-test.pl (@functions): Remove variable.
17960         (generate_testfile): Don't handle START and END lines.
17961         * math/libm-test.inc (START): New macro.
17962         (END): Likewise.
17963         (END_COMPLEX): Likewise.
17964         (acos_test): Use END macro without arguments.
17965         (acos_test_tonearest): Likewise.
17966         (acos_test_towardzero): Likewise.
17967         (acos_test_downward): Likewise.
17968         (acos_test_upward): Likewise.
17969         (acosh_test): Likewise.
17970         (asin_test): Likewise.
17971         (asin_test_tonearest): Likewise.
17972         (asin_test_towardzero): Likewise.
17973         (asin_test_downward): Likewise.
17974         (asin_test_upward): Likewise.
17975         (asinh_test): Likewise.
17976         (atan_test): Likewise.
17977         (atanh_test): Likewise.
17978         (atan2_test): Likewise.
17979         (cabs_test): Likewise.
17980         (cacos_test): Use END_COMPLEX macro without arguments.
17981         (cacosh_test): Likewise.
17982         (carg_test): Use END macro without arguments.
17983         (casin_test): Use END_COMPLEX macro without arguments.
17984         (casinh_test): Likewise.
17985         (catan_test): Likewise.
17986         (catanh_test): Likewise.
17987         (cbrt_test): Use END macro without arguments.
17988         (ccos_test): Use END_COMPLEX macro without arguments.
17989         (ccosh_test): Likewise.
17990         (ceil_test): Use END macro without arguments.
17991         (cexp_test): Use END_COMPLEX macro without arguments.
17992         (cimag_test): Use END macro without arguments.
17993         (clog_test): Use END_COMPLEX macro without arguments.
17994         (clog10_test): Likewise.
17995         (conj_test): Likewise.
17996         (copysign_test): Use END macro without arguments.
17997         (cos_test): Likewise.
17998         (cos_test_tonearest): Likewise.
17999         (cos_test_towardzero): Likewise.
18000         (cos_test_downward): Likewise.
18001         (cos_test_upward): Likewise.
18002         (cosh_test): Likewise.
18003         (cosh_test_tonearest): Likewise.
18004         (cosh_test_towardzero): Likewise.
18005         (cosh_test_downward): Likewise.
18006         (cosh_test_upward): Likewise.
18007         (cpow_test): Use END_COMPLEX macro without arguments.
18008         (cproj_test): Likewise.
18009         (creal_test): Use END macro without arguments.
18010         (csin_test): Use END_COMPLEX macro without arguments.
18011         (csinh_test): Likewise.
18012         (csqrt_test): Likewise.
18013         (ctan_test): Likewise.
18014         (ctan_test_tonearest): Likewise.
18015         (ctan_test_towardzero): Likewise.
18016         (ctan_test_downward): Likewise.
18017         (ctan_test_upward): Likewise.
18018         (ctanh_test): Likewise.
18019         (ctanh_test_tonearest): Likewise.
18020         (ctanh_test_towardzero): Likewise.
18021         (ctanh_test_downward): Likewise.
18022         (ctanh_test_upward): Likewise.
18023         (erf_test): Use END macro without arguments.
18024         (erfc_test): Likewise.
18025         (exp_test): Likewise.
18026         (exp_test_tonearest): Likewise.
18027         (exp_test_towardzero): Likewise.
18028         (exp_test_downward): Likewise.
18029         (exp_test_upward): Likewise.
18030         (exp10_test): Likewise.
18031         (exp2_test): Likewise.
18032         (expm1_test): Likewise.
18033         (fabs_test): Likewise.
18034         (fdim_test): Likewise.
18035         (finite_test): Likewise.
18036         (floor_test): Likewise.
18037         (fma_test): Likewise.
18038         (fma_test_towardzero): Likewise.
18039         (fma_test_downward): Likewise.
18040         (fma_test_upward): Likewise.
18041         (fmax_test): Likewise.
18042         (fmin_test): Likewise.
18043         (fmod_test): Likewise.
18044         (fpclassify_test): Likewise.
18045         (frexp_test): Likewise.
18046         (gamma_test): Likewise.
18047         (hypot_test): Likewise.
18048         (ilogb_test): Likewise.
18049         (isfinite_test): Likewise.
18050         (isgreater_test): Likewise.
18051         (isgreaterequal_test): Likewise.
18052         (isinf_test): Likewise.
18053         (isless_test): Likewise.
18054         (islessequal_test): Likewise.
18055         (islessgreater_test): Likewise.
18056         (isnan_test): Likewise.
18057         (isnormal_test): Likewise.
18058         (issignaling_test): Likewise.
18059         (isunordered_test): Likewise.
18060         (j0_test): Likewise.
18061         (j1_test): Likewise.
18062         (jn_test): Likewise.
18063         (ldexp_test): Likewise.
18064         (lgamma_test): Likewise.
18065         (lrint_test): Likewise.
18066         (lrint_test_tonearest): Likewise.
18067         (lrint_test_towardzero): Likewise.
18068         (lrint_test_downward): Likewise.
18069         (lrint_test_upward): Likewise.
18070         (llrint_test): Likewise.
18071         (llrint_test_tonearest): Likewise.
18072         (llrint_test_towardzero): Likewise.
18073         (llrint_test_downward): Likewise.
18074         (llrint_test_upward): Likewise.
18075         (log_test): Likewise.
18076         (log10_test): Likewise.
18077         (log1p_test): Likewise.
18078         (log2_test): Likewise.
18079         (logb_test): Likewise.
18080         (logb_test_downward): Likewise.
18081         (lround_test): Likewise.
18082         (llround_test): Likewise.
18083         (modf_test): Likewise.
18084         (nearbyint_test): Likewise.
18085         (nextafter_test): Likewise.
18086         (nexttoward_test): Likewise.
18087         (pow_test): Likewise.
18088         (pow_test_tonearest): Likewise.
18089         (pow_test_towardzero): Likewise.
18090         (pow_test_downward): Likewise.
18091         (pow_test_upward): Likewise.
18092         (remainder_test): Likewise.
18093         (remainder_test_tonearest): Likewise.
18094         (remainder_test_towardzero): Likewise.
18095         (remainder_test_downward): Likewise.
18096         (remainder_test_upward): Likewise.
18097         (remquo_test): Likewise.
18098         (rint_test): Likewise.
18099         (rint_test_tonearest): Likewise.
18100         (rint_test_towardzero): Likewise.
18101         (rint_test_downward): Likewise.
18102         (rint_test_upward): Likewise.
18103         (round_test): Likewise.
18104         (scalb_test): Likewise.
18105         (scalbn_test): Likewise.
18106         (scalbln_test): Likewise.
18107         (signbit_test): Likewise.
18108         (sin_test): Likewise.
18109         (sin_test_tonearest): Likewise.
18110         (sin_test_towardzero): Likewise.
18111         (sin_test_downward): Likewise.
18112         (sin_test_upward): Likewise.
18113         (sincos_test): Likewise.
18114         (sinh_test): Likewise.
18115         (sinh_test_tonearest): Likewise.
18116         (sinh_test_towardzero): Likewise.
18117         (sinh_test_downward): Likewise.
18118         (sinh_test_upward): Likewise.
18119         (sqrt_test): Likewise.
18120         (tan_test): Likewise.
18121         (tan_test_tonearest): Likewise.
18122         (tan_test_towardzero): Likewise.
18123         (tan_test_downward): Likewise.
18124         (tan_test_upward): Likewise.
18125         (tanh_test): Likewise.
18126         (tgamma_test): Likewise.
18127         (trunc_test): Likewise.
18128         (y0_test): Likewise.
18129         (y1_test): Likewise.
18130         (yn_test): Likewise.
18131         (significand_test): Likewise.
18132
18133 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18134
18135         [BZ #15381]
18136         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18137
18138 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18139
18140         [BZ #14894]
18141         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18142         __ppc_mdoio and __ppc_mdoom.
18143         * manual/platform.texi: Document new functions __ppc_yield,
18144         __ppc_mdoio and __ppc_mdoom.
18145
18146 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18147
18148         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18149         (main): Mention "tls" pseudo-hwcap is legacy.
18150         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18151
18152 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18153
18154         * math/gen-libm-test.pl (parse_args): Output only string of
18155         arguments as text for test name, not full call or descriptions of
18156         tests for extra outputs.
18157         (generate_testfile): Do not pass function name to parse_args.
18158         Generate this_func variable from START.
18159         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18160         field to arg_str.
18161         (struct test_ff_f_data): Likewise.
18162         (test_ff_f_data_nexttoward): Likewise.
18163         (struct test_fi_f_data): Likewise.
18164         (struct test_fl_f_data): Likewise.
18165         (struct test_if_f_data): Likewise.
18166         (struct test_fff_f_data): Likewise.
18167         (struct test_c_f_data): Likewise.
18168         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18169         (struct test_fF_f1_data): Likewise.
18170         (struct test_ffI_f1_data): Likewise.
18171         (struct test_c_c_data): Rename test_name field to arg_str.
18172         (struct test_cc_c_data): Likewise.
18173         (struct test_f_i_data): Likewise.
18174         (struct test_ff_i_data): Likewise.
18175         (struct test_f_l_data): Likewise.
18176         (struct test_f_L_data): Likewise.
18177         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18178         and extra2_name.
18179         (COMMON_TEST_SETUP): New macro.
18180         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18181         (COMMON_TEST_CLEANUP): Likewise.
18182         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18183         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18184         macros.
18185         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18186         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18187         macros.
18188         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18189         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18190         cleanup macros.
18191         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18192         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18193         macros.
18194         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18195         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18196         macros.
18197         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18198         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18199         cleanup macros.
18200         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18201         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18202         cleanup macros.
18203         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18204         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18205         cleanup macros.
18206         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18207         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18208         macros.
18209         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18210         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18211         macros.
18212         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18213         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18214         macros.
18215         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18216         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18217         cleanup macros.
18218         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18219         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18220         cleanup macros.
18221         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18222         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18223         macros.
18224         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18225         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18226         cleanup macros.
18227         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18228         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18229         macros.
18230         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18231         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18232         macros.
18233         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18234         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18235         cleanup macros.
18236         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18237
18238 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18239
18240         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18241         to _sifields.sigfault.
18242         (si_addr_lsb): Define new macro.
18243         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18245         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18246
18247 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18248
18249         [BZ #15441]
18250         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18251         returns -1.
18252         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18253         null return -1.
18254         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18255         loading the domain.
18256
18257 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18258
18259         * math/gen-libm-test.pl (parse_args): Do not include expected
18260         result in test name.
18261         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18262         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18263         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18264         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18265         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267
18268 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18269
18270         * benchtests/Makefile: Sort function entries.
18271
18272         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18273         tanh, asinh, acosh, atanh.
18274         * benchtests/acos-inputs: New file.
18275         * benchtests/acosh-inputs: New file.
18276         * benchtests/asin-inputs: New file.
18277         * benchtests/asinh-inputs: New file.
18278         * benchtests/atanh-inputs: New file.
18279         * benchtests/cosh-inputs: New file.
18280         * benchtests/log-inputs: New file.
18281         * benchtests/sinh-inputs: New file.
18282         * benchtests/tanh-inputs: New file.
18283
18284 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18285
18286         [BZ #15339]
18287         * posix/tst-getaddrinfo4.c: New test.
18288         * posix/Makefile (tests): Add it.
18289
18290 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18291
18292         [BZ #15339]
18293         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18294         when no services were used.
18295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18296         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18297
18298 2013-05-21  Andreas Schwab  <schwab@suse.de>
18299
18300         [BZ #15014]
18301         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18302         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18303         successful.
18304         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18305         redundant variable declarations and reallocation of buffer when
18306         parsing as IPv6 address.  Always set NSS status when called from
18307         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18308         buffer too small.  Correct computation of needed size.
18309         * nss/Makefile (tests): Add test-digits-dots.
18310         * nss/test-digits-dots.c: New test.
18311
18312 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18313
18314         * benchtests/Makefile: Remove instructions for adding
18315         benchmark tests.
18316         * benchtests/README: New file to explain how to execute and
18317         enhance the benchmark tests.
18318
18319 2013-05-21  Andreas Schwab  <schwab@suse.de>
18320
18321         [BZ #15493]
18322         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18323         * setjmp/tst-sigsetjmp.c: New test.
18324
18325 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18326
18327         * sysdeps/x86_64/memset.S (memset): New implementation.
18328         (__bzero): Likewise.
18329         (__memset_tail): New function.
18330
18331 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18332
18333         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18334         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18335         __memcpy_sse2_unaligned ifunc selection.
18336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18337         Add memcpy-sse2-unaligned.S.
18338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18339         Add: __memcpy_sse2_unaligned.
18340
18341 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18342
18343         [BZ #15490]
18344         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18345         math_force_eval before restoring floating-point envrionment.
18346         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18347         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18348         Likewise.
18349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18350         <math_private.h>.
18351         (__nearbyintl): Use math_force_eval before restoring
18352         floating-point environment.
18353         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18354
18355         * math/gen-libm-test.pl (special_functions): Remove.
18356         (parse_args): Don't handle TEST_extra.  Handle functions with no
18357         return value.
18358         * math/libm-test.inc (struct test_sincos_data): Replace with
18359         struct test_fFF_11_data.
18360         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18361         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18362         (sincos_test_data): Change element type to struct
18363         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18364         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18365         RUN_TEST_LOOP_sincos.
18366         * math/README.libm-test: Don't mention special handling of
18367         individual functions.
18368         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18369         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18370         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18371         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18372         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18374
18375         * math/gen-libm-test.pl (get_variable): Remove function.
18376         (parse_args): Don't show pointer parameters to call in test
18377         names.  Use "extra output N" in test names for extra outputs
18378         rather than naming variables.
18379
18380 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18381
18382         [BZ #15488]
18383         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18384         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18385         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18386         double tests.
18387         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18388         disable.
18389         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18390         check_long_double.
18391
18392         * math/gen-libm-test.pl (@tests): Remove variable.
18393         ($count): Likewise.
18394         (new_test): Remove function.
18395         (show_exceptions): New function.
18396         (special_functions): Use show_exceptions instead of new_test.
18397         (parse_args): Likewise.
18398         (generate_testfile): Pass only function name in generated call to
18399         print_max_error or print_complex_max_error.
18400         (get_ulps): Do not handle complex tests specially.
18401         (output_test): Rename to ...
18402         (get_all_ulps_for_test): ... this.  Return a string rather than
18403         printing to a file.  Require ulps to be present.
18404         (output_ulps): Generate arrays rather than #defines.
18405         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18406         (struct ulp_data): New type.
18407         (BUILD_COMPLEX_ULP): Remove macro.
18408         (compare_ulp_data): New function.
18409         (find_ulps): Likewise.
18410         (find_test_ulps): Likewise.
18411         (find_function_ulps): Likewise.
18412         (find_complex_function_ulps): Likewise.
18413         (print_max_error): Determine allowed ulps using
18414         find_function_ulps.
18415         (print_complex_max_error): Determine allowed ulps using
18416         find_complex_function_ulps.
18417         (check_float_internal): Determine max ulps using find_test_ulps.
18418         (check_float): Do not take max_ulp parameter.  Update call to
18419         check_float_internal.
18420         (check_complex): Likewise.
18421         (check_int): Do not take max_ulp parameter.
18422         (check_long): Likewise.
18423         (check_bool): Likewise.
18424         (check_longlong): Likewise.
18425         (struct test_f_f_data): Remove max_ulp field.
18426         (struct test_ff_f_data): Likewise.
18427         (struct test_ff_f_data_nexttoward): Likewise.
18428         (struct test_fi_f_data): Likewise.
18429         (struct test_fl_f_data): Likewise.
18430         (struct test_if_f_data): Likewise.
18431         (struct test_fff_f_data): Likewise.
18432         (struct test_c_f_data): Likewise.
18433         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18434         (struct test_fF_f1_data): Likewise.
18435         (struct test_ffI_f1_data): Likewise.
18436         (struct test_c_c_data): Remove max_ulp field.
18437         (struct test_cc_c_data): Likewise.
18438         (struct test_f_i_data): Likewise.
18439         (struct test_ff_i_data): Likewise.
18440         (struct test_f_l_data): Likewise.
18441         (struct test_f_L_data): Likewise.
18442         (struct test_sincos_data): Likewise.
18443         (RUN_TEST_f_f): Do not handle ulps.
18444         (RUN_TEST_LOOP_f_f): Likewise.
18445         (RUN_TEST_2_f): Likewise.
18446         (RUN_TEST_LOOP_2_f): Likewise.
18447         (RUN_TEST_fff_f): Likewise.
18448         (RUN_TEST_LOOP_fff_f): Likewise.
18449         (RUN_TEST_c_f): Likewise.
18450         (RUN_TEST_LOOP_c_f): Likewise.
18451         (RUN_TEST_f_f1): Likewise.
18452         (RUN_TEST_LOOP_f_f1): Likewise.
18453         (RUN_TEST_fF_f1): Likewise.
18454         (RUN_TEST_LOOP_fF_f1): Likewise.
18455         (RUN_TEST_fI_f1): Likewise.
18456         (RUN_TEST_LOOP_fI_f1): Likewise.
18457         (RUN_TEST_ffI_f1): Likewise.
18458         (RUN_TEST_LOOP_ffI_f1): Likewise.
18459         (RUN_TEST_c_c): Likewise.
18460         (RUN_TEST_LOOP_c_c): Likewise.
18461         (RUN_TEST_cc_c): Likewise.
18462         (RUN_TEST_LOOP_cc_c): Likewise.
18463         (RUN_TEST_f_i): Likewise.
18464         (RUN_TEST_LOOP_f_i): Likewise.
18465         (RUN_TEST_f_i_tg): Likewise.
18466         (RUN_TEST_LOOP_f_i_tg): Likewise.
18467         (RUN_TEST_ff_i_tg): Likewise.
18468         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18469         (RUN_TEST_f_b): Likewise.
18470         (RUN_TEST_LOOP_f_b): Likewise.
18471         (RUN_TEST_f_b_tg): Likewise.
18472         (RUN_TEST_LOOP_f_b_tg): Likewise.
18473         (RUN_TEST_f_l): Likewise.
18474         (RUN_TEST_LOOP_f_l): Likewise.
18475         (RUN_TEST_f_L): Likewise.
18476         (RUN_TEST_LOOP_f_L): Likewise.
18477         (RUN_TEST_sincos): Likewise.
18478         (RUN_TEST_LOOP_sincos): Likewise.
18479
18480 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18481
18482         [BZ #15480]
18483         [BZ #15485]
18484         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18485         main case of finite arguments, set rounding mode to FE_TONEAREST
18486         and discard exceptions.
18487         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18488         exceptions.
18489         (remainder_tonearest_test_data): New variable.
18490         (remainder_test_tonearest): New function.
18491         (remainder_towardzero_test_data): New variable.
18492         (remainder_test_towardzero): New function.
18493         (remainder_downward_test_data): New variable.
18494         (remainder_test_downward): New function.
18495         (remainder_upward_test_data): New variable.
18496         (remainder_test_upward): New function.
18497         (main): Call the new test functions.
18498
18499         * math/libm-test.inc (struct test_f_f1_data): Remove field
18500         extra_init.
18501         (struct test_fF_f1_data): Likewise.
18502         (struct test_ffI_f1_data): Likewise.
18503         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18504         based on value of EXTRA_EXPECTED.
18505         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18506         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18507         EXTRA_VAR based on value of EXTRA_EXPECTED.
18508         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18509         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18510         EXTRA_VAR based on value of EXTRA_EXPECTED.
18511         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18512         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18513         EXTRA_VAR based on value of EXTRA_EXPECTED.
18514         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18515         * math/gen-libm-test.pl (parse_args): Don't output initializers
18516         for extra output values.
18517
18518         * math/libm-test.inc (check_int): Expect result to be exactly
18519         equal to expected value and do not handle ulps.
18520         (check_long): Likewise.
18521         (check_longlong): Likewise.
18522
18523         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18524         exceptions.
18525         (cimag_test_data): Likewise.
18526         (conj_test_data): Likewise.
18527         (copysign_test_data): Likewise.
18528         (cproj_test_data): Likewise.
18529         (creal_test_data): Likewise.
18530         (fabs_test_data): Likewise.
18531         (fdim_test_data): Likewise.
18532         (finite_test_data): Likewise.
18533         (floor_test_data): Likewise.
18534         (fmax_test_data): Likewise.
18535         (fmin_test_data): Likewise.
18536         (fmod_test_data): Likewise.
18537         (fpclassify_test_data): Likewise.
18538         (frexp_test_data): Likewise.
18539         (ilogb_test_data): Likewise.
18540         (isfinite_test_data): Likewise.
18541         (isgreater_test_data): Likewise.
18542         (isgreaterequal_test_data): Likewise.
18543         (isinf_test_data): Likewise.
18544         (isless_test_data): Likewise.
18545         (islessequal_test_data): Likewise.
18546         (islessgreater_test_data): Likewise.
18547         (isnan_test_data): Likewise.
18548         (isnormal_test_data): Likewise.
18549         (issignaling_test_data): Likewise.
18550         (isunordered_test_data): Likewise.
18551         (ldexp_test_data): Likewise.
18552         (lrint_test_data): Likewise.
18553         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18554         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18555         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18556         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18557         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18558         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18559         test input.
18560         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18561         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18562         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18563         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18564         that test input.
18565         (lrint_downward_test_data): Test for "inexact" exceptions.
18566         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18567         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18568         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18569         test input.
18570         (lrint_upward_test_data): Test for "inexact" exceptions.
18571         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18572         test input.
18573         (llrint_test_data): Test for "inexact" exceptions.
18574         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18575         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18576         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18577         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18578         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18579         (llrint_downward_test_data): Test for "inexact" exceptions.
18580         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18581         (llrint_upward_test_data): Test for "inexact" exceptions.
18582         (logb_test_data): Likewise.
18583         (logb_downward_test_data): Likewise.
18584         (nextafter_test_data): Likewise.
18585         (nexttoward_test_data): Likewise.
18586         (remainder_test_data): Likewise.
18587         (remquo_test_data): Likewise.
18588         (scalbn_test_data): Likewise.
18589         (scalbln_test_data): Likewise.
18590         (signbit_test_data): Likewise.
18591         (sqrt_test_data): Likewise.
18592         (significand_test_data): Likewise.
18593
18594 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18595
18596         [BZ #15424]
18597         * benchtests/bench-modf.c (struct args): Mark arg0 as
18598         volatile.
18599         * scripts/bench.pl: Mark members of struct args as volatile.
18600
18601 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18602
18603         [BZ # 15497]
18604         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18605         negative infinity on POWER6 or lower.
18606         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18607
18608 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18609
18610         [BZ #15442]
18611         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18612         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18613         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18614         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18615         (_FP_SETQNAN): New macro.
18616         (_FP_SETQNAN_SEMIRAW): Likewise.
18617         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18618         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18619         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18620         (FP_EXTEND): Use _FP_FRAC_SNANP.
18621         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18622         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18623         into account.
18624         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18625         New macro.
18626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18627         Likewise.
18628
18629 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18630
18631         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18632         with DIVIDE_BY_ZERO_EXCEPTION.
18633         (gamma_test_data): Likewise.
18634         (lgamma_test_data): Likewise.
18635         (log_test_data): Likewise.
18636         (log10_test_data): Likewise.
18637         (log2_test_data): Likewise.
18638         (tgamma_test_data): Likewise.
18639
18640         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18641         (acos_test_tonearest): Likewise.
18642         (acos_test_towardzero): Likewise.
18643         (acos_test_downward): Likewise.
18644         (acos_test_upward): Likewise.
18645         (acosh_test): Likewise.
18646         (asin_test): Likewise.
18647         (asin_test_tonearest): Likewise.
18648         (asin_test_towardzero): Likewise.
18649         (asin_test_downward): Likewise.
18650         (asin_test_upward): Likewise.
18651         (asinh_test): Likewise.
18652         (atan_test): Likewise.
18653         (atanh_test): Likewise.
18654         (atan2_test): Likewise.
18655         (cabs_test): Likewise.
18656         (cacos_test): Likewise.
18657         (cacosh_test): Likewise.
18658         (casin_test): Likewise.
18659         (casinh_test): Likewise.
18660         (catan_test): Likewise.
18661         (catanh_test): Likewise.
18662         (cbrt_test): Likewise.
18663         (ccos_test): Likewise.
18664         (ccosh_test): Likewise.
18665         (cexp_test): Likewise.
18666         (clog_test): Likewise.
18667         (clog10_test): Likewise.
18668         (cos_test): Likewise.
18669         (cos_test_tonearest): Likewise.
18670         (cos_test_towardzero): Likewise.
18671         (cos_test_downward): Likewise.
18672         (cos_test_upward): Likewise.
18673         (cosh_test): Likewise.
18674         (cosh_test_tonearest): Likewise.
18675         (cosh_test_towardzero): Likewise.
18676         (cosh_test_downward): Likewise.
18677         (cosh_test_upward): Likewise.
18678         (cpow_test): Likewise.
18679         (csin_test): Likewise.
18680         (csinh_test): Likewise.
18681         (csqrt_test): Likewise.
18682         (ctan_test): Likewise.
18683         (ctan_test_tonearest): Likewise.
18684         (ctan_test_towardzero): Likewise.
18685         (ctan_test_downward): Likewise.
18686         (ctan_test_upward): Likewise.
18687         (ctanh_test): Likewise.
18688         (ctanh_test_tonearest): Likewise.
18689         (ctanh_test_towardzero): Likewise.
18690         (ctanh_test_downward): Likewise.
18691         (ctanh_test_upward): Likewise.
18692         (erf_test): Likewise.
18693         (erfc_test): Likewise.
18694         (exp_test): Likewise.
18695         (exp_test_tonearest): Likewise.
18696         (exp_test_towardzero): Likewise.
18697         (exp_test_downward): Likewise.
18698         (exp_test_upward): Likewise.
18699         (exp10_test): Likewise.
18700         (exp2_test): Likewise.
18701         (expm1_test): Likewise.
18702         (fmod_test): Likewise.
18703         (gamma_test): Likewise.
18704         (hypot_test): Likewise.
18705         (j0_test): Likewise.
18706         (j1_test): Likewise.
18707         (jn_test): Likewise.
18708         (lgamma_test): Likewise.
18709         (log_test): Likewise.
18710         (log10_test): Likewise.
18711         (log1p_test): Likewise.
18712         (log2_test): Likewise.
18713         (logb_test_downward): Likewise.
18714         (pow_test): Likewise.
18715         (pow_test_tonearest): Likewise.
18716         (pow_test_towardzero): Likewise.
18717         (pow_test_downward): Likewise.
18718         (pow_test_upward): Likewise.
18719         (remainder_test): Likewise.
18720         (remquo_test): Likewise.
18721         (sin_test): Likewise.
18722         (sin_test_tonearest): Likewise.
18723         (sin_test_towardzero): Likewise.
18724         (sin_test_downward): Likewise.
18725         (sin_test_upward): Likewise.
18726         (sincos_test): Likewise.
18727         (sinh_test): Likewise.
18728         (sinh_test_tonearest): Likewise.
18729         (sinh_test_towardzero): Likewise.
18730         (sinh_test_downward): Likewise.
18731         (sinh_test_upward): Likewise.
18732         (sqrt_test): Likewise.
18733         (tan_test): Likewise.
18734         (tan_test_tonearest): Likewise.
18735         (tan_test_towardzero): Likewise.
18736         (tan_test_downward): Likewise.
18737         (tan_test_upward): Likewise.
18738         (tanh_test): Likewise.
18739         (tgamma_test): Likewise.
18740         (y0_test): Likewise.
18741         (y1_test): Likewise.
18742         (yn_test): Likewise.
18743
18744         * math/gen-libm-test.pl (adjust_arg): Remove function.
18745         (special_function): Remove argument $in_func.  Only handle
18746         generating output for tables of tests, not inside functions.
18747         (parse_args): Likewise.
18748         (generate_testfile): Remove variable $in_func.  Update call to
18749         parse_args.
18750         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18751         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18752         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18753         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18754         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18755         (MAX_VALUE_INIT): Rename macro to max_value.
18756         (MIN_VALUE_INIT): Rename macro to min_value.
18757         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18758         (plus_zero): Remove variable.
18759         (minus_zero): Likewise.
18760         (plus_infty): Likewise.
18761         (minus_infty): Likewise.
18762         (qnan_value): Likewise.
18763         (max_value): Likewise.
18764         (min_value): Likewise.
18765         (min_subnorm_value): Likewise.
18766
18767 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18768
18769         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18770         uint64_t or uint32_t usage.
18771         * crypt/sha256-block.c: Likewise.
18772         * crypt/sha256-crypt.c: Likewise.
18773         * crypt/sha256.c: Likewise.
18774         * crypt/sha512-block.c: Likewise.
18775         * crypt/sha512-crypt.c: Likewise.
18776         * crypt/sha512.c: Likewise.
18777         * debug/backtrace-tst.c: Likewise.
18778         * debug/pcprofiledump.c: Likewise.
18779         * elf/cache.c: Likewise.
18780         * elf/dl-cache.c: Likewise.
18781         * elf/dl-misc.c: Likewise.
18782         * elf/dl-profile.c: Likewise.
18783         * elf/dl-support.c: Likewise.
18784         * elf/ldconfig.c: Likewise.
18785         * elf/sprof.c: Likewise.
18786         * iconv/dummy-repertoire.c: Likewise.
18787         * iconv/iconv_charmap.c: Likewise.
18788         * iconv/skeleton.c: Likewise.
18789         * iconvdata/8bit-generic.c: Likewise.
18790         * iconvdata/cp737.h: Likewise.
18791         * iconvdata/cp775.h: Likewise.
18792         * iconvdata/ibm1008.h: Likewise.
18793         * iconvdata/ibm1025.h: Likewise.
18794         * iconvdata/ibm1046.h: Likewise.
18795         * iconvdata/ibm1097.h: Likewise.
18796         * iconvdata/ibm1112.h: Likewise.
18797         * iconvdata/ibm1122.h: Likewise.
18798         * iconvdata/ibm1123.h: Likewise.
18799         * iconvdata/ibm1124.h: Likewise.
18800         * iconvdata/ibm1129.h: Likewise.
18801         * iconvdata/ibm1130.h: Likewise.
18802         * iconvdata/ibm1132.h: Likewise.
18803         * iconvdata/ibm1133.h: Likewise.
18804         * iconvdata/ibm1137.h: Likewise.
18805         * iconvdata/ibm1140.h: Likewise.
18806         * iconvdata/ibm1141.h: Likewise.
18807         * iconvdata/ibm1142.h: Likewise.
18808         * iconvdata/ibm1143.h: Likewise.
18809         * iconvdata/ibm1144.h: Likewise.
18810         * iconvdata/ibm1145.h: Likewise.
18811         * iconvdata/ibm1146.h: Likewise.
18812         * iconvdata/ibm1147.h: Likewise.
18813         * iconvdata/ibm1148.h: Likewise.
18814         * iconvdata/ibm1149.h: Likewise.
18815         * iconvdata/ibm1153.h: Likewise.
18816         * iconvdata/ibm1154.h: Likewise.
18817         * iconvdata/ibm1155.h: Likewise.
18818         * iconvdata/ibm1156.h: Likewise.
18819         * iconvdata/ibm1157.h: Likewise.
18820         * iconvdata/ibm1158.h: Likewise.
18821         * iconvdata/ibm1160.h: Likewise.
18822         * iconvdata/ibm1161.h: Likewise.
18823         * iconvdata/ibm1162.h: Likewise.
18824         * iconvdata/ibm1163.h: Likewise.
18825         * iconvdata/ibm1164.h: Likewise.
18826         * iconvdata/ibm1166.h: Likewise.
18827         * iconvdata/ibm1167.h: Likewise.
18828         * iconvdata/ibm12712.h: Likewise.
18829         * iconvdata/ibm1390.h: Likewise.
18830         * iconvdata/ibm1399.h: Likewise.
18831         * iconvdata/ibm16804.h: Likewise.
18832         * iconvdata/ibm4517.h: Likewise.
18833         * iconvdata/ibm4899.h: Likewise.
18834         * iconvdata/ibm4909.h: Likewise.
18835         * iconvdata/ibm4971.h: Likewise.
18836         * iconvdata/ibm5347.h: Likewise.
18837         * iconvdata/ibm803.h: Likewise.
18838         * iconvdata/ibm856.h: Likewise.
18839         * iconvdata/ibm901.h: Likewise.
18840         * iconvdata/ibm902.h: Likewise.
18841         * iconvdata/ibm9030.h: Likewise.
18842         * iconvdata/ibm9066.h: Likewise.
18843         * iconvdata/ibm921.h: Likewise.
18844         * iconvdata/ibm922.h: Likewise.
18845         * iconvdata/ibm9448.h: Likewise.
18846         * iconvdata/isiri-3342.h: Likewise.
18847         * iconvdata/jis0201.h: Likewise.
18848         * include/link.h: Likewise.
18849         * include/netdb.h: Likewise.
18850         * inet/check_native.c: Likewise.
18851         * inet/check_pf.c: Likewise.
18852         * inet/getipv4sourcefilter.c: Likewise.
18853         * inet/getnameinfo.c: Likewise.
18854         * inet/getsourcefilter.c: Likewise.
18855         * inet/htonl.c: Likewise.
18856         * inet/setipv4sourcefilter.c: Likewise.
18857         * inet/setsourcefilter.c: Likewise.
18858         * inet/test-inet6_opt.c: Likewise.
18859         * inet/tst-network.c: Likewise.
18860         * locale/C-collate.c: Likewise.
18861         * locale/C-ctype.c: Likewise.
18862         * locale/C-time.c: Likewise.
18863         * locale/C-translit.h: Likewise.
18864         * locale/loadarchive.c: Likewise.
18865         * locale/programs/3level.h: Likewise.
18866         * locale/programs/charmap.c: Likewise.
18867         * locale/programs/charmap.h: Likewise.
18868         * locale/programs/ld-address.c: Likewise.
18869         * locale/programs/ld-collate.c: Likewise.
18870         * locale/programs/ld-ctype.c: Likewise.
18871         * locale/programs/ld-identification.c: Likewise.
18872         * locale/programs/ld-measurement.c: Likewise.
18873         * locale/programs/ld-messages.c: Likewise.
18874         * locale/programs/ld-monetary.c: Likewise.
18875         * locale/programs/ld-name.c: Likewise.
18876         * locale/programs/ld-numeric.c: Likewise.
18877         * locale/programs/ld-paper.c: Likewise.
18878         * locale/programs/ld-telephone.c: Likewise.
18879         * locale/programs/ld-time.c: Likewise.
18880         * locale/programs/linereader.c: Likewise.
18881         * locale/programs/locale.c: Likewise.
18882         * locale/programs/locarchive.c: Likewise.
18883         * locale/programs/locfile.h: Likewise.
18884         * locale/programs/repertoire.c: Likewise.
18885         * locale/programs/simple-hash.c: Likewise.
18886         * locale/programs/simple-hash.h: Likewise.
18887         * malloc/memusage.c: Likewise.
18888         * malloc/memusagestat.c: Likewise.
18889         * nis/nis_defaults.c: Likewise.
18890         * nis/nis_hash.c: Likewise.
18891         * nis/nis_print.c: Likewise.
18892         * nis/nis_xdr.c: Likewise.
18893         * nscd/connections.c: Likewise.
18894         * nscd/hstcache.c: Likewise.
18895         * nscd/nscd_gethst_r.c: Likewise.
18896         * nscd/nscd_getserv_r.c: Likewise.
18897         * nscd/nscd_helper.c: Likewise.
18898         * nscd/servicescache.c: Likewise.
18899         * nss/makedb.c: Likewise.
18900         * nss/nss_db/db-XXX.c: Likewise.
18901         * nss/nss_db/db-initgroups.c: Likewise.
18902         * nss/nss_db/db-netgrp.c: Likewise.
18903         * nss/nss_files/files-network.c: Likewise.
18904         * nss/nss_files/files-parse.c: Likewise.
18905         * posix/bug-regex5.c: Likewise.
18906         * posix/fnmatch_loop.c: Likewise.
18907         * posix/regcomp.c: Likewise.
18908         * posix/regexec.c: Likewise.
18909         * posix/tst-rfc3484-2.c: Likewise.
18910         * posix/tst-rfc3484-3.c: Likewise.
18911         * posix/tst-rfc3484.c: Likewise.
18912         * resolv/nss_dns/dns-canon.c: Likewise.
18913         * resolv/nss_dns/dns-network.c: Likewise.
18914         * resolv/res_init.c: Likewise.
18915         * resolv/res_mkquery.c: Likewise.
18916         * resolv/tst-aton.c: Likewise.
18917         * stdlib/cxa_atexit.c: Likewise.
18918         * stdlib/cxa_finalize.c: Likewise.
18919         * stdlib/gen-fpioconst.c: Likewise.
18920         * stdlib/strtol_l.c: Likewise.
18921         * string/tst-endian.c: Likewise.
18922         * sunrpc/auth_des.c: Likewise.
18923         * sunrpc/clnt_udp.c: Likewise.
18924         * sunrpc/rtime.c: Likewise.
18925         * sunrpc/svcauth_des.c: Likewise.
18926         * sunrpc/xdr.c: Likewise.
18927         * sunrpc/xdr_intXX_t.c: Likewise.
18928         * sunrpc/xdr_rec.c: Likewise.
18929         * sysdeps/generic/ldconfig.h: Likewise.
18930         * sysdeps/generic/ldsodefs.h: Likewise.
18931         * sysdeps/generic/memusage.h: Likewise.
18932         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18934         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18936         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18938         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18939         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18940         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18942         * sysdeps/posix/getaddrinfo.c: Likewise.
18943         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18944         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18945         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18946         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18947         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18948         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18949         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18950         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18951         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18952         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18953         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18954         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18955         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18956         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18957         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18958         * sysdeps/x86_64/dl-tls.h: Likewise.
18959         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18960         * time/alt_digit.c: Likewise.
18961         * time/era.c: Likewise.
18962         * wcsmbs/tst-c16c32-1.c: Likewise.
18963
18964 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18965
18966         * math/libm-test.inc (struct test_sincos_data): New type.
18967         (RUN_TEST_LOOP_sincos): New macro.
18968         (sincos_test_data): New variable.
18969         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18970
18971 2013-05-16  Richard Henderson  <rth@redhat.com>
18972
18973         * math/atest-exp2.c (LIMB64): New macro.
18974         (CONSTSZ): New macro.
18975         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18976         (hexdig): Move ...
18977         (print_mpn_fp): ... to function scope.
18978         (read_mpn_hex): Remove.
18979         (get_log2): Remove.
18980         (exp2_mpn): Use mp_log2.
18981         (main): Use mp_exp1.
18982
18983 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18984
18985         * math/libm-test.inc: Remove comment about not testing "inexact"
18986         exceptions.
18987         (INEXACT_EXCEPTION): New macro.
18988         (NO_INEXACT_EXCEPTION): Likewise.
18989         (INVALID_EXCEPTION_OK): Update value.
18990         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18991         (OVERFLOW_EXCEPTION_OK): Likewise.
18992         (UNDERFLOW_EXCEPTION_OK): Likewise.
18993         (IGNORE_ZERO_INF_SIGN): Likewise.
18994         (ERRNO_UNCHANGED): Likewise.
18995         (ERRNO_EDOM): Likewise.
18996         (ERRNO_ERANGE): Likewise.
18997         (test_exceptions): Handle testing "inexact" exceptions.
18998         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18999         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19000         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19001         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19002         INEXACT_EXCEPTION.
19003         (rint_towardzero_test_data): Likewise.
19004         (rint_downward_test_data): Likewise.
19005         (rint_upward_test_data): Likewise.
19006
19007         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19008         with OVERFLOW_EXCEPTION.
19009         (exp10_test_data): Likewise.
19010         (exp2_test_data): Likewise.
19011         (expm1_test_data): Likewise.
19012         (lgamma_test_data): Likewise.
19013         (pow_test_data): Likewise.
19014         (tgamma_test_data): Likewise.
19015         (yn_test_data): Remove duplicate test of overflow.
19016
19017         * math/libm-test.inc (struct test_cc_c_data): New type.
19018         (RUN_TEST_LOOP_cc_c): New macro.
19019         (cpow_test_data): New variable.
19020         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19021
19022         * math/libm-test.inc (struct test_f_L_data): New type.
19023         (RUN_TEST_LOOP_f_L): New macro.
19024         (llrint_test_data): New variable.
19025         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19026         (llrint_tonearest_test_data): New variable.
19027         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19028         (llrint_towardzero_test_data): New variable.
19029         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19030         (llrint_downward_test_data): New variable.
19031         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19032         (llrint_upward_test_data): New variable.
19033         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19034         (llround_test_data): New variable.
19035         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19036
19037 2013-05-13  Peter Collingbourne  <pcc@google.com>
19038
19039         * math/atest-exp2.c (get_log2): Remove const attribute.
19040
19041 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19042
19043         * math/libm-test.inc (struct test_f_l_data): New type.
19044         (RUN_TEST_LOOP_f_l): New macro.
19045         (lrint_test_data): New variable.
19046         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19047         (lrint_tonearest_test_data): New variable.
19048         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19049         (lrint_towardzero_test_data): New variable.
19050         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19051         (lrint_downward_test_data): New variable.
19052         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19053         (lrint_upward_test_data): New variable.
19054         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19055         (lround_test_data): New variable.
19056         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19057
19058 2013-05-15  Peter Collingbourne  <pcc@google.com>
19059
19060         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19061         (EXTRACT_WORDS64) Use where appropriate.
19062         (INSERT_WORDS64) Likewise.
19063
19064         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19065         constraints with x constraints.
19066         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19067
19068         * malloc/obstack.c (_obstack_compat): Add initializer.
19069
19070 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19071
19072         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19073         si_trapno and add si_addr_lsb to _sifields.sigfault.
19074         (si_trapno): Remove macro.
19075         (si_addr_lsb): Define new macro.
19076         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19077
19078 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19079
19080         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19081         instead of TEST_f_l.
19082         (llrint_test_tonearest): Likewise.
19083         (llrint_test_towardzero): Likewise.
19084         (llrint_test_downward): Likewise.
19085         (llrint_test_upward): Likewise.
19086         (llround_test): Likewise.
19087
19088         * math/libm-test.inc (struct test_f_i_data): Add comment.
19089         (RUN_TEST_LOOP_f_b): New macro.
19090         (RUN_TEST_LOOP_f_b_tg): Likewise.
19091         (finite_test_data): New variable.
19092         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19093         (isfinite_test_data): New variable.
19094         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19095         (isinf_test_data): New variable.
19096         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19097         (isnan_test_data): New variable.
19098         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19099         (isnormal_test_data): New variable.
19100         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19101         (issignaling_test_data): New variable.
19102         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19103         (signbit_test_data): New variable.
19104         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19105
19106         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19107         with INVALID_EXCEPTION.
19108         (acosh_test_data): Likewise.
19109         (asin_test_data): Likewise.
19110         (atanh_test_data): Likewise.
19111         (fmod_test_data): Likewise.
19112         (log_test_data): Likewise.
19113         (log10_test_data): Likewise.
19114         (log2_test_data): Likewise.
19115         (pow_test_data): Likewise.
19116         (sqrt_test_data): Likewise.
19117         (y0_test_data): Likewise.
19118         (y1_test_data): Likewise.
19119         (yn_test_data): Likewise.
19120
19121         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19122         function contents.
19123
19124         * math/libm-test.inc (struct test_ff_i_data): New type.
19125         (RUN_TEST_LOOP_ff_i_tg): New macro.
19126         (isgreater_test_data): New variable.
19127         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19128         (isgreaterequal_test_data): New variable.
19129         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19130         (isless_test_data): New variable.
19131         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19132         (islessequal_test_data): New variable.
19133         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19134         (islessgreater_test_data): New variable.
19135         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19136         (isunordered_test_data): New variable.
19137         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19138
19139 2013-05-14  David S. Miller  <davem@davemloft.net>
19140
19141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19142
19143 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19144
19145         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19146
19147         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19148         extra_test to int.
19149         (struct test_f_i_data): Change type of max_ulp to int.
19150
19151         * math/libm-test.inc (test_ffI_f1_data): New type.
19152         (RUN_TEST_LOOP_ffI_f1): New macro.
19153         (remquo_test_data): New variable.
19154         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19155
19156         * setjmp/tst-setjmp-fp.c: New file.
19157         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19158         (link-libm): New variable.
19159         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19160
19161         * math/libm-test.inc (struct test_f_i_data): New type.
19162         (RUN_TEST_LOOP_f_i): New macro.
19163         (RUN_TEST_LOOP_f_i_tg): Likewise.
19164         (fpclassify_test_data): New variable.
19165         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19166         (ilogb_test_data): New variable.
19167         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19168
19169         * math/libm-test.inc (scalbln_test): Correct function name in END
19170         call.
19171
19172         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19173         (RUN_TEST_LOOP_fI_f1): New macro.
19174         (frexp_test_data): New variable.
19175         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19176
19177         * math/libm-test.inc (struct test_fF_f1_data): New type.
19178         (RUN_TEST_LOOP_fF_f1): New macro.
19179         (modf_test_data): New variable.
19180         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19181
19182         * math/libm-test.inc (struct test_f_f1_data): New type.
19183         (RUN_TEST_LOOP_f_f1): New macro.
19184         (gamma_test_data): New variable.
19185         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19186         (lgamma_test_data): New variable.
19187         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19188
19189 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19190
19191         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19192         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19193         (main): Comment "tls" pseudo-hwcap.
19194
19195 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19196
19197         * math/libm-test.inc (struct test_fl_f_data): New type.
19198         (RUN_TEST_LOOP_fl_f): New variable.
19199         (scalbln_test_data): New variable.
19200         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19201
19202         * math/libm-test.inc (struct test_fi_f_data): New type.
19203         (RUN_TEST_LOOP_fi_f): New macro.
19204         (ldexp_test_data): New variable.
19205         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19206         (scalbn_test_data): New variable.
19207         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19208
19209         * math/libm-test.inc (struct test_c_f_data): New type.
19210         (RUN_TEST_LOOP_c_f): New macro.
19211         (cabs_test_data): New variable.
19212         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19213         (carg_test_data): New variable.
19214         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19215         (cimag_test_data): New variable.
19216         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19217         (creal_test_data): New variable.
19218         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19219
19220         * math/libm-test.inc (struct test_if_f_data): New type.
19221         (RUN_TEST_LOOP_if_f): New macro.
19222         (jn_test_data): New variable.
19223         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19224         (yn_test_data): New variable.
19225         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19226
19227         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19228
19229 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19230
19231         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19232         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19233
19234 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19235
19236         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19237         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19238         (bench-deps): Add bench-timing.h.
19239         * benchtests-bench-skeleton.c: Include bench-timing.h.
19240         (main): Use TIMING_* macros instead of clock_gettime.
19241         * benchtests/bench-timing.h: New file.
19242
19243         [BZ #14582]
19244         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19245         Renamed from _LIB_VERSION.
19246         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19247
19248 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19249
19250         * math/libm-test.inc (struct test_fff_f_data): New type.
19251         (RUN_TEST_LOOP_fff_f): New macro.
19252         (fma_test_data): New variable.
19253         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19254         (fma_towardzero_test_data): New variable.
19255         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19256         (fma_downward_test_data): New variable.
19257         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19258         (fma_upward_test_data): New variable.
19259         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19260
19261         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19262         (struct test_c_c_data): New type.
19263         (RUN_TEST_LOOP_c_c): New macro.
19264         (cacos_test_data): New variable.
19265         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19266         (cacosh_test_data): New variable.
19267         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19268         (casin_test_data): New variable.
19269         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19270         (casinh_test_data): New variable.
19271         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19272         (catan_test_data): New variable.
19273         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19274         (catanh_test_data): New variable.
19275         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19276         (ccos_test_data): New variable.
19277         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19278         (ccosh_test_data): New variable.
19279         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19280         (cexp_test_data): New variable.
19281         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19282         (clog_test_data): New variable.
19283         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19284         (clog10_test_data): New variable.
19285         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19286         (conj_test_data): New variable.
19287         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19288         (cproj_test_data): New variable.
19289         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19290         (csin_test_data): New variable.
19291         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19292         (csinh_test_data): New variable.
19293         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19294         (csqrt_test_data): New variable.
19295         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19296         (ctan_test_data): New variable.
19297         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19298         (ctan_tonearest_test_data): New variable.
19299         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19300         (ctan_towardzero_test_data): New variable.
19301         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19302         (ctan_downward_test_data): New variable.
19303         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19304         (ctan_upward_test_data): New variable.
19305         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19306         (ctanh_test_data): New variable.
19307         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19308         (ctanh_tonearest_test_data): New variable.
19309         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19310         (ctanh_towardzero_test_data): New variable.
19311         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19312         (ctanh_downward_test_data): New variable.
19313         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19314         (ctanh_upward_test_data): New variable.
19315         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19316         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19317         of BUILD_COMPLEX.
19318
19319         * math/libm-test.inc (struct test_ff_f_data): New type.
19320         (struct test_ff_f_data_nexttoward): Likewise.
19321         (RUN_TEST_LOOP_2_f): New macro.
19322         (RUN_TEST_LOOP_ff_f): Likewise.
19323         (atan2_test_data): New variable.
19324         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19325         (copysign_test_data): New variable.
19326         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19327         (fdim_test_data): New variable.
19328         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19329         (fmax_test_data): New variable.
19330         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19331         (fmin_test_data): New variable.
19332         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19333         (fmod_test_data): New variable.
19334         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19335         (hypot_test_data): New variable.
19336         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19337         (nextafter_test_data): New variable.
19338         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19339         (nexttoward_test_data): New variable.
19340         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19341         (pow_test_data): New variable.
19342         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19343         (pow_tonearest_test_data): New variable.
19344         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19345         (pow_towardzero_test_data): New variable.
19346         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19347         (pow_downward_test_data): New variable.
19348         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19349         (pow_upward_test_data): New variable.
19350         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19351         (remainder_test_data): New variable.
19352         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19353         (scalb_test_data): New variable.
19354         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19355         * sysdeps/i386/fpu/libm-test-ulps: Update.
19356
19357 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19358
19359         * math/libm-test.inc (fma_test): Use max_value instead of local
19360         variable fltmax.
19361         (nextafter_test): Likewise.
19362
19363         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19364         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19365         (acos_downward_test_data): New variable.
19366         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19367         (acos_upward_test_data): New variable.
19368         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19369         (acosh_test_data): New variable.
19370         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19371         (asin_test_data): New variable.
19372         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19373         (asin_tonearest_test_data): New variable.
19374         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19375         (asin_towardzero_test_data): New variable.
19376         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19377         (asin_downward_test_data): New variable.
19378         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19379         (asin_upward_test_data): New variable.
19380         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19381         (asinh_test_data): New variable.
19382         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19383         (atan_test_data): New variable.
19384         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19385         (atanh_test_data): New variable.
19386         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19387         (cbrt_test_data): New variable.
19388         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19389         (ceil_test_data): New variable.
19390         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19391         (cos_test_data): New variable.
19392         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19393         (cos_tonearest_test_data): New variable.
19394         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19395         (cos_towardzero_test_data): New variable.
19396         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19397         (cos_downward_test_data): New variable.
19398         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19399         (cos_upward_test_data): New variable.
19400         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19401         (cosh_test_data): New variable.
19402         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19403         (cosh_tonearest_test_data): New variable.
19404         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19405         (cosh_towardzero_test_data): New variable.
19406         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19407         (cosh_downward_test_data): New variable.
19408         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19409         (cosh_upward_test_data): New variable.
19410         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19411         (erf_test_data): New variable.
19412         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19413         (erfc_test_data): New variable.
19414         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19415         (exp_test_data): New variable.
19416         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19417         (exp_tonearest_test_data): New variable.
19418         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19419         (exp_towardzero_test_data): New variable.
19420         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19421         (exp_downward_test_data): New variable.
19422         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19423         (exp_upward_test_data): New variable.
19424         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19425         (exp10_test_data): New variable.
19426         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19427         (exp2_test_data): New variable.
19428         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19429         (expm1_test_data): New variable.
19430         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19431         (fabs_test_data): New variable.
19432         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19433         (floor_test_data): New variable.
19434         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19435         (j0_test_data): New variable.
19436         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19437         (j1_test_data): New variable.
19438         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19439         (log_test_data): New variable.
19440         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19441         (log10_test_data): New variable.
19442         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19443         (log1p_test_data): New variable.
19444         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19445         (log2_test_data): New variable.
19446         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19447         (logb_test_data): New variable.
19448         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19449         (logb_downward_test_data): New variable.
19450         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19451         (nearbyint_test_data): New variable.
19452         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19453         (rint_test_data): New variable.
19454         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19455         (rint_tonearest_test_data): New variable.
19456         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19457         (rint_towardzero_test_data): New variable.
19458         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19459         (rint_downward_test_data): New variable.
19460         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19461         (rint_upward_test_data): New variable.
19462         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19463         (round_test_data): New variable.
19464         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19465         (sin_test_data): New variable.
19466         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19467         (sin_tonearest_test_data): New variable.
19468         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19469         (sin_towardzero_test_data): New variable.
19470         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19471         (sin_downward_test_data): New variable.
19472         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19473         (sin_upward_test_data): New variable.
19474         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19475         (sinh_test_data): New variable.
19476         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19477         (sinh_tonearest_test_data): New variable.
19478         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19479         (sinh_towardzero_test_data): New variable.
19480         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19481         (sinh_downward_test_data): New variable.
19482         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19483         (sinh_upward_test_data): New variable.
19484         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19485         (sqrt_test_data): New variable.
19486         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19487         (tan_test_data): New variable.
19488         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19489         (tan_tonearest_test_data): New variable.
19490         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19491         (tan_towardzero_test_data): New variable.
19492         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19493         (tan_downward_test_data): New variable.
19494         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19495         (tan_upward_test_data): New variable.
19496         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19497         (tanh_test_data): New variable.
19498         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19499         (tgamma_test_data): New variable.
19500         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19501         (trunc_test_data): New variable.
19502         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19503         (y0_test_data): New variable.
19504         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19505         (y1_test_data): New variable.
19506         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19507         (significand_test_data): New variable.
19508         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19509
19510 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19511
19512         [BZ #12387]
19513         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19514
19515 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19516
19517         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19518
19519 2013-05-10  Andreas Jaeger  <aj@suse.de>
19520
19521         [BZ #15448]
19522         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19523         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19524
19525 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19526
19527         * math/gen-libm-test.pl (adjust_arg): New function.
19528         (special_functions): Handle generating output in both functions
19529         and arrays.
19530         (parse_args): Likewise.
19531         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19532         $in_func argument to parse_args.
19533         * math/libm-test.inc (struct test_f_f_data): New type.
19534         (IF_ROUND_INIT_): New macro.
19535         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19536         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19537         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19538         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19539         (ROUND_RESTORE_): Likewise.
19540         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19541         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19542         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19543         (ROUND_RESTORE_FE_UPWARD): Likewise.
19544         (RUN_TEST_LOOP_f_f): New macro.
19545         (acos_test_data): New variable.
19546         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19547         (acos_tonearest_test_data): New variable.
19548         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19549
19550 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19551
19552         * benchtests/bench-skeleton.c (startup): Fix coding style.
19553
19554 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19555
19556         [BZ #6809]
19557         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19558         negative infinity argument.
19559         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19560         negative infinity argument.
19561         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19562         negative infinity argument.
19563         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19564         domain errors.
19565
19566 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19567
19568         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19569         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19570         * iconv/iconv_prog.c (main): Likewise.
19571         * locale/programs/charmap-dir.c (charmap_readdir)
19572         (fopen_uncompressed): Likewise.
19573         * locale/programs/locfile.c (siblings_uncached)
19574         (write_locale_data): Use lstat64 instead of lstat.
19575         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19576         stat.
19577
19578 2013-05-10  Andreas Jaeger  <aj@suse.de>
19579
19580         [BZ #15395]
19581         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19582         localization.
19583         Include <locale.h>.
19584
19585 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19586
19587         * elf/dl-close.c (_dl_close_worker): Add comments.
19588
19589 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19590
19591         [BZ #15359]
19592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19593         high part of pi/2.
19594         (__ieee754_rem_pio2l): Update comments.
19595
19596         [BZ #15429]
19597         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19598         high part of pi/2.
19599         (__ieee754_rem_pio2l): Update comments.
19600
19601         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19602         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19603
19604         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19605         M_PI_4l.
19606
19607         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19608         (M_PI_34_LOG10El): Likewise.
19609         (M_PI2_LOG10El): Likewise.
19610         (M_PI4_LOG10El): Likewise.
19611         (M_PI_LOG10El): Likewise.
19612
19613 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19614
19615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19616
19617 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19618
19619         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19620         (MINUS_ZERO_INIT): Likewise.
19621         (PLUS_INFTY_INIT): Likewise.
19622         (MINUS_INFTY_INIT): Likewise.
19623         (QNAN_VALUE_INIT): Likewise.
19624         (MAX_VALUE_INIT): Likewise.
19625         (MIN_VALUE_INIT): Likewise.
19626         (MIN_SUBNORM_VALUE_INIT): Likewise.
19627         (plus_zero): Initialize with PLUS_ZERO_INIT.
19628         (minus_zero): Initialize with MINUS_ZERO_INIT.
19629         (plus_infty): Initialize with PLUS_INFTY_INIT.
19630         (minus_infty): Initialize with MINUS_INFTY_INIT.
19631         (qnan_value): Initialize with QNAN_VALUE_INIT.
19632         (max_value): Initialize with MAX_VALUE_INIT.
19633         (min_value): Initialize with MIN_VALUE_INIT.
19634         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19635
19636         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19637         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19638         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19639         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19640
19641         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19642         (RUN_TEST_2_f): Likewise.
19643         (RUN_TEST_ff_f): Likewise.
19644         (RUN_TEST_fi_f): Likewise.
19645         (RUN_TEST_fl_f): Likewise.
19646         (RUN_TEST_fff_f): Likewise.
19647         (RUN_TEST_c_f): Likewise.
19648         (RUN_TEST_f_f1): Likewise.
19649         (RUN_TEST_fF_f1): Likewise.
19650         (RUN_TEST_fI_f1): Likewise.
19651         (RUN_TEST_ffI_f1): Likewise.
19652         (RUN_TEST_c_c): Likewise.
19653         (RUN_TEST_cc_c): Likewise.
19654         (RUN_TEST_f_i): Likewise.
19655         (RUN_TEST_f_i_tg): Likewise.
19656         (RUN_TEST_ff_i_tg): Likewise.
19657         (RUN_TEST_f_b): Likewise.
19658         (RUN_TEST_f_b_tg): Likewise.
19659         (RUN_TEST_f_l): Likewise.
19660         (RUN_TEST_f_L): Likewise.
19661         (RUN_TEST_sincos): Likewise.
19662         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19663         whether to show exceptions.  Do not include ");\n" in return
19664         value.
19665         (special_functions): Output call to RUN_TEST_sincos instead of
19666         check_float calls.  Update calls to new_test.
19667         (parse_args): Output call to single RUN_TEST_* macro instead of
19668         check_* calls and other assignments.  Update calls to new_test.
19669
19670         [BZ #2546]
19671         [BZ #2560]
19672         [BZ #5159]
19673         [BZ #15426]
19674         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19675         input to result for tgamma overflow.
19676         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19677         (gamma_coeff): New variable.
19678         (NCOEFF): New macro.
19679         (gamma_positive): New function.
19680         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19681         underflow here.  Use gamma_positive instead of exp (lgamma) for
19682         other arguments.
19683         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19684         (gamma_coeff): New variable.
19685         (NCOEFF): New macro.
19686         (gammaf_positive): New function.
19687         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19688         underflow here.  Use gamma_positive instead of exp (lgamma) for
19689         other arguments.
19690         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19691         (gamma_coeff): New variable.
19692         (NCOEFF): New macro.
19693         (gammal_positive): New function.
19694         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19695         underflow here.  Use gamma_positive instead of exp (lgamma) for
19696         other arguments.
19697         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19698         (gamma_coeff): New variable.
19699         (NCOEFF): New macro.
19700         (gammal_positive): New function.
19701         (__ieee754_gammal_r): Handle positive infinity, overflow and
19702         underflow here.  Handle NaN the same as positive infinity.  Remove
19703         check x < 0xffffffff for negative integers.  Use gamma_positive
19704         instead of exp (lgamma) for other arguments.
19705         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19706         (gamma_coeff): New variable.
19707         (NCOEFF): New macro.
19708         (gammal_positive): New function.
19709         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19710         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19711         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19712         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19713         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19714         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19715         * sysdeps/generic/math_private.h (__gamma_productf): New
19716         prototype.
19717         (__gamma_product): Likewise.
19718         (__gamma_productl): Likewise.
19719         * math/Makefile (libm-calls): Add gamma_product.
19720         * math/libm-test.inc (tgamma_test): Add more tests.
19721         * sysdeps/i386/fpu/libm-test-ulps: Update.
19722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19723
19724 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19725
19726         * benchtests/bench-skeleton.c (main): Preheat CPU.
19727
19728 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19729
19730         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19731
19732 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19733
19734         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19735         and _dl_skip_args_internal.
19736
19737 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19738
19739         * manual/message.texi (Message Translation): Talk about users.
19740         Message to key mapping impacts design.
19741
19742 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19743
19744         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19745
19746         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19747
19748         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19749         * sysdeps/wordsize-64/glob64.c: ... here.
19750
19751         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19752         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19753         New macros.
19754
19755         * debug/getlogin_r_chk.c: Moved to ...
19756         * login/getlogin_r_chk.c: ... here.
19757         * debug/Makefile (routines): Move getlogin_r_chk to ...
19758         * login/Makefile (routines): ... here.
19759         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19760         * login/Versions (libc: GLIBC_2.4): ... here.
19761
19762         * io/poll.c (__poll): Renamed from poll.
19763         Add libc_hidden_def.
19764         (poll): Define as weak alias.
19765
19766         * debug/ptsname_r_chk.c: Moved to ...
19767         * login/ptsname_r_chk.c: ... here.
19768         * debug/Makefile (routines): Move ptsname_r_chk to ...
19769         * login/Makefile (routines): ... here.
19770         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19771         * login/Versions (libc: GLIBC_2.4): ... here.
19772
19773         * posix/getlogin.c: Moved to ...
19774         * login/getlogin.c: ... here.
19775         * posix/getlogin_r.c: Moved to ...
19776         * login/getlogin_r.c: ... here.
19777         * posix/getlogin_r.c: Moved to ...
19778         * login/getlogin_r.c: ... here.
19779         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19780         * login/Makefile (routines): ... here.
19781         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19782         * login/Versions (libc: GLIBC_2.0): ... here.
19783
19784         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19785         (setrlimit): Define as weak alias.
19786
19787         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19788         Call __ names for open, ftruncate, and close.
19789         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19790         (truncate): Define as weak alias.
19791
19792 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19793
19794         * math/gen-libm-test.pl (parse_args): Initialize x before each
19795         test of frexp, modf and remquo.
19796
19797         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19798         test signgam value.
19799
19800 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19801
19802         [BZ #15418]
19803         [BZ #15419]
19804         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19805         internal tests.
19806         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19807
19808 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19809
19810         * elf/dl-writev.h: New file.
19811         * elf/dl-misc.c: Include it.
19812         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19813         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19814
19815 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19816
19817         * math/libm-test.inc (noXFails): Remove variable.
19818         (noXPasses): Likewise.
19819         (BUILD_COMPLEX_INT): Remove macro.
19820         (print_screen): Remove xfail argument.
19821         (print_screen_max_error): Likewise.
19822         (update_stats): Likewise.
19823         (print_max_error): Likewise.  Update calls to other affected
19824         functions.
19825         (print_complex_max_error): Likewise.
19826         (test_single_exception): Update calls to print_screen.
19827         (test_single_errno): Likewise.
19828         (check_float_internal): Remove xfail argument.  Update calls to
19829         other affected functions.
19830         (check_float): Likewise.
19831         (check_complex): Likewise.
19832         (check_int): Likewise.
19833         (check_long): Likewise.
19834         (check_bool): Likewise.
19835         (check_longlong): Likewise.
19836         (main): Don't print noXFails and noXPasses.
19837         * math/gen-libm-test.pl (top level): Don't mention expected
19838         failure handling in comment.
19839         (new_test): Don't handle expected failures.
19840         (parse_args): Don't mention expected failure handling in comment.
19841         (generate_testfile): Don't handle expected failures.
19842         (parse_ulps): Likewise.
19843         (print_ulps_file): Likewise.
19844         (get_failure): Remove function.
19845         (output_test): Don't handle expected failures.
19846         * make/README.libm-test: Don't mention expected failure handling.
19847
19848         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19849         (minus_zero): Likewise.
19850         (plus_infty): Likewise.
19851         (minus_infty): Likewise.
19852         (qnan_value): Likewise.
19853         (max_value): Likewise.
19854         (min_value): Likewise.
19855         (min_subnorm_value): Likewise.
19856         (initialize): Do not initialize those variables dynamically.
19857
19858 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19859
19860         * io/open.c (__open_2): Moved to ...
19861         * io/open_2.c: ... this new file.
19862         * io/open64.c (__open64_2): Moved to ...
19863         * io/open64_2.c: ... this new file.
19864         * io/openat.c (__openat_2): Moved to ...
19865         * io/openat_2.c: ... this new file.
19866         * io/openat64.c (__openat64_2): Moved to ...
19867         * io/openat64_2.c: ... this new file.
19868         * io/Makefile (routines): Add them.
19869         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19870         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19871         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19872         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19873         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19874         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19875         (__openat64): Add hidden_ver.
19876         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19877         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19878
19879         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19880         Separately conditionalize setting of GLRO(dl_sysinfo) so
19881         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19882         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19883
19884 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19885
19886         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19887         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19888         definition.
19889         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19890         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19891         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19892         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19893         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19894
19895 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19896
19897         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19898         test signgam value.
19899
19900         * math/libm-test.inc (hypot_test): Do not use
19901         IGNORE_ZERO_INF_SIGN.
19902
19903 2013-05-03  Andreas Jaeger  <aj@suse.de>
19904
19905         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19906         Linux 3.9.
19907         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19908         (PF_MAX): Adjust for VSOCK change.
19909
19910 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19911
19912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19913
19914 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19915
19916         [BZ #15264]
19917         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19918         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19919         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19920
19921 2013-05-02  David S. Miller  <davem@davemloft.net>
19922
19923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19924
19925 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19926
19927         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19928
19929 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19930
19931         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19932
19933 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19934
19935         [BZ #14952]
19936         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19937         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19938         Use __attribute__ ((__gnu_inline__)).
19939         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19940         Don't use __attribute__ ((__gnu_inline__)).
19941
19942 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19943
19944         [BZ #15423]
19945         * math/s_catan.c (__catan): Handle small real or imaginary part of
19946         input specially to avoid spurious underflow.
19947         * math/s_catanf.c (__catanf): Likewise.
19948         * math/s_catanh.c (__catanh): Likewise.
19949         * math/s_catanhf.c (__catanhf): Likewise.
19950         * math/s_catanhl.c (__catanhl): Likewise.
19951         * math/s_catanl.c (__catanl): Likewise.
19952         * math/libm-test.inc (catan_test): Add more tests.
19953         (catanh_test): Likewise.
19954         * sysdeps/i386/fpu/libm-test-ulps: Update.
19955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19956
19957 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19958
19959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19960
19961 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19962
19963         [BZ #15416]
19964         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19965         accurately for denominator in atan2.
19966         * math/s_catanf.c (__catanf): Likewise.
19967         * math/s_catanh.c (__catanh): Likewise.
19968         * math/s_catanhf.c (__catanhf): Likewise.
19969         * math/s_catanhl.c (__catanhl): Likewise.
19970         * math/s_catanl.c (__catanl): Likewise.
19971         * math/libm-test.inc (catan_test): Add more tests.
19972         (catanh_test): Likewise.
19973         * sysdeps/i386/fpu/libm-test-ulps: Update.
19974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19975
19976 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19977
19978         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19979
19980         * benchtests/Makefile (bench): Remove slow benchmarks.
19981         * benchtests/atan-inputs: Add slow benchmark inputs.
19982         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19983         (BENCH_FUNC): Accept variant offset.
19984         (VARIANT): Define.
19985         * benchtests/bench-skeleton.c (main): Run benchmark for each
19986         variant.
19987         * benchtests/cos-inputs: Add slow benchmark inputs.
19988         * benchtests/exp-inputs: Likewise.
19989         * benchtests/pow-inputs: Likewise.
19990         * benchtests/sin-inputs: Likewise.
19991         * benchtests/slowatan-inputs: Remove.
19992         * benchtests/slowatan.c: Remove.
19993         * benchtests/slowcos-inputs: Remove.
19994         * benchtests/slowcos.c: Remove.
19995         * benchtests/slowexp-inputs: Remove.
19996         * benchtests/slowexp.c: Remove.
19997         * benchtests/slowpow-inputs: Remove.
19998         * benchtests/slowpow.c: Remove.
19999         * benchtests/slowsin-inputs: Remove.
20000         * benchtests/slowsin.c: Remove.
20001         * benchtests/slowtan-inputs: Remove.
20002         * benchtests/slowtan.c: Remove.
20003         * benchtests/tan-inputs: Add slow benchmark inputs.
20004         * scripts/bench.pl: Parse comments and directives.
20005
20006         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20007         in CPPFLAGS.
20008         ($(objpfx)bench-%.c): Remove *-ITER.
20009         * benchtests/bench-modf.c: Remove definition of ITER.
20010         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20011         (main): Loop for DURATION seconds instead of fixed number of
20012         iterations.
20013         * scripts/bench.pl: Don't expect iterations in parameters.
20014
20015 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20016
20017         * io/fchdir.c (__fchdir): Renamed from fchdir.
20018         (fchdir): Define as weak alias.
20019
20020 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20021
20022         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20023         (ERRNO_EDOM): Likewise.
20024         (ERRNO_ERANGE): Likewise.
20025         (noErrnoTests): New variable.
20026         (init_max_error): Set errno to 0.
20027         (test_single_errno): New function.
20028         (test_errno): Likewise.
20029         (check_float_internal): Call test_errno.  Set errno to 0.
20030         (check_complex): Refer to errno tests in comment.
20031         (check_int): Call test_errno.  Set errno to 0.
20032         (check_long): Likewise.
20033         (check_bool): Likewise.
20034         (check_longlong): Likewise.
20035         (cos_test): Use ERRNO_* flags for errno tests instead of
20036         check_int.
20037         (expm1_test): Likewise.
20038         (fmod_test): Likewise.
20039         (ilogb_test): Likewise.
20040         (lgamma_test): Likewise.
20041         (pow_test): Likewise.
20042         (remainder_test): Likewise.
20043         (sin_test): Likewise.
20044         (tan_test): Likewise.
20045         (yn_test): Likewise.
20046         (initialize): Set errno to 0.
20047         (main): Print number of errno tests.
20048         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20049
20050 2013-04-29  Andreas Jaeger  <aj@suse.de>
20051
20052         [BZ #15084]
20053         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20054         and RES_USEVC.
20055
20056         [BZ #15085]
20057         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20058         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20059         unimplemented.
20060
20061         [BZ #15380]
20062         * stdlib/random.c (__initstate): Return NULL if
20063         __initstate fails.
20064
20065         [BZ #15086]
20066         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20067         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20068         RES_SNGLKUPREOP.
20069
20070 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20071
20072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20073
20074 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20075
20076         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20077         of individual tests.
20078         (casin_test): Likewise.
20079         (casinh_test): Likewise.
20080
20081 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20082
20083         [BZ #15409]
20084         * math/s_catan.c (__catan): Handle arguments with large real or
20085         imaginary part separately without squaring.
20086         * math/s_catanf.c (__catanf): Likewise.
20087         * math/s_catanh.c (__catanh): Likewise.
20088         * math/s_catanhf.c (__catanhf): Likewise.
20089         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20090         and redefine.
20091         (__catanhl): Handle arguments with large real or imaginary part
20092         separately without squaring.
20093         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20094         and redefine.
20095         (__catanl): Handle arguments with large real or imaginary part
20096         separately without squaring.
20097         * math/libm-test.inc (catan_test): Add more tests.
20098         (catanh_test): Likewise.
20099         * sysdeps/i386/fpu/libm-test-ulps: Update.
20100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20101
20102 2013-04-27  Andreas Jaeger  <aj@suse.de>
20103
20104         [BZ #15007]
20105         * stdlib/stdlib.h: Update guards for qecvt.
20106         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20107         <stdlib.h>.
20108
20109 2013-04-27  Allan McRae  <allan@archlinux.org>
20110
20111         * sysdeps/i386/fpu/libm-test-ulps: Update.
20112
20113 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20114
20115         [BZ #15406]
20116         * math/s_catan.c: Include <float.h>.
20117         (__catan): Ensure underflow exception occurs for underflowed
20118         result.
20119         * math/s_catanf.c: Include <float.h>.
20120         (__catanf): Ensure underflow exception occurs for underflowed
20121         result.
20122         * math/s_catanh.c: Include <float.h>.
20123         (__catanh): Ensure underflow exception occurs for underflowed
20124         result.
20125         * math/s_catanhf.c: Include <float.h>.
20126         (__catanhf): Ensure underflow exception occurs for underflowed
20127         result.
20128         * math/s_catanhl.c: Include <float.h>.
20129         (__catanhl): Ensure underflow exception occurs for underflowed
20130         result.
20131         * math/s_catanl.c: Include <float.h>.
20132         (__catanl): Ensure underflow exception occurs for underflowed
20133         result.
20134         * math/libm-test.inc (catan_test): Add more tests.
20135         (catanh_test): Likewise.
20136
20137         [BZ #15405]
20138         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20139         underflowed result.
20140         * math/s_ccoshf.c (__ccoshf): Likewise.
20141         * math/s_ccoshl.c (__ccoshl): Likewise.
20142         * math/s_csin.c (__csin): Likewise.
20143         * math/s_csinf.c (__csinf): Likewise.
20144         * math/s_csinh.c (__csinh): Likewise.
20145         * math/s_csinhf.c (__csinhf): Likewise.
20146         * math/s_csinhl.c (__csinhl): Likewise.
20147         * math/s_csinl.c (__csinl): Likewise.
20148         * math/libm-test.inc (ccos_test): Add more tests.
20149         (ccosh_test): Likewise.
20150         (csin_test): Likewise.
20151         (csinh_test): Likewise.
20152
20153 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20154
20155         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20156         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20157         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20158         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20159         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20160         powerpc/power5+/fpu folders.
20161         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20162
20163
20164 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20165
20166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20167
20168 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20169
20170         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20171         additions to variable.
20172         [$(config-machine) = x86_64] (modules-names): Likewise.
20173         ($(objpfx)tst-audit3): Remove dependency.
20174         ($(objpfx)tst-audit3.out): Likewise.
20175         ($(objpfx)tst-audit4): Likewise.
20176         ($(objpfx)tst-audit4.out): Likewise.
20177         ($(objpfx)tst-audit5): Likewise.
20178         ($(objpfx)tst-audit5.out): Likewise.
20179         ($(objpfx)tst-audit6): Likewise.
20180         ($(objpfx)tst-audit6.out): Likewise.
20181         ($(objpfx)tst-audit7): Likewise.
20182         ($(objpfx)tst-audit7.out): Likewise.
20183         (tst-audit3-ENV): Remove variable.
20184         (tst-audit4-ENV): Likewise.
20185         (tst-audit5-ENV): Likewise.
20186         (tst-audit6-ENV): Likewise.
20187         (tst-audit7-ENV): Likewise.
20188         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20189         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20190         addition to variable.
20191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20192         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20193         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20194         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20195         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20196         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20197         tst-audit3, tst-audit4 and tst-audit5.
20198         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20199         tst-audit6 and tst-audit7.
20200         [$(subdir) = elf] (modules-names): Add audit modules for those
20201         tests.
20202         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20203         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20204         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20205         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20206         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20207         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20208         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20209         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20210         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20211         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20212         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20213         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20214         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20215         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20216         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20217         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20218         Likewise.
20219         [$(subdir) = elf && $(config-cflags-avx) = yes]
20220         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20221         [$(subdir) = elf && $(config-cflags-avx) = yes]
20222         (CFLAGS-tst-auditmod4a.c): Likewise.
20223         [$(subdir) = elf && $(config-cflags-avx) = yes]
20224         (CFLAGS-tst-auditmod4b.c): Likewise.
20225         [$(subdir) = elf && $(config-cflags-avx) = yes]
20226         (CFLAGS-tst-auditmod6b.c): Likewise.
20227         [$(subdir) = elf && $(config-cflags-avx) = yes]
20228         (CFLAGS-tst-auditmod6c.c): Likewise.
20229         [$(subdir) = elf && $(config-cflags-avx) = yes]
20230         (CFLAGS-tst-auditmod7b.c): Likewise.
20231         * elf/tst-audit3.c: Move to ...
20232         * sysdeps/x86_64/tst-audit3.c: ... here.
20233         * elf/tst-audit4.c: Move to ...
20234         * sysdeps/x86_64/tst-audit4.c: ... here.
20235         * elf/tst-audit5.c: Move to ...
20236         * sysdeps/x86_64/tst-audit5.c: ... here.
20237         * elf/tst-audit6.c: Move to ...
20238         * sysdeps/x86_64/tst-audit6.c: ... here.
20239         * elf/tst-audit7.c: Move to ...
20240         * sysdeps/x86_64/tst-audit7.c: ... here.
20241         * elf/tst-auditmod3a.c: Move to ...
20242         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20243         * elf/tst-auditmod3b.c: Move to ...
20244         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20245         * elf/tst-auditmod4a.c: Move to ...
20246         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20247         * elf/tst-auditmod4b.c: Move to ...
20248         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20249         * elf/tst-auditmod5a.c: Move to ...
20250         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20251         * elf/tst-auditmod5b.c: Move to ...
20252         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20253         * elf/tst-auditmod6a.c: Move to ...
20254         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20255         * elf/tst-auditmod6b.c: Move to ...
20256         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20257         * elf/tst-auditmod6c.c: Move to ...
20258         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20259         * elf/tst-auditmod7a.c: Move to ...
20260         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20261         * elf/tst-auditmod7b.c: Move to ...
20262         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20263
20264 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20265
20266         [BZ #15366]
20267         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20268         define unconditionally.
20269         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20270         define unconditionally.
20271         (INT8_C, INT16_C, etc.): Likewise.
20272
20273 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20274
20275         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20276         __ehdr_start with hidden visibility.
20277
20278         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20279
20280 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20281
20282         * math/libm-test.inc (cos_test): Use accurate hex constants.
20283         (sincost_test): Likewise.
20284
20285 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20286
20287         * math/libm-test.inc (catan_test): Add more tests.
20288         (catanh_test): Likewise.
20289
20290         * math/s_catanf.c (__catanf): Use suffixed floating-point
20291         constants.
20292         * math/s_catanhf.c (__catanhf): Likewise.
20293         * math/s_catanhl.c (__catanhl): Likewise.
20294         * math/s_catanl.c (__catanl): Likewise.
20295
20296         [BZ #15394]
20297         * math/s_catan.c (__catan): Calculate imaginary part of result
20298         with log1p not log unless computing log of number close to 0.
20299         * math/s_catanf.c (__catanf): Likewise.
20300         * math/s_catanl.c (__catanl): Likewise.
20301         * math/s_catanh.c (__catanh): Calculate real part of result with
20302         log1p not log unless computing log of number close to 0.
20303         * math/s_catanhf.c (__catanhf): Likewise.
20304         * math/s_catanhl.c (__catanhl): Likewise.
20305         * math/libm-test.inc (catan_test): Add more tests.
20306         (catanh_test): Likewise.
20307         * sysdeps/i386/fpu/libm-test-ulps: Update.
20308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309
20310 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20311
20312         * benchtests/Makefile: Mention files in which fast and slow
20313         paths of math functions are implemented.
20314
20315 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20316
20317         * sysdeps/posix/timespec_get.c: New file.
20318
20319 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20320
20321         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20322         POWER.
20323         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20324         for POWER.
20325         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20326         powerpc/power5/fpu folders.
20327         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20328         * benchtests/Makefile: Add modf testcase.
20329         * benchtests/bench-modf.c: New file: Benchmark test for mo
20330
20331 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20332
20333         [BZ #14888]
20334         * time/Makefile (tests): Add tst-strptime-whitespace.
20335         * time/strptime_l.c (get_number): Use ISSPACE.
20336         (__strptime_internal): Likewise.
20337         * time/tst-strptime-whitespace.c: New test case.
20338
20339 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20340
20341         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20342         member.
20343         (_nss_files_init): Set it here.
20344
20345 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20346
20347         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20348         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20349         unsigned.
20350
20351 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20352
20353         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20354
20355 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20356
20357         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20358         size just once.
20359
20360 2013-04-21  David S. Miller  <davem@davemloft.net>
20361
20362         * po/ru.po: Update Russion translation from translation project.
20363
20364 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20365
20366         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20367         and setfsgid.
20368
20369 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20370
20371         * configure.in: Remove i386 configure warning. Remove i386 case.
20372         * configure: Regenerate.
20373         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20374         Add example to error message.
20375         * sysdeps/i386/configure: Regenerate.
20376
20377 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20378
20379         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20380         slowtan.
20381         * benchtests/cos-inputs: New file.
20382         * benchtests/slowcos-inputs: New file.
20383         * benchtests/slowcos.c: New file.
20384         * benchtests/slowtan-inputs: New file.
20385         * benchtests/slowtan.c: New file.
20386         * benchtests/tan-inputs: New file.
20387
20388 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20389
20390         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20391         considered kosher.
20392
20393 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20394
20395         * benchtests/Makefile: Include cppflags-iterator.mk to add
20396         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20397
20398         * Makefile.in (bench-clean): New target.
20399         * benchtests/Makefile (bench-clean): Likewise.
20400
20401 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20402
20403         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20404
20405 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20406
20407         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20408
20409 2013-04-15  Andreas Schwab  <schwab@suse.de>
20410
20411         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20412         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20413         * nscd/pwdcache.c (cache_addpw): Likewise.
20414         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20415         more than recsize.
20416
20417 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20418
20419         * benchtests/Makefile (bench): Write all output to
20420         bench-out.tmp together.
20421
20422 2013-04-15  Andreas Schwab  <schwab@suse.de>
20423
20424         * nscd/nscd.c (main): Don't fork again after closing files.
20425
20426 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20427
20428         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20429
20430         * benchtests/Rules (bench-deps): Collect dependencies into a
20431         single variable.  Add Makefile to dependencies.
20432         ($(objpfx)bench-%.c): Depend on bench-deps.
20433
20434 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20435             Xavier Roche  <roche+kml2@exalead.com>
20436
20437         [BZ #15361]
20438         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20439         just that it's a file descriptor.
20440         * manual/llio.texi (Synchronizing AIO Operations): Update description
20441         for EBADF error from aio_fsync.
20442
20443 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20444
20445         * Rules (bench): Move target definition...
20446         * benchtests/Makefile: ... here.
20447
20448 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20449
20450         * math/libm-test.inc (cos_test): Fix PI/2 test.
20451         (sincos_test): Likewise.
20452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20453         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20454
20455 2013-04-11  Andreas Schwab  <schwab@suse.de>
20456
20457         [BZ #13988]
20458         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20459         accept exponent character only when digits were seen.
20460         * stdio-common/Makefile (tests): Add bug26.
20461         * stdio-common/bug26.c: New file.
20462
20463         [BZ #14293]
20464         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20465         non-freeable.
20466
20467 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468
20469         * Makeconfig (rtld-prefix): Define built linker prefix.
20470         * Rules (run-bench): Use it.
20471         * math/Makefile (run-regen-ulps): Likewise.
20472
20473         * Rules (bench): Remove eval.
20474
20475 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20476             Roland McGrath  <roland@hack.frob.com>
20477             Ondrej Bilka  <neleai@seznam.cz>
20478
20479         [BZ #15346]
20480         * time/getdate.c: Include ctype.h and alloca.h.
20481         (__getdate_r): Trim leading and trailing spaces of input.
20482         * time/tst-getdate.c (tests): Add tests with leading and
20483         trailing spaces.
20484
20485 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20486
20487         [BZ #14280]
20488         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20489         when computing value.
20490
20491 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20492
20493         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20494         Use testrun.sh to run libm tests.
20495
20496         [BZ #15309]
20497         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20498
20499 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20500
20501         [BZ #15264]
20502         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20503
20504 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20505
20506         * Makefile.in (regen-ulps): New target.
20507         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20508         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20509         [ifneq (no,$(PERL)] (regen-ulps): New target.
20510         [ifeq (no,$(PERL)] (regen-ulps): New target.
20511         * math/libm-test.inc (ulps_file_name): Define.
20512         (output_dir): New variable.
20513         (options): Add "output-dir" option.
20514         (parse_opt): Handle 'o' case.
20515         (main): If output_dir is non-NULL use it as a prefix
20516         otherwise use "".
20517         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20518
20519 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20520
20521         [BZ #10060, #10062]
20522         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20523         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20524         fail configure if __sync_val_compare_and_swap is not inlined.
20525         * sysdeps/i386/configure: Regenerate.
20526         * configure.in: Build for i686 when configured for i386.
20527         * configure: Regenerate.
20528         * README: Remove i386 reference.
20529
20530 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20531
20532         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20534
20535 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20536
20537         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20538         (lmsnanval): New variables.
20539         (F): Add conversion tests.
20540         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20541         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20542
20543         * stdio-common/tstdiomisc.c (F): Properly collect individual
20544         tests' results.
20545
20546         [BZ #14686, #15336]
20547         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20548         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20549         Instead, use input NaN values or generate a qNaN by arithmetic
20550         operation.  Also fix bugs to comply with the standard.
20551         * math/libm-test.inc (remainder_test): Add more tests.
20552
20553         [BZ #15335, #15342]
20554         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20555         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20556         input NaN values or generate a qNaN by arithmetic operation.
20557
20558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20559         unreachable code.
20560
20561         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20562         definitions.
20563
20564 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20565
20566         [BZ #14478]
20567         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20568         underflowed result.
20569         * math/s_cexpf.c (__cexpf): Likewise.
20570         * math/s_cexpl.c (__cexpl): Likewise.
20571         * math/libm-test.inc (cexp_test): Add more tests.
20572
20573 2013-04-03  Andreas Schwab  <schwab@suse.de>
20574
20575         [BZ #15330]
20576         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20577         order arrays from heap if bigger than alloca cutoff.
20578
20579 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20580
20581         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20582         (SNAN_TESTS_double): Refer to GCC PR56831.
20583         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20584         GCC PR56828.
20585
20586 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20587
20588         * Rules (bench): Move bench.out after the run is complete.
20589
20590         * Rules (bench): Echo currently running benchmark.
20591
20592         * benchtests/Makefile (bench): Add atan and slowatan.
20593         * benchtests/atan-inputs: New file.
20594         * benchtests/slowatan-inputs: New file.
20595         * benchtests/slowatan.c: New file.
20596
20597         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20598         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20599         its value.
20600
20601         [BZ #15305]
20602         * sysdeps/unix/sysv/linux/kernel-features.h
20603         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20604         __ASSUME_XFS_RESTRICTED_CHOWN.
20605         * sysdeps/unix/sysv/linux/pathconf.c
20606         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20607         Save and restore errno.
20608
20609 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20610
20611         [BZ #15327]
20612         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20613         arguments using __kernel_casinh.
20614         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20615         arguments using __kernel_casinhf.
20616         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20617         arguments using __kernel_casinhl.
20618         * math/libm-test.inc (cacosh_test): Add more tests.
20619         * sysdeps/i386/fpu/libm-test-ulps: Update.
20620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20621
20622 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20623
20624         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20625         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20626
20627         * bench/Makefile (bench): Add sin and slowsin.
20628         * benchtests/sin-inputs: New file.
20629         * benchtests/slowsin-inputs: New file.
20630         * benchtests/slowsin.c: New file.
20631
20632         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20633         (bench): Add slowexp and slowpow.
20634         (exp-ITER): Increase iterations.
20635         (pow-ITER): Likewise.
20636         * benchtests/exp-inputs: Change input.
20637         * benchtests/pow-inputs: Likewise.
20638         * benchtests/slowexp-inputs: New file.
20639         * benchtests/slowexp.c: New file.
20640         * benchtests/slowpow-inputs: New file.
20641         * benchtests/slowpow.c: New file.
20642
20643 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20644
20645         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20646         instructions.
20647         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20648         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20649         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20650         * benchtests/Makefile: Add rint benchtest.
20651         * benchtests/rint-inputs: Input for rint benchtest.
20652
20653 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20654
20655         * Versions.def (libm): Add GLIBC_2.18.
20656         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20657         hidden libm prototypes.
20658         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20659         * math/Makefile (libm-calls): Add s_issignaling.
20660         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20661         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20662         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20663         declaration.
20664         * math/math.h [__USE_GNU] (issignaling): New macro.
20665         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20666         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20667         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20668         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20669         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20670         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20671         * manual/arith.texi (issignaling): New section.
20672         * manual/libm-err-tab.pl (@all_functions): Update comment.
20673         * math/gen-libm-test.pl (parse_args): Apply special handling for
20674         issignaling.
20675         * math/libm-test.inc (print_float, issignaling_test): New
20676         functions.
20677         (check_float_internal): Add issignaling checks.
20678         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20679         default definition.
20680         * sysdeps/powerpc/math-tests.h: New file.
20681         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20682         tests.
20683         * math/test-snan.c (TEST_FUNC): Likewise.
20684
20685 2013-03-30  David S. Miller  <davem@davemloft.net>
20686
20687         * po/de.po: Update from translation team.
20688
20689 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20690
20691         [BZ #10357]
20692         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20693         imaginary part less than 1.0 and real part less than 0.5
20694         specially.
20695         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20696         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20697         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20698         (cacos_test): Add more tests.
20699         (casin_test): Likewise.
20700         (casinh_test): Likewise.
20701         * sysdeps/i386/fpu/libm-test-ulps: Update.
20702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20703
20704 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20705
20706         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20707         ONE with its value.
20708
20709         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20710         (__pow_mp): Replace ONE and MONE with their values.
20711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20713         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20714         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20715         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20717
20718         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20719
20720         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20721         (__pow_mp): Replace ZERO and MZERO with their values.
20722         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20723         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20724         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20726         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20727         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20728         (__sqr): Likewise.
20729
20730         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20731
20732         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20733
20734 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20735
20736         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20737         Declare with __attribute__ ((weak)).
20738         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20739         Call __call_tls_dtors only if it's not NULL.
20740
20741 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20742
20743         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20744         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20745         magic __ehdr_start linker symbol if it's defined.
20746         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20747         them up here if it was already done.
20748
20749         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20750         (_dl_aux_init): Use const in cast when setting it.
20751         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20752         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20753         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20754
20755         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20756         Declare them here.
20757         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20758         * csu/libc-tls.c: Nor here.
20759         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20760
20761         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20762         (__libc_message): Never call vsyslog.
20763
20764 2013-03-28  Alan Modra  <amodra@gmail.com>
20765
20766         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20767         Define as empty.
20768         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20769         Likewise.
20770
20771 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20772
20773         [BZ #15214]
20774         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20775         underflow.
20776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20777
20778 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20779
20780         [BZ #15304]
20781         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20782         Don't add gid passed as argument.
20783
20784         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20785
20786 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20787
20788         [BZ #15307]
20789         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20790         imaginary part between 1.0 and 1.5 and real part less than 0.5
20791         specially.
20792         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20793         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20794         * math/libm-test.inc (cacos_test): Add more tests.
20795         (casin_test): Likewise.
20796         (casinh_test): Likewise.
20797         * sysdeps/i386/fpu/libm-test-ulps: Update.
20798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20799
20800 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20801
20802         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20803         constants.
20804         (norm): Likewise.
20805         (denorm): Likewise.
20806         (__dbl_mp): Likewise.
20807         (add_magnitudes): Likewise.
20808         (sub_magnitudes): Likewise.
20809         (__add): Likewise.
20810         (__sub): Likewise.
20811         (__mul): Likewise.
20812         (__sqr): Likewise.
20813         (__inv): Likewise.
20814         (__dvd): Likewise.
20815
20816         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20817         commented code.
20818         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20819         (__dubcos): Likewise.
20820         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20821         (__ieee754_acos): Likewise.
20822         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20823         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20824         (__exp1): Likewise.
20825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20826         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20827         (log1): Likewise.
20828         (my_log2): Likewise.
20829         (checkint): Likewise.
20830         * sysdeps/ieee754/dbl-64/e_remainder.c
20831         (__ieee754_remainder): Likewise.
20832         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20833         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20834         (bsloww): Likewise.
20835         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20836
20837         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20838         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20839         MANTISSA_STORE_T to store computations on mantissa.  Use
20840         macros for rounding and division.
20841         (denorm): Likewise.
20842         (__dbl_mp): Likewise.
20843         (add_magnitudes): Likewise.
20844         (sub_magnitudes): Likewise.
20845         (__mul): Likewise.
20846         (__sqr): Likewise.
20847         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20848         powers of two in terms of TWOPOW macro.
20849         (mp_no): Make type of mantissa as MANTISSA_T.
20850         [!RADIXI]: Define RADIXI.
20851         [!TWO52]: Define TWO52.
20852         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20853
20854 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20855
20856         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20857         llroundl symbol when building for PPC32.
20858
20859 2013-03-24  Mark H Weaver  <mhw@netris.org>
20860
20861         * manual/arith.texi (Normalization Functions): Fix prototypes for
20862         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20863
20864 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20865
20866         [BZ #13889]
20867         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20868         high value to check if expl overflow.
20869         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20870         to check for underflow and overflow.
20871         * math/libm-test.inc: Add exp test.
20872
20873 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20874
20875         [BZ #11120]
20876         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20877         with NOT_IN_libc.
20878
20879 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20880
20881         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20882         symbol.
20883
20884 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20885
20886         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20887         wrap blocks consisting of several statements.
20888
20889         * sysdeps/generic/math-tests.h: New file.
20890         * sysdeps/i386/fpu/math-tests.h: Likewise.
20891         * math/test-snan.c: Include it.
20892         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20893
20894 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20895
20896         [BZ #15285]
20897         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20898         (__ieee754_j0l): Do not improve calculations using cos of twice
20899         input for inputs above LDBL_MAX / 2.0L.
20900         (__ieee754_y0l): Likewise.
20901         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20902         (__ieee754_j1l): Do not improve calculations using cos of twice
20903         input for inputs above LDBL_MAX / 2.0L.
20904         (__ieee754_y1l): Likewise.
20905         * math/libm-test.inc (j0_test): Add another test.
20906         (j1_test): Likewise.
20907         (y0_test): Likewise.
20908         (y1_test): Likewise.
20909         * sysdeps/i386/fpu/libm-test-ulps: Update.
20910
20911 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912
20913         * Rules ($(objpfx)bench-%.c): Include code from a C source
20914         file.
20915
20916 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20917
20918         [BZ #15287]
20919         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20920         imaginary part 1.0 and real part less than 0.5 specially.
20921         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20922         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20923         * math/libm-test.inc (cacos_test): Add more tests.
20924         (casin_test): Likewise.
20925         (casinh_test): Likewise.
20926         * sysdeps/i386/fpu/libm-test-ulps: Update.
20927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20928
20929 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20930
20931         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20932         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20933
20934 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20935
20936         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20937         * config.make.in (config-cflags-sse4): Remove variable.
20938         (config-cflags-avx): Likewise.
20939         (config-cflags-sse2avx): Likewise.
20940         (config-cflags-novzeroupper): Likewise.
20941         (config-asflags-i686): Likewise.
20942         (have-mfma4): Likewise.
20943         (have-as-vis3): Likewise.
20944         (MIG): Likewise.
20945         * configure.in (MIG): Do not AC_SUBST.
20946         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20947         (libc_cv_cc_sse4): Do not AC_SUBST.
20948         (libc_cv_cc_avx): Likewise.
20949         (libc_cv_cc_sse2avx): Likewise.
20950         (libc_cv_cc_novzeroupper): Likewise.
20951         (libc_cv_cc_fma4): Likewise.
20952         (libc_cv_as_i686): Likewise.
20953         (libc_cv_sparc_as_vis3): Likewise.
20954         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20955         LIBC_CONFIG_VAR.
20956         (config-asflags-i686): Likewise.
20957         (config-cflags-avx): Likewise.
20958         (config-cflags-sse2avx): Likewise.
20959         (have-mfma4): Likewise.
20960         (config-cflags-novzeroupper): Likewise.
20961         * sysdeps/mach/configure.in (MIG): Likewise.
20962         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20963         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20964         LIBC_CONFIG_VAR.
20965         (config-cflags-avx): Likewise.
20966         (config-cflags-sse2avx): Likewise.
20967         (have-mfma4): Likewise.
20968         (config-cflags-novzeroupper): Likewise.
20969         * configure: Regenerated.
20970         * sysdeps/i386/configure: Likewise.
20971         * sysdeps/mach/configure: Likewise.
20972         * sysdeps/sparc/configure: Likewise.
20973         * sysdeps/x86_64/configure: Likewise.
20974
20975 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20976
20977         [BZ #14812]
20978         * locale/programs/localedef.c (options): Put N_ translation marker
20979         on argument names, not just descriptions.
20980
20981 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20982
20983         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20984
20985 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20986
20987         [BZ #14176]
20988         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20989
20990 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20991
20992         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20993         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20994         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20995         [!BEFORE_ABORT] (before_abort): New function.
20996         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20997         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20998         (writev_for_fatal): New function.
20999         (WRITEV_FOR_FATAL): New macro; call that.
21000         (backtrace_and_maps): New function.
21001         (BEFORE_ABORT): New macro; call that.
21002         (struct str_list): Type removed.
21003         (__libc_message, __libc_fatal): Functions removed.
21004         Include <sysdeps/posix/libc_fatal.c> instead.
21005
21006 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21007
21008         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21009         constants.
21010         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21011         double constants.
21012
21013 2013-03-19  Andreas Schwab  <schwab@suse.de>
21014
21015         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21016         * sysdeps/gnu/configure: Regenerate.
21017
21018         * configure.in: Substitute libc_cv_rtlddir.
21019         * configure: Regenerate.
21020         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21021         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21022         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21023         * elf/Makefile (install-others, CFLAGS-interp.c)
21024         (ldso_install, common-ldd-rewrite): Likewise.
21025         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21026         $(inst_slibdir)/$(rtld-installed-name).
21027         * scripts/rellns-sh: Add -p option.
21028         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21029         for source.
21030
21031 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032
21033         * manual/nptl.texi: Renamed to ...
21034         * manual/threads.texi: ... this.
21035         * manual/Makefile (chapters): Update.
21036
21037 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21038
21039         [BZ #14812]
21040         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21041         on argument names, not just descriptions.
21042         * malloc/memusagestat.c (options): Likewise.
21043         * nss/getent.c (options): Likewise.
21044
21045 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21046
21047         [BZ #14812]
21048         * iconv/iconv_prog.c (options): Put N_ translation marker
21049         on argument names, not just descriptions.
21050         * iconv/iconvconfig.c (options): Likewise.
21051
21052 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21053
21054         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21055         implementation which is faster on all x86_64 architectures.
21056         Tested on AMD, Intel Nehalem, SNB, IVB.
21057         * sysdeps/x86_64/strnlen.S: Likewise.
21058
21059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21060         Remove all multiarch strlen and strnlen versions.
21061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21062         Remove strlen and strnlen related parts.
21063
21064         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21065         Inline strlen part.
21066         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21067
21068         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21069         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21070         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21071         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21072         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21073         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21074
21075 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21076
21077         * manual/memory.texi (Malloc Tunable Parameters):
21078         Sort parameters alphabetically. Add comments for missing entries.
21079
21080 2013-03-17  David S. Miller  <davem@davemloft.net>
21081
21082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21083
21084 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21085
21086         [BZ #15283]
21087         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21088         for arguments at most half maximum finite value.
21089         * math/libm-test.inc (j0_test): Add more tests.
21090         (j1_test): Likewise.
21091         (y0_test): Likewise.
21092         (y1_test): Likewise.
21093         * sysdeps/i386/fpu/libm-test-ulps: Update.
21094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21095
21096         [BZ #14155]
21097         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21098         1 / x and functions P and Q for arguments above 0x1p256L.
21099         (__ieee754_y0l): Likewise.
21100         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21101         (__ieee754_y1l): Likewise.
21102         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21103         (j1_test): Likewise.
21104         (y0_test): Likewise.
21105         (y1_test): Likewise.
21106
21107 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21108
21109         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21110         variable.
21111
21112 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21113
21114         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21115         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21116         zero since it's initialized to EXEC_PAGESIZE.
21117
21118         * sysdeps/unix/sysv/linux/ldsodefs.h
21119         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21120         * sysdeps/generic/ldsodefs.h: ... here.
21121
21122 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21123
21124         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21125
21126         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21127         math/test-snan.c.
21128         * math/test-snan.c: Renamed from
21129         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21130         * math/Makefile (tests): Add test-snan.
21131         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21132         test-powerpc-snan.
21133
21134         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21135         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21136         functions.
21137         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21138         __builtin_nan family of functions.
21139         * math/libm-test.inc (initialize): Initialize qnan_value with
21140         __builtin_nan family of functions.
21141         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21142         Remove variables.
21143         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21144         Remove functions.
21145         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21146         storage class.  Initialize qNaN_var and sNaN_var with
21147         __builtin_nan and __builtin_nans families of functions,
21148         respectively.
21149
21150         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21151         (sqrt_test): Remove duplicate test with qNaN input.
21152         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21153         (round_test, signbit_test, significand_test): Note missing +/-Inf
21154         as well as qNaN tests.
21155
21156         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21157         qNaN_var.  Fix a few strings, too.
21158         * math/libm-test.inc (nan_value): Rename to qnan_value.
21159         * math/gen-libm-test.pl (%beautify): Adjust to that.
21160         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21161         * math/test-misc.c (main): Likewise.
21162         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21163         to __qnan_bytes, and __qnan_union, respectively.
21164         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21165         Likewise.
21166         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21167         and lqnanval, respectively.
21168         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21169         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21170         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21171         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21172
21173         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21174         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21175         doubles.
21176
21177         * math/test-misc.c (main): Fix copy'n'pastos.
21178         * misc/tst-efgcvt.c (special): Likewise.
21179
21180         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21181         Remove declarations.
21182
21183 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21184
21185         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21186         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21187         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21188         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21189
21190 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21191
21192         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21193         macro to return vdso values correctly in IFUNC implementations.
21194         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21195         Optimization by using IFUNC.
21196
21197 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21198             Richard Henderson  <rth@redhat.com>
21199             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21200
21201         * Makefile.in (bench): New target.
21202         * NEWS: Mention the benchmark framework.
21203         * Rules (bench): Likewise.
21204         (binaries-bench): Generate binaries for functions to
21205         benchmark.
21206         * benchtests/Makefile: New makefile for benchmark tests.
21207         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21208         programs.
21209         * benchtests/exp-inputs: New input file for EXP function.
21210         * benchtests/pow-inputs: New input file for POW function.
21211         * scripts/bench.pl: New script to generate source files for
21212         benchmark programs.
21213
21214 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21215
21216         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21217         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21218         computations on mantissa.  Use macros for rounding and
21219         division.
21220         (denorm): Likewise.
21221         (__dbl_mp): Likewise.
21222         (add_magnitudes): Likewise.
21223         (sub_magnitudes): Likewise.
21224         (__mul): Likewise.
21225         (__sqr): Likewise.
21226         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21227         powers of two in terms of TWOPOW macro.
21228         (mp_no): Make type of mantissa as MANTISSA_T.
21229         [!RADIXI]: Define RADIXI.
21230         [!TWO52]: Define TWO52.
21231         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21232
21233         * manual/nptl.texi (cindex): Modify threads to pthreads.
21234
21235 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21236
21237         * sysdeps/x86_64/preconfigure: Regenerated.
21238
21239 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21240
21241         [BZ #14155]
21242         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21243         0x1p28 and above.
21244         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21245         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21246         0x1p28 and above.
21247         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21248         * math/libm-test.inc (j0_test): Do not allow one spurious
21249         underflow exception.
21250         (y1_test): Likewise.
21251
21252 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21253
21254         * manual/Makefile (chapters): Add nptl.
21255         * manual/debug.texi (Debugging Support): Add link to Threads
21256         chapter.
21257         * manual/nptl.texi: New file.
21258
21259         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21260
21261 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21262
21263         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21264         for non-NULL pointer before the memory validity test. Pointed
21265         out by Holger Brunck <holger.brunck@keymile.com>.
21266
21267 2013-03-13  Andreas Schwab  <schwab@suse.de>
21268
21269         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21270         instead of .os.
21271
21272 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21273
21274         * timezone/zic.c: Update from tzcode 2013b.
21275
21276 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21277
21278         * manual/install.texi (Configuring and compiling):
21279         Mention i686 and i586.
21280         * INSTALL: Regenerate.
21281
21282 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21283
21284         * sysdeps/init_array/elf-init.c: New file.
21285         * csu/elf-init.c
21286         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21287         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21288
21289         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21290         __gmon_start__ as global, but as static with a .preinit_array pointer.
21291         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21292         * sysdeps/init_array/crti.S: New file, empty except for comments.
21293         * sysdeps/init_array/crtn.S: Likewise.
21294
21295 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21296
21297         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21298         definining bcopy.
21299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21300         Remove Prefer_SSE_for_memop.
21301         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21302         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21303         HAS_PREFER_SSE_FOR_MEMOP.
21304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21305         memset-x86-64.
21306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21307         Remove bzero, memset ifunc support.
21308         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21309         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21310         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21311         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21312
21313 2013-03-11  Andreas Schwab  <schwab@suse.de>
21314
21315         [BZ #15234]
21316         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21317         by SHLIB_COMPAT.
21318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21319         (GLIBC_2.16): Remove pthread_atfork.
21320
21321 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21322
21323         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21324         (ptestcases.h): Likewise.
21325
21326 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21327
21328         * Makeconfig ($(common-objpfx)config.status): Depend on
21329         sysdeps/*/preconfigure{,.in} too.
21330
21331 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21332
21333         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21334         (__free_hook): Use void * instead of __malloc_ptr_t.
21335         (__malloc_hook): Likewise.
21336         (__realloc_hook): Likewise.
21337         (__memalign_hook): Likewise.
21338         (__after_morecore_hook): Likewise.
21339         * malloc/arena.c (save_malloc_hook): Likewise.
21340         (save_free_hook): Likewise.
21341         * malloc/hooks.c (malloc_hook_ini): Likewise.
21342         (realloc_hook_ini): Likewise.
21343         (memalign_hook_ini): Likewise.
21344         * malloc/malloc.c (malloc_hook_ini): Likewise.
21345         (realloc_hook_ini): Likewise.
21346         (memalign_hook_ini): Likewise.
21347         (__free_hook): Likewise.
21348         (__malloc_hook): Likewise.
21349         (__realloc_hook): Likewise.
21350         (__memalign_hook): Likewise.
21351         (__libc_malloc): Likewise.
21352         (__libc_free): Likewise.
21353         (__libc_realloc): Likewise.
21354         (__libc_memalign): Likewise.
21355         (__libc_valloc): Likewise.
21356         (__libc_pvalloc): Likewise.
21357         (__libc_calloc): Likewise.
21358         (__posix_memalign): Likewise.
21359         * malloc/morecore.c (__sbrk): Likewise.
21360         (__default_morecore): Likewise.
21361
21362         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21363
21364         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21365         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21366         __malloc_ptrdiff_t.
21367
21368         * malloc/malloc.h (__malloc_size_t): Remove macro.
21369         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21370         __malloc_size_t.
21371         (old_memalign_hook): Likewise.
21372         (old_realloc_hook): Likewise.
21373         (struct hdr): Likewise.
21374         (flood): Likewise.
21375         (mallochook): Likewise.
21376         (memalignhook): Likewise.
21377         (reallochook): Likewise.
21378         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21379         (tr_old_realloc_hook): Likewise.
21380         (tr_old_memalign_hook): Likewise.
21381         (tr_mallochook): Likewise.
21382         (tr_reallochook): Likewise.
21383         (tr_memalignhook): Likewise.
21384
21385 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21386
21387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21388         default_ldbl_pack and using as default implementation.
21389         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21390         implementation.
21391         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21392         redundant definition.
21393         (ldbl_insert_mantissa): Likewise.
21394         (ldbl_canonicalize): Likewise.
21395         (ldbl_nearbyint): Likewise.
21396         (ldbl_pack): Rename to ldbl_pack_ppc.
21397         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21398         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21399         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21400
21401 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21402
21403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21404         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21405         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21406         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21408         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21409         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21410         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21411
21412 2013-03-07  Andreas Jaeger  <aj@suse.de>
21413
21414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21415         bits/mman-linux.h.
21416
21417 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418
21419         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21420         Include mpa.h and declare __MPEXP.
21421         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21422         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21423         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21424         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21425         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21426         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21427         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21428
21429         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21430         (__slowpow): Use long double EXPL and LOGL functions to
21431         compute POW.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21433         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21435         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21436         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21437         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21438
21439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21440         intermediate variable to calculate exponent.
21441         (__sqr): Likewise.
21442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21443         Likewise.
21444         (__sqr): Likewise.
21445
21446         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21447         [!NO__SQR]: Define __sqr.
21448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21449         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21450         sysdeps/ieee754/dbl-64/mpa.c.
21451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21452
21453         [BZ #12723]
21454         * posix/Makefile (tests): Add tst-pathconf.
21455         * posix/tst-pathconf.c: New test case.
21456         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21457         _PC_PIPE_BUF.
21458         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21459
21460 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21461
21462         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21463
21464 2013-03-06  Andreas Jaeger  <aj@suse.de>
21465
21466         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21467         definition via __MAP_ANONYMOUS.
21468
21469         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21470         it's not part of Linux headers.
21471
21472         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21473         (MAP_HUGE_MASK): Define.
21474
21475         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21476         Define.
21477         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21479         Define.
21480         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21481         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21482         Define.
21483         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21484         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21485         Define.
21486         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21487
21488         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21489         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21490         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21491         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21492         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21493         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21494
21495         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21496         Handle f2fs.
21497
21498         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21499         Handle f2fs and efivarfs.
21500
21501         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21502         f2fs.
21503
21504         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21505         (EFIVARFS_MAGIC): Add.
21506         (F2FS_LINK_MAX): Add.
21507
21508 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21509
21510         * stdio-common/vfprintf.c: Replace __builtin_expect with
21511         __glibc_unlikely.
21512
21513 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21514
21515         [BZ #13550]
21516         * sysdeps/generic/bp-sym.h: Remove file.
21517         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21518         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21519         <bp-sym.h> and <bp-asm.h>.
21520         (__longjmp): Don't use BP_SYM.
21521         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21522         and <bp-asm.h>.
21523         (memcpy): Don't use BP_SYM.
21524         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21525         <bp-sym.h> and <bp-asm.h>.
21526         (memcpy): Don't use BP_SYM.
21527         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21528         <bp-asm.h>.
21529         (memcpy): Don't use BP_SYM.
21530         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21531         <bp-asm.h>.
21532         (memset): Don't use BP_SYM.
21533         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21534         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21535         (__bzero): Don't use BP_SYM.
21536         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21537         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21538         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21539         <bp-sym.h> and <bp-asm.h>.
21540         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21541         pointers.
21542         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21543         <bp-sym.h> and <bp-asm.h>.
21544         (memcpy): Don't use BP_SYM.
21545         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21546         <bp-sym.h> and <bp-asm.h>.
21547         (memset): Don't use BP_SYM.
21548         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21549         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21550         (__bzero): Don't use BP_SYM.
21551         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21552         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21553         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21554         <bp-sym.h> and <bp-asm.h>.
21555         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21556         pointers.
21557         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21558         <bp-sym.h> and <bp-asm.h>.
21559         (memcpy): Don't use BP_SYM.
21560         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21561         <bp-sym.h> and <bp-asm.h>.
21562         (memset): Don't use BP_SYM.
21563         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21564         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21565         (__bzero): Don't use BP_SYM.
21566         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21567         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21569         <bp-sym.h> and <bp-asm.h>.
21570         (__memchr): Don't use BP_SYM.
21571         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21572         <bp-sym.h> and <bp-asm.h>.
21573         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21574         pointers.
21575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21576         <bp-sym.h> and <bp-asm.h>.
21577         (memcpy): Don't use BP_SYM.
21578         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21579         <bp-sym.h> and <bp-asm.h>.
21580         (__mempcpy): Don't use BP_SYM.
21581         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21582         <bp-sym.h> and <bp-asm.h>.
21583         (__memrchr): Don't use BP_SYM.
21584         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21585         <bp-sym.h> and <bp-asm.h>.
21586         (memset): Don't use BP_SYM.
21587         (__bzero): Likewise.
21588         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21589         <bp-sym.h> and <bp-asm.h>.
21590         (__rawmemchr): Don't use BP_SYM.
21591         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21592         <bp-sym.h> and <bp-asm.h>.
21593         (__STRCMP): Don't use BP_SYM.
21594         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21595         <bp-sym.h> and <bp-asm.h>.
21596         (strchr): Don't use BP_SYM.
21597         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21598         <bp-sym.h> and <bp-asm.h>.
21599         (__strchrnul): Don't use BP_SYM.
21600         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21601         <bp-sym.h> and <bp-asm.h>.
21602         (strlen): Don't use BP_SYM.
21603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21604         <bp-sym.h> and <bp-asm.h>.
21605         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21606         pointers.
21607         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21608         <bp-sym.h> and <bp-asm.h>.
21609         (__strnlen): Don't use BP_SYM.
21610         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21611         <bp-sym.h> and <bp-asm.h>.
21612         (__GI__setjmp): Don't use BP_SYM.
21613         (_setjmp): Likewise.
21614         (__sigsetjmp): Likewise.
21615         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21616         (L(start_addresses)): Don't use BP_SYM.
21617         (_start): Likewise.
21618         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21619         <bp-asm.h>.
21620         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21621         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21622         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21623         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21624         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21625         <bp-asm.h>.
21626         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21627         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21628         about bounded pointers.
21629         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21630         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21631         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21632         <bp-asm.h>.
21633         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21634         about bounded pointers.  Remove GKM FIXME comments.
21635         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21636         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21637         <bp-asm.h>.
21638         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21639         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21640         Remove GKM FIXME comments.
21641         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21642         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21643         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21644         <bp-asm.h>.
21645         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21646         about bounded pointers.  Remove GKM FIXME comment.
21647         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21648         and <bp-asm.h>.
21649         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21650         pointers.
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21652         <bp-sym.h> and <bp-asm.h>.
21653         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21655         <bp-sym.h> and <bp-asm.h>.
21656         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21657         comment.
21658
21659 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21660
21661         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21662         call free(NULL).
21663
21664 2013-03-05  David S. Miller  <davem@davemloft.net>
21665
21666         * po/es.po: Update from translation team.
21667
21668 2013-03-05  Andreas Jaeger  <aj@suse.de>
21669
21670         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21671         <bits/mman-linux.h>.
21672         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21673         is fine.
21674         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21675         <bits/mman-linux.h> to end of file.
21676         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21677         is fine.
21678         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21679         <bits/mman-linux.h> to end of file.
21680         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21681         is fine.
21682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21683         <bits/mman-linux.h> to end of file.
21684
21685         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21686         (MCL_CURRENT, MCL_FUTURE): Define here.
21687
21688 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21689
21690         [BZ #15232]
21691         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21692         attribute_hidden.
21693         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21694
21695 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21696
21697         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21698         fourth parameter needed for rt_sigprocmask syscall.
21699         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21700         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21701         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21702         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21703         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21704         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21705
21706 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21707
21708         [BZ #13550]
21709         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21710         comment about bounded pointers.
21711         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21712         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21713
21714 2013-03-04  Andreas Jaeger  <aj@suse.de>
21715
21716         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21717         common definitions.
21718
21719         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21720         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21721         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21722         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21723         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21724         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21725
21726 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21727
21728         [BZ #15055]
21729         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21730         __ieee754_sqrl instead of __sqrl.
21731
21732 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21733
21734         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21735         * sysdeps/powerpc/fpu_control.h: ... here.
21736         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21737         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21738         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21739         * sysdeps/powerpc/bits/mathinline.h: ... here.
21740
21741 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21742
21743         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21744         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21745         to just [NEED_DL_SYSINFO_DSO].
21746         * elf/dl-support.c: Likewise.
21747         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21748         * elf/rtld.c (dl_main): Likewise.
21749         * elf/setup-vdso.h (setup_vdso): Likewise.
21750         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21751         * sysdeps/unix/sysv/linux/dl-sysdep.c
21752         (_dl_discover_osversion): Likewise.
21753
21754 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21755
21756         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21757         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21758
21759 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21760
21761         * NEWS: Mention libm performance improvements and non-x86 PI
21762         futex support.
21763
21764         * csu/libc-start.c (__pthread_initialize_minimal): Change
21765         function arguments.
21766         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21767
21768 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21769
21770         [BZ #13550]
21771         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21772         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21773         <bp-sym.h> and <bp-asm.h>.
21774         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21775         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21776         and <bp-asm.h>.
21777         (memcpy): Don't use BP_SYM.
21778         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21779         <bp-asm.h>.
21780         (__mpn_add_n): Don't use BP_SYM.
21781         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21782         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21783         and <bp-asm.h>.
21784         (__mpn_addmul_1): Don't use BP_SYM.
21785         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21786         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21787         <bp-sym.h>.
21788         (_setjmp): Don't use BP_SYM.
21789         (__novmx_setjmp): Likewise.
21790         (__GI__setjmp): Likewise.
21791         (__vmx_setjmp): Likewise.
21792         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21793         <bp-sym.h>.
21794         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21795         (__bzero): Don't use BP_SYM.
21796         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21797         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21798         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21799         <bp-sym.h> and <bp-asm.h>.
21800         (memcpy): Don't use BP_SYM.
21801         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21802         <bp-sym.h> and <bp-asm.h>.
21803         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21804         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21805         <bp-sym.h> and <bp-asm.h>.
21806         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21807         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21808         <bp-asm.h>.
21809         (__mpn_lshift): Don't use BP_SYM.
21810         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21811         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21812         <bp-asm.h>.
21813         (memset): Don't use BP_SYM.
21814         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21815         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21816         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21817         <bp-asm.h>.
21818         (__mpn_mul_1): Don't use BP_SYM.
21819         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21820         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21821         <bp-sym.h> and <bp-asm.h>.
21822         (memcmp): Don't use BP_SYM.
21823         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21824         <bp-sym.h> and <bp-asm.h>.
21825         (memcpy): Don't use BP_SYM.
21826         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21827         <bp-sym.h> and <bp-asm.h>.
21828         (memset): Don't use BP_SYM.
21829         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21830         <bp-sym.h> and <bp-asm.h>.
21831         (strncmp): Don't use BP_SYM.
21832         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21833         <bp-sym.h> and <bp-asm.h>.
21834         (memcpy): Don't use BP_SYM.
21835         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21836         <bp-sym.h> and <bp-asm.h>.
21837         (memset): Don't use BP_SYM.
21838         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21839         <bp-sym.h> and <bp-asm.h>.
21840         (__memchr): Don't use BP_SYM.
21841         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21842         <bp-sym.h> and <bp-asm.h>.
21843         (memcmp): Don't use BP_SYM.
21844         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21845         <bp-sym.h> and <bp-asm.h>.
21846         (memcpy): Don't use BP_SYM.
21847         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21848         <bp-sym.h> and <bp-asm.h>.
21849         (__mempcpy): Don't use BP_SYM.
21850         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21851         <bp-sym.h> and <bp-asm.h>.
21852         (__memrchr): Don't use BP_SYM.
21853         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21854         <bp-sym.h> and <bp-asm.h>.
21855         (memset): Don't use BP_SYM.
21856         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21857         <bp-sym.h> and <bp-asm.h>.
21858         (__rawmemchr): Don't use BP_SYM.
21859         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21860         <bp-sym.h> and <bp-asm.h>.
21861         (__STRCMP): Don't use BP_SYM.
21862         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21863         <bp-sym.h> and <bp-asm.h>.
21864         (strchr): Don't use BP_SYM.
21865         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21866         <bp-sym.h> and <bp-asm.h>.
21867         (__strchrnul): Don't use BP_SYM.
21868         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21869         <bp-sym.h> and <bp-asm.h>.
21870         (strlen): Don't use BP_SYM.
21871         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21872         <bp-sym.h> and <bp-asm.h>.
21873         (strncmp): Don't use BP_SYM.
21874         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21875         <bp-sym.h> and <bp-asm.h>.
21876         (__strnlen): Don't use BP_SYM.
21877         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21878         <bp-asm.h>.
21879         (__mpn_rshift): Don't use BP_SYM.
21880         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21882         <bp-sym.h> and <bp-asm.h>.
21883         (__sigsetjmp): Don't use BP_SYM.
21884         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21885         (L(start_addresses)): Don't use BP_SYM.
21886         (_start): Likewise.
21887         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21888         <bp-asm.h>.
21889         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21890         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21891         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21892         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21893         <bp-asm.h>.
21894         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21895         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21896         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21897         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21898         <bp-asm.h>.
21899         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21900         comments.
21901         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21902         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21903         <bp-asm.h>.
21904         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21905         FIXME comments.
21906         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21907         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21908         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21909         <bp-asm.h>.
21910         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21911         comment.
21912         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21913         and <bp-asm.h>.
21914         (strncmp): Don't use BP_SYM,
21915         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21916         <bp-asm.h>.
21917         (__mpn_sub_n): Don't use BP_SYM.
21918         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21919         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21920         and <bp-asm.h>.
21921         (__mpn_submul_1): Don't use BP_SYM.
21922         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21924         <bp-sym.h> and <bp-asm.h>.
21925         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21927         <bp-sym.h> and <bp-asm.h>.
21928         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21929         comment.
21930
21931 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21932
21933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21934         Use ZK to minimize writes to Z.
21935         (sub_magnitudes): Simplify code a bit.
21936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21937         Use ZK to minimize writes to Z.
21938         (sub_magnitudes): Simplify code a bit.
21939
21940 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21941
21942         * csu/gmon-start.c: Add special exception to license text.
21943
21944 2013-02-27  Richard Henderson  <rth@redhat.com>
21945
21946         * scripts/config.guess: Update from config.git.
21947         * scripts/config.sub: Likewise.
21948
21949 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21950
21951         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21952
21953         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21954
21955         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21956
21957         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21958
21959         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21960
21961 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21962
21963         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21964         [$(build-shared = yes].
21965
21966 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21967
21968         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21969         (__mul): Reduce iterations for calculating mantissa.
21970
21971         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21972         MPTWO.
21973         (__mpranred): Likewise.
21974
21975         [BZ #15160]
21976         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21977         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21978
21979 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21980
21981         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21982         Define __attribute__.
21983
21984 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21985
21986         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21987         unused.
21988         * posix/regex_internal.h (__attribute): Remove.
21989         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21990         (re_string_context_at): Likewise.
21991         (bitset_not): Use __attribute__ and mark function as possibly
21992         unused.
21993         (bitset_merge): Likewise.
21994         (bitset_mask): Likewise.
21995         (re_string_char_size_at): Likewise.
21996         (re_string_wchar_at): Likewise.
21997         (re_string_elem_size_at): Likewise.
21998
21999 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22000
22001         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22002         code.
22003         (cc32): Likewise.
22004
22005         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22006         (__acr): Likewise.
22007         (__cpy): Likewise.
22008         (norm): Likewise.
22009         (denorm): Likewise.
22010         (__dbl_mp): Likewise.
22011         (add_magnitudes): Likewise.
22012         (sub_magnitudes): Likewise.
22013         (__mul): Likewise.
22014         (__inv): Likewise.
22015
22016         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22017         style.
22018
22019         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22020         style.
22021
22022         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22023         code.
22024
22025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22026         up changes with default code.
22027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22028         Likewise.
22029
22030 2013-02-24  Allan McRae  <allan@archlinux.org>
22031
22032         * manual/socket.texi (The Internet Namespace): Order menu items
22033         to match that in the file.
22034
22035         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22036         node listing of the info page menu.
22037
22038 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22039
22040         [BZ #13550]
22041         * sysdeps/i386/bp-asm.h: Remove file.
22042         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22043         (PARMS): Do not use macros from bp-asm.h.
22044         (S1): Likewise.
22045         (S2): Likewise.
22046         (SIZE): Likewise.
22047         (__mpn_add_n): Do not use BP_SYM
22048         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22049         "bp-asm.h".
22050         (PARMS): Do not use macros from bp-asm.h.
22051         (S1): Likewise.
22052         (SIZE): Likewise.
22053         (__mpn_addmul_1): Do not use BP_SYM
22054         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22055         "bp-asm.h".
22056         (PARMS): Do not use macros from bp-asm.h.
22057         (SIGMSK): Likewise.
22058         (_setjmp): Likewise.  Do not use BP_SYM.
22059         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22060         "bp-asm.h".
22061         (PARMS): Do not use macros from bp-asm.h.
22062         (SIGMSK): Likewise.
22063         (setjmp): Likewise.  Do not use BP_SYM.
22064         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22065         "bp-asm.h".
22066         (PARMS): Do not use macros from bp-asm.h.
22067         (__frexp): Do not use BP_SYM.
22068         (frexp): Likewise.
22069         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22070         "bp-asm.h".
22071         (PARMS): Do not use macros from bp-asm.h.
22072         (__frexpf): Do not use BP_SYM.
22073         (frexpf): Likewise.
22074         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22075         "bp-asm.h".
22076         (PARMS): Do not use macros from bp-asm.h.
22077         (__frexpl): Do not use BP_SYM.
22078         (frexpl): Likewise.
22079         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22080         "bp-asm.h".
22081         (PARMS): Do not use macros from bp-asm.h.
22082         (__remquo): Do not use BP_SYM.
22083         (remquo): Likewise.
22084         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22085         "bp-asm.h".
22086         (PARMS): Do not use macros from bp-asm.h.
22087         (__remquof): Do not use BP_SYM.
22088         (remquof): Likewise.
22089         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22090         "bp-asm.h".
22091         (PARMS): Do not use macros from bp-asm.h.
22092         (__remquol): Do not use BP_SYM.
22093         (remquol): Likewise.
22094         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22095         "bp-asm.h".
22096         (PARMS): Do not use macros from bp-asm.h.
22097         (DEST): Likewise.
22098         (SRC): Likewise.
22099         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22100         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22101         "bp-asm.h".
22102         (PARMS): Do not use macros from bp-asm.h.
22103         (strlen): Do not use BP_SYM.
22104         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22105         "bp-asm.h".
22106         (PARMS): Do not use macros from bp-asm.h.
22107         (S1): Likewise.
22108         (S2): Likewise.
22109         (SIZE): Likewise.
22110         (__mpn_add_n): Do not use BP_SYM.
22111         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22112         "bp-asm.h".
22113         (PARMS): Do not use macros from bp-asm.h.
22114         (S1): Likewise.
22115         (SIZE): Likewise.
22116         (__mpn_addmul_1): Do not use BP_SYM.
22117         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22118         weak_alias.
22119         (bzero): Likewise.
22120         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22121         "bp-asm.h".
22122         (PARMS): Do not use macros from bp-asm.h.
22123         (S): Likewise.
22124         (SIZE): Likewise.
22125         (__mpn_lshift): Do not use BP_SYM.
22126         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22127         "bp-asm.h".
22128         (PARMS): Do not use macros from bp-asm.h.
22129         (DEST): Likewise.
22130         (SRC): Likewise.
22131         (LEN): Likewise.
22132         (memcpy): Likewise.  Do not use BP_SYM.
22133         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22134         libc_hidden_def and weak_alias.
22135         (mempcpy): Do not use BP_SYM in weak_alias.
22136         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22137         "bp-asm.h".
22138         (PARMS): Do not use macros from bp-asm.h.
22139         (DEST): Likewise.
22140         (LEN): Likewise.
22141         [!BZERO_P] (CHR): Likewise.
22142         (memset): Likewise.  Do not use BP_SYM.
22143         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22144         "bp-asm.h".
22145         (PARMS): Do not use macros from bp-asm.h.
22146         (S1): Likewise.
22147         (SIZE): Likewise.
22148         (__mpn_mul_1): Do not use BP_SYM.
22149         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22150         "bp-asm.h".
22151         (PARMS): Do not use macros from bp-asm.h.
22152         (S): Likewise.
22153         (SIZE): Likewise.
22154         (__mpn_rshift): Do not use BP_SYM.
22155         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22156         "bp-asm.h".
22157         (PARMS): Do not use macros from bp-asm.h.
22158         (STR): Likewise.
22159         (CHR): Likewise.
22160         (strchr): Likewise.  Do not use BP_SYM.
22161         (index): Do not use BP_SYM in weak_alias.
22162         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22163         "bp-asm.h".
22164         (PARMS): Do not use macros from bp-asm.h.
22165         (DEST): Likewise.
22166         (SRC): Likewise.
22167         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22168         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22169         "bp-asm.h".
22170         (PARMS): Do not use macros from bp-asm.h.
22171         (strlen): Do not use BP_SYM.
22172         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22173         "bp-asm.h".
22174         (PARMS): Do not use macros from bp-asm.h.
22175         (S1): Likewise.
22176         (S2): Likewise.
22177         (SIZE): Likewise.
22178         (__mpn_sub_n): Do not use BP_SYM.
22179         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22180         "bp-asm.h".
22181         (PARMS): Do not use macros from bp-asm.h.
22182         (S1): Likewise.
22183         (SIZE): Likewise.
22184         (__mpn_submul_1): Do not use BP_SYM.
22185         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22186         "bp-asm.h".
22187         (PARMS): Do not use macros from bp-asm.h.
22188         (S1): Likewise.
22189         (S2): Likewise.
22190         (SIZE): Likewise.
22191         (__mpn_add_n): Do not use BP_SYM.
22192         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22193         weak_alias.
22194         (bzero): Likewise.
22195         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22196         "bp-asm.h".
22197         (PARMS): Do not use macros from bp-asm.h.
22198         (BLK2): Likewise.
22199         (LEN): Likewise.
22200         (memcmp): Do not use BP_SYM.
22201         (bcmp): Do not use BP_SYM in weak_alias.
22202         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22203         "bp-asm.h".
22204         (PARMS): Do not use macros from bp-asm.h.
22205         (DEST): Likewise.
22206         (SRC): Likewise.
22207         (LEN): Likewise.
22208         (memcpy): Likewise.  Do not use BP_SYM.
22209         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22210         "bp-asm.h".
22211         (PARMS): Do not use macros from bp-asm.h.
22212         (DEST): Likewise.
22213         (SRC): Likewise.
22214         (LEN): Likewise.
22215         (memmove): Likewise.  Do not use BP_SYM.
22216         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22217         "bp-asm.h".
22218         (PARMS): Do not use macros from bp-asm.h.
22219         (DEST): Likewise.
22220         (SRC): Likewise.
22221         (LEN): Likewise.
22222         (__mempcpy): Likewise.  Do not use BP_SYM.
22223         (mempcpy): Do not use BP_SYM in weak_alias.
22224         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22225         "bp-asm.h".
22226         (PARMS): Do not use macros from bp-asm.h.
22227         (DEST): Likewise.
22228         (LEN): Likewise.
22229         [!BZERO_P] (CHR): Likewise.
22230         (memset): Likewise.  Do not use BP_SYM.
22231         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22232         "bp-asm.h".
22233         (PARMS): Do not use macros from bp-asm.h.
22234         (STR2): Likewise.
22235         (strcmp): Do not use BP_SYM.
22236         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22237         "bp-asm.h".
22238         (PARMS): Do not use macros from bp-asm.h.
22239         (STR): Likewise.
22240         (DELIM): Likewise.
22241         [USE_AS_STRTOK_R] (SAVE): Likewise.
22242         (FUNCTION): Likewise.  Do not use BP_SYM.
22243         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22244         aliases.
22245         (strtok_r): Likewise.
22246         (__GI___strtok_r): Likewise.
22247         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22248         (PARMS): Do not use macros from bp-asm.h.
22249         (S): Likewise.
22250         (SIZE): Likewise.
22251         (__mpn_lshift): Do not use BP_SYM.
22252         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22253         (PARMS): Do not use macros from bp-asm.h.
22254         (STR): Likewise.
22255         (CHR): Likewise.
22256         (__memchr): Do not use BP_SYM.
22257         (memchr): Do not use BP_SYM in weak_alias.
22258         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22259         (PARMS): Do not use macros from bp-asm.h.
22260         (BLK2): Likewise.
22261         (LEN): Likewise.
22262         (memcmp): Do not use BP_SYM.
22263         (bcmp): Do not use BP_SYM in weak_alias.
22264         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22265         (PARMS): Do not use macros from bp-asm.h.
22266         (S1): Likewise.
22267         (SIZE): Likewise.
22268         (__mpn_mul_1): Do not use BP_SYM.
22269         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22270         "bp-asm.h".
22271         (PARMS): Do not use macros from bp-asm.h.
22272         (STR): Likewise.
22273         (CHR): Likewise.
22274         (__rawmemchr): Do not use BP_SYM.
22275         (rawmemchr): Do not use BP_SYM in weak_alias.
22276         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22277         (PARMS): Do not use macros from bp-asm.h.
22278         (S): Likewise.
22279         (SIZE): Likewise.
22280         (__mpn_rshift): Do not use BP_SYM.
22281         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22282         (PARMS): Do not use macros from bp-asm.h.
22283         (SIGMSK): Likewise.
22284         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22285         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22286         (_start): Do not use BP_SYM.
22287         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22288         (PARMS): Do not use macros from bp-asm.h.
22289         (DEST): Likewise.
22290         (SRC): Likewise.
22291         (__stpcpy): Likewise.  Do not use BP_SYM.
22292         (stpcpy): Do not use BP_SYM in weak_alias.
22293         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22294         "bp-asm.h".
22295         (PARMS): Do not use macros from bp-asm.h.
22296         (DEST): Likewise.
22297         (SRC): Likewise.
22298         (LEN): Likewise.
22299         (__stpncpy): Likewise.  Do not use BP_SYM.
22300         (stpncpy): Do not use BP_SYM in weak_alias.
22301         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22302         (PARMS): Do not use macros from bp-asm.h.
22303         (STR): Likewise.
22304         (CHR): Likewise.
22305         (strchr): Likewise.  Do not use BP_SYM.
22306         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22307         "bp-asm.h".
22308         (PARMS): Do not use macros from bp-asm.h.
22309         (STR): Likewise.
22310         (CHR): Likewise.
22311         (__strchrnul): Likewise.  Do not use BP_SYM.
22312         (strchrnul): Do not use BP_SYM in weak_alias.
22313         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22314         "bp-asm.h".
22315         (PARMS): Do not use macros from bp-asm.h.
22316         (STOP): Likewise.
22317         (strcspn): Do not use BP_SYM.
22318         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22319         "bp-asm.h".
22320         (PARMS): Do not use macros from bp-asm.h.
22321         (STR): Likewise.
22322         (STOP): Likewise.
22323         (strpbrk): Likewise.  Do not use BP_SYM.
22324         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22325         "bp-asm.h".
22326         (PARMS): Do not use macros from bp-asm.h.
22327         (STR): Likewise.
22328         (CHR): Likewise.
22329         (strrchr): Likewise.  Do not use BP_SYM.
22330         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22331         (PARMS): Do not use macros from bp-asm.h.
22332         (SKIP): Likewise.
22333         (strspn): Do not use BP_SYM.
22334         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22335         (PARMS): Do not use macros from bp-asm.h.
22336         (STR): Likewise.
22337         (DELIM): Likewise.
22338         (SAVE): Likewise.
22339         (FUNCTION): Likewise.  Do not use BP_SYM.
22340         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22341         aliases.
22342         (strtok_r): Likewise.
22343         (__GI___strtok_r): Likewise.
22344         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22345         (PARMS): Do not use macros from bp-asm.h.
22346         (S1): Likewise.
22347         (S2): Likewise.
22348         (SIZE): Likewise.
22349         (__mpn_sub_n): Do not use BP_SYM.
22350         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22351         "bp-asm.h".
22352         (PARMS): Do not use macros from bp-asm.h.
22353         (S1): Likewise.
22354         (SIZE): Likewise.
22355         (__mpn_submul_1): Do not use BP_SYM.
22356         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22357         <bp-sym.h>.
22358         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22359         and <bp-asm.h>.
22360         (PARMS): Do not use macros from bp-asm.h.
22361         (FLAGS): Likewise.
22362         (PTID): Likewise.
22363         (TLS): Likewise.
22364         (CTID): Likewise.
22365         (__clone): Do not use BP_SYM.
22366         (clone): Do not use BP_SYM in weak_alias.
22367         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22368         and <bp-asm.h>.
22369         (PARMS): Do not use macros from bp-asm.h.
22370         (LEN): Likewise.
22371         (__mmap64): Do not use BP_SYM.
22372         (mmap64): Do not use BP_SYM in weak_alias.
22373         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22374         <bp-sym.h> and <bp-asm.h>.
22375         (PARMS): Do not use macros from bp-asm.h.
22376         (__posix_fadvise64_l64): Do not use BP_SYM.
22377         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22378         (PARMS): Do not use macros from bp-asm.h.
22379         (NSOPS): Likewise.
22380         (semtimedop): Do not use BP_SYM.
22381         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22382         and <bp-asm.h>.
22383
22384 2013-02-21  Allan McRae  <allan@archlinux.org>
22385
22386         * manual/message.texi (Charset conversion in gettext):
22387         Move @end statement to beginning of line.
22388
22389 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22390
22391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22392         static.
22393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22394         Likewise.
22395
22396         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22397         (denorm): Likewise.
22398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22400
22401 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22402
22403         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22404         tail-call to the resolved function if pltexit isn't needed.
22405
22406 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22407
22408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22409         or Y being zero as being unlikely.
22410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22411         Likewise.
22412
22413 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22414
22415         * manual/nss.texi (System Databases and Name Service Switch):
22416         Remove frobnicate @pxref.
22417
22418 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22419
22420         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22421         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22422
22423 2013-02-20  Petr Machata  <pmachata@redhat.com>
22424
22425         * elf/elf.h (R_ARM_TARGET1): New macro.
22426         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22427         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22428         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22429         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22430         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22431         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22432         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22433         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22434         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22435         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22436         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22437         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22438         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22439         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22440         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22441         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22442         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22443         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22444         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22445         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22446         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22447         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22448         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22449         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22450         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22451         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22452         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22453         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22454         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22455         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22456         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22457         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22458         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22459         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22460         (R_ARM_THM_GOT_BREL12): Likewise.
22461         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22462         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22463         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22464         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22465         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22466         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22467         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22468         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22469         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22470
22471 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22472
22473         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22474         __attribute_used__ to __attribute__ ((unused)).
22475
22476 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22477
22478         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22479         powerpc mpa.c.
22480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22481         comment formatting.
22482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22483
22484 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22485
22486         [BZ #13550]
22487         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22488         Remove macro.
22489         (ENTER): Remove both macro definitions.
22490         (LEAVE): Likewise.
22491         (CHECK_BOUNDS_LOW): Likewise.
22492         (CHECK_BOUNDS_HIGH): Likewise.
22493         (CHECK_BOUNDS_BOTH): Likewise.
22494         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22495         (RETURN_BOUNDED_POINTER): Likewise.
22496         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22497         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22498         (POP_ERRNO_LOCATION_RETURN): Likewise.
22499         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22500         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22501         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22502         macros.
22503         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22504         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22505         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22506         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22507         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22508         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22509         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22510         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22511         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22512         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22513         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22514         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22515         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22516         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22517         removed macros.
22518         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22519         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22520         macros.
22521         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22522         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22523         * sysdeps/i386/i586/memset.S (memset): Likewise.
22524         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22525         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22526         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22527         macros.
22528         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22529         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22530         Change uses of L(2) to L(out).
22531         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22532         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22533         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22534         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22535         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22536         removed macros.
22537         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22538         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22539         macros.
22540         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22541         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22542         (RETURN): Do not use macro LEAVE.
22543         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22544         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22545         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22546         * sysdeps/i386/i686/memset.S (memset): Likewise.
22547         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22548         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22549         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22550         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22551         Likewise.
22552         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22553         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22554         L(1_2) and L(1_3) into L(1).
22555         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22556         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22557         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22558         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22559         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22560         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22561         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22562         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22563         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22564         macros.
22565         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22566         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22567         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22568         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22569         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22570         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22571         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22572         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22573         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22574         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22575         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22576         * sysdeps/i386/strspn.S (strspn): Likewise.
22577         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22578         conditional code.
22579         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22580         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22581         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22582         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22583         L(1_3) into L(1_1).
22584         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22585         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22586         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22587         macros.
22588         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22589
22590 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22591
22592         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22593         macro.
22594
22595 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22596
22597         * math/atest-exp.c (exp_mpn): Remove ROUND.
22598         * math/atest-exp2.c (exp_mpn): Likewise.
22599         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22600
22601         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22602         * stdlib/tst-tls-atexit-lib.c: Likewise.
22603         * stdlib/tst-tls-atexit.c: Likewise.
22604
22605 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22606
22607         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22608         and __attribute_alloc_size__.
22609
22610 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22611
22612         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22613         __attribute_alloc_size__.
22614         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22615         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22616
22617 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22618
22619         * include/programs/xmalloc.h: New file.
22620         * catgets/gencat.c: Include it.
22621         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22622         * elf/pldd.c: Likewise.
22623         * iconv/iconv_charmap.c: Likewise.
22624         * iconv/iconvconfig.c: Likewise.
22625         * iconv/strtab.c: Likewise.
22626         * locale/programs/locale.c: Likewise.
22627         * locale/programs/localedef.h: Likewise.
22628         * locale/programs/simple-hash.c: Likewise.
22629         * nscd/nscd.h: Likewise.
22630         * nss/makedb.c: Likewise.
22631         * sysdeps/generic/ldconfig.h: Likewise.
22632
22633 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634
22635         * Versions.def: Add GLIBC_2.18.
22636         * include/link.h (struct link_map): New member l_tls_dtor_count.
22637         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22638         (__call_tls_dtors): Likewise.
22639         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22640         __cxa_thread_atexit_impl.
22641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22642         Likewise.
22643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22644         Likewise.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22646         Likewise.
22647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22648         Likewise.
22649         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22651         Likewise.
22652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22653         Likewise.
22654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22656         Likewise.
22657         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22658         (tests): Add test case tst-tls-atexit.
22659         (modules-names): Add shared library for tst-tls-atexit.
22660         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22661         (GLIBC_PRIVATE): Add __call_tls_dtors.
22662         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22663         for libstdc++.
22664         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22665         * stdlib/tst-tls-atexit.c: New test case.
22666         * stdlib/tst-tls-atexit-lib.c: New test case.
22667
22668         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22669
22670         * elf/Versions (ld): Add _dl_find_dso_for_object.
22671         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22672         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22673         (dl_open_worker): Use _dl_find_dso_for_object.
22674         * elf/dl-sym.c (do_sym): Likewise.
22675         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22676
22677 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22678
22679         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22680         Syntactic changes only.
22681         (_dl_runtime_profile): Do a tail-call to the resolved function.
22682
22683 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22684
22685         [BZ #13550]
22686         * sysdeps/x86_64/bp-asm.h: Remove file.
22687         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22688         <bp-sym.h> and <bp-asm.h>.
22689         (__clone): Do not use BP_SYM.
22690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22691         <bp-sym.h> and <bp-asm.h>.
22692         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22693         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22694         "bp-asm.h".
22695         (_setjmp): Do not use BP_SYM.
22696         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22697         "bp-asm.h".
22698         (setjmp): Do not use BP_SYM.
22699         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22700         libc_hidden_def.
22701         (mempcpy): Do not use BP_SYM in weak_alias.
22702         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22703         "bp-asm.h".
22704         (strchr): Do not use BP_SYM.
22705         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22706         "bp-asm.h".
22707         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22708         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22709         (_start): Do not use BP_SYM.
22710         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22711         "bp-asm.h".
22712         (strcat): Do not use BP_SYM.
22713         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22714         "bp-asm.h".
22715         (STRCMP): Do not use BP_SYM.
22716         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22717         "bp-asm.h".
22718         (STRCPY): Do not use BP_SYM.
22719         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22720         "bp-asm.h".
22721         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22722         "bp-asm.h".
22723         (FUNCTION): Do not use BP_SYM.
22724         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22725         weak_alias.
22726         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22727
22728 2013-02-17  Andreas Jaeger  <aj@suse.de>
22729
22730         * time/Versions: Sort entries.
22731         * string/Versions: Likewise.
22732         * resolv/Versions: Likewise.
22733         * posix/Versions: Likewise.
22734         * iconv/Versions: Likewise.
22735         * elf/Versions: Likewise.
22736         * wcsmbs/Versions: Likewise.
22737
22738 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22739
22740         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22741         loop termination condition.
22742
22743         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22744         variable to calculate EZ.
22745         (__sqr): Likewise.
22746
22747         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22748         the lower precision input.
22749
22750 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22751
22752         [BZ #13550]
22753         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22754         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22755         (run-via-rtld-prefix): Do not handle %-bp tests.
22756         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22757         (all-object-suffixes): Remove .ob.
22758         (bppfx): Remove variable.
22759         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22760         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22761         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22762         [$(build-bounded) = yes] (libtype.ob): Likewise.
22763         * Makerules (elide-routines.ob): Remove variable.
22764         (do-tests-clean): Do not handle *-bp.out.
22765         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22766         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22767         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22768         (tests): Do not include $(tests-bp.out).
22769         (xtests): Do not include $(xtests-bp.out).
22770         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22771         [$(build-bounded) = yes] ($(addprefix
22772         $(objpfx),$(binaries-bounded))): Remove rule.
22773         ($(objpfx)%-bp.out): Remove rule.
22774         * config.make.in (build-bounded): Remove variable.
22775         * crypt/Makefile [$(build-bounded) = yes]
22776         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22777         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22778         append to variable.
22779         [$(build-bounded) = yes] (install-lib): Likewise.
22780         [$(build-bounded) = yes] (generated): Likewise.
22781         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22782         Remove rule.
22783         * intl/Makefile [$(build-bounded) = yes]
22784         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22785         * math/Makefile [$(build-bounded) = yes]
22786         ($(tests:%=$(objpfx)%-bp): Likewise.
22787         * misc/Makefile [$(build-bounded) = yes]
22788         ($(objpfx)tst-tsearch-bp): Likewise.
22789         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22790         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22791         Remove dependency.
22792         * string/Makefile (o-objects.ob): Remove variable.
22793         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22794         (CFLAGS-.ob): Remove variable.
22795         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22796         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22797         both definitions of variable.
22798         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22799         (ASFLAGS-.ob): Remove variable.
22800
22801 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22802
22803         [BZ #13550]
22804         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22805         Remove __BOUNDED_POINTERS__ from condition.
22806         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22807         * string/bits/string2.h [!__NO_STRING_INLINES &&
22808         !__BOUNDED_POINTERS__]: Likewise.
22809         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22810         Likewise.
22811         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22812         Remove conditional code.
22813         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22814         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22815         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22816         condition.
22817
22818         [BZ #13550]
22819         * csu/libc-start.c: Do not include <bp-sym.h>.
22820         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22821         * elf/dl-open.c: Do not include <bp-sym.h>.
22822         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22823         * math/fegetenv.c: Do not include <bp-sym.h>.
22824         (fegetenv): Do not use BP_SYM in versioned symbols.
22825         * nptl/sysdeps/pthread/bits/libc-lockP.h
22826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22827         <bp-sym.h>.
22828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22829         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22831         (__pthread_mutex_destroy): Likewise.
22832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22833         (__pthread_mutex_lock): Likewise.
22834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22835         (__pthread_mutex_trylock): Likewise.
22836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22837         (__pthread_mutex_unlock): Likewise.
22838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22839         (__pthread_mutexattr_init): Likewise.
22840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22841         (__pthread_mutexattr_destroy): Likewise.
22842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22843         (__pthread_mutexattr_settype): Likewise.
22844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22845         (__pthread_rwlock_init): Likewise.
22846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22847         (__pthread_rwlock_destroy): Likewise.
22848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22849         (__pthread_rwlock_rdlock): Likewise.
22850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22851         (__pthread_rwlock_tryrdlock): Likewise.
22852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22853         (__pthread_rwlock_wrlock): Likewise.
22854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22855         (__pthread_rwlock_trywrlock): Likewise.
22856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22857         (__pthread_rwlock_unlock): Likewise.
22858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22859         (__pthread_key_create): Likewise.
22860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22861         (__pthread_setspecific): Likewise.
22862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22863         (__pthread_getspecific): Likewise.
22864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22865         Likewise.
22866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22867         (_pthread_cleanup_push_defer): Likewise.
22868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22869         (_pthread_cleanup_pop_restore): Likewise.
22870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22871         (pthread_setcancelstate): Likewise.
22872         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22873         <bp-sym.h>.
22874         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22875         (memchr): Do not use BP_SYM in weak_alias.
22876         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22877         (fegetenv): Do not use BP_SYM in versioned symbols.
22878         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22879         (fesetenv): Do not use BP_SYM in versioned symbols.
22880         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22881         (feupdateenv): Do not use BP_SYM in versioned symbols.
22882         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22883         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22884         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22885         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22886         (open64): Do not use BP_SYM in weak_alias.
22887         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22888         (fegetenv): Do not use BP_SYM in versioned symbols.
22889         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22890         (fesetenv): Do not use BP_SYM in versioned symbols.
22891         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22892         (feupdateenv): Do not use BP_SYM in versioned symbols.
22893         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22894         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22895         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22896         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22897         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22898         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22899         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22900         <bp-sym.h>.
22901         (__libc_start_main): Do not use BP_SYM.
22902
22903 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22904
22905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22906         redundant return line.
22907         (norm): Likewise.
22908         (denorm): Likewise.
22909         (dbl_mp): Likewise.
22910         (sub_magnitudes): Likewise.
22911         (__add): Likewise.
22912         (__sub): Likewise.
22913         (__mul): Likewise.
22914         (__inv): Likewise.
22915         (__dvd): Likewise.
22916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22917         (norm): Likewise.
22918         (denorm): Likewise.
22919         (dbl_mp): Likewise.
22920         (sub_magnitudes): Likewise.
22921         (__add): Likewise.
22922         (__sub): Likewise.
22923         (__mul): Likewise.
22924         (__inv): Likewise.
22925         (__dvd): Likewise.
22926
22927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22928         instead of __mul.
22929         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22930         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22931         (cc32): Likewise.
22932
22933         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22934         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22936         of __mul for squares.
22937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22938         function
22939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22940         Likewise.
22941         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22942         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22943
22944 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22945
22946         [BZ #13550]
22947         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22948         code.
22949         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22950         prototype or function definition.  Rename ubp_* variables and
22951         parameters.  Remove argv definitions conditional on
22952         [__BOUNDED_POINTERS__].
22953         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22954         * elf/dl-runtime.c (_dl_fixup): Likewise.
22955         * include/set-hooks.h (RUN_HOOK): Likewise.
22956         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22957         definition.
22958         * string/strcpy.c (strcpy): Do not use __unbounded.
22959         * sysdeps/generic/frame.h (struct layout): Likewise.
22960         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22961         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22962         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22963         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22964         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22965         (__backtrace): Likewise.
22966         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22967         use __ptrvalue.
22968         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22969         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22970         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22971         Likewise.
22972         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22973         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22974         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22975         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22976         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22977         Do not use __unbounded.
22978         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22979         Rename __unboundedrlimits parameter to rlimits in prototype.
22980         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22981         Do not use __unbounded.
22982         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22983         not use __ptrvalue.
22984         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22985         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22986         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22987         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22988         __ptrvalue or __unbounded.
22989         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22990         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22991         use __unbounded.
22992         (__new_msgctl): Do not use __ptrvalue.
22993         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22994         __unbounded.
22995         (__libc_msgrcv): Do not use __ptrvalue.
22996         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22997         startup_info): Do not use __unbounded.
22998         (__libc_start_main): Likewise.  Rename ubp_* variables and
22999         parameters.  Remove argv definitions conditional on
23000         [__BOUNDED_POINTERS__].
23001         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23002         __ptrvalue.
23003         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23004         use __unbounded.
23005         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23006         or __ptrvalue.
23007         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23008         use __unbounded.
23009         (__new_shmctl): Do not use __ptrvalue.
23010         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23011         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23012         Likewise.
23013         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23015         (__libc_sigaction): Likewise.
23016         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23017         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23018         Likewise.
23019         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23020
23021 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23022
23023         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23024
23025         * string/mempcpy.c: Implement by calling memcpy.
23026
23027 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23028
23029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23030
23031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23032         evaluation.
23033
23034         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23035         values in the mantissa.
23036
23037         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23038         minimize writes to Z.
23039         (sub_magnitudes): Simplify code a bit.
23040
23041 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23042
23043         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23044         from the message.  The linker prefixes all warnings with that already.
23045
23046 2013-02-12  Andreas Schwab  <schwab@suse.de>
23047
23048         [BZ #15078]
23049         * posix/regexec.c (extend_buffers): Add parameter min_len.
23050         (check_matching): Pass minimum needed length.
23051         (clean_state_log_if_needed): Likewise.
23052         (get_subexp): Likewise.
23053         * posix/Makefile (tests): Add bug-regex34.
23054         (bug-regex34-ENV): Define.
23055         * posix/bug-regex34.c: New file.
23056
23057         [BZ #11561]
23058         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23059         elements compare against the byte sequence of it, not its name.
23060         * posix/Makefile (tests): Add bug-regex35.
23061         (bug-regex35-ENV): Define.
23062         * posix/bug-regex35.c: New file.
23063
23064 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23065
23066         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23067         comment.
23068         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23069         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23070         (CHECK_EOL): Add undef.
23071
23072 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23073
23074         * bits/stdlib-bsearch.h: New file.
23075         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23076         * stdlib/stdlib.h: Likewise.
23077
23078 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23079
23080         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23081         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23082         declaration.
23083         * manual/search.texi (Array Search Function): Add missing const in
23084         lfind prototype.
23085         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23086         declaration to use rlim_t.
23087         (Basic Scheduling Functions): Remove erroneous const from
23088         sched_getparam prototype.  Remove erroneous * from
23089         sched_get_priority_max and sched_get_priority_min prototypes.
23090         (Resource Usage): Fix summary @comment on vtimes to refer to
23091         sys/vtimes.h rather than vtimes.h.
23092         Add missing *s in vtimes prototype.
23093         (Limits on Resources): Fix ulimit prototype to return long int.
23094         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23095         prototypes to use long int rather than double.
23096         (BSD Random): Fix initstate and setstate to use char *, not void *.
23097         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23098         prototype to make second argument 'struct aiocb64 *const[]'.
23099         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23100         (Status of AIO Operations): Remove erroneous const in aio_return and
23101         aio_return64 prototypes.
23102         (Synchronizing I/O): Fix sync prototype to return void.
23103         * manual/startup.texi (Suboptions): Remove an erroneous const in
23104         getsubopt prototype.
23105         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23106         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23107         use size_t rather than int.
23108         (Scanning All Users): Likewise for getpwent_r.
23109         (Setting Groups): Add missing const to setgroups prototype.
23110         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23111         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23112         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23113         'const void *' rather than 'const char *'.
23114         (Host Address Functions): Likewise for inet_ntop.
23115         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23116         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23117         ssize_t for return value.
23118         (Sending Data): Likewise for send, sendto, sendmsg.
23119         (Socket Option Functions): Add a missing const in setsockopt prototype.
23120         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23121         use wchar_t for the argument.
23122         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23123         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23124         take no arguments.
23125         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23126         double/float/long double for second argument.
23127         Fix return types of significand, significandf, significandl.
23128         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23129         argument in fchmod prototype.
23130         (File Owner): Use uid_t and gid_t in fchown prototype.
23131         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23132         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23133         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23134         use 'const struct dirent **' as argument types to CMP function pointer
23135         argument.
23136         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23137         (File Times): Fix summary magic @comment for struct utimbuf and utime
23138         to refer to utime.h, not time.h.
23139         * manual/string.texi (Argz Functions): Add missing const in
23140         argz_extract and argz_next prototypes.
23141         (Finding Tokens in a String): Likewise for basename.
23142         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23143         (Copying and Concatenation): Fix typo in wmemmove prototype.
23144         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23145         (Signal Stack): Remove erroneous const in sigstack prototype.
23146         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23147         prototype.
23148         (Simple Calendar Time): Likewise for stime.
23149         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23150         prototype.
23151         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23152         say sys/sysctl.h instead.
23153         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23154         and vsyslog prototypes.
23155
23156 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23157
23158         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23159         Remove.
23160
23161 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23162
23163         * misc/sys/mman.h: Fix typo in mremap comment.
23164
23165 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23166
23167         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23168         the '\0' terminator.
23169
23170 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23171
23172         [BZ #13550]
23173         * debug/segfault.c: Don't include <bp-checks.h>.
23174         * sysdeps/generic/bp-checks.h: Remove file.
23175         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23176         (__GETDENTS): Don't use CHECK_N.
23177         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23178         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23179         (__getgroups): Don't use CHECK_N.
23180         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23181         (setgroups): Don't use CHECK_N.
23182         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23183         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23184         (__libc_msgrcv): Don't use CHECK_N.
23185         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23186         (__libc_msgsnd): Don't use CHECK_N.
23187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23188         <bp-checks.h>.
23189         (__libc_pread): Don't use CHECK_N.
23190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23191         include <bp-checks.h>.
23192         (__libc_pread64): Don't use CHECK_N.
23193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23194         include <bp-checks.h>.
23195         (__libc_pwrite): Don't use CHECK_N.
23196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23197         include <bp-checks.h>.
23198         (__libc_pwrite64): Don't use CHECK_N.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23200         <bp-checks.h>.
23201         (__libc_pread): Don't use CHECK_N.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23203         include <bp-checks.h>.
23204         (__libc_pread64): Don't use CHECK_N.
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23206         include <bp-checks.h>.
23207         (__libc_pwrite): Don't use CHECK_N.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23209         include <bp-checks.h>.
23210         (__libc_pwrite64): Don't use CHECK_N.
23211         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23212         (do_pread): Don't use CHECK_N.
23213         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23214         (do_pread64): Don't use CHECK_N.
23215         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23216         (do_pwrite): Don't use CHECK_N.
23217         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23218         (do_pwrite64): Don't use CHECK_N.
23219         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23220         (__libc_readv): Don't use CHECK_N.
23221         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23222         (semop): Don't use CHECK_N.
23223         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23224         <bp-checks.h>.
23225         (semtimedop): Don't use CHECK_N.
23226         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23227         (__libc_pread): Don't use CHECK_N.
23228         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23229         <bp-checks.h>.
23230         (__libc_pread64): Don't use CHECK_N.
23231         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23232         <bp-checks.h>.
23233         (__libc_pwrite): Don't use CHECK_N.
23234         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23235         <bp-checks.h>.
23236         (__libc_pwrite64): Don't use CHECK_N.
23237         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23238         <bp-checks.h>.
23239         (__libc_msgrcv): Don't use CHECK_N.
23240         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23241         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23242         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23243         (__libc_writev): Don't use CHECK_N.
23244
23245 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23246
23247         * string/strcpy.c: Removed unused variable.
23248
23249         * Makeconfig (+sysdep-includes): Define with := rather than =.
23250         Use an existing include/ subdir of each sysdeps dir before it.
23251
23252 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23253
23254         * nscd/connection.c (register_traced_file): Comment function.
23255         [HAVE_INOTIFY] (union __inev): Define.
23256         [HAVE_INOTIFY] (inotify_check_files): New function.
23257         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23258         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23259         clear_db_cache.
23260         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23261
23262 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23263
23264         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23265         loaded if not already and that a failure is permanent.
23266
23267 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23268
23269         [BZ #15006]
23270         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23271         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23272
23273 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23274
23275         [BZ #13550]
23276         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23277         (CHECK_1_NULL_OK): Likewise.
23278         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23279         (__fxstat): Do not use CHECK_1.
23280         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23281         <bp-checks.h>.
23282         (___fxstat64): Do not use CHECK_1.
23283         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23284         <bp-checks.h>.
23285         (__fxstatat): Do not use CHECK_1.
23286         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23287         <bp-checks.h>.
23288         (__fxstatat64): Do not use CHECK_1.
23289         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23290         <bp-checks.h>.
23291         (__fxstat): Do not use CHECK_1.
23292         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23293         <bp-checks.h>.
23294         (__fxstatat): Do not use CHECK_1.
23295         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23296         <bp-checks.h>.
23297         (__getresgid): Do not use CHECK_1.
23298         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23299         <bp-checks.h>.
23300         (__getresuid): Do not use CHECK_1.
23301         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23302         <bp-checks.h>.
23303         (__lxstat): Do not use CHECK_1.
23304         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23305         <bp-checks.h>.
23306         (__old_msgctl): Do not use CHECK_1.
23307         (__new_msgctl): Likewise.
23308         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23309         <bp-checks.h>.
23310         (__new_setrlimit): Do not use CHECK_1.
23311         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23312         <bp-checks.h>.
23313         (__old_shmctl): Do not use CHECK_1.
23314         (__new_shmctl): Likewise.
23315         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23316         <bp-checks.h>.
23317         (__xstat): Do not use CHECK_1.
23318         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23319         (__lxstat): Do not use CHECK_1.
23320         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23321         <bp-checks.h>.
23322         (___lxstat64): Do not use CHECK_1.
23323         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23324         (__old_msgctl): Do not use CHECK_1.
23325         (__new_msgctl): Likewise.
23326         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23327         <bp-checks.h>.
23328         (__gettimeofday): Do not use CHECK_1.
23329         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23330         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23331         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23332         <bp-checks.h>.
23333         (__gettimeofday): Do not use CHECK_1.
23334         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23335         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23336         (__new_shmctl): Do not use CHECK_1.
23337         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23338         <bp-checks.h>.
23339         (do_sigtimedwait): Do not use CHECK_1.
23340         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23341         <bp-checks.h>.
23342         (do_sigwaitinfo): Do not use CHECK_1.
23343         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23344         <bp-checks.h>.
23345         (msgctl): Do not use CHECK_1.
23346         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23347         <bp-checks.h>.
23348         (shmctl): Do not use CHECK_1.
23349         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23350         (ustat): Do not use CHECK_1.
23351         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23352         <bp-checks.h>.
23353         (__fxstat): Do not use CHECK_1.
23354         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23355         <bp-checks.h>.
23356         (__fxstatat): Do not use CHECK_1.
23357         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23358         <bp-checks.h>.
23359         (__lxstat): Do not use CHECK_1.
23360         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23361         <bp-checks.h>.
23362         (__xstat): Do not use CHECK_1.
23363         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23364         (__xstat): Do not use CHECK_1.
23365         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23366         (___xstat64): Do not use CHECK_1.
23367
23368         [BZ #13550]
23369         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23370         definitions.
23371         (CHECK_BOUNDS_HIGH): Likewise.
23372         * string/strcpy.c: Do not include <bp-checks.h>.
23373         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23374
23375 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23376
23377         * nscd/nscd-client.h (__nscd_drop_map_ref):
23378         Add __attribute__ ((unused)).
23379         * nis/nss-nisplus.h (niserr2nss): Likewise.
23380
23381         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23382         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23383
23384         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23385         Remove inline keyword.
23386         * include/rounding-mode.h (round_away): Likewise.
23387         * libio/wfileops.c (adjust_wide_data): Likewise.
23388         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23389         (__m128i_strloadu_tolower): Likewise.
23390         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23391         (__m128i_strloadu_tolower): Likewise.
23392         * time/mktime.c (ydhms_diff): Likewise.
23393         * locale/elem-hash.h (elem_hash): Likewise.
23394         * locale/setlocale.c (setdata): Likewise.
23395         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23396         (re_string_wchar_at): Likewise.
23397         (bitset_not, bitset_merge, bitset_mask): Likewise.
23398         [!(__GNUC__ > 3)] (inline): Remove macro.
23399         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23400         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23401         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23402         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23403         * string/memcmp.c (memcmp_bytes): Likewise.
23404         * locale/programs/locarchive.c (compute_hashval): Likewise.
23405         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23406         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23407         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23408         * nss/getent.c (print_rpc, print_protocols): Likewise.
23409         (print_passwd, print_group, print_aliases): Likewise.
23410         * nis/nss-nisplus.h (niserr2nss): Likewise.
23411         * nscd/connections.c (restart_p): Likewise.
23412         Change return type to bool.
23413
23414 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23415
23416         * Makeconfig (all-Depend-files): Add existing
23417         $(sorted-subdirs:=/Depend) files.
23418         (all-subdirs): Remove nss.
23419         * sysdeps/unix/inet/Subdirs: Add it here instead.
23420         * hesiod/Depend: New file.
23421
23422         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23423         instead of calling alloca.
23424
23425         * io/lseek.c (__lseek): Rename to __libc_lseek.
23426         Define __lseek as an alias.
23427
23428         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23429
23430 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23431
23432         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23433         else clause and remove check for non-standard endianness.
23434
23435 2013-02-04  David S. Miller  <davem@davemloft.net>
23436
23437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23438
23439 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23440
23441         [BZ #13550]
23442         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23443         (__ubp_memchr): Remove prototype.
23444         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23445         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23446         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23447         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23448         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23449         Remove alias.
23450         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23451         (__ubp_memchr): Likewise.
23452         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23453         (__ubp_memchr): Likewise.
23454         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23455         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23456         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23457         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23458         CHECK_STRING.
23459         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23460         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23461         (__getcwd): Do not use CHECK_STRING.
23462         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23463         <bp-checks.h>.
23464         (__real_chown): Do not use CHECK_STRING.
23465         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23466         <bp-checks.h>.
23467         (fchownat): Do not use CHECK_STRING.
23468         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23469         CHECK_STRING.
23470         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23471         <bp-checks.h>.
23472         (__lchown): Do not use CHECK_STRING.
23473         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23474         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23475         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23476         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23478         include <bp-checks.h>.
23479         (truncate64): Do not use CHECK_STRING.
23480         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23481         <bp-checks.h>.
23482         (__real_chown): Do not use CHECK_STRING.
23483         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23484         <bp-checks.h>.
23485         (__lchown): Do not use CHECK_STRING.
23486         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23487         <bp-checks.h>.
23488         (__chown): Do not use CHECK_STRING.
23489         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23490         <bp-checks.h>.
23491         (truncate64): Do not use CHECK_STRING.
23492         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23493         Likewise.
23494         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23495         (__xmknod): Do not use CHECK_STRING.
23496         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23497         <bp-checks.h>.
23498         (__xmknodat): Do not use CHECK_STRING.
23499         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23500         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23501
23502 2013-02-04  Andreas Schwab  <schwab@suse.de>
23503
23504         [BZ #14142]
23505         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23506         * include/netdb.h: Likewise for h_errno.
23507         * elf/tst-stackguard1.c: Include <tls.h>.
23508
23509 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23510
23511         * elf/link.h (struct link_map): Extend the l_addr comment.
23512         * include/link.h (struct link_map): Likewise.
23513
23514 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23515
23516         [BZ #13550]
23517         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23518         (BOUNDED_1): Remove macro.
23519         * debug/backtrace.c: Don't include <bp-checks.h>.
23520         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23521         (__backtrace): Likewise.
23522         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23523         <bp-checks.h>.
23524         (__backtrace): Don't use BOUNDED_1.
23525         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23526         <bp-checks.h>.
23527         (__backtrace): Don't use BOUNDED_1.
23528         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23529         (__backtrace): Don't use BOUNDED_1.
23530         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23531         (shmat): Don't use BOUNDED_N.
23532
23533 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23534
23535         [BZ #13550]
23536         * sysdeps/generic/bp-start.h: Remove file.
23537         * csu/libc-start.c: Don't include <bp-start.h>.
23538         (LIBC_START_MAIN): Set up __environ directly instead of using
23539         INIT_ARGV_and_ENVIRON.
23540         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23541         <bp-start.h>.
23542
23543         [BZ #13550]
23544         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23545         definitions.
23546         (CHECK_FCNTL): Likewise.
23547         (CHECK_N_PAGES): Likewise.
23548
23549         [BZ #13550]
23550         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23551         definitions.
23552         (CHECK_SIGSET_NULL_OK): Likewise.
23553         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23554         <bp-checks.h>.
23555         (sigpending): Don't use CHECK_SIGSET.
23556         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23557         <bp-checks.h>.
23558         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23559         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23560         <bp-checks.h>.
23561         (do_sigsuspend): Don't use CHECK_SIGSET.
23562         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23563         use CHECK_SIGSET.
23564         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23565         (do_sigwait): Don't use CHECK_SIGSET.
23566         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23567         use CHECK_SIGSET.
23568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23569         include <bp-checks.h>.
23570         (sigpending): Don't use CHECK_SIGSET.
23571         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23572         include <bp-checks.h>.
23573         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23574         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23575         <bp-checks.h>.
23576         (sigpending): Don't use CHECK_SIGSET.
23577         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23578         <bp-checks.h>.
23579         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23580
23581         [BZ #13550]
23582         * sysdeps/generic/bp-semctl.h: Remove file.
23583         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23584         <bp-checks.h> and <bp-semctl.h>.
23585         (__old_semctl): Don't use CHECK_SEMCTL.
23586         (__new_semctl): Likewise.
23587         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23588         and <bp-semctl.h>.
23589         (__old_semctl): Don't use CHECK_SEMCTL.
23590         (__new_semctl): Likewise.
23591         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23592         <bp-checks.h> and <bp-semctl.h>.
23593         (__old_semctl): Don't use CHECK_SEMCTL.
23594         (__new_semctl): Likewise.
23595         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23596         <bp-checks.h> and <bp-semctl.h>.
23597         (semctl): Don't use CHECK_SEMCTL.
23598
23599         [BZ #13550]
23600         * Makerules (elide-bp-thunks): Remove variable.
23601         (elide-routines.oS): Don't use $(elide-bp-thunks).
23602         (elide-routines.os): Likewise.
23603         (elide-routines.o): Likewise.
23604         (elide-routines.op): Likewise.
23605         (elide-routines.og): Likewise.
23606         (objects): Don't use $(bp-thunks).
23607         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23608         include.
23609         (common-generated): Do not add s-proto-bp.d.
23610         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23611         (int): Likewise.
23612         (typ): Likewise.
23613         Do not generate makefile rules for bounded-pointer thunks.
23614         * sysdeps/generic/bp-thunks.h: Remove file.
23615         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23616         * sysdeps/unix/s-proto-bp.S: Likewise.
23617
23618         [BZ #15062]
23619         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23620         parts of result separately when argument is not close to line from
23621         -i to i and one part of argument is small.
23622         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23623         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23624         * math/libm-test.inc (cacos_test): Add more tests.
23625         (casin_test): Likewise.
23626         (casinh_test): Likewise.
23627         * sysdeps/i386/fpu/libm-test-ulps: Update.
23628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23629
23630 2013-01-31  David S. Miller  <davem@davemloft.net>
23631
23632         * po/de.po: Update from translation team.
23633
23634 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23635
23636         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23637
23638 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23639
23640         * configure.in (_AC_PROG_CC_C89): New definition.
23641         * configure: Regenerate.
23642
23643         * configure.in (AC_PROG_CPP): New definition.
23644         * configure: Regenerate.
23645
23646 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23647
23648         * debug/tst-backtrace.h: New file.
23649         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23650         (ret): Remove variable.
23651         (x): Likewise.
23652         (FAIL): Remove macro.
23653         (NO_INLINE): Likewise.
23654         (fn1): Use match function instead of strstr.
23655         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23656         (ret): Remove variable.
23657         (x): Likewise.
23658         (FAIL): Remove macro.
23659         (NO_INLINE): Likewise.
23660         (fn): Use match function instead of strstr.
23661         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23662         (ret): Remove variable.
23663         (x): Likewise.
23664         (FAIL): Remove macro.
23665         (NO_INLINE): Likewise.
23666         (handle_signal): Use match function instead of strstr.
23667         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23668         (ret): Remove variable.
23669         (x): Likewise.
23670         (FAIL): Remove macro.
23671         (NO_INLINE): Likewise.
23672         (handle_signal): Use match function instead of strstr.
23673
23674 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23675
23676         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23677
23678 2013-01-23  David S. Miller  <davem@davemloft.net>
23679
23680         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23681         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23682         argument of CAS if possible.
23683         * sysdeps/sparc/sparc64/bits/atomic.h
23684         (__arch_compare_and_exchange_val_32_acq): Likewise.
23685         (__arch_compare_and_exchange_val_64_acq): Likewise.
23686
23687 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23688
23689         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23690         * sysdeps/posix/ulimit.c: ... this.
23691         Include <limits.h>.
23692         * sysdeps/unix/bsd/ulimit.c: Remove file.
23693
23694 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23695
23696         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23697         (LDFLAGS-tst-array5): Likewise.
23698
23699 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23700
23701         [BZ #15036]
23702         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23703         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23704         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23705         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23706
23707 2013-01-21  David S. Miller  <davem@davemloft.net>
23708
23709         * sysdeps/sparc/backtrace.c: New file.
23710         * sysdeps/sparc/sparc32/backtrace.h: New file.
23711         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23712         * sysdeps/sparc/sparc64/backtrace.h: New file.
23713         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23714         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23715         -funwind-tables.
23716
23717 2013-01-21  Andreas Schwab  <schwab@suse.de>
23718
23719         [BZ #15020]
23720         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23721         closed its stdout.
23722
23723 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23724
23725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23726         "mpa2.h".
23727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23728
23729 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23730             Mark Mitchell  <mark@codesourcery.com>
23731             Tom de Vries  <tom@codesourcery.com>
23732             Paul Pluzhnikov  <ppluzhnikov@google.com>
23733
23734         * debug/tst-backtrace2.c: New file.
23735         * debug/tst-backtrace3.c: Likewise.
23736         * debug/tst-backtrace4.c: Likewise.
23737         * debug/tst-backtrace5.c: Likewise.
23738         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23739         (CFLAGS-tst-backtrace3.c): Likewise.
23740         (CFLAGS-tst-backtrace4.c): Likewise.
23741         (CFLAGS-tst-backtrace5.c): Likewise.
23742         (LDFLAGS-tst-backtrace2): Likewise.
23743         (LDFLAGS-tst-backtrace3): Likewise.
23744         (LDFLAGS-tst-backtrace4): Likewise.
23745         (LDFLAGS-tst-backtrace5): Likewise.
23746         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23747         tst-backtrace4 and tst-backtrace5.
23748
23749 2013-01-18  Anton Blanchard  <anton@samba.org>
23750             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23751
23752         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23753         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23754         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23755         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23757         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23758         "+r" and remove output regs list as redundant.  Add explicit inline
23759         asm to specify register of return val to work around compiler codegen
23760         bug.  Remove (int) cast on return value.  Add return type parameter to
23761         use in macro so that this macro does not truncate return value for
23762         64-bit values.
23763         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23764         pass to INTERNAL_VSYSCALL_NCS.
23765         (INLINE_VSYSCALL): Add 'long int' as return type to
23766         INTERNAL_VSYSCALL_NCS macro invocation.
23767         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23768         INTERNAL_VSYSCALL_NCS macro invocation.
23769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23770
23771 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23772
23773         [BZ #14496]
23774         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23775         Fix application of SIMD FP exception mask.
23776
23777         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23778         mp_no from a power of two.
23779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23780         __mpexp_twomm1.  Use __pow_mp.
23781
23782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23783         multiplication.
23784
23785 2013-01-17  David S. Miller  <davem@davemloft.net>
23786
23787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23788
23789 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23790
23791         [BZ #15023]
23792         * include/complex.h: Condition contents on [!_COMPLEX_H].
23793         (__kernel_casinhf): New prototype.
23794         (__kernel_casinh): Likewise.
23795         (__kernel_casinhl): Likewise.
23796         * math/Makefile (libm_calls): Add k_casinh.
23797         * math/k_casinh.c: New file.
23798         * math/k_casinhf.c: Likewise.
23799         * math/k_casinhl.c: Likewise.
23800         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23801         finite nonzero arguments.
23802         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23803         finite nonzero arguments.
23804         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23805         finite nonzero arguments.
23806         * math/s_casinh.c: Do not include <float.h>.
23807         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23808         * math/s_casinhf.c: Do not include <float.h>.
23809         (__casinhf): Move code for finite nonzero arguments to
23810         k_casinhf.c.
23811         * math/s_casinhl.c: Do not include <float.h>.
23812         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23813         redefine.
23814         (__casinhl): Move code for finite nonzero arguments to
23815         k_casinhl.c.
23816         * math/libm-test.inc (cacos_test): Add more tests.
23817         * sysdeps/i386/fpu/libm-test-ulps: Update.
23818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23819
23820 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23821
23822         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23823         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23824         [!HAVE_MREMAP]: Remove [defined linux] case.
23825         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23826
23827 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23828
23829         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23830
23831 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23832
23833         * elf/elf.h (R_386_SIZE32): New relocation.
23834         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23835         R_386_SIZE32.
23836         (elf_machine_rela): Likewise.
23837         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23838         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23839
23840 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23841
23842         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23843         (FP_FAST_FMA): Do not define.
23844         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23845         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23846         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23847         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23848         !_SOFT_FLOAT]: Likewise.
23849         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23850         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23851         value.
23852         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23853         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23854         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23855         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23856         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23857         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23858         file.
23859
23860 2013-01-16  Andreas Schwab  <schwab@suse.de>
23861
23862         [BZ #14327]
23863         * include/stdlib.h (__mktemp): Add declaration.
23864         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23865         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23866
23867 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23868
23869         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23870         definitions.
23871         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23872         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23873         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23874         definitions here.
23875         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23876         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23877         definitions.
23878         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23879         and ONE.
23880         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23881         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23882         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23883         definitions.
23884         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23885         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23886         definitions.
23887         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23888
23889         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23890
23891 2013-01-15  David S. Miller  <davem@davemloft.net>
23892
23893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23894         trunc{,f} to libm-sysdep_routes.
23895         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23897         file.
23898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23900         file.
23901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23902         file.
23903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23905         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23906         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23907         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23908         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23909         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23910         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23911
23912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23913         nearbyint{,f} to libm-sysdep_routes.
23914         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23916         New file.
23917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23918         file.
23919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23920         New file.
23921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23922         file.
23923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23925         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23926         file.
23927         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23928         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23929         file.
23930         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23931         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23932         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23933
23934         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23935         libc_feholdexcept and libc_fesetenv.
23936
23937 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23938
23939         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23940
23941 2013-01-14  David S. Miller  <davem@davemloft.net>
23942
23943         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23944         (SPARC_ASM_VIS2_IFUNC): Likewise.
23945         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23947         use of 'siam' instruction.
23948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23949         Likewise.
23950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23951         Likewise.
23952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23953         Likewise.
23954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23955         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23959         file.
23960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23961         file.
23962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23963         file.
23964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23965         file.
23966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23971         new VIS2 routines.
23972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23975         Likewise.
23976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23981         routines to libm-sysdep_routines.
23982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23983
23984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23985         fdim/fdimf to libm-sysdep_routines.
23986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23987         file.
23988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23990         file.
23991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23994         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23995         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23996         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23997         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23998
23999 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000
24001         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24002         to optimize copies.
24003
24004         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24007
24008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24009         local variable MPTWO.
24010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24011         Likewise.
24012
24013 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24014
24015         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24016         GLOB_NOESCAPE.
24017
24018 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24019
24020         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24021
24022 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24023
24024         * manual/pattern.texi (glob_t): Document gl_flags.
24025         (glob64_t): Likewise.
24026
24027 2013-01-11  David S. Miller  <davem@davemloft.net>
24028
24029         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24030         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24031         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24032         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24033         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24034         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24035         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24036         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24037         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24038         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24039         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24040         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24041         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24042
24043         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24044         sparc V9 rather than using V8 code.
24045         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24046         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24047
24048         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24049         Move to...
24050         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24051         Here.
24052
24053 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24054
24055         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24056         not in the main loop.
24057         * configure: Regenerated.
24058
24059 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24060
24061         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24062         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24063         to just #else.
24064         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24065         [!__GLIBC_HAVE_LONG_LONG] case.
24066         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24067         condition to just #else.
24068         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24069         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24070         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24071         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24072         unconditional.
24073         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24074         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24075         #elif condition to just #else.
24076         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24077         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24078         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24079         #elif condition to just #else.
24080
24081 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24082
24083         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24084         (EF_MIPS_ARCH_64): Fix value.
24085         (EF_MIPS_ARCH_32R2): New.
24086         (EF_MIPS_ARCH_64R2): New.
24087
24088 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24089
24090         * Makeconfig (+link-pie-before-libc): New.
24091         (+link-pie-after-libc): Likewise.
24092         (+link-pie-tests): Likewise.
24093         (+link-pie): Rewritten.
24094         (link-before-libc): Remove $(config-LDFLAGS).
24095         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24096         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24097         (config-LDFLAGS): Renamed to ...
24098         (rtld-LDFLAGS): This.
24099         (rtld-tests-LDFLAGS): New macro.
24100         (link-libc-rpath-link): Likewise.
24101         (link-libc-tests-rpath-link): Likewise.
24102         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24103         (link-libc): Prepand $(link-libc-rpath-link).
24104         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24105         (test-program-prefix): New macro.
24106         (test-via-rtld-prefix): Likewise.
24107         (test-program-cmd): Likewise.
24108         (host-test-program-cmd): Likewise.
24109         * Makefile ($(common-objpfx)testrun.sh): Replace
24110         $(run-program-prefix) with $(test-program-prefix).
24111         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24112         $(rtld-LDFLAGS).
24113         ($(common-objpfx)shlib.lds): Likewise.
24114         (build-module-helper): Likewise.
24115         ($(common-objpfx)format.lds): Likewise.
24116         * Rules (binaries-pie-tests): New.
24117         (binaries-pie-notests): Likewise.
24118         (binaries-pie): Rewritten.
24119         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24120         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24121         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24122         (make-test-out): Replace $(host-built-program-cmd) with
24123         $(host-test-program-cmd).
24124         * config.make.in (build-hardcoded-path-in-tests): New variable.
24125         * configure.in (--enable-hardcoded-path-in-tests): New configure
24126         option.
24127         (hardcoded_path_in_tests): New AC_SUBST.
24128         * configure: Regenerated.
24129         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24130         $(built-program-cmd) with $(test-program-cmd).
24131         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24132         (test_program_cmd): This.
24133         * elf/Makefile ($(objpfx)order.out): Run test with
24134         $(test-program-prefix).
24135         ($(objpfx)order2.out): Likewise.
24136         ($(objpfx)tst-initorder.out): Likewise.
24137         ($(objpfx)tst-initorder2.out): Likewise.
24138         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24139         $(test-program-cmd).
24140         ($(objpfx)tst-array1-static.out): Likewise.
24141         ($(objpfx)tst-array2.out): Likewise.
24142         ($(objpfx)tst-array3.out): Likewise.
24143         ($(objpfx)tst-array4.out): Likewise.
24144         ($(objpfx)tst-array5.out): Likewise.
24145         ($(objpfx)tst-array5-static.out): Likewise.
24146         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24147         $(test-program-cmd).
24148         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24149         $(run-program-prefix) with $(test-program-prefix).
24150         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24151         (test_program_prefix): This.
24152         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24153         $(run-program-prefix) with $(test-program-prefix).
24154         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24155         (test_program_prefix): This.
24156         * iconvdata/tst-tables.sh: Likewise.
24157         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24158         $(run-program-prefix) with $(test-program-prefix).
24159         ($(objpfx)tst-translit.out): Likewise.
24160         ($(objpfx)tst-gettext2.out): Likewise.
24161         ($(objpfx)tst-gettext4.out): Likewise.
24162         ($(objpfx)tst-gettext6.out): Likewise.
24163         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24164         (test_program_prefix): This.
24165         * intl/tst-gettext2.sh: Likewise.
24166         * intl/tst-gettext4.sh  Likewise.
24167         * intl/tst-gettext6.sh: Likewise.
24168         * intl/tst-translit.sh: Likewise.
24169         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24170         with $(test-program-cmd).
24171         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24172         $(run-program-prefix) with $(test-program-prefix).
24173         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24174         (test_program_prefix): This.
24175         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24176         $(run-program-prefix) with $(test-program-prefix).
24177         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24178         (test_program_prefix): This.
24179         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24180         * posix/Makefile ($(objpfx)globtest.out): Replace
24181         $(run-via-rtld-prefix) and $(test-wrapper) with
24182         $(test-program-prefix) and $(test-via-rtld-prefix).
24183         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24184         $(test-program-prefix).
24185         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24186         $(host-test-program-cmd).
24187         (tst-spawn-ARGS): Likewise.
24188         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24189         $(test-program-prefix).
24190         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24191         (test_via_rtld_prefix): This.
24192         (test_wrapper): Renamed to ...
24193         (test_program_prefix): This.
24194         (run_program_prefix): Replaced by test_program_prefix.
24195         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24196         (test_program_prefix): This.
24197         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24198         with $(host-test-program-cmd).
24199         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24200         $(run-program-prefix) with $(test-program-prefix).
24201         ($(objpfx)tst-printf.out): Likewise.
24202         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24203         $(test-program-cmd).
24204         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24205         (test_program_prefix): This.
24206         * stdio-common/tst-unbputc.sh: Likewise.
24207         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24208         $(run-program-prefix) with $(test-program-prefix).
24209         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24210         (test_program_prefix): This.
24211         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24212         $(built-program-cmd) with $(test-program-cmd).
24213
24214 2013-01-11  Andreas Jaeger  <aj@suse.de>
24215
24216         [BZ #15003]
24217         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24218         value. Sync with Linux 3.7.
24219
24220 2013-01-10  David S. Miller  <davem@davemloft.net>
24221
24222         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24223         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24224         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24225
24226 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24227
24228         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24229         never set.
24230         * configure: Regenerated.
24231
24232 2013-01-10  David S. Miller  <davem@davemloft.net>
24233
24234         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24235         sparc V9 rather than using V8 code.
24236         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24237         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24238
24239 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24240
24241         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24242         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24243         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24244         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24245         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24246         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24247         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24248         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24249         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24250         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24251         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24252         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24253         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24254         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24255         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24256         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24257         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24258         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24259         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24260         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24261         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24262         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24263         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24264         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24265         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24266         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24267         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24268
24269 2013-01-10  David S. Miller  <davem@davemloft.net>
24270
24271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24272
24273 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24274
24275         * posix/Makefile (tests-static): New variable.
24276         (tests): Add $(tests-static).
24277         (tst-exec-static-ARGS): New variable.
24278         (tst-spawn-static-ARGS): Likewise.
24279         * posix/tst-exec-static.c: New file.
24280         * posix/tst-spawn-static.c: Likewise.
24281         * posix/tst-exec.c: Support run directly.
24282         * posix/tst-spawn.c: Likewise.
24283
24284 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24285
24286         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24287         long.
24288         * math/bits/mathcalls.h (llrint): Likewise.
24289         (llround): Likewise.
24290         * stdlib/stdlib.h (struct drand48_data): Likewise.
24291         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24292         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24293         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24294         Likewise.
24295         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24296         Likewise.
24297         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24298         (elf_greg_t): Likewise.
24299         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24300         (__jmp_buf): Likewise.
24301         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24302         definitions.
24303         (llrint): Likewise, for all definitions.
24304         (llrintl): Likewise.
24305
24306         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24307         Remove [__GNUC__] condition.
24308         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24309         condition to just [__USE_ISOC99].
24310         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24311
24312 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24313
24314         [BZ #14200]
24315         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24316         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24317         defined.
24318         (_POSIX_V6_ILP32_OFF32): Likewise.
24319         (_XBS5_ILP32_OFF32): Likewise.
24320         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24321         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24322
24323 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24324
24325         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24326
24327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24328         doubles __mpexp_twomm1.  Adjust usage.
24329         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24330         Remove.
24331
24332 2013-01-10  Andreas Schwab  <schwab@suse.de>
24333
24334         [BZ #14964]
24335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24336         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24337
24338 2013-01-09  David S. Miller  <davem@davemloft.net>
24339
24340         [BZ #15003]
24341         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24342         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24343         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24344         (TCP_FASTOPEN): Define.
24345         (tcp_repair_opt): New structure.
24346         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24347         enum values.
24348         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24349         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24350         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24351         (tcp_cookie_transactions): New structure.
24352
24353 2013-01-09  Anton Blanchard  <anton@samba.org>
24354
24355         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24356         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24358         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24359
24360 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24361
24362         * include/features.h (__USE_ANSI): Remove.
24363
24364 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24365
24366         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24367
24368         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24369
24370 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371
24372         * sysdeps/s390/fpu/libm-test-ulps: Update.
24373
24374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24375
24376         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24377         (__acr): Likewise.
24378         (__cpy): Likewise.
24379         (norm): Likewise.
24380         (denorm): Likewise.
24381         (__mp_dbl): Likewise.
24382         (__dbl_mp): Likewise.
24383         (add_magnitudes): Likewise.
24384         (sub_magnitudes): Likewise.
24385         (__add): Likewise.
24386         (__sub): Likewise.
24387         (__mul): Likewise.
24388         (__inv): Likewise.
24389         (__dvd): Likewise.
24390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24391         (__acr): Likewise.
24392         (__cpy): Likewise.
24393         (norm): Likewise.
24394         (denorm): Likewise.
24395         (__mp_dbl): Likewise.
24396         (__dbl_mp): Likewise.
24397         (add_magnitudes): Likewise.
24398         (sub_magnitudes): Likewise.
24399         (__add): Likewise.
24400         (__sub): Likewise.
24401         (__mul): Likewise.
24402         (__inv): Likewise.
24403         (__dvd): Likewise.
24404         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24405         (__acr): Likewise.
24406         (__cpy): Likewise.
24407         (norm): Likewise.
24408         (denorm): Likewise.
24409         (__mp_dbl): Likewise.
24410         (__dbl_mp): Likewise.
24411         (add_magnitudes): Likewise.
24412         (sub_magnitudes): Likewise.
24413         (__add): Likewise.
24414         (__sub): Likewise.
24415         (__mul): Likewise.
24416         (__inv): Likewise.
24417         (__dvd): Likewise.
24418
24419 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24420
24421         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24422         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24423         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24424         2 && __USE_EXTERN_INLINES]: Likewise.
24425
24426 2013-01-08  Andreas Jaeger  <aj@suse.de>
24427
24428         [BZ# 14985]
24429         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24430         Remove.
24431         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24432         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24433
24434 2013-01-07  Anton Blanchard  <anton@samba.org>
24435
24436         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24437         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24438         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24439         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24440         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24441         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24442         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24443         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24445         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24446         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24447         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24449         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24450         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24451         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24452         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24455         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24456         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24457         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24459         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24460         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24461         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24462         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24463         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24465         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24466         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24468         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24469         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24470         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24471         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24472         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24473         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24475         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24477         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24478         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24479
24480 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24481
24482         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24483         (__MALLOC_PMT): Likewise.
24484         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24485         [__GNUC__], only on [_LIBC].
24486         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24487         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24488         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24489         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24490         forward declaration.
24491         (realloc_hook_ini): Likewise.
24492         (memalign_hook_ini): Likewise.
24493         (__libc_memalign): Do not use __MALLOC_PMT in variable
24494         declaration.
24495         (__libc_valloc): Likewise.
24496         (__libc_pvalloc): Likewise.
24497         (__libc_calloc): Likewise.
24498         (__posix_memalign): Likewise.
24499
24500         [BZ #14996]
24501         * math/s_casinh.c: Include <float.h>.
24502         (__casinh): Do not do computation with squaring and square root
24503         for large arguments.
24504         * math/s_casinhf.c: Include <float.h>.
24505         (__casinhf): Do not do computation with squaring and square root
24506         for large arguments.
24507         * math/s_casinhl.c: Include <float.h>.
24508         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24509         (__casinhl): Do not do computation with squaring and square root
24510         for large arguments.
24511         * math/libm-test.inc (casin_test): Add more tests.
24512         (casinh_test): Likewise.
24513         * sysdeps/i386/fpu/libm-test-ulps: Update.
24514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24515
24516 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24517
24518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24519         (__x86_64_raw_data_cache_size): Likewise.
24520         (__x86_64_data_cache_size_half): Likewise.
24521         (__x86_64_raw_data_cache_size_half): Likewise.
24522         (__x86_64_shared_cache_size): Likewise.
24523         (__x86_64_raw_shared_cache_size): Likewise.
24524         (__x86_64_shared_cache_size_half): Likewise.
24525         (__x86_64_raw_shared_cache_size_half): Likewise.
24526         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24527         to ...
24528         (__x86_data_cache_size): This.
24529         (__x86_64_raw_data_cache_size): Renamed to ...
24530         (__x86_raw_data_cache_size): This.
24531         (__x86_64_data_cache_size_half): Renamed to ...
24532         (__x86_data_cache_size_half): This.
24533         (__x86_64_raw_data_cache_size_half): Renamed to ...
24534         (__x86_raw_data_cache_size_half): This.
24535         (__x86_64_shared_cache_size): Renamed to ...
24536         (__x86_shared_cache_size): This.
24537         (__x86_64_raw_shared_cache_size): Renamed to ...
24538         (__x86_raw_shared_cache_size): This.
24539         (__x86_64_shared_cache_size_half): Renamed to ...
24540         (__x86_shared_cache_size_half): This.
24541         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24542         (__x86_raw_shared_cache_size_half): This.
24543         * sysdeps/x86_64/memcpy.S: Updated.
24544         * sysdeps/x86_64/memset.S: Likewise.
24545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24546         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24547         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24548
24549 2013-01-04  David S. Miller  <davem@davemloft.net>
24550
24551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24552
24553 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24554
24555         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24556         1 to avoid redefinition warning.
24557         (__USE_GNU): Don't define.
24558         (init_signaling_nan): Protoize.
24559
24560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24561
24562 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24563
24564         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24566         (__cpymn): Likewise.
24567         (norm): Remove commented code.
24568         (denorm): Likewise.
24569         (__mp_dbl): Likewise.
24570         (__inv): Likewise.
24571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24572         (__cpymn): Likewise.
24573         (norm): Remove commented code.
24574         (denorm): Likewise.
24575         (__mp_dbl): Likewise.
24576         (__inv): Likewise.
24577
24578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24579         mp_no value for 1.0 and 2.0.
24580         (norm): Use RADIXI instead of radixi.d.
24581         (denorm): Likewise.
24582         (__mul): Use 0.0 instead of zero.d.
24583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24584         mp_no value for 1.0 and 2.0.
24585         (norm): Use RADIXI instead of radixi.d.
24586         (denorm): Likewise.
24587         (__mul): Use 0.0 instead of zero.d.
24588
24589 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24590
24591         [BZ #14994]
24592         * math/s_casinh.c (__casinh): Reduce finite argument to first
24593         quadrant then set signs of results at the end.
24594         * math/s_casinhf.c (__casinhf): Likewise.
24595         * math/s_casinhl.c (__casinhl): Likewise.
24596         * math/libm-test.inc (casin_test): Add more tests.
24597         (casinh_test): Likewise.
24598         * sysdeps/i386/fpu/libm-test-ulps: Update.
24599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24600
24601 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24602
24603         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24604
24605         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24606
24607         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24608         declarations.
24609         (denorm): Likewise.
24610         (__mp_dbl): Likewise.
24611         (__inv): Likewise.
24612
24613         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24614         and adjust the header comment.
24615
24616         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24617         variable name from declaration.
24618
24619 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24620
24621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24622         Initialize COMMON_CPUID_INDEX_7 element.
24623         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24624         (CPUID_RTM): Likewise.
24625         (HAS_RTM): Likewise.
24626         (COMMON_CPUID_INDEX_7): New enum.
24627
24628 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24629
24630         [BZ #14981]
24631         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24632         size is zero, record memory as freed.
24633
24634 2013-01-03  Andreas Jaeger  <aj@suse.de>
24635
24636         * po/ia.po: Add new Interlingua translation.
24637
24638 2012-01-03  Allan McRae  <allan@archlinux.org>
24639
24640         * locale/programs/localedef.c: Fix description of '--posix' flag.
24641
24642 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24643
24644         * NEWS: Update dates in second copyright notice.
24645         * README: Update copyright dates in example.
24646         * manual/libc.texinfo: Update copyright dates.
24647         * scripts/test-installation.pl: Update copyright date in --version
24648         output.
24649
24650         * hurd/ctty-input.c: Fix copyright notice formatting.
24651         * hurd/ctty-output.c: Likewise.
24652         * hurd/dtable.c: Likewise.
24653         * hurd/hurd-raise.c: Likewise.
24654         * hurd/hurdprio.c: Likewise.
24655         * hurd/msgportdemux.c: Likewise.
24656         * misc/sys/file.h: Likewise.
24657         * misc/sys/ioctl.h: Likewise.
24658         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24659         * sysdeps/mach/hurd/chdir.c: Likewise.
24660         * sysdeps/mach/hurd/fchdir.c: Likewise.
24661         * sysdeps/mach/hurd/rename.c: Likewise.
24662         * sysdeps/mach/hurd/rmdir.c: Likewise.
24663         * sysdeps/mach/hurd/seekdir.c: Likewise.
24664         * sysdeps/mach/hurd/setsid.c: Likewise.
24665         * sysdeps/posix/wait3.c: Likewise.
24666
24667         * All files with FSF copyright notices: Update copyright dates
24668         using scripts/update-copyrights.
24669         * intl/plural.c: Regenerated.
24670         * locale/programs/charmap-kw.h: Likewise.
24671         * locale/programs/locfile-kw.h: Likewise.
24672
24673 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24674
24675         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24676         four values.
24677
24678         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24679         calculation loop and add branch prediction.
24680
24681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24682         check access beyond bounds of m1np.
24683
24684         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24685         MPTWO.
24686         (__inv): Remove local variable MPTWO to use the global
24687         constant.
24688         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24690         variable MPTWO.
24691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24692         MP3HALFS static const.
24693
24694 2013-01-01  David S. Miller  <davem@davemloft.net>
24695
24696         * po/ca.po: Update from translation team.
24697
24698 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24699
24700         * scripts/update-copyrights: New file.
24701         * Makeconfig: Reformat copyright notice.
24702         * ctype/ctype.h: Likewise.
24703         * debug/swprintf_chk.c: Likewise.
24704         * elf/dl-cache.c: Likewise.
24705         * elf/dl-debug.c: Likewise.
24706         * elf/dl-object.c: Likewise.
24707         * grp/initgroups.c: Likewise.
24708         * hurd/Makefile: Likewise.
24709         * hurd/hurd/signal.h: Likewise.
24710         * hurd/hurdfault.c: Likewise.
24711         * hurd/hurdioctl.c: Likewise.
24712         * hurd/hurdlookup.c: Likewise.
24713         * hurd/intr-msg.c: Likewise.
24714         * iconv/gconv_open.c: Likewise.
24715         * libio/swprintf.c: Likewise.
24716         * locale/lc-ctype.c: Likewise.
24717         * locale/nl_langinfo.c: Likewise.
24718         * mach/Machrules: Likewise.
24719         * mach/Makefile: Likewise.
24720         * malloc/obstack.h: Likewise.
24721         * manual/Makefile: Likewise.
24722         * manual/tsort.awk: Likewise.
24723         * misc/bits/stab.def: Likewise.
24724         * nis/nis_print_group_entry.c: Likewise.
24725         * nis/nis_table.c: Likewise.
24726         * nis/nss_compat/compat-pwd.c: Likewise.
24727         * nis/nss_compat/compat-spwd.c: Likewise.
24728         * po/Makefile: Likewise.
24729         * posix/fnmatch.c: Likewise.
24730         * posix/regex.h: Likewise.
24731         * resolv/Makefile: Likewise.
24732         * resolv/nss_dns/dns-network.c: Likewise.
24733         * resolv/res_hconf.c: Likewise.
24734         * scripts/gen-sorted.awk: Likewise.
24735         * soft-fp/soft-fp.h: Likewise.
24736         * stdio-common/printf.h: Likewise.
24737         * stdlib/monetary.h: Likewise.
24738         * stdlib/random.c: Likewise.
24739         * stdlib/random_r.c: Likewise.
24740         * sysdeps/generic/Makefile: Likewise.
24741         * sysdeps/gnu/Makefile: Likewise.
24742         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24743         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24744         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24746         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24748         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24749         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24750         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24751         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24752         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24753         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24754         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24755         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24756         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24757         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24758         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24759         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24760         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24761         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24762         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24763         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24764         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24765         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24766         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24767         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24768         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24769         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24770         * sysdeps/mach/hurd/errnos.awk: Likewise.
24771         * sysdeps/mach/hurd/fork.c: Likewise.
24772         * sysdeps/mach/hurd/getcwd.c: Likewise.
24773         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24774         * sysdeps/mach/hurd/mmap.c: Likewise.
24775         * sysdeps/mach/hurd/utimes.c: Likewise.
24776         * sysdeps/mach/hurd/xmknod.c: Likewise.
24777         * sysdeps/posix/profil.c: Likewise.
24778         * sysdeps/posix/readdir_r.c: Likewise.
24779         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24780         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24781         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24782         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24784         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24786         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24788         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24789         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24790         * sysdeps/pthread/lio_listio.c: Likewise.
24791         * sysdeps/sparc/dl-procinfo.h: Likewise.
24792         * sysdeps/unix/i386/sysdep.S: Likewise.
24793         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24794         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24795         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24796         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24798         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24799         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24800         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24801         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24802         * sysdeps/wordsize-32/divdi3.c: Likewise.
24803         * time/sys/time.h: Likewise.
24804         * wcsmbs/Makefile: Likewise.
24805
24806 2013-01-01  David S. Miller  <davem@davemloft.net>
24807
24808         * po/fr.po: Update from translation team.
24809
24810         * catgets/gencat.c: Update copyright year.
24811         * csu/version.c: Likewise.
24812         * debug/catchsegv.sh: Likewise.
24813         * debug/pcprofiledump.c: Likewise.
24814         * debug/xtrace.sh: Likewise.
24815         * elf/ldconfig.c: Likewise.
24816         * elf/ldd.bash.in: Likewise.
24817         * elf/pldd.c: Likewise.
24818         * elf/sotruss.ksh: Likewise.
24819         * elf/sprof.c: Likewise.
24820         * iconv/iconv_prog.c: Likewise.
24821         * iconv/iconvconfig.c: Likewise.
24822         * locale/programs/locale.c: Likewise.
24823         * locale/programs/localedef.c: Likewise.
24824         * login/programs/pt_chown.c: Likewise.
24825         * malloc/memusage.sh: Likewise.
24826         * malloc/memusagestat.c: Likewise.
24827         * malloc/mtrace.pl: Likewise.
24828         * nscd/nscd.c: Likewise.
24829         * nss/getent.c: Likewise.
24830         * nss/makedb.c: Likewise.
24831         * posix/getconf.c: Likewise.
24832
24833 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24834
24835         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24836         numbers.
24837
24838 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24839
24840         * math/bits/mathcalls.h (modf): Use __nonnull.
24841
24842 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24843
24844         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24845         (split): Use macro CN instead of the bare value.
24846         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24847         could be used.
24848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24849         instead of the bare value.
24850         (power1): Likewise.
24851
24852 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24853
24854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24855         __ATAN_TWOM.
24856         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24857
24858         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24859         their values.
24860         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24862         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24863         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24864
24865 2012-12-28  Andreas Jaeger  <aj@suse.de>
24866
24867         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24868         values are from Linux 3.7.
24869
24870         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24871         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24872
24873 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24874
24875         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24876         TRUE case.
24877
24878         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24879         (norm): Likewise.
24880         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24881         variables with preprocessor constants.
24882         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24883         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24884         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24885
24886 2012-12-27  Bruno Haible  <bruno@clisp.org>
24887
24888         [BZ #14317]
24889         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24890         only if needed.
24891
24892 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24893
24894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24895         and use variable directly.
24896         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24897
24898         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24899         MPONE.
24900         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24901         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24902         variable MPONE.
24903         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24905         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24906         include directive.  Remove local variable MPONE.
24907         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24908         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24909         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24910
24911 2012-12-25  David S. Miller  <davem@davemloft.net>
24912
24913         * version.h (RELEASE): Set to "development".
24914         (VERSION): Set to "2.17.90".
24915         * NEWS: Add 2.18 section.
24916
24917 2012-12-21  David S. Miller  <davem@davemloft.net>
24918
24919         * po/hr.po: Update from translation team.
24920
24921 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24922
24923         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24924
24925 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24926
24927         * NEWS:  Mention new memcpy for MIPS.
24928
24929 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24930
24931         * manual/contrib.texi (Contributors): Spelling correction.
24932
24933 2012-12-15  David S. Miller  <davem@davemloft.net>
24934
24935         * po/ru.po: Update from translation team.
24936
24937 2012-12-13  David S. Miller  <davem@davemloft.net>
24938
24939         * NEWS: Mention IFUNC testsuite enhancements.
24940
24941         * po/pl.po: Update from translation team.
24942         * po/bg.po: Likewise.
24943
24944         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24945         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24946
24947 2012-12-11  David S. Miller  <davem@davemloft.net>
24948
24949         * po/sv.po: Update from translation team.
24950
24951         * po/vi.po: Update from translation team.
24952
24953         * po/cs.po: Update from translation team.
24954
24955         * po/de.po: Update from translation team.
24956         * po/eo.po: Likewise.
24957         * po/nl.po: Likewise.
24958
24959 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24960
24961         [BZ #14246]
24962         * manual/argp.texi (Argp Helper Functions): Move node to follow
24963         Argp Parsing State.
24964
24965         [BZ #14872]
24966         * manual/conf.texi (Limits on File System Capacity): Mention if
24967         terminating null is included in the max size.
24968
24969 2012-12-10  Andreas Jaeger  <aj@suse.de>
24970
24971         * po/cs.po: Update from translation team.
24972
24973 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24974
24975         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24976         void pointer and cast to uintptr_t.
24977         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24978         path.
24979         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24980         * sysdeps/s390/s390-64/memset.S: Likewise.
24981
24982 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24983
24984         [BZ #14833]
24985         * menual/message.texi (Message Translation): Fix typos.
24986         (Helper programs for gettext): Likewise.
24987
24988 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24989
24990         [BZ #14898]
24991         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24992         Change to -1.
24993
24994 2012-12-07  David S. Miller  <davem@davemloft.net>
24995
24996         * po/libc.pot: Update.
24997
24998 2012-12-07  Richard Henderson  <rth@redhat.com>
24999
25000         [BZ #10114]
25001         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25002         normal/normal case to before the switch.
25003         (_FP_DIV): Likewise.
25004
25005 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25006             Mike Frysinger  <vapier@gentoo.org>
25007
25008         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25009         check for __NR_fadvise64_64.
25010
25011 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25012
25013         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25014         0, not just to plain "0" as a statement.
25015         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25016         with cw.
25017
25018 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25019
25020         * NEWS: Use sourceware.org in Bugzilla URL.
25021
25022 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25023
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25025         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25026
25027         * stdio-common/tst-put-error.c (do_test): Add newline to the
25028         padded test to ensure flush.
25029
25030 2012-12-05  Jeff Law  <law@redhat.com>
25031
25032         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25033
25034 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25035
25036         * README: Don't refer to ports add-on as distributed separately.
25037         Mention AArch64 in list of systems supported in the ports add-on.
25038
25039         * LICENSES: Add more non-FSF copyright and license notices.
25040
25041         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25042         ((unused)).
25043
25044         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25045
25046         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25047         10000 as width of padded output.
25048
25049 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25050
25051         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25052
25053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25054         variable LX with __attribute__ ((unused)).
25055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25056         Likewise.
25057         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25059         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25060         with __attribute__ ((unused)).
25061
25062 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25063
25064         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25065
25066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25067
25068         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25069         (CFLAGS-nldbl-acos.c): New variable.
25070         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25071         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25072         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25073         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25074         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25075         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25076         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25077         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25078         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25079         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25080         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25081         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25082         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25083         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25084         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25085         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25086         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25087         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25088         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25089         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25090         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25091         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25092         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25093         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25094         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25095         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25096         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25097         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25098         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25099         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25100         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25101         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25102         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25103         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25104         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25105         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25106         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25107         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25108         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25109         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25110         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25111         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25112         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25113         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25114         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25115         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25116         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25117         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25118         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25119         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25120         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25121         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25122         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25123         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25124         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25125         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25126         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25127         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25128         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25129         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25130         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25131         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25132         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25133         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25134         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25135         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25136         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25137         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25138         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25139         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25140         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25141         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25142         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25143         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25144         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25145         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25146         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25147         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25148         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25149         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25150         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25151         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25152         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25153         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25154         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25155         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25156         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25157         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25158         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25159         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25160         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25161         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25162         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25163         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25164         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25165         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25166         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25167
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25169         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25170
25171         [BZ #14914]
25172         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25173         whole low double instead of just low 47 bits when splitting values
25174         into two parts.
25175
25176 2012-12-03  Allan McRae  <allan@archlinux.org>
25177
25178         * manual/stdio.texi (Predefined Printf Handlers): Remove
25179         @hsep and @vsep usage.
25180
25181 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25182
25183         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25184         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25185
25186 2012-12-03  Jeff Law  <law@redhat.com>
25187
25188         * time/sys/time.h (settimeofday): Do not mark TV argument
25189         as __nonnull.
25190
25191 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25192
25193         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25194         when currently writing and seek to current position when not.
25195         * libio/Makefile (tests): Remove bug-fclose1.
25196         * libio/bug-fclose1.c: Delete.
25197
25198 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25199
25200         * manual/arith.texi (feenableexcept): Fix typo.
25201         (fedisableexcept): Likewise.
25202
25203 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25204
25205         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25206         second, differently-typed declaration, rather than a cast.
25207
25208 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25209
25210         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25211         * include/rpc/svc.h: ... here.
25212
25213 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25214
25215         [BZ #13013]
25216         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25217         depending n and resplen2 to catch cases where answer
25218         equals answerp2.
25219
25220 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25221
25222         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25223         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25224
25225 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25226
25227         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25228
25229 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25230
25231         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25232
25233 2012-11-28  Jeff Law  <law@redhat.com>
25234
25235         [BZ #13761]
25236         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25237         dataset_temporary.  Track alloca usage into alloca_used.
25238         If dataset is large allocate and release it via malloc/free.
25239
25240 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25241
25242         [BZ #14197]
25243         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25244
25245 2012-11-28  David S. Miller  <davem@davemloft.net>
25246
25247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25248
25249 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25250
25251         [BZ #14803]
25252         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25253         of pi/2 rounded to nearest to 64 bits.
25254         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25255         nearest to 64 bits.
25256         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25257         bits.
25258
25259 2012-11-28  Jeff Law <law@redhat.com>
25260             Martin Osvald <mosvald@redhat.com>
25261
25262         [BZ #14889]
25263         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25264         * sunrpc/svc.c: Include time.h.
25265         (__svc_accept_failed): New function.
25266         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25267         any reason other than EINTR, call __svc_accept_failed.
25268         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25269         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25270
25271 2012-11-28  Andreas Schwab  <schwab@suse.de>
25272
25273         * scripts/abilist.awk: Also handle indirect functions in .opd
25274         section.
25275
25276 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25277
25278         [BZ #13881]
25279         * sysdeps/x86/fpu/powl_helper.c: New file.
25280         * sysdeps/x86/fpu/Makefile: Likewise.
25281         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25282         (p3): New object.
25283         (__ieee754_powl): Use __powl_helper for finite arguments except
25284         integer exponents below 8.
25285         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25286         (p3): New object.
25287         (__ieee754_powl): Use __powl_helper for finite arguments except
25288         integer exponents below 8.
25289         * math/libm-test.inc (pow_test): Add more tests and enable some
25290         previously disabled tests.
25291         * sysdeps/i386/fpu/libm-test-ulps: Update.
25292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25293
25294 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25295             Carlos O'Donell  <carlos_odonell@mentor.com>
25296
25297         * nss/makedb.c (is_prime): Assert that input is odd and greater
25298         than 4.  Note that fact in a comment too.
25299         (next_prime): Add 4 to input.
25300
25301 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25302
25303         [BZ #11741]
25304         * libio/Makefile (tests): Add test case tst-fwrite-error.
25305         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25306         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25307         * libio/tst-fwrite-error.c: New test case.
25308
25309 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25310
25311         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25312         before casting to void *.
25313         * include/libc-internal.h (__pointer_type): New macro.
25314         (__integer_if_pointer_type_sub): Likewise.
25315         (__integer_if_pointer_type): Likewise.
25316         (cast_to_integer): Likewise.
25317         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25318         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25319         before casting to atomic64_t.
25320         (atomic_exchange_acq): Likewise.
25321         (__arch_exchange_and_add_body): Likewise.
25322         (__arch_add_body): Likewise.
25323         (atomic_add_negative): Likewise.
25324         (atomic_add_zero): Likewise.
25325
25326 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25327
25328         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25329         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25330         (add_fdes): Likewise.
25331         (linear_search_fdes): Likewise.
25332         (binary_search_unencoded_fdes): Likewise.
25333
25334 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25335
25336         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25337
25338 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25339
25340         * configure.in: Autodetect C++ header directories.
25341         * configure: Regenerated.
25342
25343 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25344
25345         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25346
25347 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25348
25349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25350
25351 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25352
25353         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25354         LDBL_MANT_DIG == 106]: Disable some tests.
25355         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25356         Likewise.
25357         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25358         Likewise.
25359
25360         [BZ #14871]
25361         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25362         input for small inputs.  Return +/- pi/2 for large inputs.
25363         * math/libm-test.inc (atan_test): Add more tests.
25364
25365         * sysdeps/generic/unwind-dw2-fde-glibc.c
25366         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25367         __attribute__ ((unused)).
25368
25369         [BZ #14645]
25370         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25371         x * y if x and y are nonzero and z is zero.
25372
25373         [BZ #14811]
25374         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25375         nonzero exponents with absolute value below 0x1p-117 to +/-
25376         0x1p-117.
25377
25378         [BZ #14869]
25379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25380         up arguments below 2**-450, not just those below 2**-500.
25381         * math/libm-test.inc (hypot_test): Add another test.
25382
25383         [BZ #14868]
25384         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25385         Return a+b for ratio over 2**120, not 2**60.
25386         * math/libm-test.inc (hypot_test): Add another test.
25387
25388         * math/libm-test.inc (clog_test): Use
25389         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25390         (clog10_test): Likewise.
25391
25392         [BZ #6778]
25393         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25394
25395 2012-11-22  Andreas Schwab  <schwab@suse.de>
25396
25397         * sysdeps/i386/fpu/libm-test-ulps: Update.
25398
25399 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25400
25401         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25402         printf output with newline.
25403
25404 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25405
25406         [BZ #14865]
25407         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25408         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25409         -z nodlopen, -z initfirst and -z execstack support.
25410         * configure: Regenerated.
25411
25412         * elf/elf.h (DF_1_NODIRECT): New macro.
25413         (DF_1_IGNMULDEF): Likewise.
25414         (DF_1_NOKSYMS): Likewise.
25415         (DF_1_NOHDR): Likewise.
25416         (DF_1_EDITED): Likewise.
25417         (DF_1_NORELOC): Likewise.
25418         (DF_1_SYMINTPOSE): Likewise.
25419         (DF_1_GLOBAUDIT): Likewise.
25420         (DF_1_SINGLETON): Likewise.
25421         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25422         DT_1_SUPPORTED_MASK bits.
25423         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25424
25425 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25426
25427         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25428
25429 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25430
25431         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25432         macro.
25433
25434         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25435         (sendmmsg): Move declarations...
25436         * socket/sys/socket.h: ... here.
25437         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25438         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25439         include it from...
25440         * socket/recvmmsg.c: ... this new file.
25441         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25442         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25443         definition of __sendmmsg hidden.
25444         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25445         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25446         Move ENOSYS stub into and include it from...
25447         * socket/sendmmsg.c: ... this new file.
25448         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25449         (sysdep_routines): Move recvmmsg and sendmmsg...
25450         * socket/Makefile (routines): ... here.
25451         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25452         (GLIBC_PRIVATE): Add __sendmmsg.
25453         * include/sys/socket.h (__sendmmsg): Add declarations.
25454         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25455         sendmmsg.
25456
25457 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25458
25459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25460         variable I1 with __attribute__ ((unused)).
25461         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25462
25463 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25464
25465         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25466         DUMMY variables with __attribute__ ((unused)).
25467
25468         * bits/byteswap.h: Include <bits/types.h>.
25469         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25470
25471 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25472
25473         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25474         string_t.  Do not manually set errno.
25475         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25476         length with __strnlen.  Make sure to both set errno and return it on
25477         failure.
25478
25479 2012-11-19  David S. Miller  <davem@davemloft.net>
25480
25481         With help from Joseph Myers.
25482         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25483         very large arguments properly.
25484         * math/libm-test.inc (atan_test): New tests.
25485         (atan2_test): New tests.
25486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25488
25489 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25490
25491         [BZ #14856]
25492         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25493         Define to 3.
25494
25495         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25496         [POSIX] (EADDRNOTAVAIL): Likewise.
25497         [POSIX] (EAFNOSUPPORT): Likewise.
25498         [POSIX] (EALREADY): Likewise.
25499         [POSIX] (ECONNABORTED): Likewise.
25500         [POSIX] (ECONNREFUSED): Likewise.
25501         [POSIX] (ECONNRESET): Likewise.
25502         [POSIX] (EDESTADDRREQ): Likewise.
25503         [POSIX] (EDQUOT): Likewise.
25504         [POSIX] (EHOSTUNREACH): Likewise.
25505         [POSIX] (EIDRM): Likewise.
25506         [POSIX] (EISCONN): Likewise.
25507         [POSIX] (ELOOP): Likewise.
25508         [POSIX] (EMULTIHOP): Likewise.
25509         [POSIX] (ENETDOWN): Likewise.
25510         [POSIX] (ENETUNREACH): Likewise.
25511         [POSIX] (ENOBUFS): Likewise.
25512         [POSIX] (ENODATA): Likewise.
25513         [POSIX] (ENOLINK): Likewise.
25514         [POSIX] (ENOMSG): Likewise.
25515         [POSIX] (ENOPROTOOPT): Likewise.
25516         [POSIX] (ENOSR): Likewise.
25517         [POSIX] (ENOSTR): Likewise.
25518         [POSIX] (ENOTCONN): Likewise.
25519         [POSIX] (ENOTSOCK): Likewise.
25520         [POSIX] (EOPNOTSUPP): Likewise.
25521         [POSIX] (EOVERFLOW): Likewise.
25522         [POSIX] (EPROTO): Likewise.
25523         [POSIX] (EPROTONOSUPPORT): Likewise.
25524         [POSIX] (EPROTOTYPE): Likewise.
25525         [POSIX] (ESTALE): Likewise.
25526         [POSIX] (ETIME): Likewise.
25527         [POSIX] (ETXTBSY): Likewise.
25528         [POSIX] (EWOULDBLOCK): Likewise.
25529         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25530         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25531         [POSIX] (SEEK_CUR): Likewise.
25532         [POSIX] (SEEK_END): Likewise.
25533         [POSIX || UNIX98] (mode_t): Do not require.
25534         [POSIX] (off_t): Likewise.
25535         [POSIX] (pid_t): Likewise.
25536         [POSIX] (sys/stat.h): Do not allow header.
25537         [POSIX] (unistd.h): Likewise.
25538         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25539         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25540         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25541         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25542         require.
25543         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25544         sigevent): Specify elements.
25545         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25546         entry.
25547         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25548         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25549
25550         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25551         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25552         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25553         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25554         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25555         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25556         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25557         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25558         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25559         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25560         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25561         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25562         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25563         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25564         Likewise.
25565         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25566         Likewise.
25567         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25568         Likewise.
25569         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25570         Likewise.
25571         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25572         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25573         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25574         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25575         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25576         Specify lower bound on value.
25577         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25578         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25579         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25580         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25581         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25582         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25583         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25584         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25585         value.
25586         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25587         as optional.
25588         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25589         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25590         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25591         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25592         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25593         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25594         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25595         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25596         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25597         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25598         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25599         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25600         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25601         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25602         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25603         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25604         entry.
25605         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25606         optional.
25607         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25608         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25609         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25610         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25611         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25612         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25613         Likewise.
25614         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25615         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25616         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25617         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25618         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25619         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25621         as optional.
25622         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25623         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25624         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25625         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25626         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25627         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25628         specify as optional.
25629         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25630         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25631         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25632         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25633         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25634         [XPG3] (NL_LANGMAX): Likewise.
25635         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25636         [POSIX || XPG3] (NL_NMAX): Likewise.
25637         [POSIX || XPG3] (NL_SETMAX): Likewise.
25638         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25639         [XPG3] (NZERO): Likewise.
25640         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25641         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25642         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25643         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25644         (REG_ERANGE): Expect.
25645         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25646         optional-constant.
25647         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25648         Use (void) in prototype.
25649         [POSIX] (*_t): Allow.
25650         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25651         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25652         (WRDE_BADVAL): Expect.
25653
25654         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25655         expect.
25656         [XPG3 || XPG4] (O_RSYNC): Likewise.
25657         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25658         Likewise.
25659         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25660         [XPG3 || XPG4] (sigqueue): Likewise.
25661         [XPG3 || XPG4] (sigtimedwait): Likewise.
25662         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25663         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25664         [XPG3 || XPG4] (vsnprintf): Likewise.
25665         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25666         Likewise.
25667         [XPG3 || XPG4] (blksize_t): Likewise.
25668         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25669         Likewise.
25670         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25671         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25672         [XPG3 || XPG4] (struct itimerspec): Likewise.
25673         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25674         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25675         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25676         [XPG3 || XPG4] (clockid_t): Likewise.
25677         [XPG3 || XPG4] (timer_t): Likewise.
25678         [XPG3 || XPG4] (clock_getres): Likewise.
25679         [XPG3 || XPG4] (clock_gettime): Likewise.
25680         [XPG3 || XPG4] (clock_settime): Likewise.
25681         [XPG3 || XPG4] (nanosleep): Likewise.
25682         [XPG3 || XPG4] (timer_create): Likewise.
25683         [XPG3 || XPG4] (timer_delete): Likewise.
25684         [XPG3 || XPG4] (timer_gettime): Likewise.
25685         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25686         [XPG3 || XPG4] (timer_settime): Likewise.
25687         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25688         [XPG3 || XPG4] (getlogin_r): Likewise.
25689         [XPG3 || XPG4] (pread): Likewise.
25690         [XPG3 || XPG4] (pthread_atfork): Likewise.
25691         [XPG3 || XPG4] (pwrite): Likewise.
25692
25693         [BZ #14835]
25694         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25695         <bits/siginfo.h>.
25696
25697 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25698
25699         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25700         finalizing MALLSTREAM.
25701
25702         * sysdeps/mach/hurd/syncfs.c: New file.
25703
25704 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25705
25706         [BZ #14719]
25707         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25708         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25709         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25710         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25711         (_nss_dns_gethostbyname4_r): Likewise.
25712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25713         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25714
25715 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25716
25717         [BZ #13763]
25718         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25719
25720 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25721
25722         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25723         * elf/cache.c (print_entry): Print ",AArch64" for
25724         FLAG_AARCH64_LIB64
25725
25726         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25727         * elf/cache.c (print_entry): Print ",hard-float" for
25728         FLAG_ARM_LIBHF.
25729
25730 2012-11-18  David S. Miller  <davem@davemloft.net>
25731
25732         With help from Joseph Myers.
25733         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25734         cutoff to 2**-13.
25735         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25736         cutoff to 2**-25.
25737         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25738         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25739         small.
25740         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25741         * math/libm-test.inc (y0_test): New tests.
25742         (y1_test): New tests.
25743         * sysdeps/i386/fpu/libm-test-ulps: Update.
25744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25746
25747 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25748
25749         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25750         64-bit targets.
25751         * configure: Regenerated.
25752
25753 2012-11-17  David S. Miller  <davem@davemloft.net>
25754
25755         [BZ #14811]
25756         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25757         nonzero exponents with absolute value below 0x1p-128 to +/-
25758         0x1p-128.
25759
25760 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25761
25762         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25763
25764         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25765
25766         * posix/getconf-speclist.c: New file.
25767         * posix/posix-envs.def: Likewise.
25768         * posix/confstr.c (START_ENV_GROUP): New macro.
25769         (END_ENV_GROUP): Likewise.
25770         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25771         (KNOWN_PRESENT_ENV_STRING): Likewise.
25772         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25773         (UNKNOWN_ENVIRONMENT): Likewise.
25774         (confstr): Include posix-envs.def instead of handling
25775         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25776         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25777         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25778         (END_ENV_GROUP): Likewise.
25779         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25780         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25781         (UNKNOWN_ENVIRONMENT): Likewise.
25782         (__sysconf): Include posix-envs.def instead of handling associated
25783         cases directly here.
25784         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25785         preprocessing getconf-speclist.c rather than running getconf or
25786         generating empty file.
25787
25788 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25789
25790         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25791
25792 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25793
25794         [BZ #14672]
25795         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25796
25797 2012-11-16  David S. Miller  <davem@davemloft.net>
25798
25799         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25800         smaller than LDBL_EPSILON/2.0L, just return xm1.
25801
25802 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25803
25804         * elf/tst-array1.c (init): Set constructor priority to 1000.
25805         (fini): Set destructor priority to 1000.
25806         * elf/tst-array2dep.c: Likewise.
25807
25808 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25809
25810         [BZ #11741]
25811         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25812         (_IO_new_file_xsputn): Also return EOF if none of the input
25813         data was written when overflow failed.
25814         * libio/iopadn.c (_IO_padn): Likewise.
25815         * libio/iowpadn.c (_IO_wpadn): Likewise.
25816         * stdio-common/tst-put-error.c: Add copyright notice.
25817         (do_test): Add case for printing padded string.
25818         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25819         _IO_padn returned error.
25820         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25821         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25822         return EOF.
25823
25824 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25825
25826         * libio/libioP.h: Add comment note that the references to C++
25827         bits are now obsolete.
25828
25829 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25830
25831         * math/libm-test.inc (check_complex): Use asprintf.
25832
25833 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25834
25835         * debug/pcprofiledump.c (print_version): Update copyright year.
25836         * malloc/memusagestat.c (print_version): Likewise.
25837
25838 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25839
25840         [BZ #14831]
25841         * elf/Makefile (tests): Add tst-audit8.
25842         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25843         ($(objpfx)tst-audit8.out): New target.
25844         (tst-audit8-ENV): New variable.
25845         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25846         audit if l_reloc_result is NULL.
25847         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25848         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25849         * elf/tst-audit8.c: New file.
25850
25851 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25852
25853         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25854         * misc/Makefile (CFLAGS-select.c): Define.
25855         * posix/Makefile (CFLAGS-pause.c): Define.
25856
25857 2012-11-13  David S. Miller  <davem@davemloft.net>
25858
25859         * crypt/Makefile: Move test targets after toplevel Rules
25860         inclusion.  Grab any necessary sysdep routines when linking.
25861         * crypt/md5.c (md5_process_block): Remove define, we will always
25862         name it __md5_process_block.
25863         (md5_finish_ctx): Update md5_process_block call.
25864         (md5_stream): Likewise.
25865         (md5_process_bytes): Likewise.
25866         (md5_process_block): Rename to __md5_process_block and move to ...
25867         * crypt/md5-block.c: ... here.
25868         * crypt/sha256.c (sha256_process_block): Move to ...
25869         * crypt/sha256-block.c: ... here.
25870         * crypt/sha512.c (sha512_process_block): Move to ...
25871         * crypt/sha512-block.c: ... here.
25872         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25873         path.
25874         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25875         * sysdeps/sparc/sparc64/multiarch/Makefile
25876         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25877         crypt subdir.
25878         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25879         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25880         multiarch changes.
25881         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25882         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25883         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25884         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25885         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25886         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25887         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25888         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25890         file.
25891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25892         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25893         file.
25894         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25895
25896 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25897
25898         * timezone/tzselect.ksh: Update from tzcode git revision
25899         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25900         * timezone/zdump.c: Likewise.
25901         * timezone/zic.c: Likewise.
25902         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25903         in TZVERSION setting, not $(PKGVERSION).
25904         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25905         REPORT_BUGS_TO settings.
25906
25907         [BZ #14838]
25908         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25909         macro.
25910
25911 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25912
25913         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25914         detection to immediately after _FP_ROUND().
25915         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25916         bits are 0.
25917
25918 2012-11-11  David S. Miller  <davem@davemloft.net>
25919
25920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25921         inttypes.h
25922         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25923         __close rather than their public counterparts.
25924
25925 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25926
25927         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25928         file.
25929         [UNIX98] (sem_timedwait): Do not expect.
25930         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25931         [XPG4 || UNIX98] (sockatmark): Do not expect.
25932         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25933         (clock_getcpuclockid): Do not expect.
25934         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25935         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25936         Do not expect.
25937         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25938         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25939         [UNIX98] (vwscanf): Likewise.
25940         [UNIX98] (vswscanf): Likewise.
25941
25942 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25943
25944         * timezone/version.h: Remove file.
25945         * timezone/README: Do not refer to version.h.
25946         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25947         $(objpfx)version.h.
25948         ($(objpfx)zdump.o): Likewise.
25949         ($(objpfx)version.h): New target.
25950
25951         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25952         2012i.
25953         * timezone/README: Don't mention modification to tzselect.ksh.
25954         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25955         work on unmodified tzselect.ksh.  Substitute version numbers in
25956         tzselect.ksh.
25957
25958         * Makefile (format-me): Remove.
25959         (INSTALL): Adjust indentation.  Use commands directly instead of
25960         using $(format-me).
25961
25962         * aclocal.m4 (ACX_PKGVERSION): New macro.
25963         (ACX_BUGURL): Likewise.
25964         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25965         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25966         (REPORT_BUGS_TO): Likewise.
25967         * configure: Regenerated.
25968         * config.h.in (PKGVERSION): New macro.
25969         (REPORT_BUGS_TO): Likewise.
25970         * config.make.in (PKGVERSION): New variable.
25971         (PKGVERSION_TEXI): Likewise.
25972         (REPORT_BUGS_TO): Likewise.
25973         (REPORT_BUGS_TEXI): Likewise.
25974         * Makefile (format-me): Use -I$(common-objpfx)manual.
25975         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25976         ($(common-objpfx)manual/%): New target.
25977         (manual/%): Remove target.
25978         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25979         (print_version): Use PKGVERSION.
25980         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25981         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25982         and REPORT_BUGS_TO.
25983         ($(objpfx)xtrace): Likewise.
25984         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25985         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25986         (print_version): Use PKGVERSION.
25987         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25988         (do_version): Use PKGVERSION.
25989         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25990         REPORT_BUGS_TO.
25991         (common-ldd-rewrite): Likewise.
25992         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25993         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25994         (print_version): Use PKGVERSION.
25995         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25996         * elf/pldd.c (argp_program_bug_address): Remove variable.
25997         (more_help): New function.
25998         (argp): Use more_help.
25999         (print_version): Use PKGVERSION.
26000         * elf/sln.c (main): Use PKGVERSION.
26001         (usage): Use REPORT_BUGS_TO.
26002         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26003         (top level): Use PKGVERSION.
26004         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26005         (print_version): Use PKGVERSION.
26006         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26007         (print_version): Use PKGVERSION.
26008         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26009         (print_version): Use PKGVERSION.
26010         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26011         (print_version): Use PKGVERSION.
26012         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26013         (print_version): Use PKGVERSION.
26014         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26015         (print_version): Use PKGVERSION.
26016         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26017         and BUGURL.
26018         ($(objpfx)memusage): Likewise.
26019         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26020         (do_version): Use PKGVERSION.
26021         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26022         (print_version): Use PKGVERSION.
26023         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26024         ($PKGVERSION): New variable.
26025         ($REPORT_BUGS_TO): Likewise.
26026         (usage): Use $REPORT_BUGS_TO.
26027         (top level): Use $PKGVERSION.
26028         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26029         ($(objpfx)pkgvers.texi): New rule.
26030         ($(objpfx)stamp-pkgvers): Likewise.
26031         * manual/install.texi: Include pkgvers.texi.
26032         (--with-pkgversion): Document new configure option.
26033         (--with-bugurl): Likewise.
26034         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26035         than necessarily for this particular distribution.  Use
26036         REPORT_BUGS_TO for where to report bugs.
26037         * INSTALL: Regenerated.
26038         * manual/libc.texinfo: Include pkgvers.texi.
26039         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26040         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26041         (print_version): Use PKGVERSION.
26042         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26043         (print_version): Use PKGVERSION.
26044         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26045         (print_version): Use PKGVERSION.
26046         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26047         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26048         macro.
26049         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26050         (print_version): Use PKGVERSION.
26051         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26052         (print_version): Use PKGVERSION.
26053         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26054         and PKGVERSION.
26055
26056         * timezone/checktab.awk: Update from tzcode 2012i.
26057         * timezone/ialloc.c: Likewise.
26058         * timezone/private.h: Likewise.
26059         * timezone/scheck.c: Likewise.
26060         * timezone/tzfile.h: Likewise.
26061         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26062         (TZVERSION): Hardcode tzcode version number.
26063         * timezone/zdump.c: Update from tzcode 2012i.
26064         * timezone/zic.c: Likewise.
26065         * timezone/version.h: New file.
26066         * timezone/README: Describe version.h.  Update upstream location.
26067
26068         [BZ #14824]
26069         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26070         (mktemp): Enable declaration.
26071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26072         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26074         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26075         Likewise.
26076         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26077         Likewise.
26078         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26079         Likewise.
26080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26081         Likewise.
26082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26083         Likewise.
26084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26085         Likewise.
26086
26087         [BZ #14821]
26088         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26089         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26090         for copies of such integer values.
26091         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26092         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26093
26094 2012-11-09  Andreas Jaeger  <aj@suse.de>
26095
26096         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26097         definitions and declarations that are provided by
26098         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26099
26100 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26101
26102         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26103         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26104         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26105         definition.
26106
26107 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26108
26109         * elf/elf.h: Update comment before AArch64 relocations.
26110
26111 2012-11-07  David S. Miller  <davem@davemloft.net>
26112
26113         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26114         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26115         (__start_context): Declare.
26116         (__makecontext_ret): Delete.
26117         (__makecontext): Hook up __start_context instead of
26118         __makecontext_ret.
26119         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26120         (sysdep_routines): Add __start_context when in stdlib.
26121
26122 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26123
26124         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26125         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26126         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26127         hardcoded "nm".
26128         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26129         (READELF): New variable.  Use it instead of hardcoded "readelf".
26130
26131 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26132
26133         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26134         * sysdeps/x86/Makefile: Here.
26135         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26136         * sysdeps/x86/tst-xmmymm.sh: This.
26137
26138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26139
26140         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26141         expectations.
26142         [UNIX98] (pthread_barrier_t): Do not expect.
26143         [UNIX98] (pthread_barrierattr_t): Likewise.
26144         [UNIX98] (pthread_spinlock_t): Likewise.
26145         [UNIX98] (pthread_barrier_destroy): Likewise.
26146         [UNIX98] (pthread_barrier_init): Likewise.
26147         [UNIX98] (pthread_barrier_wait): Likewise.
26148         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26149         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26150         [UNIX98] (pthread_barrierattr_init): Likewise.
26151         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26152         [UNIX98] (pthread_getcpuclockid): Likewise.
26153         [UNIX98] (pthread_mutex_timedlock): Likewise.
26154         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26155         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26156         [UNIX98] (pthread_sigmask): Likewise.
26157         [UNIX98] (pthread_spin_destroy): Likewise.
26158         [UNIX98] (pthread_spin_init): Likewise.
26159         [UNIX98] (pthread_spin_lock): Likewise.
26160         [UNIX98] (pthread_spin_trylock): Likewise.
26161         [UNIX98] (pthread_spin_unlock): Likewise.
26162         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26163         Do not expect.
26164         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26166         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26167         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26168         [XPG3 || XPG4] (pthread_key_t): Likewise.
26169         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26170         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26171         [XPG3 || XPG4] (pthread_once_t): Likewise.
26172         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26173         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26175         [XPG3 || XPG4] (pthread_t): Likewise.
26176
26177         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26178         not expect.
26179         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26180
26181         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26182         Change function return type to int.
26183
26184         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26185         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26186         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26187         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26188         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26189         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26190         [!POSIX] (posix_madvise): Likewise.
26191         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26192         && !UNIX98].
26193         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26194         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26195         (mode_t): Likewise.
26196         (posix_mem_offset): Likewise.
26197         (posix_typed_mem_get_info): Likewise.
26198         (posix_typed_mem_open): Likewise.
26199
26200         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26201         Change condition to [XOPEN2K8].
26202
26203         * conform/conformtest.pl: Preprocess allow-header data with -x c
26204         instead of from stdin.
26205         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26206         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26207         [C99-based standards] (cerfc): Likewise.
26208         [C99-based standards] (cexp2): Likewise.
26209         [C99-based standards] (cexpm1): Likewise.
26210         [C99-based standards] (clog10): Likewise.
26211         [C99-based standards] (clog1p): Likewise.
26212         [C99-based standards] (clog2): Likewise.
26213         [C99-based standards] (clgamma): Likewise.
26214         [C99-based standards] (ctgamma): Likewise.
26215         [C99-based standards] (cerff): Likewise.
26216         [C99-based standards] (cerfcf): Likewise.
26217         [C99-based standards] (cexp2f): Likewise.
26218         [C99-based standards] (cexpm1f): Likewise.
26219         [C99-based standards] (clog10f): Likewise.
26220         [C99-based standards] (clog1pf): Likewise.
26221         [C99-based standards] (clog2f): Likewise.
26222         [C99-based standards] (clgammaf): Likewise.
26223         [C99-based standards] (ctgammaf): Likewise.
26224         [C99-based standards] (cerfl): Likewise.
26225         [C99-based standards] (cerfcl): Likewise.
26226         [C99-based standards] (cexp2l): Likewise.
26227         [C99-based standards] (cexpm1l): Likewise.
26228         [C99-based standards] (clog10l): Likewise.
26229         [C99-based standards] (clog1pl): Likewise.
26230         [C99-based standards] (clog2l): Likewise.
26231         [C99-based standards] (clgammal): Likewise.
26232         [C99-based standards] (ctgammal): Likewise.
26233         * conform/data/inttypes.h-data [C99-based standards]: Include
26234         stdint.h-data.  Remove all expectations for stdint.h contents.
26235         [C99-based standards] (PRI*): Do not allow.
26236         [C99-based standards] (SCN*): Likewise.
26237         [C99-based standards] (*_t): Likewise.
26238         [C99-based-standards] (PRId8): Expect macro.
26239         [C99-based-standards] (PRIi8): Likewise.
26240         [C99-based-standards] (PRIo8): Likewise.
26241         [C99-based-standards] (PRIu8): Likewise.
26242         [C99-based-standards] (PRIx8): Likewise.
26243         [C99-based-standards] (PRIX8): Likewise.
26244         [C99-based-standards] (SCNd8): Likewise.
26245         [C99-based-standards] (SCNi8): Likewise.
26246         [C99-based-standards] (SCNo8): Likewise.
26247         [C99-based-standards] (SCNu8): Likewise.
26248         [C99-based-standards] (SCNx8): Likewise.
26249         [C99-based-standards] (PRIdLEAST8): Likewise.
26250         [C99-based-standards] (PRIiLEAST8): Likewise.
26251         [C99-based-standards] (PRIoLEAST8): Likewise.
26252         [C99-based-standards] (PRIuLEAST8): Likewise.
26253         [C99-based-standards] (PRIxLEAST8): Likewise.
26254         [C99-based-standards] (PRIXLEAST8): Likewise.
26255         [C99-based-standards] (SCNdLEAST8): Likewise.
26256         [C99-based-standards] (SCNiLEAST8): Likewise.
26257         [C99-based-standards] (SCNoLEAST8): Likewise.
26258         [C99-based-standards] (SCNuLEAST8): Likewise.
26259         [C99-based-standards] (SCNxLEAST8): Likewise.
26260         [C99-based-standards] (PRIdFAST8): Likewise.
26261         [C99-based-standards] (PRIiFAST8): Likewise.
26262         [C99-based-standards] (PRIoFAST8): Likewise.
26263         [C99-based-standards] (PRIuFAST8): Likewise.
26264         [C99-based-standards] (PRIxFAST8): Likewise.
26265         [C99-based-standards] (PRIXFAST8): Likewise.
26266         [C99-based-standards] (SCNdFAST8): Likewise.
26267         [C99-based-standards] (SCNiFAST8): Likewise.
26268         [C99-based-standards] (SCNoFAST8): Likewise.
26269         [C99-based-standards] (SCNuFAST8): Likewise.
26270         [C99-based-standards] (SCNxFAST8): Likewise.
26271         [C99-based-standards] (PRId16): Likewise.
26272         [C99-based-standards] (PRIi16): Likewise.
26273         [C99-based-standards] (PRIo16): Likewise.
26274         [C99-based-standards] (PRIu16): Likewise.
26275         [C99-based-standards] (PRIx16): Likewise.
26276         [C99-based-standards] (PRIX16): Likewise.
26277         [C99-based-standards] (SCNd16): Likewise.
26278         [C99-based-standards] (SCNi16): Likewise.
26279         [C99-based-standards] (SCNo16): Likewise.
26280         [C99-based-standards] (SCNu16): Likewise.
26281         [C99-based-standards] (SCNx16): Likewise.
26282         [C99-based-standards] (PRIdLEAST16): Likewise.
26283         [C99-based-standards] (PRIiLEAST16): Likewise.
26284         [C99-based-standards] (PRIoLEAST16): Likewise.
26285         [C99-based-standards] (PRIuLEAST16): Likewise.
26286         [C99-based-standards] (PRIxLEAST16): Likewise.
26287         [C99-based-standards] (PRIXLEAST16): Likewise.
26288         [C99-based-standards] (SCNdLEAST16): Likewise.
26289         [C99-based-standards] (SCNiLEAST16): Likewise.
26290         [C99-based-standards] (SCNoLEAST16): Likewise.
26291         [C99-based-standards] (SCNuLEAST16): Likewise.
26292         [C99-based-standards] (SCNxLEAST16): Likewise.
26293         [C99-based-standards] (PRIdFAST16): Likewise.
26294         [C99-based-standards] (PRIiFAST16): Likewise.
26295         [C99-based-standards] (PRIoFAST16): Likewise.
26296         [C99-based-standards] (PRIuFAST16): Likewise.
26297         [C99-based-standards] (PRIxFAST16): Likewise.
26298         [C99-based-standards] (PRIXFAST16): Likewise.
26299         [C99-based-standards] (SCNdFAST16): Likewise.
26300         [C99-based-standards] (SCNiFAST16): Likewise.
26301         [C99-based-standards] (SCNoFAST16): Likewise.
26302         [C99-based-standards] (SCNuFAST16): Likewise.
26303         [C99-based-standards] (SCNxFAST16): Likewise.
26304         [C99-based-standards] (PRId32): Likewise.
26305         [C99-based-standards] (PRIi32): Likewise.
26306         [C99-based-standards] (PRIo32): Likewise.
26307         [C99-based-standards] (PRIu32): Likewise.
26308         [C99-based-standards] (PRIx32): Likewise.
26309         [C99-based-standards] (PRIX32): Likewise.
26310         [C99-based-standards] (SCNd32): Likewise.
26311         [C99-based-standards] (SCNi32): Likewise.
26312         [C99-based-standards] (SCNo32): Likewise.
26313         [C99-based-standards] (SCNu32): Likewise.
26314         [C99-based-standards] (SCNx32): Likewise.
26315         [C99-based-standards] (PRIdLEAST32): Likewise.
26316         [C99-based-standards] (PRIiLEAST32): Likewise.
26317         [C99-based-standards] (PRIoLEAST32): Likewise.
26318         [C99-based-standards] (PRIuLEAST32): Likewise.
26319         [C99-based-standards] (PRIxLEAST32): Likewise.
26320         [C99-based-standards] (PRIXLEAST32): Likewise.
26321         [C99-based-standards] (SCNdLEAST32): Likewise.
26322         [C99-based-standards] (SCNiLEAST32): Likewise.
26323         [C99-based-standards] (SCNoLEAST32): Likewise.
26324         [C99-based-standards] (SCNuLEAST32): Likewise.
26325         [C99-based-standards] (SCNxLEAST32): Likewise.
26326         [C99-based-standards] (PRIdFAST32): Likewise.
26327         [C99-based-standards] (PRIiFAST32): Likewise.
26328         [C99-based-standards] (PRIoFAST32): Likewise.
26329         [C99-based-standards] (PRIuFAST32): Likewise.
26330         [C99-based-standards] (PRIxFAST32): Likewise.
26331         [C99-based-standards] (PRIXFAST32): Likewise.
26332         [C99-based-standards] (SCNdFAST32): Likewise.
26333         [C99-based-standards] (SCNiFAST32): Likewise.
26334         [C99-based-standards] (SCNoFAST32): Likewise.
26335         [C99-based-standards] (SCNuFAST32): Likewise.
26336         [C99-based-standards] (SCNxFAST32): Likewise.
26337         [C99-based-standards] (PRId64): Likewise.
26338         [C99-based-standards] (PRIi64): Likewise.
26339         [C99-based-standards] (PRIo64): Likewise.
26340         [C99-based-standards] (PRIu64): Likewise.
26341         [C99-based-standards] (PRIx64): Likewise.
26342         [C99-based-standards] (PRIX64): Likewise.
26343         [C99-based-standards] (SCNd64): Likewise.
26344         [C99-based-standards] (SCNi64): Likewise.
26345         [C99-based-standards] (SCNo64): Likewise.
26346         [C99-based-standards] (SCNu64): Likewise.
26347         [C99-based-standards] (SCNx64): Likewise.
26348         [C99-based-standards] (PRIdLEAST64): Likewise.
26349         [C99-based-standards] (PRIiLEAST64): Likewise.
26350         [C99-based-standards] (PRIoLEAST64): Likewise.
26351         [C99-based-standards] (PRIuLEAST64): Likewise.
26352         [C99-based-standards] (PRIxLEAST64): Likewise.
26353         [C99-based-standards] (PRIXLEAST64): Likewise.
26354         [C99-based-standards] (SCNdLEAST64): Likewise.
26355         [C99-based-standards] (SCNiLEAST64): Likewise.
26356         [C99-based-standards] (SCNoLEAST64): Likewise.
26357         [C99-based-standards] (SCNuLEAST64): Likewise.
26358         [C99-based-standards] (SCNxLEAST64): Likewise.
26359         [C99-based-standards] (PRIdFAST64): Likewise.
26360         [C99-based-standards] (PRIiFAST64): Likewise.
26361         [C99-based-standards] (PRIoFAST64): Likewise.
26362         [C99-based-standards] (PRIuFAST64): Likewise.
26363         [C99-based-standards] (PRIxFAST64): Likewise.
26364         [C99-based-standards] (PRIXFAST64): Likewise.
26365         [C99-based-standards] (SCNdFAST64): Likewise.
26366         [C99-based-standards] (SCNiFAST64): Likewise.
26367         [C99-based-standards] (SCNoFAST64): Likewise.
26368         [C99-based-standards] (SCNuFAST64): Likewise.
26369         [C99-based-standards] (SCNxFAST64): Likewise.
26370         [C99-based-standards] (PRIdMAX): Likewise.
26371         [C99-based-standards] (PRIiMAX): Likewise.
26372         [C99-based-standards] (PRIoMAX): Likewise.
26373         [C99-based-standards] (PRIuMAX): Likewise.
26374         [C99-based-standards] (PRIxMAX): Likewise.
26375         [C99-based-standards] (PRIXMAX): Likewise.
26376         [C99-based-standards] (SCNdMAX): Likewise.
26377         [C99-based-standards] (SCNiMAX): Likewise.
26378         [C99-based-standards] (SCNoMAX): Likewise.
26379         [C99-based-standards] (SCNuMAX): Likewise.
26380         [C99-based-standards] (SCNxMAX): Likewise.
26381         [C99-based-standards] (PRIdPTR): Likewise.
26382         [C99-based-standards] (PRIiPTR): Likewise.
26383         [C99-based-standards] (PRIoPTR): Likewise.
26384         [C99-based-standards] (PRIuPTR): Likewise.
26385         [C99-based-standards] (PRIxPTR): Likewise.
26386         [C99-based-standards] (PRIXPTR): Likewise.
26387         [C99-based-standards] (SCNdPTR): Likewise.
26388         [C99-based-standards] (SCNiPTR): Likewise.
26389         [C99-based-standards] (SCNoPTR): Likewise.
26390         [C99-based-standards] (SCNuPTR): Likewise.
26391         [C99-based-standards] (SCNxPTR): Likewise.
26392         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26393         allow.
26394         * conform/data/stdint.h-data: Update comments to clarify
26395         requirements.
26396         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26397         type.
26398         [C99-based standards] (INT8_MAX): Likewise.
26399         [C99-based standards] (INT16_MIN): Likewise.
26400         [C99-based standards] (INT16_MAX): Likewise.
26401         [C99-based standards] (INT32_MIN): Likewise.
26402         [C99-based standards] (INT32_MAX): Likewise.
26403         [C99-based standards] (INT64_MIN): Likewise.
26404         [C99-based standards] (INT64_MAX): Likewise.
26405         [C99-based standards] (UINT8_MAX): Likewise.
26406         [C99-based standards] (UINT16_MAX): Likewise.
26407         [C99-based standards] (UINT32_MAX): Likewise.
26408         [C99-based standards] (UINT64_MAX): Likewise.
26409         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26410         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26411         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26412         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26413         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26414         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26415         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26416         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26417         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26418         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26419         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26420         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26421         [C99-based standards] (INT_FAST8_MIN): Likewise.
26422         [C99-based standards] (INT_FAST8_MAX): Likewise.
26423         [C99-based standards] (INT_FAST16_MIN): Likewise.
26424         [C99-based standards] (INT_FAST16_MAX): Likewise.
26425         [C99-based standards] (INT_FAST32_MIN): Likewise.
26426         [C99-based standards] (INT_FAST32_MAX): Likewise.
26427         [C99-based standards] (INT_FAST64_MIN): Likewise.
26428         [C99-based standards] (INT_FAST64_MAX): Likewise.
26429         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26430         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26431         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26432         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26433         [C99-based standards] (INTPTR_MIN): Likewise.
26434         [C99-based standards] (INTPTR_MAX): Likewise.
26435         [C99-based standards] (UINTPTR_MAX): Likewise.
26436         [C99-based standards] (INTMAX_MIN): Likewise.
26437         [C99-based standards] (INTMAX_MAX): Likewise.
26438         [C99-based standards] (UINTMAX_MAX): Likewise.
26439         [C99-based standards] (PTRDIFF_MIN): Likewise.
26440         [C99-based standards] (PTRDIFF_MAX): Likewise.
26441         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26442         [C99-based standards] (SIZE_MAX): Likewise.
26443         [C99-based standards] (WCHAR_MAX): Likewise.
26444         [C99-based standards] (WINT_MAX): Likewise.
26445         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26446         constraint on value.
26447         [C99-based standards] (WCHAR_MIN): Likewise.
26448         [C99-based standards] (WINT_MIN): Likewise.
26449         [C99-based standards] (*_t): Allow.
26450         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26451         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26452         Include math.h-data and complex.h-data.  Remove all expectations
26453         of math.h and complex.h contents.
26454         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26455         at end of line.
26456         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26457         (struct tm): Expect tag.
26458         [C99-based-standards] (wcstof): Expect function.
26459         [C99-based-standards] (wcstold): Likewise.
26460         [C99-based-standards] (wcstoll): Likewise.
26461         [C99-based-standards] (wcstoull): Likewise.
26462         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26463         macro-int-constant.  Specify type.
26464         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26465         constraint on value.
26466         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26467         Specify type.
26468         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26469         Specify value.
26470         [ISO C standards]: Do not allow headers.
26471         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26472         wcs[abcdefghijklmnopqrstuvwxyz]*.
26473         [ISO C standards] (*_t): Do not allow.
26474         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26475         Expect function.
26476         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26477         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26478         Specify type.
26479         [ISO C standards]: Do not allow headers.
26480         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26481         is[abcdefghijklmnopqrstuvwxyz]*.
26482         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26483         to[abcdefghijklmnopqrstuvwxyz]*.
26484         [ISO C standards] (*_t): Do not allow.
26485         * conform/data/stdalign.h-data: New file.
26486         * conform/data/stdbool.h-data: Likewise.
26487         * conform/data/stdnoreturn.h-data: Likewise.
26488
26489 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26490
26491         [BZ #14815]
26492         * manual/filesys.texi (Directory Entries): Typo fix.
26493         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26494
26495 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26496
26497         * elf/elf.h (EM_AARCH64): New macro.
26498         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26499         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26500         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26501         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26502         (R_AARCH64_TLSDESC): Likewise.
26503         (NT_ARM_TLS): Likewise.
26504         (NT_ARM_HW_BREAK): Likewise.
26505         (NT_ARM_HW_WATCH): Likewise.
26506
26507 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26508
26509         [BZ #14811]
26510         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26511         (__ieee754_powl): Saturate nonzero exponents with absolute value
26512         below 0x1p-79 to +/- 0x1p-79.
26513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26514         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26515         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26516         nonzero exponents with absolute value below 0x1p-32 to +/-
26517         0x1p-32.
26518         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26519         (__ieee754_powl): Saturate nonzero exponents with absolute value
26520         below 0x1p-79 to +/- 0x1p-79.
26521         * math/libm-test.inc (pow_test): Add more tests.
26522
26523 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26524
26525         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26526         _dl_s390_cap_flags with kernel. Increase string length.
26527         (_dl_s390_platforms): Add z196 and zEC12.
26528
26529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26530
26531         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26532         Change XOPEN21K to XOPEN2K.
26533
26534 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26535
26536         * string/memmove.c: Use memcpy when possible.
26537
26538 2012-11-06  Andreas Jaeger  <aj@suse.de>
26539
26540         * po/eo.po: Update from translation team.
26541
26542 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26543
26544         [BZ #14793]
26545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26546         exponent and small x and y exponents, scale x or y up.  Increase
26547         by 2 the exponent used in scaling up.
26548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26550         * math/libm-test.inc (fma_test): Add more tests.
26551         (fma_test_towardzero): Likewise.
26552         (fma_test_downward): Likewise.
26553         (fma_test_upward): Likewise.
26554
26555 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26556
26557         [BZ #14805]
26558         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26559         fenv_t *.
26560
26561         [BZ #14801]
26562         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26563         namespace for names of struct fields.
26564         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26565         fenv_t fields.
26566         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26567         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26568
26569 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26570
26571         [BZ #3665]
26572         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26573
26574 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26575
26576         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26577         PTR_DEMANGLE.
26578
26579         [BZ #5246]
26580         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26581         PTR_DEMANGLE.
26582
26583 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26584
26585         [BZ #14797]
26586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26587         definitely overflow as x * y not x * y + z.
26588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26590         * math/libm-test.inc (fma_test): Add more tests.
26591         (fma_test_towardzero): Likewise.
26592         (fma_test_downward): Likewise.
26593         (fma_test_upward): Likewise.
26594
26595 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26596
26597         [BZ #157]
26598
26599         * include/stub-tag.h: Remove file.
26600         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26601         '#include' of it.
26602         * manual/maint.texi (Porting): Don't reference it.
26603         * Makerules ($(objpfx)stubs): Likewise.
26604         * dirent/closedir.c: Don't include <stub-tag.h>.
26605         * dirent/dirfd.c: Likewise.
26606         * dirent/fdopendir.c: Likewise.
26607         * dirent/getdents.c: Likewise.
26608         * dirent/getdents64.c: Likewise.
26609         * dirent/opendir.c: Likewise.
26610         * dirent/readdir.c: Likewise.
26611         * dirent/readdir64.c: Likewise.
26612         * dirent/readdir64_r.c: Likewise.
26613         * dirent/readdir_r.c: Likewise.
26614         * dirent/rewinddir.c: Likewise.
26615         * dirent/seekdir.c: Likewise.
26616         * dirent/telldir.c: Likewise.
26617         * gmon/profil.c: Likewise.
26618         * grp/setgroups.c: Likewise.
26619         * inet/if_index.c: Likewise.
26620         * io/access.c: Likewise.
26621         * io/chdir.c: Likewise.
26622         * io/chmod.c: Likewise.
26623         * io/chown.c: Likewise.
26624         * io/close.c: Likewise.
26625         * io/dup.c: Likewise.
26626         * io/dup2.c: Likewise.
26627         * io/dup3.c: Likewise.
26628         * io/euidaccess.c: Likewise.
26629         * io/faccessat.c: Likewise.
26630         * io/fchdir.c: Likewise.
26631         * io/fchmod.c: Likewise.
26632         * io/fchmodat.c: Likewise.
26633         * io/fchown.c: Likewise.
26634         * io/fchownat.c: Likewise.
26635         * io/fcntl.c: Likewise.
26636         * io/flock.c: Likewise.
26637         * io/fstatfs.c: Likewise.
26638         * io/fstatfs64.c: Likewise.
26639         * io/fstatvfs.c: Likewise.
26640         * io/fstatvfs64.c: Likewise.
26641         * io/futimens.c: Likewise.
26642         * io/fxstat.c: Likewise.
26643         * io/fxstat64.c: Likewise.
26644         * io/fxstatat.c: Likewise.
26645         * io/fxstatat64.c: Likewise.
26646         * io/getcwd.c: Likewise.
26647         * io/isatty.c: Likewise.
26648         * io/lchmod.c: Likewise.
26649         * io/lchown.c: Likewise.
26650         * io/link.c: Likewise.
26651         * io/linkat.c: Likewise.
26652         * io/lseek.c: Likewise.
26653         * io/lseek64.c: Likewise.
26654         * io/lxstat64.c: Likewise.
26655         * io/mkdir.c: Likewise.
26656         * io/mkdirat.c: Likewise.
26657         * io/mkfifo.c: Likewise.
26658         * io/mkfifoat.c: Likewise.
26659         * io/open.c: Likewise.
26660         * io/open64.c: Likewise.
26661         * io/openat.c: Likewise.
26662         * io/openat64.c: Likewise.
26663         * io/pipe.c: Likewise.
26664         * io/pipe2.c: Likewise.
26665         * io/poll.c: Likewise.
26666         * io/posix_fadvise.c: Likewise.
26667         * io/posix_fadvise64.c: Likewise.
26668         * io/posix_fallocate.c: Likewise.
26669         * io/posix_fallocate64.c: Likewise.
26670         * io/read.c: Likewise.
26671         * io/readlink.c: Likewise.
26672         * io/readlinkat.c: Likewise.
26673         * io/rmdir.c: Likewise.
26674         * io/sendfile.c: Likewise.
26675         * io/sendfile64.c: Likewise.
26676         * io/statfs.c: Likewise.
26677         * io/statfs64.c: Likewise.
26678         * io/statvfs.c: Likewise.
26679         * io/statvfs64.c: Likewise.
26680         * io/symlink.c: Likewise.
26681         * io/symlinkat.c: Likewise.
26682         * io/ttyname.c: Likewise.
26683         * io/ttyname_r.c: Likewise.
26684         * io/umask.c: Likewise.
26685         * io/unlink.c: Likewise.
26686         * io/unlinkat.c: Likewise.
26687         * io/utime.c: Likewise.
26688         * io/utimensat.c: Likewise.
26689         * io/write.c: Likewise.
26690         * io/xmknod.c: Likewise.
26691         * io/xmknodat.c: Likewise.
26692         * io/xstat.c: Likewise.
26693         * io/xstat64.c: Likewise.
26694         * login/getpt.c: Likewise.
26695         * login/grantpt.c: Likewise.
26696         * login/unlockpt.c: Likewise.
26697         * math/e_acoshl.c: Likewise.
26698         * math/e_acosl.c: Likewise.
26699         * math/e_asinl.c: Likewise.
26700         * math/e_atan2l.c: Likewise.
26701         * math/e_atanhl.c: Likewise.
26702         * math/e_coshl.c: Likewise.
26703         * math/e_expl.c: Likewise.
26704         * math/e_fmodl.c: Likewise.
26705         * math/e_gammal_r.c: Likewise.
26706         * math/e_hypotl.c: Likewise.
26707         * math/e_j0l.c: Likewise.
26708         * math/e_j1l.c: Likewise.
26709         * math/e_jnl.c: Likewise.
26710         * math/e_lgammal_r.c: Likewise.
26711         * math/e_log10l.c: Likewise.
26712         * math/e_log2l.c: Likewise.
26713         * math/e_logl.c: Likewise.
26714         * math/e_powl.c: Likewise.
26715         * math/e_rem_pio2l.c: Likewise.
26716         * math/e_sinhl.c: Likewise.
26717         * math/e_sqrtl.c: Likewise.
26718         * math/fclrexcpt.c: Likewise.
26719         * math/fedisblxcpt.c: Likewise.
26720         * math/feenablxcpt.c: Likewise.
26721         * math/fegetenv.c: Likewise.
26722         * math/fegetexcept.c: Likewise.
26723         * math/fegetround.c: Likewise.
26724         * math/feholdexcpt.c: Likewise.
26725         * math/fesetenv.c: Likewise.
26726         * math/fesetround.c: Likewise.
26727         * math/feupdateenv.c: Likewise.
26728         * math/fgetexcptflg.c: Likewise.
26729         * math/fraiseexcpt.c: Likewise.
26730         * math/fsetexcptflg.c: Likewise.
26731         * math/ftestexcept.c: Likewise.
26732         * math/k_cosl.c: Likewise.
26733         * math/k_rem_pio2l.c: Likewise.
26734         * math/k_sinl.c: Likewise.
26735         * math/k_tanl.c: Likewise.
26736         * math/s_asinhl.c: Likewise.
26737         * math/s_atanl.c: Likewise.
26738         * math/s_cbrtl.c: Likewise.
26739         * math/s_erfl.c: Likewise.
26740         * math/s_expm1l.c: Likewise.
26741         * math/s_log1pl.c: Likewise.
26742         * math/s_tanhl.c: Likewise.
26743         * misc/acct.c: Likewise.
26744         * misc/brk.c: Likewise.
26745         * misc/chflags.c: Likewise.
26746         * misc/chroot.c: Likewise.
26747         * misc/fchflags.c: Likewise.
26748         * misc/fgetxattr.c: Likewise.
26749         * misc/flistxattr.c: Likewise.
26750         * misc/fremovexattr.c: Likewise.
26751         * misc/fsetxattr.c: Likewise.
26752         * misc/fsync.c: Likewise.
26753         * misc/ftruncate.c: Likewise.
26754         * misc/futimes.c: Likewise.
26755         * misc/futimesat.c: Likewise.
26756         * misc/getdomain.c: Likewise.
26757         * misc/getdtsz.c: Likewise.
26758         * misc/gethostid.c: Likewise.
26759         * misc/gethostname.c: Likewise.
26760         * misc/getloadavg.c: Likewise.
26761         * misc/getpagesize.c: Likewise.
26762         * misc/getsysstats.c: Likewise.
26763         * misc/getxattr.c: Likewise.
26764         * misc/gtty.c: Likewise.
26765         * misc/ioctl.c: Likewise.
26766         * misc/lgetxattr.c: Likewise.
26767         * misc/listxattr.c: Likewise.
26768         * misc/llistxattr.c: Likewise.
26769         * misc/lremovexattr.c: Likewise.
26770         * misc/lsetxattr.c: Likewise.
26771         * misc/lutimes.c: Likewise.
26772         * misc/madvise.c: Likewise.
26773         * misc/mincore.c: Likewise.
26774         * misc/mlock.c: Likewise.
26775         * misc/mlockall.c: Likewise.
26776         * misc/mmap.c: Likewise.
26777         * misc/mprotect.c: Likewise.
26778         * misc/msync.c: Likewise.
26779         * misc/munlock.c: Likewise.
26780         * misc/munlockall.c: Likewise.
26781         * misc/munmap.c: Likewise.
26782         * misc/preadv.c: Likewise.
26783         * misc/preadv64.c: Likewise.
26784         * misc/ptrace.c: Likewise.
26785         * misc/pwritev.c: Likewise.
26786         * misc/pwritev64.c: Likewise.
26787         * misc/readv.c: Likewise.
26788         * misc/reboot.c: Likewise.
26789         * misc/remap_file_pages.c: Likewise.
26790         * misc/removexattr.c: Likewise.
26791         * misc/revoke.c: Likewise.
26792         * misc/select.c: Likewise.
26793         * misc/setdomain.c: Likewise.
26794         * misc/setegid.c: Likewise.
26795         * misc/seteuid.c: Likewise.
26796         * misc/sethostid.c: Likewise.
26797         * misc/sethostname.c: Likewise.
26798         * misc/setregid.c: Likewise.
26799         * misc/setreuid.c: Likewise.
26800         * misc/setxattr.c: Likewise.
26801         * misc/sstk.c: Likewise.
26802         * misc/stty.c: Likewise.
26803         * misc/swapoff.c: Likewise.
26804         * misc/swapon.c: Likewise.
26805         * misc/sync.c: Likewise.
26806         * misc/syncfs.c: Likewise.
26807         * misc/syscall.c: Likewise.
26808         * misc/truncate.c: Likewise.
26809         * misc/ualarm.c: Likewise.
26810         * misc/usleep.c: Likewise.
26811         * misc/ustat.c: Likewise.
26812         * misc/utimes.c: Likewise.
26813         * misc/vhangup.c: Likewise.
26814         * misc/writev.c: Likewise.
26815         * posix/_exit.c: Likewise.
26816         * posix/alarm.c: Likewise.
26817         * posix/execve.c: Likewise.
26818         * posix/fexecve.c: Likewise.
26819         * posix/fork.c: Likewise.
26820         * posix/fpathconf.c: Likewise.
26821         * posix/getaddrinfo.c: Likewise.
26822         * posix/getegid.c: Likewise.
26823         * posix/geteuid.c: Likewise.
26824         * posix/getgid.c: Likewise.
26825         * posix/getgroups.c: Likewise.
26826         * posix/getlogin.c: Likewise.
26827         * posix/getlogin_r.c: Likewise.
26828         * posix/getpgid.c: Likewise.
26829         * posix/getpid.c: Likewise.
26830         * posix/getppid.c: Likewise.
26831         * posix/getresgid.c: Likewise.
26832         * posix/getresuid.c: Likewise.
26833         * posix/getsid.c: Likewise.
26834         * posix/getuid.c: Likewise.
26835         * posix/glob64.c: Likewise.
26836         * posix/nanosleep.c: Likewise.
26837         * posix/pathconf.c: Likewise.
26838         * posix/pause.c: Likewise.
26839         * posix/posix_madvise.c: Likewise.
26840         * posix/pread.c: Likewise.
26841         * posix/pread64.c: Likewise.
26842         * posix/pwrite.c: Likewise.
26843         * posix/pwrite64.c: Likewise.
26844         * posix/sched_getaffinity.c: Likewise.
26845         * posix/sched_getp.c: Likewise.
26846         * posix/sched_gets.c: Likewise.
26847         * posix/sched_primax.c: Likewise.
26848         * posix/sched_primin.c: Likewise.
26849         * posix/sched_rr_gi.c: Likewise.
26850         * posix/sched_setaffinity.c: Likewise.
26851         * posix/sched_setp.c: Likewise.
26852         * posix/sched_sets.c: Likewise.
26853         * posix/sched_yield.c: Likewise.
26854         * posix/setgid.c: Likewise.
26855         * posix/setlogin.c: Likewise.
26856         * posix/setpgid.c: Likewise.
26857         * posix/setresgid.c: Likewise.
26858         * posix/setresuid.c: Likewise.
26859         * posix/setsid.c: Likewise.
26860         * posix/setuid.c: Likewise.
26861         * posix/sleep.c: Likewise.
26862         * posix/spawni.c: Likewise.
26863         * posix/sysconf.c: Likewise.
26864         * posix/times.c: Likewise.
26865         * posix/wait.c: Likewise.
26866         * posix/wait3.c: Likewise.
26867         * posix/wait4.c: Likewise.
26868         * posix/waitpid.c: Likewise.
26869         * resolv/gai_sigqueue.c: Likewise.
26870         * resource/getpriority.c: Likewise.
26871         * resource/getrlimit.c: Likewise.
26872         * resource/getrusage.c: Likewise.
26873         * resource/nice.c: Likewise.
26874         * resource/setpriority.c: Likewise.
26875         * resource/setrlimit.c: Likewise.
26876         * resource/ulimit.c: Likewise.
26877         * rt/aio_cancel.c: Likewise.
26878         * rt/aio_fsync.c: Likewise.
26879         * rt/aio_read.c: Likewise.
26880         * rt/aio_sigqueue.c: Likewise.
26881         * rt/aio_suspend.c: Likewise.
26882         * rt/aio_write.c: Likewise.
26883         * rt/clock_getres.c: Likewise.
26884         * rt/clock_gettime.c: Likewise.
26885         * rt/clock_nanosleep.c: Likewise.
26886         * rt/clock_settime.c: Likewise.
26887         * rt/lio_listio.c: Likewise.
26888         * rt/mq_close.c: Likewise.
26889         * rt/mq_getattr.c: Likewise.
26890         * rt/mq_notify.c: Likewise.
26891         * rt/mq_open.c: Likewise.
26892         * rt/mq_receive.c: Likewise.
26893         * rt/mq_send.c: Likewise.
26894         * rt/mq_setattr.c: Likewise.
26895         * rt/mq_timedreceive.c: Likewise.
26896         * rt/mq_timedsend.c: Likewise.
26897         * rt/mq_unlink.c: Likewise.
26898         * rt/shm_open.c: Likewise.
26899         * rt/shm_unlink.c: Likewise.
26900         * rt/timer_create.c: Likewise.
26901         * rt/timer_delete.c: Likewise.
26902         * rt/timer_getoverr.c: Likewise.
26903         * rt/timer_gettime.c: Likewise.
26904         * rt/timer_settime.c: Likewise.
26905         * setjmp/__longjmp.c: Likewise.
26906         * setjmp/setjmp.c: Likewise.
26907         * signal/kill.c: Likewise.
26908         * signal/killpg.c: Likewise.
26909         * signal/raise.c: Likewise.
26910         * signal/sigaction.c: Likewise.
26911         * signal/sigaltstack.c: Likewise.
26912         * signal/sigblock.c: Likewise.
26913         * signal/sigignore.c: Likewise.
26914         * signal/sigintr.c: Likewise.
26915         * signal/signal.c: Likewise.
26916         * signal/sigpause.c: Likewise.
26917         * signal/sigpending.c: Likewise.
26918         * signal/sigqueue.c: Likewise.
26919         * signal/sigreturn.c: Likewise.
26920         * signal/sigset.c: Likewise.
26921         * signal/sigsetmask.c: Likewise.
26922         * signal/sigstack.c: Likewise.
26923         * signal/sigsuspend.c: Likewise.
26924         * signal/sigtimedwait.c: Likewise.
26925         * signal/sigvec.c: Likewise.
26926         * signal/sigwait.c: Likewise.
26927         * signal/sigwaitinfo.c: Likewise.
26928         * signal/sysv_signal.c: Likewise.
26929         * socket/accept.c: Likewise.
26930         * socket/accept4.c: Likewise.
26931         * socket/bind.c: Likewise.
26932         * socket/connect.c: Likewise.
26933         * socket/getpeername.c: Likewise.
26934         * socket/getsockname.c: Likewise.
26935         * socket/getsockopt.c: Likewise.
26936         * socket/isfdtype.c: Likewise.
26937         * socket/listen.c: Likewise.
26938         * socket/recv.c: Likewise.
26939         * socket/recvfrom.c: Likewise.
26940         * socket/recvmsg.c: Likewise.
26941         * socket/send.c: Likewise.
26942         * socket/sendmsg.c: Likewise.
26943         * socket/sendto.c: Likewise.
26944         * socket/setsockopt.c: Likewise.
26945         * socket/shutdown.c: Likewise.
26946         * socket/sockatmark.c: Likewise.
26947         * socket/socket.c: Likewise.
26948         * socket/socketpair.c: Likewise.
26949         * stdio-common/ctermid.c: Likewise.
26950         * stdio-common/cuserid.c: Likewise.
26951         * stdio-common/remove.c: Likewise.
26952         * stdio-common/rename.c: Likewise.
26953         * stdio-common/renameat.c: Likewise.
26954         * stdio-common/tempname.c: Likewise.
26955         * stdlib/getcontext.c: Likewise.
26956         * stdlib/makecontext.c: Likewise.
26957         * stdlib/setcontext.c: Likewise.
26958         * stdlib/swapcontext.c: Likewise.
26959         * stdlib/system.c: Likewise.
26960         * streams/fattach.c: Likewise.
26961         * streams/fdetach.c: Likewise.
26962         * streams/getmsg.c: Likewise.
26963         * streams/getpmsg.c: Likewise.
26964         * streams/putmsg.c: Likewise.
26965         * streams/putpmsg.c: Likewise.
26966         * sysdeps/unix/bsd/getpt.c: Likewise.
26967         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26968         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26969         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26971         Likewise.
26972         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26973         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26974         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26975         * sysvipc/msgctl.c: Likewise.
26976         * sysvipc/msgget.c: Likewise.
26977         * sysvipc/msgrcv.c: Likewise.
26978         * sysvipc/msgsnd.c: Likewise.
26979         * sysvipc/semctl.c: Likewise.
26980         * sysvipc/semget.c: Likewise.
26981         * sysvipc/semop.c: Likewise.
26982         * sysvipc/semtimedop.c: Likewise.
26983         * sysvipc/shmat.c: Likewise.
26984         * sysvipc/shmctl.c: Likewise.
26985         * sysvipc/shmdt.c: Likewise.
26986         * sysvipc/shmget.c: Likewise.
26987         * termios/tcdrain.c: Likewise.
26988         * termios/tcflow.c: Likewise.
26989         * termios/tcflush.c: Likewise.
26990         * termios/tcgetattr.c: Likewise.
26991         * termios/tcgetpgrp.c: Likewise.
26992         * termios/tcsendbrk.c: Likewise.
26993         * termios/tcsetattr.c: Likewise.
26994         * termios/tcsetpgrp.c: Likewise.
26995         * time/adjtime.c: Likewise.
26996         * time/clock.c: Likewise.
26997         * time/getitimer.c: Likewise.
26998         * time/gettimeofday.c: Likewise.
26999         * time/setitimer.c: Likewise.
27000         * time/settimeofday.c: Likewise.
27001         * time/stime.c: Likewise.
27002         * time/time.c: Likewise.
27003
27004 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27005
27006         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27007         /usr/old/bin.
27008
27009         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27010         instead of spaces.
27011         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27012
27013 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27014
27015         [BZ #14796]
27016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27017         FE_TONEAREST before applying Dekker multiplication and Knuth
27018         addition.  Clear inexact exceptions and check for exact zero
27019         results afterwards.
27020         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27021         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27023         * math/libm-test.inc (fma_test): Add more tests.
27024         (fma_test_towardzero): Likewise.
27025         (fma_test_downward): Likewise.
27026         (fma_test_upward): Likewise.
27027         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27028         function.
27029         (libc_fesetround): New macro.
27030         (libc_fesetroundf): Likewise.
27031         (libc_fesetroundl): Likewise.
27032         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27033         function.
27034         (libc_fesetround_387): Likewise.
27035         (libc_fesetroundf): New macro.
27036         (libc_fesetround): Likewise.
27037         (libc_fesetroundl): Likewise.
27038         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27039         function.
27040         (libc_fesetroundf): New macro.
27041         (libc_fesetround): Likewise.
27042         (libc_fesetroundl): Likewise.
27043         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27044         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27045         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27046         libm_hidden_ver.
27047         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27048         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27049         libm_hidden_def.
27050         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27051         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27052         libm_hidden_ver.
27053         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27054         libm_hidden_def.
27055
27056         [BZ #3439]
27057         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27058         integer constant usable in #if and use that to give value to enum
27059         constant.
27060         (FE_DIVBYZERO): Likewise.
27061         (FE_UNDERFLOW): Likewise.
27062         (FE_OVERFLOW): Likewise.
27063         (FE_INVALID): Likewise.
27064         (FE_INVALID_SNAN): Likewise.
27065         (FE_INVALID_ISI): Likewise.
27066         (FE_INVALID_IDI): Likewise.
27067         (FE_INVALID_ZDZ): Likewise.
27068         (FE_INVALID_IMZ): Likewise.
27069         (FE_INVALID_COMPARE): Likewise.
27070         (FE_INVALID_SOFTWARE): Likewise.
27071         (FE_INVALID_SQRT): Likewise.
27072         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27073         (FE_TONEAREST): Likewise.
27074         (FE_TOWARDZERO): Likewise.
27075         (FE_UPWARD): Likewise.
27076         (FE_DOWNWARD): Likewise.
27077         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27078         (FE_DIVBYZERO): Likewise.
27079         (FE_OVERFLOW): Likewise.
27080         (FE_UNDERFLOW): Likewise.
27081         (FE_INEXACT): Likewise.
27082         (FE_TONEAREST): Likewise.
27083         (FE_DOWNWARD): Likewise.
27084         (FE_UPWARD): Likewise.
27085         (FE_TOWARDZERO): Likewise.
27086         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27087         (FE_UNDERFLOW): Likewise.
27088         (FE_OVERFLOW): Likewise.
27089         (FE_DIVBYZERO): Likewise.
27090         (FE_INVALID): Likewise.
27091         (FE_TONEAREST): Likewise.
27092         (FE_TOWARDZERO): Likewise.
27093         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27094         (FE_OVERFLOW): Likewise.
27095         (FE_UNDERFLOW): Likewise.
27096         (FE_DIVBYZERO): Likewise.
27097         (FE_INEXACT): Likewise.
27098         (FE_TONEAREST): Likewise.
27099         (FE_TOWARDZERO): Likewise.
27100         (FE_UPWARD): Likewise.
27101         (FE_DOWNWARD): Likewise.
27102         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27103         (FE_DIVBYZERO): Likewise.
27104         (FE_OVERFLOW): Likewise.
27105         (FE_UNDERFLOW): Likewise.
27106         (FE_INEXACT): Likewise.
27107         (FE_TONEAREST): Likewise.
27108         (FE_DOWNWARD): Likewise.
27109         (FE_UPWARD): Likewise.
27110         (FE_TOWARDZERO): Likewise.
27111
27112 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27113
27114         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27115
27116 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27117
27118         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27119         commands.  Quote $PWD.
27120         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27121         -x" by "export".
27122         (remove_newlines): Remove.
27123
27124 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27125
27126         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27127         * stdlib/stdlib.h (atof): Moved to ...
27128         * include/bits/stdlib-float.h: Here.  New file.
27129         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27130         * stdlib/bits/stdlib-float.h: New file.
27131         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27132         -mno-sse -mno-mmx.
27133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27134         <xmmintrin.h>.
27135
27136 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27137
27138         * conform/conformtest.pl (@headers): Add fenv.h.
27139         * conform/data/fenv.h-data: New file.
27140         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27141         include of <math/fenv.h>.
27142
27143         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27144         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27145         && !UNIX98].  Enables tests for XOPEN2K8.
27146         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27147         POSIX2008]: Likewise.
27148
27149         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27150         (struct rusage): Do not expect type or its members.
27151
27152         [BZ #3439]
27153         * math/math.h (FP_NAN): Define macro to integer constant usable in
27154         #if and use that to give value to enum constant.
27155         (FP_INFINITE): Likewise.
27156         (FP_ZERO): Likewise.
27157         (FP_SUBNORMAL): Likewise.
27158         (FP_NORMAL): Likewise.
27159
27160 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27161
27162         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27163         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27164         arguments.
27165
27166 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27167
27168         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27169         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27170         autoconf-time if not.
27171         * configure.in: Remove AC_PREREQ.
27172
27173 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27174
27175         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27176         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27177         of the internal implementation.
27178
27179 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27180
27181         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27182         except include of <misc/sys/syslog.h>.
27183
27184 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27185
27186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27187         function returns with a NULL context exit with zero.
27188
27189 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27190
27191         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27192
27193 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27194
27195         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27196         (run_program_cmd): This.
27197         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27198         (tst_langinfo): New variable.  Use it.
27199
27200 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27201
27202         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27203         floating point opcodes.
27204
27205 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27206
27207         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27208         variable.
27209
27210         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27211
27212         * sysdeps/mach/hurd/powerpc: Remove directory.
27213         * sysdeps/mach/powerpc: Likewise.
27214
27215 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27216
27217         * scripts/check-local-headers.sh: Ignore c++ headers.
27218
27219 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27220
27221         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27222         __libc_cleanup_region_start argument.
27223
27224 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27225
27226         [BZ #14784]
27227         [BZ #14785]
27228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27229         x * y using scaling, not as x * y + z.
27230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27232         * math/libm-test.inc (fma_test): Add more tests.
27233         (fma_test_towardzero): Likewise.
27234         (fma_test_downward): Likewise.
27235         (fma_test_upward): Likewise.
27236
27237 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27238
27239         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27240
27241 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27242
27243         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27244         New variable.
27245
27246 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27247
27248         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27249
27250 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27251
27252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27253         Fix sort order.
27254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27255         Likewise.
27256
27257 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27258
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27260         Fix the order of the list for glibc 2.17.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27262         Likewise.
27263
27264 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27265
27266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27267
27268 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27269
27270         [BZ #14610]
27271         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27272         for low part of x being zero before using __atanl (y).
27273         * math/libm-test.inc (atan2_test): Add another test.
27274
27275         * manual/install.texi (Configuring and compiling): Document
27276         general use of test-wrapper and test-wrapper-env.
27277         * INSTALL: Regenerated.
27278
27279         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27280         (__fma): Do not extract and scale down low bits on after-rounding
27281         systems when result rounded to normal precision would have normal
27282         exponent.
27283         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27284         (__fmal): Do not extract and scale down low bits on after-rounding
27285         systems when result rounded to normal precision would have normal
27286         exponent.
27287         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27288         (__fmal): Do not extract and scale down low bits on after-rounding
27289         systems when result rounded to normal precision would have normal
27290         exponent.
27291         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27292         macro.
27293         (fma_test): Add more tests.
27294         (fma_test_towardzero): Likewise.
27295         (fma_test_downward): Likewise.
27296         (fma_test_upward): Likewise.
27297
27298 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27299
27300         * sysdeps/i386/tininess.h: Renamed to ...
27301         * sysdeps/x86/tininess.h: This.
27302         * sysdeps/x86_64/tininess.h: Removed.
27303
27304 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27305
27306         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27307         input.  Use $(build-program-cmd).
27308         ($(objpfx)tst-array1-static.out): Likewise.
27309         ($(objpfx)tst-array2.out): Likewise.
27310         ($(objpfx)tst-array3.out): Likewise.
27311         ($(objpfx)tst-array4.out): Likewise.
27312         ($(objpfx)tst-array5.out): Likewise.
27313         ($(objpfx)tst-array5-static.out): Likewise.
27314
27315 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27316
27317         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27318         if defined.
27319
27320         * nss/nsswitch.h (nss_interface_function): Provide new
27321         macro for use with NSS functions.
27322         * grp/initgroups.c: Use new macro.
27323         * nss/getXXbyYY.c: Likewise.
27324         * nss/getXXbyYY_r.c: Likewise.
27325         * nss/getXXent.c: Likewise.
27326         * nss/getXXent_r.c: Likewise.
27327         * sysdeps/posix/getaddrinfo.c: Likewise.
27328
27329 2012-10-30  Andreas Jaeger  <aj@suse.de>
27330
27331         * po/ru.po: Update Russion translation from translation project.
27332
27333 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27334
27335         [BZ #14152]
27336         [BZ #14783]
27337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27338         result and shift together with sticky bit instead of replicating
27339         round-to-nearest rounding.
27340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27342         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27343         missing underflow exceptions.
27344         (fma_test_towardzero): Add more tests.
27345         (fma_test_downward): Likewise.
27346         (fma_test_upward): Likewise.
27347
27348         [BZ #14047]
27349         * sysdeps/generic/tininess.h: New file.
27350         * sysdeps/i386/tininess.h: Likewise.
27351         * sysdeps/sh/tininess.h: Likewise.
27352         * sysdeps/x86_64/tininess.h: Likewise.
27353         * stdlib/tst-strtod-underflow.c: Likewise.
27354         * stdlib/tst-tininess.c: Likewise.
27355         * stdlib/strtod_l.c: Include <tininess.h>.
27356         (round_and_return): Do not set errno for exact underflow cases.
27357         Force an underflow exception when setting errno for underflow.
27358         Determine underflow based on rounding to normal precision if
27359         TININESS_AFTER_ROUNDING.
27360         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27361         ERANGE for exact underflow cases.
27362         * stdlib/Makefile (tests): Add tst-tininess and
27363         tst-strtod-underflow.
27364         ($(objpfx)tst-tininess): Use $(link-libm).
27365         ($(objpfx)tst-strtod-underflow): Likewise.
27366
27367 2012-10-30  Andreas Jaeger  <aj@suse.de>
27368
27369         [BZ#14767]
27370         * elf/Makefile (tests): Remove conditional for have-initfini-array
27371         since this is now always required and the variable does not exist
27372         anymore.
27373         (tests-static): Likewise.
27374         (modules-names): Likewise.
27375
27376         * po/eo.po: Add Esperanto translation from translation project.
27377
27378         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27379         merged with constructor/destructor.
27380         (init_array): Likewise.
27381         * elf/tst-array2dep.c (fini_array): Likewise.
27382         (init_array): Likewise.
27383
27384 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27385
27386         * manual/message.texi: Delete @cartouche tags.
27387
27388 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27389
27390         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27391         EOPNOTSUPP.
27392         * sysdeps/mach/hurd/fsync.c: Likewise.
27393
27394         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27395         [_POSIX_REALTIME_SIGNALS]: Change condition to
27396         [_POSIX_REALTIME_SIGNALS > 0].
27397
27398 2012-10-27  Andreas Jaeger  <aj@suse.de>
27399
27400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27401         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27402         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27403         [__WORDSIZE != 64]: Likewise.
27404
27405 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27406
27407         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27408         *  iconvdata/tst-tables.sh: Likewise.
27409
27410 2012-10-25  David S. Miller  <davem@davemloft.net>
27411
27412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27413         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27414         of strtoull.
27415
27416         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27417         ifunc-impl-list.c
27418         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27419         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27420         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27421         file.
27422
27423 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27424
27425         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27426         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27427         __getdirentries.
27428
27429 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27430             Jim Blandy  <jimb@codesourcery.com>
27431
27432         * scripts/cross-test-ssh.sh: New file.
27433         * manual/install.texi (Configuring and compiling): Document use of
27434         cross-test-ssh.sh.
27435         * INSTALL: Regenerated.
27436
27437 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27438
27439         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27440         EOPNOTSUPP.
27441
27442 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27443
27444         * Makeconfig (run-program-prefix): Fix comment.
27445
27446 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27447             Jim Blandy  <jimb@codesourcery.com>
27448
27449         * Makeconfig (test-wrapper): New variable,
27450         (test-wrapper-env): Likewise.
27451         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27452         (run-built-tests): Define to yes.
27453         (run-program-prefix): Use $(test-wrapper).
27454         (built-program-cmd): Likewise.
27455         * Rules (make-test-out): Use $(test-wrapper-env) and
27456         $(host-built-program-cmd).
27457         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27458         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27459         tst-pathopt.sh.
27460         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27461         $(test-wrapper-env) to tst-rtld-load-self.sh.
27462         ($(objpfx)order2.out): Use $(test-wrapper).
27463         ($(objpfx)tst-initorder.out): Likewise.
27464         ($(objpfx)tst-initorder2.out): Likewise.
27465         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27466         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27467         (test_wrapper_env): New variable.  Use it to run ld.so.
27468         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27469         Use it to run ld.so.
27470         (test_wrapper_env): Likewise.
27471         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27472         $(test-wrapper) to run-iconv-test.sh.
27473         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27474         (ICONV): Use $test_wrapper.
27475         * posix/Makefile ($(objpfx)globtest.out): Pass
27476         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27477         globtest.sh, not $(run-program-prefix).
27478         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27479         (test_wrapper): Likewise.
27480         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27481         set together with run_via_rtld_prefix.
27482         (run_program_prefix): Define in terms of test_wrapper and
27483         run_via_rtld_prefix.
27484
27485 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27486
27487         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27488         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27489         Targets removed.
27490
27491         [BZ #14743]
27492         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27493         Declare __clock_getres, __clock_gettime, __clock_settime,
27494         __clock_nanosleep, and __clock_getcpuclockid.
27495         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27496         Remove librt_hidden_def (clock_gettime).
27497         * sysdeps/unix/clock_gettime.c: Likewise.
27498         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27500         * rt/clock_getres.c: Define __clock_getres as an alias.
27501         * sysdeps/posix/clock_getres.c: Likewise.
27502         * rt/clock_settime.c: Define __clock_settime as an alias.
27503         * sysdeps/unix/clock_settime.c: Likewise.
27504         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27505         * sysdeps/unix/clock_nanosleep.c: Likewise.
27506         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27507         * rt/clock-compat.c: New file.
27508         * rt/Makefile (librt-routines): Add clock-compat and move
27509         $(clock-routines) to ...
27510         (routines): ... here, new variable.
27511         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27512         Don't add get_clockfreq here.
27513         * rt/Versions (libc: GLIBC_2.17): New version set.
27514         Add clock_* symbols here.
27515         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27517         (GLIBC_2.17): Add clock_* symbols.
27518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27522         Likewise.
27523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27524         Likewise.
27525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27529         * NEWS: Mention the move.
27530
27531         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27532         Use __open, __read, __close rather than their public counterparts.
27533         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27534         (__get_clockfreq_via_cpuinfo): Likewise.
27535         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27536         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27537
27538         * config.h.in (HAVE_IFUNC): New #undef.
27539         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27540         was successful.
27541         * configure: Regenerated.
27542
27543 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27544
27545         * configure.in: Move READELF check to start of file.
27546         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27547         libc_cv_asm_gnu_indirect_function in the process.
27548         * configure: Regenerated.
27549
27550 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27551
27552         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27553         send the output to /dev/null.
27554         (libc_cv_cc_with_libunwind): Likewise.
27555         (libc_cv_as_noexecstack): Likewise.
27556         * configure: Regenerate.
27557
27558 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27559
27560         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27561
27562         * posix/globtest.sh (TMPDIR): Do not set.
27563         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27564         (testout): Likewise.
27565
27566 2012-10-24  Andreas Jaeger  <aj@suse.de>
27567
27568         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27569         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27570         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27571         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27572         posix_fadvise64, posix_fallocate64.
27573
27574         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27575         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27576         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27577         Likewise.
27578         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27579         Likewise.
27580         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27581
27582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27583         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27584         <bits/fcntl-linux.h>.
27585         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27586
27587         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27588         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27589         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27590         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27591         [__WORDSIZE != 64]: Likewise.
27592
27593 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27594
27595         * Makeconfig (run-built-tests): New variable.
27596         * Rules [$(cross-compiling) = yes]: Change condition to
27597         [$(run-built-tests) = no].
27598         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27599         to [$(run-built-tests) = yes].
27600         * elf/Makefile [$(cross-compiling) = no]: Likewise
27601         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27602         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27603         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27604         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27605         * io/Makefile [$(cross-compiling) = no]: Likewise.
27606         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27607         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27608         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27609         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27610         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27611         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27612         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27613         * string/Makefile [$(cross-compiling) = no]: Likewise.
27614
27615         * posix/Makefile ($(objpfx)globtest.out): Pass
27616         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27617         $(rtld-installed-name).
27618         * posix/globtest.sh (elf_objpfx): Remove variable.
27619         (rtld_installed_name): Likewise.
27620         (library_path): Likewise.
27621         (run_program_prefix): New variable.  Use for running globtest
27622         binary.
27623
27624 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27625             Joseph Myers  <joseph@codesourcery.com>
27626
27627         * Makeconfig (host-built-program-cmd): New variable.
27628         * elf/Makefile (tst-stackguard1-ARGS): Use
27629         $(host-built-program-cmd).
27630         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27631         (tst-spawn-ARGS): Likewise.
27632         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27633
27634 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27635             Jim Blandy  <jimb@codesourcery.com>
27636
27637         * Makeconfig (run-via-rtld-prefix): New variable.
27638         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27639         (built-program-cmd): Likewise.
27640
27641 2012-10-22  Andreas Jaeger  <aj@suse.de>
27642
27643         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27644         __O_RSYNC if it exists, otherwise to O_SYNC.
27645
27646 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27647             Joseph Myers  <joseph@codesourcery.com>
27648
27649         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27650         /dev/null.
27651         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27652         from /dev/null
27653         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27654         /dev/null.
27655
27656 2012-10-22  Andreas Jaeger  <aj@suse.de>
27657
27658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27659         Define always.
27660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27661
27662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27663         bits/fcntl-linux.h.
27664
27665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27666         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27667
27668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27669         to __O_LARGEFILE.
27670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27671         to __O_LARGEFILE.
27672
27673 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27674             Joseph Myers  <joseph@codesourcery.com>
27675
27676         * config.make.in (NM): New variable.
27677
27678 2012-10-21  Andreas Jaeger  <aj@suse.de>
27679
27680         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27681         definitions and declarations that are provided by
27682         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27683
27684 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27685
27686         [BZ #14683]
27687         * elf/Makefile (tests-static): Add tst-leaks1-static.
27688         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27689         ($(objpfx)tst-leaks1-static): New rule.
27690         ($(objpfx)tst-leaks1-static-mem): Likewise.
27691         (tst-leaks1-static-ENV): New macro.
27692         * elf/dl-open.c (dl_open_worker): Check the main application
27693         only if SHARED is defined.
27694         * elf/tst-leaks1-static.c: New file.
27695
27696 2012-10-20  Andreas Jaeger  <aj@suse.de>
27697
27698         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27699         generic values for Linux.
27700         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27701         and declarations that are provided by <bits/fcntl-linux.h> and
27702         include <bits/fcntl-linux.h>.
27703         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27704         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27705
27706 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27707
27708         * io/fcntl.h: Move include of <bits/types.h> to the top and
27709         include it unconditionally.
27710
27711 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27712
27713         * wcsmbs/Makefile (tests-ifunc): New variable.
27714         (tests): Add $(tests-ifunc).
27715         * wcsmbs/test-wcschr-ifunc.c: New file.
27716         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27717         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27718         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27719         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27720         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27721
27722         * string/Makefile (tests-ifunc): New variable.
27723         (tests): Add $(tests-ifunc).
27724         * string/test-memccpy.c (TEST_NAME): New macro.
27725         * string/test-memchr.c (TEST_NAME): Likewise.
27726         * string/test-memcmp.c (TEST_NAME): Likewise.
27727         * string/test-memcpy.c (TEST_NAME): Likewise.
27728         * string/test-memmem.c (TEST_NAME): Likewise.
27729         * string/test-memmove.c (TEST_NAME): Likewise.
27730         * string/test-memset.c (TEST_NAME): Likewise.
27731         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27732         * string/test-stpcpy.c (TEST_NAME): Likewise.
27733         * string/test-stpncpy.c (TEST_NAME): Likewise.
27734         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27735         * string/test-strcasestr.c (TEST_NAME): Likewise.
27736         * string/test-strcat.c (TEST_NAME): Likewise.
27737         * string/test-strchr.c (TEST_NAME): Likewise.
27738         * string/test-strcmp.c(TEST_NAME): Likewise.
27739         * string/test-strcpy.c (TEST_NAME): Likewise.
27740         * string/test-strcspn.c (TEST_NAME): Likewise.
27741         * string/test-strlen.c (TEST_NAME): Likewise.
27742         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27743         * string/test-strncmp.c (TEST_NAME): Likewise.
27744         * string/test-strncpy.c (TEST_NAME): Likewise.
27745         * string/test-strnlen.c (TEST_NAME): Likewise.
27746         * string/test-strpbrk.c (TEST_NAME): Likewise.
27747         * string/test-strrchr.c (TEST_NAME): Likewise.
27748         * string/test-strspn.c (TEST_NAME): Likewise.
27749         * string/test-strstr.c (TEST_NAME): Likewise.
27750         * string/test-bcopy-ifunc.c: New file.
27751         * string/test-bzero-ifunc.c: Likewise.
27752         * string/test-memccpy-ifunc.c: Likewise.
27753         * string/test-memchr-ifunc.c: Likewise.
27754         * string/test-memcmp-ifunc.c: Likewise.
27755         * string/test-memcpy-ifunc.c: Likewise.
27756         * string/test-memmem-ifunc.c: Likewise.
27757         * string/test-memmove-ifunc.c: Likewise.
27758         * string/test-mempcpy-ifunc.c: Likewise.
27759         * string/test-memset-ifunc.c: Likewise.
27760         * string/test-rawmemchr-ifunc.c: Likewise.
27761         * string/test-stpcpy-ifunc.c: Likewise.
27762         * string/test-stpncpy-ifunc.c: Likewise.
27763         * string/test-strcasecmp-ifunc.c: Likewise.
27764         * string/test-strcasestr-ifunc.c: Likewise.
27765         * string/test-strcat-ifunc.c: Likewise.
27766         * string/test-strchr-ifunc.c: Likewise.
27767         * string/test-strchrnul-ifunc.c: Likewise.
27768         * string/test-strcmp-ifunc.c: Likewise.
27769         * string/test-strcpy-ifunc.c: Likewise.
27770         * string/test-strcspn-ifunc.c: Likewise.
27771         * string/test-strlen-ifunc.c: Likewise.
27772         * string/test-strncasecmp-ifunc.c: Likewise.
27773         * string/test-strncat-ifunc.c: Likewise.
27774         * string/test-strncmp-ifunc.c: Likewise.
27775         * string/test-strncpy-ifunc.c: Likewise.
27776         * string/test-strnlen-ifunc.c: Likewise.
27777         * string/test-strpbrk-ifunc.c: Likewise.
27778         * string/test-strrchr-ifunc.c: Likewise.
27779         * string/test-strspn-ifunc.c: Likewise.
27780         * string/test-strstr-ifunc.c: Likewise.
27781
27782         * debug/Makefile (tests-ifunc): New variable.
27783         (tests): Add $(tests-ifunc).
27784         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27785         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27786         * debug/test-stpcpy_chk-ifunc.c: New file.
27787         * debug/test-strcpy_chk-ifunc.c: Likewise.
27788
27789 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27790
27791         [BZ #13601]
27792         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27793         header is not read in.
27794
27795 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27796
27797         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27798         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27799         directly.  Pass built executable to script as
27800         $(built-program-cmd).
27801         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27802         $testprogram without using LD_LIBRARY_PATH and $ldso.
27803
27804         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27805         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27806         $(rtld-installed-name).
27807         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27808         (rtld_installed_name): Likewise.
27809         (library_path): Likewise.
27810         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27811         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27812         $(run-program-prefix) to tst-tables.sh.
27813         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27814         it to run tst-table-from and tst-table-to.
27815         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27816         Pass it to tst-table.sh.
27817         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27818         $(run-program-prefix) to tst-gettext.sh.
27819         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27820         tst-translit.sh.
27821         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27822         tst-gettext2.sh.
27823         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27824         to run tst-gettext.
27825         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27826         to run tst-gettext2.
27827         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27828         to run tst-translit.
27829         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27830         $(run-program-prefix) to tst-mtrace.sh.
27831         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27832         to run tst-mtrace.
27833         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27834         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27835         $(rtld-installed-name).
27836         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27837         (rtld_installed_name): Likewise.
27838         (run_program_prefix): New variable.  Use it to run wordexp-test.
27839
27840         * Makeconfig (ARCH): Remove all definitions.
27841         (machine): Likewise.
27842         [ARCH]: Remove conditional code.
27843         [!objdir]: Give error.
27844         [!objdir] (objpfx): Remove.
27845         [!objdir] (common-objpfx): Likewise.
27846         [!objdir] (common-objdir): Likewise.
27847         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27848         AC_CONFIG_FILES call.
27849         * configure: Regenerated.
27850
27851         [BZ #13888]
27852         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27853         or TMPDIR.
27854         (testout): Likewise.
27855
27856         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27857         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27858         $(rtld-installed-name).
27859         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27860         (rtld_installed_name): Likwise.
27861         (runit): Remove function.
27862         (run_getconf): New variable,  Use it for running getconf binary.
27863
27864 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27865
27866         [BZ #14716]
27867         * string/test-memmem.c (check_result): New function.
27868         (do_one_test): Use it.
27869         (check1): New function.
27870         (test_main): Use it.
27871
27872 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27873
27874         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27875
27876 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27877
27878         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27879         (_G_LSEEK64): Likewise.
27880         (_G_MMAP64): Likewise.
27881         (_G_FSTAT64): Likewise.
27882         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27883         (_G_LSEEK64): Likewise.
27884         (_G_MMAP64): Likewise.
27885         (_G_FSTAT64): Likewise.
27886         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27887         unconditional.  Call __mmap64 directly.
27888         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27889         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27890         __lseek64 directly.
27891         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27892         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27893         __mmap64 directly.
27894         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27895         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27896         __lseek64 directly.
27897         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27898         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27899         __lseek64 directly.
27900         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27901         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27902         __lseek64 directly.
27903         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27904         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27905         __fxstat64 directly.
27906         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27907         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27908         unconditional.
27909         (freopen64) [!_G_OPEN64]: Remove conditional code.
27910         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27911         unconditional.
27912         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27913         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27914         unconditional.
27915         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27916         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27917         unconditional.
27918         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27919         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27920         unconditional.
27921         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27922         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27923         unconditional.
27924         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27925         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27926         unconditional.
27927         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27928         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27929         unconditional.
27930         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27931
27932 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27933
27934         [BZ #12140]
27935         * manual/memory.texi (Malloc Tunable Parameters): Add note
27936         about free list pointers overwriting some perturb bytes.
27937         Wording suggested by Roland McGrath.
27938
27939 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27940
27941         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27942         (lgamma_test): Likewise.
27943         (tgamma_test): Likewise.
27944
27945 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27946
27947         [BZ #14700]
27948         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27949         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27950
27951 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27952
27953         * NEWS: Mention BZ #14716.
27954         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27955         when removing AVAILABLE1_USES_J macro.
27956
27957 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27958
27959         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27960         (__bswap_64): __uint64_t for unsigned 64-bit int.
27961
27962 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27963
27964         * include/string.h (memmem): Declare libc hidden alias.
27965         * string/memmem.c (memmem): Define libc hidden alias.
27966         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27967         __read, __close instead of open, read, close.
27968
27969 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27970
27971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27972         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27973         global and hidden.
27974         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27975         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27976         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27977         Likewise.
27978         (__rawmemchr_sse2): Likewise.
27979         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27980         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27981         (__strchr_sse2): Likewise.
27982         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27983         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27984         (__strcasecmp_sse2): Likewise.
27985         (__strncasecmp_sse2): Likewise.
27986         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27987         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27988         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27989         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27990         (__strrchr_sse2): Likewise.
27991         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27992         ifunc-impl-list.c.
27993         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27994         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27995         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27996         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27997         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27999         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28000         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28001         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28002         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28003         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28004         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28005         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28006         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28007         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28008         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28009         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28010         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28011         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28012         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28013         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28014         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28015         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28016         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28017         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28018         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28019         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28020         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28021         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28022         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28023
28024         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28025         global and hidden.
28026         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28027         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28028         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28029         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28030         Likewise.
28031         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28032         Likewise.
28033         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28034         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28035         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28036         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28037         ifunc-impl-list.c.
28038         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28039         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28040         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28041         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28042         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28043         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28044         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28045         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28046         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28047         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28048         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28049         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28050         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28051         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28052         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28053         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28054         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28055         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28063         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28064         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28065         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28066         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28067         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28068         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28069         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28070         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28071         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28072         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28073         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28074         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28075         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28076         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28077         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28078         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28079
28080         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28081         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28082         * include/ifunc-impl-list.h: New file.
28083         * misc/ifunc-impl-list.c: Likewise.
28084         * misc/Makefile (routines): Add ifunc-impl-list.
28085         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28086         * string/test-string.h: Include <ifunc-impl-list.h>.
28087         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28088         TEST_NAME]: New variables.
28089         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28090         are defined.
28091         (test_init): Call __libc_ifunc_impl_list to initialize
28092         func_list if TEST_IFUNC and TEST_NAME are defined.
28093
28094         * string/Makefile (strop-tests): Add bcopy and bzero.
28095         * string/test-bcopy.c: New file.
28096         * string/test-bzero.c: Likewise.
28097         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28098         defined.
28099         * string/test-memset.c: Support bzero test if TEST_BZERO is
28100         defined.
28101         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28102         __libc_memmove.
28103         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28104         __libc_memset.
28105         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28106         of memset.
28107
28108 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28109
28110         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28111         * configure: Regenerated.
28112
28113         * Makeconfig (+link-static-before-libc): Don't include
28114         $(link-static-libc).
28115
28116         * libio/libio.h (_IO_pos_t): Remove.
28117
28118 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28119
28120         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28121         McGrath.
28122
28123 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28124
28125         * crypt/crypt-entry.c: Include fips-private.h.
28126         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28127         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28128         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28129         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28130
28131 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28132
28133         * crypt/crypt-private.h: Include stdbool.h.
28134         (_ufc_setup_salt_r): Return bool.
28135         * crypt/crypt-entry.c: Include errno.h.
28136         (__crypt_r): Return NULL with EINVAL for bad salt.
28137         * crypt/crypt_util.c (bad_for_salt): New.
28138         (_ufc_setup_salt_r): Check that salt is long enough and within
28139         the specified alphabet.
28140         * crypt/badsalttest.c: New file.
28141         * crypt/Makefile (tests): Add it.
28142         ($(objpfx)badsalttest): New.
28143
28144 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28145
28146         * NEWS: Add entry for BZ #14602.
28147
28148 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28149
28150         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28151         type-generic.
28152         * math/libm-test.inc: Update comment listing what functions and
28153         macros are tested.
28154         (isgreater_test): New function.
28155         (isgreaterequal_test): Likewise.
28156         (isless_test): Likewise.
28157         (islessequal_test): Likewise.
28158         (islessgreater_test): Likewise.
28159         (isunordered_test): Likewise.
28160         (main): Call the new functions.
28161
28162 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28163
28164         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28165         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28166         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28167         * sysdeps/i386/configure: Regenerated.
28168         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28169         * sysdeps/mach/configure: Regenerated.
28170         * sysdeps/mach/hurd/configure: Regenerated.
28171         * sysdeps/powerpc/configure: Regenerated.
28172         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28173         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28174         * sysdeps/s390/s390-32/configure: Regenerated.
28175         * sysdeps/s390/s390-64/configure: Regenerated.
28176         * sysdeps/sh/configure: Regenerated.
28177         * sysdeps/sparc/configure: Regenerated.
28178         * sysdeps/unix/sysv/linux/configure: Regenerated.
28179         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28180         * sysdeps/x86_64/configure: Regenerated.
28181
28182         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28183         defined.  Don't check if MAP is NULL.
28184
28185 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28186
28187         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28188         (_G_stat64): Likewise.
28189         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28190         (_G_stat64): Likewise.
28191         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28192         instead of struct _G_stat64.
28193         * libio/fileops.c (mmap_remap_check): Likewise.
28194         (decide_maybe_mmap): Likewise.
28195         (_IO_new_file_seekoff): Likewise.
28196         (_IO_file_stat): Likewise.
28197         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28198         _G_off64_t.
28199         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28200         instead of struct _G_stat64.
28201         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28202
28203 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28204
28205         [BZ #14602]
28206         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28207         Replace with ...
28208         (CHECK_EOL): New macro.
28209         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28210         CHECK_EOL.
28211         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28212         Replace with CHECK_EOL.
28213         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28214         Replace with CHECK_EOL.
28215
28216 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28217
28218         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28219         type-generic.
28220         * math/libm-test.inc: Update comment listing what functions and
28221         macros are tested.
28222         (finite_test): New function.
28223         (isinf_test): Likewise.
28224         (isnan_test): Likewise.
28225         (fpclassify_test): Test subnormal input.
28226         (isfinite_test): Likewise.
28227         (isnormal_test): Likewise.
28228         (main): Call the new functions.
28229
28230 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28231
28232         [BZ #14660]
28233         * Makerules (%.dynsym): Force C locale when running
28234         $(OBJDUMP) --dynamic-syms.
28235
28236 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28237
28238         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28239         <stdint.h>.
28240
28241 2012-10-06  David S. Miller  <davem@davemloft.net>
28242
28243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28244         upper 32-bits of the length value in %o2 since we use branch-on-register
28245         tests which consider the entire 64-bit register.
28246
28247 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28248
28249         * string/test-strstr.c (check2): Add a test for page boundary.
28250
28251 2012-10-05  David S. Miller  <davem@davemloft.net>
28252
28253         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28254         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28255         file.
28256         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28257         sysdep_routines.
28258         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28259         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28260         and bzero when HWCAP_SPARC_CRYPTO is present.
28261
28262 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28263
28264         [BZ #14602]
28265         * string/test-strstr.c (check2): New function.
28266         (test_main): Call check2.
28267
28268         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28269         and bug-strchr1.
28270         * string/bug-strcasestr1.c (do_test): Moved to ...
28271         * string/test-strcasestr.c (check1): Here.  New function.
28272         (do_one_test): Break out result checking code into ...
28273         (check_result): This.  New function.
28274         (do_one_test): Call check_result.
28275         (test_main): Call check1.
28276         * string/bug-strchr1.c (do_test): Moved to ...
28277         * string/test-strchr.c (check1): Here.  New function.
28278         (do_one_test): Break out result checking code into ...
28279         (check_result): This.  New function.
28280         (do_one_test): Call check_result.
28281         (test_main): Call check1.
28282         * string/bug-strstr1.c (main): Moved to ...
28283         * string/test-strstr.c (check1): Here.  New function.
28284         (do_one_test): Break out result checking code into ...
28285         (check_result): This.  New function.
28286         (do_one_test): Call check_result.
28287         (test_main): Call check1.
28288         * string/bug-strcasestr1.c: Removed.
28289         * string/bug-strchr1.c: Likewise.
28290         * string/bug-strstr1.c: Likewise.
28291
28292         * elf/Makefile (dl-routines): Add hwcaps.
28293         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28294         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28295         (_dl_important_hwcaps): Moved to ...
28296         * elf/dl-hwcaps.c: Here.  New file.
28297         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28298
28299         [BZ #14557]
28300         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28301         if IS_IN_rtld isn't defined.
28302
28303         * elf/dl-support.c (_dl_sysinfo_map): New.
28304         Include "get-dynamic-info.h" and "setup-vdso.h".
28305         (_dl_non_dynamic_init): Call setup_vdso.
28306         * elf/dynamic-link.h: Don't include <assert.h>.
28307         (elf_get_dynamic_info): Moved to ...
28308         * elf/get-dynamic-info.h: Here.  New file.
28309         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28310         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28311         * elf/setup-vdso.h: Here.  New file.
28312         * elf/rtld.c: Include "setup-vdso.h".
28313         (dl_main): Call setup_vdso.
28314
28315 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28316
28317         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28318         creal in comment listing functions tested.  List finite, isinf,
28319         isnan, isless, islessequal, isgreater, isgreaterequal,
28320         islessgreater, isunordered, lgamma_r and pow10 as functions and
28321         macros not tested.  Mention which functions not tested are aliases
28322         for other functions.  Fix typo.  Note that signs of NaNs are not
28323         tested.
28324
28325         * scripts/config.guess: Update from config.git.
28326         * scripts/config.sub: Likewise.
28327
28328 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28329
28330         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28331         * misc/madvise.c (madvise): Renamed to __madvise.
28332         Make madvise a weak alias.
28333         * include/sys/mman.h: Declare __madvise.
28334         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28335         * sysdeps/unix/syscalls.list
28336         (madvise): Make __madvise the strong name, and madvise a weak alias.
28337         * sysdeps/unix/sysv/linux/syscalls.list
28338         (madvise, mmap): Remove redundant entries.
28339         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28340         * malloc/malloc.c (mtrim): Likewise.
28341         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28342
28343 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28344
28345         * sysdeps/mach/hurd/dl-cache.c: File removed.
28346         * config.h.in (USE_LDCONFIG): New #undef.
28347         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28348         * configure: Regenerated.
28349         * elf/Makefile (dl-routines): Add dl-cache only under
28350         [$(use-ldconfig) = yes].
28351         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28352         cache on [USE_LDCONFIG].
28353         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28354         [USE_LDCONFIG].
28355         * elf/rtld.c (dl_main): Likewise.
28356
28357 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28358
28359         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28360         _SC_LEVEL4_CACHE_LINESIZE.
28361
28362 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28363
28364         * sysdeps/unix/bsd/confstr.h: File removed.
28365
28366 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28367
28368         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28369         sys/sdt-config.h.
28370
28371 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28372
28373         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28374         Make 'mapoff' field ElfW(Off) rather than off_t.
28375
28376 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28377
28378         * nscd/Makefile: Remove nscd-cflags and all its users.
28379         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28380         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28381
28382         [BZ #10631]
28383         * malloc.c (malloc_printerr): Clarify error message.
28384
28385 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28386
28387         [BZ #14648]
28388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28389         Set bit_FMA_Usable if FMA is supported.
28390         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28391         macro.
28392         (bit_FMA4_Usable): Updated.
28393         (index_FMA_Usable): New macro.
28394         (CPUID_FMA): Likewise
28395         (HAS_FMA): Defined with bit_FMA_Usable.
28396
28397 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28398
28399         * bits/types.h (__swblk_t): Type removed.
28400         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28401         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28403         (__SWBLK_T_TYPE): Likewise.
28404         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28405         (__SWBLK_T_TYPE): Likewise.
28406         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28407         (__SWBLK_T_TYPE): Likewise.
28408         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28409         (__SWBLK_T_TYPE): Likewise.
28410
28411 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28412             Honza Horak <hhorak@redhat.com>
28413
28414         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28415         (xdr_mapname): Use YPMAXMAP as maxsize.
28416         (xdr_peername): Use YPMAXPEER as maxsize.
28417         (xdr_keydat): Use YPAXRECORD as maxsize.
28418         (xdr_valdat): Use YPMAXRECORD as maxsize.
28419
28420 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28421
28422         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28423
28424         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28425         * csu/init-first.c: ... here.
28426         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28427         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28428         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28429         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28430         * sysdeps/i386/init-first.c: File removed.
28431         * sysdeps/sh/init-first.c: File removed.
28432
28433 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28434
28435         [BZ #14645]
28436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28437         if x * y might underflow to zero and z is zero.
28438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28440         * math/libm-test.inc (min_subnorm_value): New variable.
28441         (fma_test): Add more tests.
28442         (fma_test_towardzero): Likewise.
28443         (fma_test_downward): Likewise
28444         (fma_test_upward): Likewise.
28445         (initialize): Set min_subnorm_value.
28446
28447 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28448
28449         [BZ #14638]
28450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28451         0 + 0.
28452         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28453         mode for addition resulting in exact zero.
28454         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28456         exact 0 + 0.
28457         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28459         * math/libm-test.inc (fma_test): Add more tests.
28460         (fma_test_towardzero): New function.
28461         (fma_test_downward): Likewise.
28462         (fma_test_upward): Likewise.
28463         (main): Call the new functions.
28464
28465 2012-09-28  David S. Miller  <davem@davemloft.net>
28466
28467         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28468
28469 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28470
28471         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28472         instead of SIGALRM.
28473
28474         * sysdeps/gnu/_G_config.h: Moved to ...
28475         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28476         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28477         * sysdeps/generic/_G_config.h: ... here.
28478
28479         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28480
28481         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28482
28483         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28484         Conditionalize target on [libnss_test1.so-version].
28485
28486         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28487
28488         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28489         (elfobjdir): Move out of conditionals.
28490
28491         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28492         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28493         (__nss_lookup_function): Conditionalize label remove_from_tree on
28494         [!DO_STATIC_NSS || SHARED], matching its only use.
28495
28496 2012-09-28  David S. Miller  <davem@davemloft.net>
28497
28498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28499         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28500         file.
28501         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28502         sysdep_routines.
28503         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28504         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28505         when HWCAP_SPARC_CRYPTO is present.
28506
28507 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28508
28509         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28510
28511 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28512
28513         [BZ #6530]
28514         * stdio-common/vfprintf.c (process_string_arg): Revert
28515         2000-07-22 change.
28516
28517 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28518
28519         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28520         for testcase.
28521         * stdio-common/tst-sprintf.c: Include <locale.h>
28522         (main): Test sprintf's handling of incomplete multibyte
28523         characters.
28524
28525 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28526
28527         * elf/dl-runtime.c (VERSYMIDX): Removed.
28528         * elf/dl-version.c (VERSYMIDX): Likewise.
28529         * elf/do-rel.h (VERSYMIDX): Likewise.
28530         (VALIDX): Likewise.
28531         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28532         * elf/rtld.c (VALIDX): Likewise.
28533         (ADDRIDX): Likewise.
28534         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28535         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28536         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28537         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28538         (VALIDX): Likewise.
28539         (ADDRIDX): Likewise.
28540
28541 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28542
28543         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28544
28545 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28546
28547         [BZ #11438]
28548         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28549         to global scope.
28550         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28551         addresses are in the same scope as 192.0.2/24.
28552         * posix/gai.conf: Document new scope table defaults.
28553
28554 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28555
28556         [BZ #5298]
28557         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28558         for ftell.  Compute offsets from write pointers instead.
28559         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28560
28561 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28562
28563         [BZ #14543]
28564         * libio/Makefile (tests): New test case tst-fseek.
28565         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28566         combination works in wide mode.
28567         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28568         state when the external buffer state changes.
28569
28570 2012-09-27  David S. Miller  <davem@davemloft.net>
28571
28572         [BZ #14376]
28573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28574         pass reloc->r_addend in as the 'high' argument to
28575         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28576
28577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28578
28579 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28580
28581         * rt/tst-aio2.c: Include <pthread.h>.
28582         * rt/tst-aio3.c: Likewise.
28583
28584 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28585
28586         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28587
28588 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28589
28590         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28591         contents on [SHARED].
28592
28593 2012-09-26  Marek Polacek  <polacek@redhat.com>
28594
28595         [BZ #14530]
28596         [BZ #13741]
28597         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28598         for C++ and GCC <4.3 as well as for non GCC compilers.
28599
28600 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28601
28602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28603
28604 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28605
28606         * Makefile.in (all, install): Declare with .PHONY.
28607         Reported by Michael Hope <michael.hope@linaro.org>.
28608
28609 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28610
28611         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28612         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28613         system header.
28614         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28615         Likewise.
28616         (sydep_routines): Add the new and the internal functions.
28617         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28618         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28620         (GLIBC_2.17): Add the new function.
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28622         (GLIBC_2.17): Likewise.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28624         (GLIBC_2.17): Likewise.
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28626         (GLIBC_2.17): Likewise.
28627         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28628
28629 2012-09-25  Alan Modra  <amodra@gmail.com>
28630
28631         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28632         Add release barrier before setting once_control to say
28633         initialisation is done.  Add hints on lwarx.  Use macro in
28634         place of isync.
28635         (clear_once_control): Add release barrier.
28636
28637 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28638
28639         [BZ #13629]
28640         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28641         specially.
28642         * math/s_clog10.c (__clog10): Likewise.
28643         * math/s_clog10f.c (__clog10f): Likewise.
28644         * math/s_clog10l.c (__clog10l): Likewise.
28645         * math/s_clogf.c (__clogf): Likewise.
28646         * math/s_clogl.c (__clogl): Likewise.
28647         * math/Makefile (libm-calls): Add x2y2m1.
28648         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28649         (__x2y2m1): Likewise.
28650         (__x2y2m1l): Likewise.
28651         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28652         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28653         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28654         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28657         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28658         * sysdeps/i386/fpu/libm-test-ulps: Update.
28659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660
28661         [BZ #14621]
28662         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28663         int as type of variable DEPTH.
28664         (glob): Use size_t instead of int as type of variables NEWCOUNT
28665         and OLD_PATHC.
28666
28667 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28668
28669         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28670         Add s_sincosf-sse2.
28671         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28672         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28673         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28674         macros for using routine as __sincosf_ia32.
28675         Use macro for function declaration and weak_alias.
28676         * sysdeps/i386/fpu/libm-test-ulps: Update.
28677
28678         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28680
28681         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28682         subnormal argument.
28683         * math/s_cexpf.c (__cexpf): Likewise.
28684         * math/s_csinf.c (__csinf): Likewise.
28685         * math/s_csinhf.c (__csinhf): Likewise.
28686         * math/s_ctanf.c (__ctanf): Likewise.
28687         * math/s_ctanhf.c (__ctanhf): Likewise.
28688         * math/s_ccosh.c (__ccoshf): Likewise.
28689         * math/s_cexp.c (__cexpl): Likewise.
28690         * math/s_csin.c (__csin): Likewise.
28691         * math/s_csinh.c (__csinh): Likewise.
28692         * math/s_ctan.c (__ctan): Likewise.
28693         * math/s_ctanh.c (ctanh): Likewise.
28694         * math/s_ccoshl.c (__ccoshl): Likewise.
28695         * math/s_cexpl.c (__cexpl): Likewise.
28696         * math/s_csinl.c (__csinl): Likewise.
28697         * math/s_csinhl.c (__csinhl): Likewise.
28698         * math/s_ctanl.c (__ctanl): Likewise.
28699         * math/s_ctanhl.c (__ctanhl): Likewise.
28700
28701 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28702
28703         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28704         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28705         (_IO_off_t): Define to __off_t, not _G_off_t.
28706         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28707         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28708         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28709         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28710         type of __dummy and __dummy2 fields.
28711         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28712         (_G_ssize_t): Likewise.
28713         (_G_off_t): Likewise.
28714         (_G_pid_t): Likewise.
28715         (_G_uid_t): Likewise.
28716         (_G_wchar_t): Likewise.
28717         (_G_wint_t): Likewise.
28718         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28719         (_G_ssize_t): Likewise.
28720         (_G_off_t): Likewise.
28721         (_G_pid_t): Likewise.
28722         (_G_uid_t): Likewise.
28723         (_G_wchar_t): Likewise.
28724         (_G_wint_t): Likewise.
28725         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28726         (_G_ssize_t): Likewise.
28727         (_G_off_t): Likewise.
28728         (_G_pid_t): Likewise.
28729         (_G_uid_t): Likewise.
28730         (_G_wchar_t): Likewise.
28731         (_G_wint_t): Likewise.
28732
28733 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28734
28735         * malloc/arena.c: Include malloc-sysdep.h.
28736         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28737         is sufficient to shrink the heap or an unmap is needed.
28738         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28739         new function check_may_shrink_heap.
28740         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28741         new function check_may_shrink_heap.
28742
28743 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28744
28745         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28746         comments.
28747
28748 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28749
28750         * catgets/test-gencat.sh: Add "set -e".
28751         * elf/tst-pathopt.sh: Likewise.
28752         * grp/tst_fgetgrent.sh: Likewise.
28753         * iconvdata/run-iconv-test.sh: Likewise.
28754         * intl/tst-gettext.sh: Likewise.
28755         * intl/tst-gettext2.sh: Likewise.
28756         * intl/tst-gettext4.sh: Likewise.
28757         * intl/tst-gettext6.sh: Likewise.
28758         * intl/tst-translit.sh: Likewise.
28759         * io/ftwtest-sh: Likewise.
28760         * libio/test-freopen.sh: Likewise.
28761         * malloc/tst-mtrace.sh: Likewise.
28762         * posix/globtest.sh: Likewise.
28763         * posix/tst-getconf.sh: Likewise.
28764         * posix/wordexp-tst.sh: Likewise.
28765         * stdio-common/tst-printf.sh: Likewise.
28766         * stdio-common/tst-unbputc.sh: Likewise.
28767         * stdlib/tst-fmtmsg.sh: Likewise.
28768         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28769         * catgets/Makefile: Do not specify -e option when running
28770         testsuite shell scripts.
28771         * elf/Makefile: Likewise.
28772         * grp/Makefile: Likewise.
28773         * iconvdata/Makefile: Likewise.
28774         * intl/Makefile: Likewise.
28775         * io/Makefile: Likewise.
28776         * libio/Makefile: Likewise.
28777         * malloc/Makefile: Likewise.
28778         * posix/Makefile: Likewise.
28779         * stdio-common/Makefile: Likewise.
28780         * stdlib/Makefile: Likewise.
28781         * sysdeps/x86_64/Makefile: Likewise.
28782
28783         * io/ftwtest-sh: Add copyright header.
28784         * posix/globtest.sh: Likewise.
28785         * posix/tst-getconf.sh: Likewise.
28786         * posix/wordexp-tst.sh: Likewise.
28787         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28788
28789 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28790
28791         [BZ #13679]
28792         * Makeconfig (+link): Defined as $(+link-static) if
28793         $(build-shared) isn't yes.
28794         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28795         isn't yes.
28796         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28797
28798         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28799
28800         [BZ #14562]
28801         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28802         new chunk size with MALLOC_ALIGN_MASK.
28803
28804 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28805
28806         [BZ #5044]
28807         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28808         <rounding-mode.h>.
28809         (__printf_fphex): Determine rounding using get_rounding_mode and
28810         round_away.
28811         * stdio-common/tst-printf-round.c (struct hex_test): New
28812         structure.
28813         (hex_tests): New variable.
28814         (test_hex_in_one_mode): New function.
28815         (do_test): Also run tests for hex float output.
28816
28817 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28818
28819         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28820         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28821         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28822         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28823         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28824         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28825         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28826         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28827
28828 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28829
28830         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28831         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28832         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28833         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28834
28835 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28836
28837         [BZ #14579]
28838         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28839         mode only.
28840         * elf/tst-rtld-load-self.sh: New test.
28841         * elf/Makefile: Run it.
28842
28843 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28844
28845         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28846         (tst-writev-ENV): Remove.
28847         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28848
28849 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28850
28851         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28852
28853 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28854
28855         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28856         unconditional.
28857         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28858         Likewise.
28859         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28860         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28861         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28862         Likewise.
28863
28864 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28865
28866         [BZ #14587]
28867         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28868         * config.make.in (have-cpp-asm-debuginfo): Removed.
28869         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28870         * configure: Regenerated.
28871
28872 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28873
28874         [BZ #5044]
28875         * stdio-common/printf_fp.c: Include <stdbool.h> and
28876         <rounding-mode.h>.
28877         (___printf_fp): Determine rounding using get_rounding_mode and
28878         round_away.
28879         * stdio-common/tst-printf-round.c: New file.
28880         * stdio-common/Makefile (tests): Add tst-printf-round.
28881         (link-libm): New variable.
28882         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28883
28884 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28885
28886         [BZ #14576]
28887         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28888         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28889         Likewise.
28890         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28891         Likewise.
28892
28893 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28894
28895         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28896         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28897         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28899
28900 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28901
28902         [BZ #14518]
28903         * include/rounding-mode.h: New file.
28904         * sysdeps/generic/get-rounding-mode.h: Likewise.
28905         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28906         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28907         (MAX_VALUE): New macro.
28908         (MIN_VALUE): Likewise.
28909         (overflow_value): New function.
28910         (underflow_value): Likewise.
28911         (round_and_return): Use overflow_value and underflow_value to
28912         determine return values in overflow and underflow cases.  Use
28913         round_away to determine rounding depending on rounding mode.
28914         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28915         determine return values in overflow and underflow cases.
28916         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28917         (struct test_results): New structure.
28918         (struct test): Use struct test_results to store expected results
28919         for all rounding modes.
28920         (TEST): Include expected results for all rounding modes.
28921         (test_in_one_mode): New function.
28922         (do_test): Use test_in_one_mode to compute and check results.
28923         Check results for all rounding modes.
28924         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28925         $(link-libm).
28926
28927 2012-12-09  Allan McRae  <allan@archlinux.org>
28928
28929         * sysdeps/i386/fpu/libm-test-ulps: Update
28930
28931 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28932
28933         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28934         (_G_int32_t): Likewise.
28935         (_G_uint16_t): Likewise.
28936         (_G_uint32_t): Likewise.
28937         (_G_HAVE_BOOL): Likewise.
28938         (_G_HAVE_ATEXIT): Likewise.
28939         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28940         (_G_HAVE_IO_FILE_OPEN): Likewise.
28941         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28942         (_G_int32_t): Likewise.
28943         (_G_uint16_t): Likewise.
28944         (_G_uint32_t): Likewise.
28945         (_G_HAVE_BOOL): Likewise.
28946         (_G_HAVE_ATEXIT): Likewise.
28947         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28948         (_G_HAVE_IO_FILE_OPEN): Likewise.
28949         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28950         (_G_int32_t): Likewise.
28951         (_G_uint16_t): Likewise.
28952         (_G_uint32_t): Likewise.
28953         (_G_HAVE_BOOL): Likewise.
28954         (_G_HAVE_ATEXIT): Likewise.
28955         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28956         (_G_HAVE_IO_FILE_OPEN): Likewise.
28957
28958 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28959
28960         * csu/libc-tls.c: Update copyright years.
28961
28962 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28963
28964         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28965         [!_G_USING_THUNKS]: Remove conditional code.
28966         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28967         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28968
28969         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28970         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28971         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28972         (_G_VTABLE_LABEL_PREFIX): Likewise.
28973         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28974         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28975         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28976         (_G_VTABLE_LABEL_PREFIX): Likewise.
28977         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28978         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28979         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28980         (_G_VTABLE_LABEL_PREFIX): Likewise.
28981         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28982
28983 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28984
28985         * libio/Makefile: Include ../Makeconfig before tests.
28986         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28987         only if $(build-shared) is yes.
28988
28989         * iconv/gconv_db.c: Update copyright years.
28990
28991 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28992
28993         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28994         unwind info if defined PIC. Fix special cases description.
28995         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28996
28997         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28998         DP_HI_MASK entry.
28999         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29000
29001 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29002
29003         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29004
29005         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29006         is NULL.
29007
29008         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29009         (LDLIBS-tst-chk4): This.
29010         (LDFLAGS-tst-chk5): Renamed to ...
29011         (LDLIBS-tst-chk5): This.
29012         (LDFLAGS-tst-chk6): Renamed to ...
29013         (LDLIBS-tst-chk6): This.
29014         (LDFLAGS-tst-lfschk4): Renamed to ...
29015         (LDLIBS-tst-lfschk4): This.
29016         (LDFLAGS-tst-lfschk5): Renamed to ...
29017         (LDLIBS-tst-lfschk5): This.
29018         (LDFLAGS-tst-lfschk6): Renamed to ...
29019         (LDLIBS-tst-lfschk6): This.
29020
29021         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29022         on $(common-objpfx)soversions.mk.
29023
29024 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29025
29026         [BZ #10014]
29027         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29028         example host name.
29029
29030 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29031
29032         * malloc/arena.c (arena_get_retry): New function that gets
29033         another arena for the caller to try its request on.
29034         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29035         current arena cannot fulfill the request.
29036         (__libc_memalign): Likewise.
29037         (__libc_memalign): Likewise.
29038         (__libc_pvalloc): Likewise.
29039         (__libc_calloc): Likewise.
29040
29041 2012-09-05  John Tobey  <john.tobey@gmail.com>
29042
29043         [BZ #13542]
29044         * manual/arith.texi (Operations on Complex): Fix description
29045         of carg branch cut.
29046
29047 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29048
29049         [BZ #10014]
29050         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29051         host name.
29052
29053         [BZ #10038]
29054         * manual/memory.texi (Memory): Make order of menu items match
29055         order of sections.
29056
29057 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29058
29059         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29060         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29061         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29062
29063 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29064
29065         * csu/libc-tls.c (static_dtv): Renamed to ...
29066         (_dl_static_dtv): This.  Make it global.
29067         (_dl_initial_dtv): Removed.
29068         (__libc_setup_tls): Updated.
29069         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29070         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29071         DL_INITIAL_DTV.
29072
29073 2012-09-06  Petr Machata  <pmachata@redhat.com>
29074
29075         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29076         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29077         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29078         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29079
29080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29081
29082         [BZ #14545]
29083         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29084         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29085         freeing dtv[-1].
29086
29087 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29088
29089         [BZ #14544]
29090         * Makeconfig (link-static-before-libc): Replace $(+prector)
29091         with $(+prectorT).
29092         (link-static-after-libc): Replace $(+postctor) with
29093         $(+postctorT).
29094         (link-bounded): Replace $(+prector)/$(+postctor) with
29095         $(+prectorT)/$(+postctorT).
29096         (+prectorT): New macro.
29097         (+postctorT): Likewise.
29098
29099 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29100
29101         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29102         (round_str): Handle values above the maximum for IBM long double
29103         as inexact.
29104         * stdlib/tst-strtod-round.c (tests): Regenerated.
29105
29106 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29107
29108         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29109         assembler flag.
29110         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29111         zarch_nohighgprs around the zarch optimized routines.
29112         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29113         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29114         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29115         for zarch.
29116
29117 2012-09-05  David S. Miller  <davem@davemloft.net>
29118
29119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29120
29121         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29122         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29123         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29124         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29125         entries.
29126
29127 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29128
29129         * malloc/arena.c: Fold copyright years.
29130         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29131
29132 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29133
29134         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29135
29136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29137
29138         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29139
29140 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29141
29142         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29143         change internal state upon failure.
29144
29145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29146
29147         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29148         * malloc/memusage.c (mmap): Likewise.
29149         (mmap64, mremap): Likewise.  Adjust name in comment.
29150
29151 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29152
29153         * libio/fileops.c: Fix typos in comments.
29154         * libio/oldfileops.c: Likewise.
29155         * libio/wfileops.c: Likewise.
29156
29157 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29158
29159         [BZ #1349]
29160         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29161         (tst-malloc-usable-ENV): Set environment for test case.
29162         * malloc/hooks.c (malloc_check_get_size): New function to get
29163         requested size.
29164         * malloc/malloc.c (musable): Use malloc_check_get_size.
29165         * malloc/tst-malloc-usable.c: New test case.
29166
29167 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29168
29169         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29170
29171 2012-09-05  Allan McRae  <allan@archlinux.org>
29172
29173         [BZ #13966]
29174         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29175         determine header location.
29176         * configure: Regenerated.
29177
29178 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29179
29180         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29181         float format.
29182         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29183         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29184         format.
29185         (test): Regenerate.
29186
29187 2012-09-04  David S. Miller  <davem@davemloft.net>
29188
29189         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29190         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29191         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29192
29193 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29194
29195         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29196         failures.
29197
29198         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29199
29200 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29201
29202         [BZ #9914]
29203         * libio/iogetdelim.c: Include <limits.h>.
29204         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29205         + len + 1 would overflow.
29206
29207 2012-09-03  Andreas Jaeger  <aj@suse.de>
29208
29209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29210         * sysdeps/i386/fpu/libm-test-ulps: Update.
29211
29212 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29213
29214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29215         Add s_sinf-sse2, s_conf-sse2.
29216
29217         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29218         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29219         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29220         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29221
29222         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29223         for using routine as __sinf_ia32.
29224         Use macro for function declaration and weak_alias.
29225         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29226         for using routine as __cosf_ia32.
29227         Use macro for function declaration and weak_alias.
29228
29229         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29230         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29231
29232         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29233         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29234         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29235
29236         * math/libm-test.inc (cos_test): Add more test cases.
29237         (sin_test): Likewise.
29238         (sincos_test): Likewise.
29239
29240 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29241
29242         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29243         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29244         hidden.
29245         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29246
29247 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29248
29249         [BZ #14538]
29250         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29251         first element of the GOT.
29252         (elf_machine_load_address): Return the difference between
29253         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29254
29255 2012-09-01  Allan McRae  <allan@archlinux.org>
29256
29257         [BZ #13412]
29258         * configure.in (AWK): Require gawk version 3.0 or later.
29259         * configure: Regenerated.
29260
29261 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29262
29263         * sysdeps/unix/sysv/linux/kernel-features.h
29264         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29265         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29266         [__NR_clock_getres]: Make code unconditional.
29267         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29268         (clock_getcpuclockid): Remove code left unreachable by removal of
29269         conditionals.
29270         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29271         code unconditional.
29272         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29273         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29274         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29275         Make code unconditional.
29276         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29277         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29278         * sysdeps/unix/sysv/linux/clock_settime.c
29279         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29280         conditional code.
29281         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29282         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29283
29284 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29285
29286         [BZ #14476]
29287         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29288         scripts/test-installation.pl.
29289
29290         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29291         and $ld_so_version if it is set.
29292
29293 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29294
29295         [BZ #14516]
29296         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29297         failure if reading from procfs failed.
29298         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29299
29300 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29301
29302         * sysdeps/unix/sysv/linux/kernel-features.h
29303         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29304         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29305         Remove conditional code.
29306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29307         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29308         Remove conditional code.
29309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29310         * sysdeps/unix/sysv/linux/i386/fxstat.c
29311         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29313         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29314         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29316         * sysdeps/unix/sysv/linux/i386/lxstat.c
29317         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29319         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29320         Remove conditional code.
29321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29322         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29323         Remove conditional code.
29324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29325         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29326         <kernel-features.h>.
29327         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29328         Remove.
29329         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29330         Remove conditional code.
29331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29332         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29333         Remove conditional.
29334
29335 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29336
29337         [BZ #5400]
29338         * NEWS: Add fixed bug number.
29339
29340 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29341
29342         [BZ #14519]
29343         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29344         underflowing exponent in case of negative sign.
29345         * stdlib/tst-strtod-round-data: Add more tests.
29346         * stdlib/tst-strtod-round.c (tests): Regenerated.
29347
29348         [BZ #3479]
29349         * stdlib/strtod_l.c (NDIG): Remove.
29350         (HEXNDIG): Likewise.
29351         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29352         smallest representable value.
29353         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29354         lie within an exact representation of 1/2 ulp of the result.
29355         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29356         unconditionally.
29357         (TENS_P9_IDX): Define unconditionally.
29358         (TENS_P9_SIZE): Likewise.
29359         (TENS_P10_IDX): Likewise.
29360         (TENS_P10_SIZE): Likewise.
29361         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29362         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29363         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29364         entries for 10^2^13 and 10^2^14.
29365         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29366         (TENS_P13_IDX): Define.
29367         (TENS_P13_SIZE): Likewise.
29368         (TENS_P14_IDX): Likewise.
29369         (TENS_P14_SIZE): Likewise.
29370         (_fpioconst_pow10): Change array size to
29371         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29372         unconditional.
29373         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29374         1024]: Add entries for 10^2^13 and 10^2^14.
29375         [LAST_POW10 > _LAST_POW10]: Remove #error.
29376         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29377         (_fpioconst_pow10): Change array size to
29378         FPIOCONST_POW10_ARRAY_SIZE.
29379         * stdlib/gen-fpioconst.c: New file.
29380         * stdlib/gen-tst-strtod-round.c: Likewise.
29381         * stdlib/tst-strtod-round-data: Likewise.
29382         * stdlib/tst-strtod-round.c: Likewise.
29383         * stdlib/Makefile (tests): Add tst-strtod-round.
29384
29385         [BZ #14459]
29386         * stdlib/strtod_l.c: Include <stdint.h>.
29387         (NDEBUG): Do not define.
29388         (round_and_return): Change EXPONENT parameter to type intmax_t.
29389         Rearrange calculations to avoid internal overflow possibilities.
29390         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29391         Rearrange calculations to avoid internal overflow possibilities.
29392         Assert that number fits inside MPNSIZE limbs.
29393         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29394         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29395         calculations and add assertions to avoid internal overflow
29396         possibilities.  Add casts to avoid signed/unsigned operations.
29397         * stdlib/tst-strtod-overflow.c: New file.
29398         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29399
29400 2012-08-25  Marek Polacek  <polacek@redhat.com>
29401
29402         * time/time.h: Fix some typos in comments.
29403
29404 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29405
29406         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29407         * posix/tst-rfc3484-2.c: Likewise.
29408         * posix/tst-rfc3484-3.c: Likewise.
29409
29410 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29411
29412         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29413         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29414
29415 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29416
29417         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29418         #include of fxstatat64.c.
29419
29420 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29421
29422         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29423         * shadow/getspent_r.c: Likewise.
29424         * shadow/getspnam.c: Likewise.
29425         * shadow/getspnam_r.c: Likewise.
29426         * gshadow/getsgent.c: Likewise.
29427         * gshadow/getsgent_r.c: Likewise.
29428         * gshadow/getsgnam.c: Likewise.
29429         * gshadow/getsgnam_r.c: Likewise.
29430         * inet/getnetbyad.c: Likewise.
29431         * inet/getnetbyad_r.c: Likewise.
29432         * inet/getnetbynm.c: Likewise.
29433         * inet/getnetbynm_r.c: Likewise.
29434         * inet/getnetent.c: Likewise.
29435         * inet/getnetent_r.c: Likewise.
29436         * inet/getproto.c: Likewise.
29437         * inet/getproto_r.c: Likewise.
29438         * inet/getprtent.c: Likewise.
29439         * inet/getprtent_r.c: Likewise.
29440         * inet/getprtname.c: Likewise.
29441         * inet/getprtname_r.c: Likewise.
29442         * inet/getrpcbyname.c: Likewise.
29443         * inet/getrpcbyname_r.c: Likewise.
29444         * inet/getrpcbynumber.c: Likewise.
29445         * inet/getrpcbynumber_r.c: Likewise.
29446         * inet/getrpcent.c: Likewise.
29447         * inet/getrpcent_r.c: Likewise.
29448         * inet/getaliasent.c: Likewise.
29449         * inet/getaliasent_r.c: Likewise.
29450         * inet/getaliasname.c: Likewise.
29451         * inet/getaliasname_r.c: Likewise.
29452         * nscd/getgrgid_r.c: Likewise.
29453         * nscd/getgrnam_r.c: Likewise.
29454         * nscd/gethstbyad_r.c: Likewise.
29455         * nscd/gethstbynm3_r.c: Likewise.
29456         * nscd/getpwnam_r.c: Likewise.
29457         * nscd/getpwuid_r.c: Likewise.
29458         * nscd/getsrvbynm_r.c: Likewise.
29459         * nscd/getsrvbypt_r.c: Likewise.
29460         * nscd/gai.c: Likewise.
29461
29462         * configure.in (build_nscd): New substituted variable, set
29463         by --disable-build-nscd and defaults to $use_nscd.
29464         * configure: Regenerated.
29465         * config.make.in (build-nscd): New substituted variable.
29466         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29467         Change conditional to require [$(build-nscd) = yes] as well.
29468         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29469
29470         [BZ# 13696]
29471         * configure.in (use_nscd): New substituted variable, set by
29472         --disable-nscd.  If enabled, define USE_NSCD.
29473         * configure: Regenerated.
29474         * config.h.in: Add USE_NSCD.
29475         * config.make.in (use-nscd): New substituted variable.
29476         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29477         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29478         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29479         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29480         (CFLAGS-getgrnam_r.c): Likewise.
29481         (CFLAGS-initgroups.c): Likewise.
29482         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29483         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29484         Variables removed.
29485         * inet/getnetgrent_r.c
29486         (nscd_setnetgrent): New function, broken out of ...
29487         (setnetgrent): ... here.  Call it.
29488         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29489         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29490         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29491         * nscd/Makefile (routines, aux): Move definitions after include of
29492         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29493         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29494         Conditionalize on [USE_NSCD].
29495         (is_nscd, nscd_init_cb): Likewise.
29496         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29497         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29498         * nss/nss_db/db-init.c: Likewise.
29499         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29500         [USE_NSCD].
29501         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29502         (make_request): Use it.
29503         (cache_valid_p): New function.
29504         (__check_pf): Use it.
29505         * NEWS: Add item for --disable-nscd.
29506
29507 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29508
29509         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29510         to support sed >= 4.2.1-20-ga9bf076.
29511         * configure: Regenerated.
29512
29513 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29514
29515         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29516         Conditionalize whole body on [IREL].
29517
29518 2012-08-22  Jeff Law <law@redhat.com>
29519
29520         [BZ #14505]
29521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29522         if the family is PF_UNSPEC.
29523
29524 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29525
29526         * Makerules (lib-version): Rename from V.
29527         (install-lib-nosubdir): Change V to lib-version.
29528
29529 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29530
29531         [BZ #14252]
29532         * powerpc32/power6/wcschr.c: New file.
29533         * powerpc32/power6/wcscpy.c: New file.
29534         * powerpc32/power6/wcsrchr.c: New file.
29535         * powerpc64/power6/wcschr.c: New file.
29536         * powerpc64/power6/wcscpy.c: New file.
29537         * powerpc64/power6/wcsrchr.c: New file.
29538
29539 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29540
29541         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29542         (two_way_short_needle): Use it.
29543         * string/strstr.c (AVAILABLE1_USES_J): Define.
29544         * string/strcasestr.c: Likewise.
29545
29546         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29547         array references.
29548         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29549
29550         [BZ #11607]
29551         * NEWS: Add an entry.
29552         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29553         define their defaults.
29554         (two_way_short_needle): Detect end-of-string on-the-fly.
29555         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29556         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29557         * string/bug-strcasestr1.c: New test.
29558         * string/Makefile: Run it.
29559
29560 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29561
29562         [BZ #11607]
29563         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29564         the first character.
29565
29566 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29567
29568         * csu/elf-init.c (__libc_csu_irel): Function removed.
29569         * csu/libc-start.c (apply_irel): New function.
29570         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29571
29572 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29573
29574         * sysdeps/unix/sysv/linux/kernel-features.h
29575         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29576         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29577         <kernel-features.h>.
29578         [__NR_fadvise64_64]: Make code unconditional.
29579         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29580         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29581         !__NR_fadvise64_64)]: Likewise.
29582         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29583         !__NR_fadvise64_64))]: Likewise.
29584         [__NR_fadvise64]: Make code unconditional.
29585         [!__NR_fadvise64]: Remove conditional code.
29586         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29587         <kernel-features.h>.
29588         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29589         unconditional.
29590         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29591         conditional code.
29592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29593         not include <kernel-features.h>.
29594         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29595         unconditional.
29596         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29597         conditional code.
29598         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29599         include <kernel-features.h>.
29600         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29601         unconditional.
29602         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29603         conditional code.
29604
29605 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29606
29607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29608         slight instruction rearrangements per scrollpipe analysis.
29609         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29610
29611 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29612
29613         * manual/syslog.texi (syslog; vsyslog, closelog):
29614         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29615         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29616
29617         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29618         DSOCAPS to match condition on defining it.
29619
29620 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29621
29622         * sysdeps/unix/sysv/linux/kernel-features.h
29623         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29625         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29626         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29628         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29629         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29631         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29632         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29633
29634         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29635         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29636
29637         * sysdeps/unix/sysv/linux/kernel-features.h
29638         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29639         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29640         unconditional.
29641         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29642         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29643         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29644         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29645         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29646         Make code unconditional.
29647         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29648         (__mmap64) [!__NR_mmap2]: Likewise.
29649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29650         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29651         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29652         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29653         [__NR_mmap2]: Make code unconditional.
29654         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29655         (__mmap64) [!__NR_mmap2]: Likewise.
29656
29657 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29658
29659         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29660
29661 2012-08-18  Andreas Jaeger  <aj@suse.de>
29662
29663         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29664
29665 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29666
29667         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29668         * include/unistd.h (__have_sock_cloexec): Likewise.
29669         (__have_pipe2): Likewise.
29670         (__have_dup3): Likewise.
29671
29672 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29673
29674         [BZ #9685]
29675         * include/unistd.h (__have_pipe2): Change define into an extern int.
29676         (__have_dup3): Likewise.
29677         * socket/have_sock_cloexec.c: Include fcntl.h.
29678         (__have_pipe2): New variable.
29679         (__have_dup3): Likewise.
29680
29681 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29682
29683         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29684
29685 2012-08-17  Marek Polacek  <polacek@redhat.com>
29686
29687         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29688         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29689
29690 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29691
29692         * configure.in: Add AC_SUBST for sysheaders.
29693         * configure: Regenerated.
29694         * config.make.in (sysheaders): New substituted variable.
29695
29696         * sysdeps/unix/mkfifo.c: Moved ...
29697         * sysdeps/posix/mkfifo.c: ... here.
29698         * sysdeps/unix/mkfifoat.c: Moved ...
29699         * sysdeps/posix/mkfifoat.c: ... here.
29700
29701         * sysdeps/unix/utime.c: Moved ...
29702         * sysdeps/posix/utime.c: ... here.
29703
29704         * sysdeps/unix/time.c: Moved ...
29705         * sysdeps/posix/time.c: ... here.
29706         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29707         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29708
29709         * sysdeps/unix/nice.c: Moved ...
29710         * sysdeps/posix/nice.c: ... here.
29711
29712         * sysdeps/unix/alarm.c: Moved ...
29713         * sysdeps/posix/alarm.c: ... here.
29714
29715         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29716
29717 2012-08-17  Jeff Law <law@redhat.com>
29718
29719         * intl/Makefile (codeset_mo): New variable.
29720         ($(codeset_mo)): New target.
29721         (tst-codeset.out): Depend on that.  Remove explicit rule.
29722         (tst-gettext3.out, tst-gettext5.out): Likewise.
29723         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29724         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29725         * intl/tst-codeset.sh: Remove.
29726         * intl/tst-gettext3.sh: Likewise.
29727         * intl/tst-gettext5.sh: Likewise.
29728
29729 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29730
29731         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29732         * sysdeps/unix/syscalls.list: ... here.
29733
29734         * sysdeps/posix/getaddrinfo.c
29735         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29736         (gaiconf_init, gaiconf_reload): Use them.
29737         [!_STATBUF_ST_NSEC]
29738         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29739         Define using time_t rather than struct timespec.
29740
29741         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29742         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29743         Macros removed.
29744         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29745         [!NO_THREADS].
29746         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29747         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29748         Likewise.
29749
29750         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29751         __libc_cleanup_push argument.
29752
29753         * bits/param.h: New file.
29754         * misc/sys/param.h: New file.
29755         * include/sys/param.h: New file.
29756         * misc/Makefile (headers): Add bits/param.h.
29757         * sysdeps/generic/sys/param.h: File removed.
29758         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29759         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29760         * sysdeps/mach/hurd/bits/param.h: New file.
29761         * sysdeps/mach/hurd/sys/param.h: File removed.
29762
29763         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29764         last change.
29765
29766         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29767         [_IO_MTSAFE_IO].
29768         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29769         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29770         New macros.
29771
29772         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29773         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29774         rather than -D_IO_MTSAFE_IO conditionally.
29775         * stdio-common/Makefile (CPPFLAGS): Likewise.
29776         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29777         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29778         Use $(libio-mtsafe).
29779         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29780         of -D_IO_MTSAFE_IO.
29781         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29782         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29783         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29784         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29785         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29786         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29787         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29788         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29789         (CFLAGS-fread_u_chk.c): Likewise.
29790         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29791         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29792         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29793         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29794         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29795         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29796         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29797         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29798         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29799
29800         * libio/Makefile: Test [$(libc-reentrant) = yes]
29801         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29802
29803         * Makeconfig
29804         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29805         * sysdeps/pthread/configure: File removed.
29806         * sysdeps/pthread/Makeconfig: New file.
29807         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29808         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29809
29810 2012-08-16  Gary Benson  <gbenson@redhat.com>
29811
29812         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29813         unmapping the first object in a namespace.
29814
29815 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29816
29817         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29818         (__internal_setnetgrent): ... this.  Add internal_function to
29819         definition.  Add libc_hidden_def.
29820         (setnetgrent): Update caller.
29821         (internal_endnetgrent): Renamed to ...
29822         (__internal_endnetgrent): ... this.  Add internal_function to
29823         definition.  Add libc_hidden_def.
29824         (endnetgrent): Update caller.
29825         (internal_getnetgrent_r): Renamed to ...
29826         (__internal_getnetgrent_r): ... this.  Add internal_function to
29827         definition.  Add libc_hidden_def.
29828         (__getnetgrent_r): Update caller.
29829         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29830
29831 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29832
29833         * stdlib/longlong.h: Update from GCC.
29834
29835 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29836
29837         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29838         on _QL, which is set by umul_ppmm but never used.
29839         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29840         variables, which are set by GMP macros but never used.
29841         * stdio-common/_itowa.c (_itowa): Likewise.
29842         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29843         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29844
29845 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29846
29847         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29848         struct La_sh_regs is not constant.
29849         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29850         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29851         and struct La_sparc64_regs are not constant.
29852
29853 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29854
29855         * sysdeps/unix/sysv/linux/kernel-features.h
29856         (__ASSUME_POSIX_TIMERS): Remove.
29857         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29859         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29860         Make code unconditional.
29861         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29862         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29863         Make code unconditional.
29864         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29865         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29866         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29868         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29869         Make code unconditional.
29870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29871         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29872         (__libc_missing_posix_timers): Remove.
29873
29874 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29875
29876         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29877         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29878
29879         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29880
29881         * elf/dl-sym.c: Include <stdlib.h>.
29882
29883         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29884         constants, which avoids warnings in 32-bit builds.
29885
29886         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29887         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29888
29889         * misc/lseek.c: File moved to ...
29890         * io/lseek.c: ... here.
29891
29892         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29893
29894         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29895         shifting LEN more than 31 bits at once.
29896
29897 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29898
29899         [BZ #14195]
29900         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29901         segmentation fault for a case of two empty input strings.
29902         * string/test-strncasecmp.c (check1): Renamed to...
29903         (bz12205): ...this.
29904         (bz14195): Add new testcase for two empty input strings and N > 0.
29905         (test_main): Call new testcase, adapt for renamed function.
29906
29907 2012-08-15  Andreas Jaeger  <aj@suse.de>
29908
29909         [BZ #14090]
29910         * crypt/md5test2.c: New test, based on test supplied by Serge
29911         Belyshev <belyshev@depni.sinp.msu.ru>.
29912         * crypt/Makefile (xtests): Add md5test-giant..
29913         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29914
29915 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29916
29917         [BZ #14090]
29918         * crypt/md5.c (md5_process_block): Don't assume the buffer
29919         length is less than 2**32.
29920         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29921         length is less than 2**64.
29922
29923 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29924
29925         * string/str-two-way.h: Include <sys/param.h>.
29926         (MAX): Macro removed.
29927
29928         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29929         Move #define and #undef of memmove to just before and after
29930         including <string.h>.
29931
29932         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29933         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29934         and after including <string.h>.  Move declarations of
29935         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29936         to before #include "string/memmove.c".
29937
29938         * include/dirent.h: Declare __getdirentries.
29939
29940         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29941         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29942
29943 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29944
29945         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29946         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29947         * sysdeps/i386/configure: Regenerated.
29948         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29949         STABS_CURRENT_FILE, and STABS_FUN.
29950         (END): Remove call to STABS_FUN_END.
29951         (STABS_CURRENT_FILE1): Delete.
29952         (STABS_CURRENT_FILE): Likewise.
29953         (STABS_FUN): Likewise.
29954         (STABS_FUN_END): Likewise.
29955         (STABS_FUN2): Likewise.
29956         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29957         * sysdeps/x86_64/configure: Regenerated.
29958
29959 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29960
29961         * elf/dl-open.c: Include <atomic.h>.
29962         * elf/dl-lookup.c: Likewise.
29963
29964 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29965
29966         * sysdeps/unix/sysv/linux/kernel-features.h
29967         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29968         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29969         unconditionally.
29970         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29971         unconditionally.
29972         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29973         condition on __ASSUME_CLONE_THREAD_FLAGS.
29974
29975 2012-08-14  Andreas Jaeger  <aj@suse.de>
29976
29977         * sysdeps/i386/fpu/libm-test-ulps: Update.
29978
29979 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29980
29981         * include/atomic.h (atomic_exchange_and_add): Split into ...
29982         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29983         New atomic macros.
29984
29985 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29986
29987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29988
29989 2012-08-13  Jeff Law <law@redhat.com>
29990
29991         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29992         null byte in the output string.
29993
29994 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29995
29996         * sysdeps/unix/sysv/linux/kernel-features.h
29997         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29998         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29999         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30000         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30001         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30002         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30003         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30004
30005 2012-08-09  Jeff Law <law@redhat.com>
30006
30007         [BZ #13939]
30008         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30009         When avoid_arena is set, don't retry in the that arena.  Pick the
30010         next one, whatever it might be.
30011         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30012         (arena_lock): Pass in new parameter to arena_get2.
30013         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30014         arena_get2.
30015         (__libc_malloc): Unify retrying after main arena failure with
30016         __libc_memalign version.
30017         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30018
30019 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30020
30021         [BZ #14166]
30022         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30023         to __redirect_strstr.
30024         (__strstr_sse42): Use typeof __redirect_strstr.
30025         (__strstr_ia32): Likewise.
30026         (__libc_strstr): New prototype.
30027         (strstr): Renamed to ...
30028         (__libc_strstr): This.
30029         (strstr): New strong alias of __libc_strstr.
30030         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30031         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30032         __redirect_time.
30033         Include <time.h>.
30034         (__libc_time): New prototype.
30035         (time_ifunc): Replace time with __libc_time.
30036         (time): New strong alias and hidden definition of __libc_time.
30037         (__GI_time): Remove strong alias.
30038         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30039         Include <stddef.h>.
30040         (memmove): Redefined to __redirect_memmove.
30041         (__memmove_sse2): Use typeof __redirect_memmove.
30042         (__memmove_ssse3): Likewise.
30043         (__memmove_ssse3_back): Likewise.
30044         (__libc_memmove): New prototype.
30045         (memmove): Renamed to ...
30046         (__libc_memmove): This.
30047         (memmove): New strong alias of __libc_memmove.
30048
30049 2012-08-08  Mark Salter  <msalter@redhat.com>
30050
30051         * elf/elf.h
30052         (R_MN10300_TLS_GD): Define.
30053         (R_MN10300_TLS_LD): Likewise.
30054         (R_MN10300_TLS_LDO): Likewise.
30055         (R_MN10300_TLS_GOTIE): Likewise.
30056         (R_MN10300_TLS_IE): Likewise.
30057         (R_MN10300_TLS_LE): Likewise.
30058         (R_MN10300_TLS_DTPMOD): Likewise.
30059         (R_MN10300_TLS_DTPOFF): Likewise.
30060         (R_MN10300_TLS_TPOFF): Likewise.
30061         (R_MN10300_SYM_DIFF): Likewise.
30062         (R_MN10300_ALIGN): Likewise.
30063         (R_MN10300_NUM): Update.
30064
30065 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30066
30067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30068         Remove.
30069
30070 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30071
30072         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30073
30074         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30075         sysdeps/unix -> sysdeps/posix move.
30076         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30077
30078 2012-08-07      Allan McRae     <allan@archlinux.org>
30079
30080         [BZ #14303]
30081         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30082         (SUNOS_CPP): Likewise.
30083         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30084         not found.
30085         (open_input): Call CPP using execvp.
30086
30087 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30088
30089         * sysdeps/unix/sysv/linux/kernel-features.h
30090         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30091         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30092         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30093         (__ASSUME_WAITID_SYSCALL): Likewise.
30094         * sysdeps/unix/sysv/linux/dl-execstack.c
30095         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30096         code unconditional.
30097         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30098         conditional code.
30099         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30100         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30101         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30102         code.
30103         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30104         unconditional.
30105         [__ASSUME_WAITID_SYSCALL]: Likewise.
30106         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30107
30108 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30109
30110         * sysdeps/unix/closedir.c: Renamed to ...
30111         * sysdeps/posix/closedir.c: ... here.
30112         * sysdeps/unix/dirfd.c: Renamed to ...
30113         * sysdeps/posix/dirfd.c: ... here.
30114         * sysdeps/unix/dirstream.h: Renamed to ...
30115         * sysdeps/posix/dirstream.h: ... here.
30116         * sysdeps/unix/fdopendir.c: Renamed to ...
30117         * sysdeps/posix/fdopendir.c: ... here.
30118         * sysdeps/unix/opendir.c: Renamed to ...
30119         * sysdeps/posix/opendir.c: ... here.
30120         * sysdeps/unix/readdir.c: Renamed to ...
30121         * sysdeps/posix/readdir.c: ... here.
30122         * sysdeps/unix/readdir_r.c: Renamed to ...
30123         * sysdeps/posix/readdir_r.c: ... here.
30124         * sysdeps/unix/rewinddir.c: Renamed to ...
30125         * sysdeps/posix/rewinddir.c: ... here.
30126         * sysdeps/unix/seekdir.c: Renamed to ...
30127         * sysdeps/posix/seekdir.c: ... here.
30128         * sysdeps/unix/telldir.c: Renamed to ...
30129         * sysdeps/posix/telldir.c: ... here.
30130         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30131         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30132         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30133         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30134
30135         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30136         * bits/fcntl.h: ... here.
30137
30138         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30139         not 0.
30140         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30141         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30142         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30143         (struct flock): Move l_start, l_len to the beginning.
30144         Use __pid_t for l_pid.
30145         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30146         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30147         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30148         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30149         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30150         [__USE_LARGEFILE64] (struct flock64): New type.
30151         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30152
30153         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30154         * bits/dirent.h: ... here.
30155
30156         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30157         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30158
30159 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30160
30161         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30162         Change from 2.6.0 to 2.6.16.
30163         * sysdeps/unix/sysv/linux/configure: Regenerated.
30164         * sysdeps/unix/sysv/linux/kernel-features.h
30165         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30166         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30167         version.
30168         (__ASSUME_UTIMES): Likewise.
30169         (__ASSUME_CLONE_STOPPED): Remove.
30170         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30171         architectures, not kernel version.
30172         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30173         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30174         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30175         (__ASSUME_WAITID_SYSCALL): Likewise.
30176         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30177         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30178         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30179         refer to older versions.
30180
30181 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30182
30183         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30184         Define alphasort64 as an alias.
30185         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30186         Define versionsort64 as an alias.
30187         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30188         Define scandir64 as an alias.
30189         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30190         Define scandirat64 as an alias.
30191         * dirent/alphasort64.c (alphasort64):
30192         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30193         * dirent/versionsort64.c: Likewise.
30194         * dirent/scandir64.c: Likewise.
30195         * dirent/scandirat64.c: Likewise.
30196         * sysdeps/wordsize-64/alphasort.c: File removed.
30197         * sysdeps/wordsize-64/alphasort64.c: File removed.
30198         * sysdeps/wordsize-64/scandir.c: File removed.
30199         * sysdeps/wordsize-64/scandir64.c: File removed.
30200         * sysdeps/wordsize-64/scandirat.c: File removed.
30201         * sysdeps/wordsize-64/scandirat64.c: File removed.
30202         * sysdeps/wordsize-64/versionsort.c: File removed.
30203         * sysdeps/wordsize-64/versionsort64.c: File removed.
30204         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30205         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30206         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30207         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30208         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30209         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30210         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30211         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30212
30213         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30215         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30217         [defined __arch64__ || defined __sparcv9]
30218         (__INO_T_MATCHES_INO64_T): New macro.
30219         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30220         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30221         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30222         * sysdeps/unix/sysv/linux/bits/dirent.h
30223         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30224         (_DIRENT_MATCHES_DIRENT64): New macro.
30225
30226         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30227         Define lockf64 as an alias.
30228         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30229         Define fseeko64 as an alias.
30230         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30231         Define ftello64 as an alias.
30232         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30233         Define _IO_fgetpos64 and fgetpos64 as aliases.
30234         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30235         Define _IO_fsetpos64 and fsetpos64 as aliases.
30236         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30237         Conditionalize body on this.
30238         * libio/fseeko64.c: Likewise.
30239         * libio/ftello64.c: Likewise.
30240         * libio/iofgetpos64.c: Likewise.
30241         * libio/iofsetpos64.c: Likewise.
30242         * sysdeps/wordsize-64/lockf.c: File removed.
30243         * sysdeps/wordsize-64/lockf64.c: File removed.
30244         * sysdeps/wordsize-64/fseeko.c: File removed.
30245         * sysdeps/wordsize-64/fseeko64.c: File removed.
30246         * sysdeps/wordsize-64/ftello.c: File removed.
30247         * sysdeps/wordsize-64/ftello64.c: File removed.
30248         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30249         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30250         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30251         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30253         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30254         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30255         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30256         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30257         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30258         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30259         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30260         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30261         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30262
30263         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30264         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30265         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30266         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30267         [defined __arch64__ || defined __sparcv9]
30268         (__OFF_T_MATCHES_OFF64_T): New macro.
30269         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30270         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30271         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30272         (__OFF_T_MATCHES_OFF64_T): New macro.
30273
30274 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30275
30276         * stdlib/secure-getenv.c (__secure_getenv): Replace
30277         GLIBC_2_16 with GLIBC_2_17.
30278
30279 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30280
30281         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30282         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30283
30284 2012-08-03  David S. Miller  <davem@davemloft.net>
30285
30286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30287
30288 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30289
30290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30291         Remove.
30292         (__ASSUME_CORRECT_SI_PID): Likewise.
30293         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30294         (__ASSUME_TMPFS_NAME): Likewise.
30295         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30296         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30297         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30298         (HAVE_AUX_SECURE): Make definition unconditional.
30299         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30300         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30301
30302 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30303
30304         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30305         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30306         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30307         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30308         __eloop_threshold instead of SYMLOOP_MAX.
30309
30310         * sysdeps/generic/eloop-threshold.h: New file.
30311         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30312         of MAXSYMLINKS.
30313         * elf/chroot_canon.c (chroot_canon): Likewise.
30314
30315 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30316
30317         [BZ #13717]
30318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30319         Change to 2.6.0 everywhere.
30320         * sysdeps/unix/sysv/linux/configure: Regenerated.
30321         * sysdeps/unix/sysv/linux/kernel-features.h
30322         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30323         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30324         kernel versions.
30325         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30326         (__ASSUME_FUTEX_REQUEUE): Remove.
30327         (__ASSUME_STATFS64): Define unconditionally.
30328         (__ASSUME_AT_SECURE): Likewise.
30329         (__ASSUME_CORRECT_SI_PID): Likewise.
30330         (__ASSUME_TGKILL): Define without depending on kernel version for
30331         i386.
30332         (__ASSUME_UTIMES): Likewise.
30333         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30334         kernel version.
30335         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30336         (__ASSUME_TMPFS_NAME): Likewise.
30337         * README: Update reference to Linux kernel versions.
30338
30339 2012-08-02  Marek Polacek  <polacek@redhat.com>
30340
30341         [BZ# 14150]
30342         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30343         libc_cv_asm_type_prefix with %.
30344         * configure: Regenerated.
30345         * include/libc-symbols.h: Remove comment about
30346         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30347         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30348         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30349         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30350         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30351         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30352         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30353         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30354         * elf/tst-unique2mod1.c: Likewise.
30355         * elf/tst-unique1mod2.c: Likewise.
30356         * elf/tst-unique1mod1.c: Likewise.
30357         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30358         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30359         Replace ASM_TYPE_DIRECTIVE with .type.
30360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30361         * sysdeps/i386/sysdep.h: Likewise.
30362         * sysdeps/x86_64/sysdep.h: Likewise.
30363         * sysdeps/sh/sysdep.h: Likewise.
30364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30365         Do not define ASM_TYPE_DIRECTIVE.
30366         * sysdeps/powerpc/sysdep.h: Likewise.
30367         * sysdeps/powerpc/powerpc32/sysdep.h:
30368         Replace ASM_TYPE_DIRECTIVE with .type.
30369         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30370         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30371         * sysdeps/i386/fpu/e_powf.S: Likewise.
30372         * sysdeps/i386/fpu/e_expl.S: Likewise.
30373         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30374         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30375         * sysdeps/i386/fpu/e_pow.S: Likewise.
30376         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30377         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30378         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30379         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30380         * sysdeps/i386/fpu/e_log2.S: Likewise.
30381         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30382         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30383         * sysdeps/i386/fpu/e_powl.S: Likewise.
30384         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30385         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30386         * sysdeps/i386/fpu/e_logl.S: Likewise.
30387         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30388         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30389         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30390         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30391         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30392         * sysdeps/i386/fpu/e_log.S: Likewise.
30393         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30394         * sysdeps/i386/fpu/e_logf.S: Likewise.
30395         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30396         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30397         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30398         * sysdeps/i386/fpu/e_log10.S: Likewise.
30399         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30400         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30401         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30402         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30403         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30404         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30405         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30406         * sysdeps/i386/i686/strtok.S: Likewise.
30407         * sysdeps/i386/i386-mcount.S: Likewise.
30408         * sysdeps/i386/strtok.S: Likewise.
30409         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30410         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30411         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30412         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30413         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30414         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30415         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30416         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30417         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30418         * sysdeps/x86_64/_mcount.S: Likewise.
30419         * sysdeps/x86_64/strtok.S: Likewise.
30420         * sysdeps/sh/_mcount.S: Likewise.
30421
30422 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30423
30424         * libio/iofopen.c: Include <fcntl.h>.
30425         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30426         (_IO_fopen64, fopen64): Define as aliases.
30427         * libio/iofopen64.c: Include <fcntl.h>.
30428         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30429         Conditionalize body on this.
30430         * sysdeps/wordsize-64/iofopen.c: File removed.
30431         * sysdeps/wordsize-64/iofopen64.c: File removed.
30432
30433 2012-08-01  Marek Polacek  <polacek@redhat.com>
30434
30435         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30436         Use dlfcn directly instead of a variable.
30437         (binfmt-subdir): Do not define.
30438         (dlfcn): Likewise.
30439
30440 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30441
30442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30443         Remove all definitions.
30444         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30445         <kernel-features.h>.
30446         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30447         (miss_F_GETOWN_EX): Remove all definitions.
30448         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30449         macro definition.
30450         [!__ASSUME_FCNTL64]: Remove conditional code.
30451         [__ASSUME_FCNTL64]: Make code unconditional.
30452         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30453         <kernel-features.h>.
30454         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30455         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30456         (lockf64) [__NR_fcntl64]: Make code unconditional.
30457         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30458
30459         * sysdeps/unix/sysv/linux/kernel-features.h
30460         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30461         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30462         Make code unconditional.
30463         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30464         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30466         [__NR_vfork]: Make code unconditional.
30467         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30468         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30470         [__NR_vfork]: Make code unconditional.
30471         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30472         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30473
30474 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30475
30476         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30477         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30478
30479         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30480         Define mkstemp64 as an alias.
30481         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30482         Define mkstemps64 as an alias.
30483         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30484         Define mkostemp64 as an alias.
30485         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30486         Define mkostemps64 as an alias.
30487         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30488         Conditionalize body on this.
30489         * misc/mkostemp64.c: Likewise.
30490         * misc/mkostemps64.c: Likewise.
30491         * misc/mkstemps64.c: Likewise.
30492         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30493         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30494         * sysdeps/wordsize-64/mkostemp.c: File removed.
30495         * sysdeps/wordsize-64/mkstemp.c: File removed.
30496         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30497         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30498         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30499         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30500
30501         [BZ #14138]
30502         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30503         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30504         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30505         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30506
30507         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30508         compat_symbol macros from <shlib-compat.h> rather than the underlying
30509         default_symbol_version and symbol_version macros, so that DEFAULT
30510         lines in shlib-versions are respected.
30511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30512
30513 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30514
30515         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30516         Declare with warn_unused_result.
30517         (setgid, setregid, setegid, setresgid): Likewise.
30518         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30519         Likewise.
30520         * WUR-REPORT: Remove set*id functions.
30521
30522 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30523
30524         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30525
30526 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30527
30528         [BZ #10191]
30529         * include/sys/socket.h (__libc_accept, __libc_accept4):
30530         Add attribute_hidden.
30531         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30532
30533         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30534         use of PTR_MANGLE.
30535         * inet/getnetgrent_r.c (setup): Likewise.
30536
30537         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30538
30539 2012-07-31  David S. Miller  <davem@davemloft.net>
30540
30541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30542
30543 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30544
30545         [BZ #13629]
30546         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30547         value between 1.0 and 2.0 and smaller part has absolute value less
30548         than 1.0.
30549         * math/s_clog10.c (__clog10): Likewise.
30550         * math/s_clog10f.c (__clog10f): Likewise.
30551         * math/s_clog10l.c (__clog10l): Likewise.
30552         * math/s_clogf.c (__clogf): Likewise.
30553         * math/s_clogl.c (__clogl): Likewise.
30554         * math/libm-test.inc (clog_test): Add more tests.
30555         (clog10_test): Likewise.
30556         * sysdeps/i386/fpu/libm-test-ulps: Update.
30557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30558
30559 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30560
30561         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30562         Exit with zero in case no suitable GID is found, and write a
30563         message to standard error.
30564
30565 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30566
30567         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30568         rather than to 1.
30569         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30570         (MAXPATHLEN): Removed.
30571         (NOGROUP, NODEV): New macros.
30572         (setbit, clrbit, isset, isclr): New macros.
30573         (howmany, roundup, powerof2): New macros.
30574         (DEV_BSIZE): New macro.
30575
30576         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30577         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30578
30579         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30580         definition on [!__NO_LONG_DOUBLE_MATH].
30581
30582         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30583         PTR_MANGLE and PTR_DEMANGLE.
30584
30585         * socket/accept4.c (accept4): Rename to __libc_accept4.
30586         Define accept4 as a weak alias.
30587
30588         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30589         on [_DIRENT_HAVE_D_TYPE].
30590         * io/ftw.c (ftw_dir): Likewise.
30591
30592         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30593
30594         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30595
30596         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30597         Use the BSD numbers rather than the arbitrary ones we had.
30598         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30599         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30600         (SIGXCPU, SIGXFSZ): New macros.
30601         (_NSIG): Now 32.
30602
30603         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30604         initializer on [_LIBC_REENTRANT].
30605
30606         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30607         definitions inside [_POSIX_MAPPED_FILES].
30608
30609         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30610
30611         * dirent/opendir.c: Include <fcntl.h>.
30612
30613         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30614         (__libc_getspecific): Likewise.
30615         (__libc_key_create): Likewise.
30616
30617         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30618         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30619         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30620         (tmpfile64): Define as alias.
30621         * sysdeps/wordsize-64/tmpfile.c: File removed.
30622         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30623         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30624         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30625
30626         * stdio-common/vfscanf.c: Include <stdbool.h>.
30627         * nss/makedb.c: Likewise.
30628         * stdio-common/_i18n_number.h: Likewise.
30629         * argp/argp-help.c: Likewise.
30630         * posix/wordexp.c: Likewise.
30631         * sysdeps/posix/spawni.c: Likewise.
30632         * nss/nss_files/files-initgroups.c: Likewise.
30633         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30634         * nss/nss_files/files-initgroups.c: Likewise.
30635         * nss/nss_db/db-netgrp.c: Likewise.
30636         * nss/nss_db/db-initgroups.c: Likewise.
30637         * io/fchmodat.c: Include <sys/stat.h>.
30638
30639         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30640         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30641
30642         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30643         [HAVE_MMAP].
30644
30645         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30646         Add multiple inclusion protection.
30647
30648 2012-07-27  David S. Miller  <davem@davemloft.net>
30649
30650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30651
30652 2012-07-27  Gary Benson  <gbenson@redhat.com>
30653
30654         [BZ #14298]
30655         * elf/rtld.c: Include <stap-probe.h>.
30656         (dl_main): Added static probes "init_start" and "init_complete".
30657         * elf/dl-load.c: Include <stap-probe.h>.
30658         (lose): Take new parameter "nsid".
30659         Added static probe "map_failed".
30660         (_dl_map_object_from_fd): Pass namespace id to lose.
30661         Added static probe "map_start".
30662         (open_verify): Pass namespace id to lose.
30663         * elf/dl-open.c: Include <stap-probe.h>.
30664         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30665         and "reloc_complete".
30666         * elf/dl-close.c: Include <stap-probe.h>.
30667         (_dl_close_worker): Added static probes "unmap_start" and
30668         "unmap_complete".
30669         * elf/rtld-debugger-interface.txt: New file documenting the above.
30670
30671 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30672
30673         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30674         rather than a string variable.
30675         * sunrpc/rpc_main.c (h_output): Likewise.
30676         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30677
30678 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30679
30680         * inet/check_native.c: New file.
30681
30682 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30683
30684         [BZ #13629]
30685         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30686         if larger part has absolute value 1.0.
30687         * math/s_clog10.c (__clog10): Likewise.
30688         * math/s_clog10f.c (__clog10f): Likewise.
30689         * math/s_clog10l.c (__clog10l): Likewise.
30690         * math/s_clogf.c (__clogf): Likewise.
30691         * math/s_clogl.c (__clogl): Likewise.
30692         * math/libm-test.inc (clog_test): Add more tests.
30693         (clog10_test): Likewise.
30694         * sysdeps/i386/fpu/libm-test-ulps: Update.
30695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696
30697         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30698         (pltexit): Likewise.
30699         (La_regs): Likewise.
30700         (La_retval): Likewise.
30701         (int_retval): Likewise.
30702         Update #error for removed macros to refer only to definitions in
30703         tst-audit.h.
30704         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30705         macro.
30706         (pltexit): Likewise.
30707         (La_regs): Likewise.
30708         (La_retval): Likewise.
30709         (int_retval): Likewise.
30710         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30711         macro.
30712         (pltexit): Likewise.
30713         (La_regs): Likewise.
30714         (La_retval): Likewise.
30715         (int_retval): Likewise.
30716         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30717         macro.
30718         (pltexit): Likewise.
30719         (La_regs): Likewise.
30720         (La_retval): Likewise.
30721         (int_retval): Likewise.
30722         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30723         macro.
30724         (pltexit): Likewise.
30725         (La_regs): Likewise.
30726         (La_retval): Likewise.
30727         (int_retval): Likewise.
30728         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30729         macro.
30730         (pltexit): Likewise.
30731         (La_regs): Likewise.
30732         (La_retval): Likewise.
30733         (int_retval): Likewise.
30734         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30735         macro.
30736         (pltexit): Likewise.
30737         (La_regs): Likewise.
30738         (La_retval): Likewise.
30739         (int_retval): Likewise.
30740         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30741         macro definitions in tst-audit.h.
30742         * sysdeps/i386/tst-audit.h: New file.
30743         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30744         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30745         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30746         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30747         * sysdeps/sh/tst-audit.h: Likewise.
30748         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30749         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30750         * sysdeps/x86_64/tst-audit.h: Likewise.
30751
30752 2012-07-26  Andreas Jaeger  <aj@suse.de>
30753
30754         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30755         ptrace.
30756
30757         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30758         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30759         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30760         PTRACE_O_MASK.
30761         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30762         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30763         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30764
30765         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30766         value.
30767
30768         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30769         _sigsys.
30770         (si_call_addr, si_syscall, si_arch): Define new macro.
30771         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30772         _sigsys.
30773         (si_call_addr, si_syscall, si_arch): Define new marcro.
30774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30775         _sigsys.
30776         (si_call_addr, si_syscall, si_arch): Define new macro.
30777         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30778         _sigsys.
30779         (si_call_addr, si_syscall, si_arch): Define new macro.
30780
30781 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30782
30783         [BZ #13717]
30784         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30785         Change to 2.4.21 where previously 2.4.1.
30786         * sysdeps/unix/sysv/linux/configure: Regenerated.
30787         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30788         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30789         Linux kernel version.
30790         (__ASSUME_STD_AUXV): Remove.
30791         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30792         kernel version.
30793         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30794         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30795         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30796         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30797         (__ASSUME_NETLINK_SUPPORT): Likewise.
30798         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30799         (__no_netlink_support): Remove conditional definition.
30800         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30801         Remove.
30802         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30803         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30804         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30805         (if_nameindex_ioctl): Remove.
30806         (if_nameindex_netlink): Do not handle __no_netlink_support.
30807         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30808         code.
30809         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30810         Remove conditional code.
30811         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30812         code.
30813         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30814         unconditional.
30815         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30816         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30817         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30818         Remove.
30819         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30820         [!__ASSUME_STD_AUXV]: Remove conditional code.
30821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30822         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30823         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30825         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30826         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30827         code.
30828         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30830         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30831         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30832         conditional code.
30833         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30835         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30836         code.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30838         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30839         conditional code.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30841         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30842         code unconditional.
30843         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30844         conditional code.
30845         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30846         unconditional.
30847         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30848         conditional code.
30849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30850         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30851         unconditional.
30852         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30853         conditional code.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30855         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30856         code unconditional.
30857         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30858         conditional code.
30859         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30860         unconditional.
30861         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30862         conditional code.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30864         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30865         code unconditional.
30866         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30867         conditional code.
30868         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30869         unconditional.
30870         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30871         conditional code.
30872
30873 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30874
30875         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30876         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30877         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30878         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30879         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30880         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30881         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30882         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30883         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30884         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30885         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30886         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30887         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30888         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30889         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30890         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30891         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30892         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30893         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30894         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30895         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30896         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30897         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30898
30899 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30900
30901         * Versions.def: Add GLIBC_2.17.
30902         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30903         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30904         Introduce __libc_secure_getenv.
30905         * stdlib/Versions (2.17): Add secure_getenv
30906         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30907         * stdlib/secure-getenv.c: Rename __secure_getenv to
30908         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30909         symbol __secure_getenv for GLIBC_2.0.
30910         * stdlib/tst-secure-getenv.c: New.
30911         * stdlib/Makefile (tests): Add testcase.
30912         * manual/startup.texi (Environment Access): Document
30913         secure_getenv.
30914         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30915         __libc_secure_getenv.
30916         * inet/ruserpass.c (ruserpass): Likewise.
30917         * malloc/mtrace.c (mtrace): Likewise.
30918         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30919         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30920         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30921         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30922         HAVE_SECURE_GETENV.
30923         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30924         __secure_getenv to __libc_secure_getenv.
30925         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30927         Likewise.
30928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30929         Likewise.
30930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30932         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30937
30938 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30939
30940         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30941         (struct La_i86_retval): Likewise.
30942         (struct La_x86_64_regs): Likewise.
30943         (struct La_x86_64_retval): Likewise.
30944         (struct La_x32_regs): Likewise.
30945         (struct La_x32_retval): Likewise.
30946         (struct La_ppc32_regs): Likewise.
30947         (struct La_ppc32_retval): Likewise.
30948         (struct La_ppc64_regs): Likewise.
30949         (struct La_ppc64_retval): Likewise.
30950         (struct La_sh_regs): Likewise.
30951         (struct La_sh_retval): Likewise.
30952         (struct La_s390_32_regs): Likewise.
30953         (struct La_s390_32_retval): Likewise.
30954         (struct La_s390_64_regs): Likewise.
30955         (struct La_s390_64_retval): Likewise.
30956         (struct La_sparc32_regs): Likewise.
30957         (struct La_sparc32_retval): Likewise.
30958         (struct La_sparc64_regs): Likewise.
30959         (struct La_sparc64_retval): Likewise.
30960         (struct audit_ifaces): Remove architecture-specific pltenter and
30961         pltexit members.
30962         * sysdeps/i386/ldsodefs.h: New file.
30963         * sysdeps/powerpc/ldsodefs.h: Likewise.
30964         * sysdeps/s390/ldsodefs.h: Likewise.
30965         * sysdeps/sh/ldsodefs.h: Likewise.
30966         * sysdeps/sparc/ldsodefs.h: Likewise.
30967         * sysdeps/x86_64/ldsodefs.h: Likewise.
30968
30969 2012-07-25  Marek Polacek  <polacek@redhat.com>
30970
30971         [BZ #6808]
30972         * math/libm-test.inc (yn_test): Add another test.
30973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30974         to ERANGE when the result is +-Inf.
30975         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30976         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30977         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30978         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30979
30980 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30981
30982         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30983         equal to 0.
30984         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30985         clock_t.
30986         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30987
30988 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30989
30990         * configure.in <sysdeps resolving>: Correct printing
30991         Implies_before.
30992         * configure: Regenerate.
30993
30994 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30995
30996         * math/w_ilogb.c: Include <limits.h>.
30997         * math/w_ilogbl.c: Likewise.
30998
30999 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31000
31001         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31002         va_copy.  Document allowing for unavailable va_copy only as
31003         pre-C99 compatibility.
31004         * manual/string.texi (Copying and Concatenation): Use va_copy
31005         instead of __va_copy in concat example.
31006
31007 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31008
31009         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31010         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31011         it if not null.
31012
31013         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31014         with O_NOLINK passed to __file_name_lookup.
31015
31016         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31017         with O_NOLINK passed to __file_name_lookup.
31018
31019         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31020         negative N or less than NGIDS.
31021
31022         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31023         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31024         enough.  Use memcpy instead of strncpy.
31025
31026 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31027
31028         * elf/Makefile (check-data): Remove.
31029         (localplt.data): New vpath directive.
31030         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31031         instead of $(check-data).
31032         * scripts/data/localplt-generic.data: Move to ...
31033         * sysdeps/generic/localplt.data: ... here.
31034         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31035         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31036         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31038         ... here.
31039         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31041         ... here.
31042         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31044         ... here.
31045         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31047         ... here.
31048         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31050         ... here.
31051         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31053         ... here.
31054
31055 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31056
31057         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31058         PPC32 and PPC64 files.
31059         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31060         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31061
31062 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31063
31064         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31065         __makecontext_ret to ...
31066         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31067         ... here and call exit if uc_link is NULL.  New file.
31068         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31069         __makecontext_ret.S.
31070         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31071         __makecontext_ret to ...
31072         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31073         ... here and call exit if uc_link is NULL.  New file.
31074         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31075         __makecontext_ret.S.
31076
31077 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31078
31079         * elf/elf.h (R_390_IRELATIVE): New definition.
31080         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31081         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31082         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31083         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31084         (elf_machine_lazy_rel): Likewise.
31085         * sysdeps/s390/dl-irel.h: New file.
31086         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31087         * sysdeps/s390/s390-64/memset.S: New asm code.
31088         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31089         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31090         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31091         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31092         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31093         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31094         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31095         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31096         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31097         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31098         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31099         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31100         * sysdeps/s390/s390-32/memset.S: New asm code.
31101         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31102
31103 2012-07-17  Marek Polacek  <polacek@redhat.com>
31104
31105         [BZ #14349]
31106         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31107         * sysdeps/s390/s390-64/configure.in: Likewise.
31108         * sysdeps/sparc/configure.in: Likewise.
31109         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31110         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31111         * sysdeps/i386/configure.in: Likewise.
31112         * sysdeps/x86_64/configure.in: Likewise.
31113         * sysdeps/sh/configure.in: Likewise.
31114         * sysdeps/s390/s390-32/configure: Regenerated.
31115         * sysdeps/s390/s390-64/configure: Likewise.
31116         * sysdeps/x86_64/configure: Likewise.
31117         * sysdeps/sh/configure: Likewise.
31118         * sysdeps/powerpc/powerpc64/configure: Likewise.
31119         * sysdeps/powerpc/powerpc32/configure: Likewise.
31120         * sysdeps/sparc/configure: Likwise.
31121         * sysdeps/i386/configure: Likewise.
31122
31123         * elf/dl-open.c: Comment fixes.
31124
31125 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31126
31127         * Makefile [CXX] (check-data): Remove.
31128         [CXX] (c++-types.data): New vpath directive.
31129         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31130         vpath.  Do not allow for C++ type data being missing.
31131         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31132         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31133         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31134         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31135         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31136         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31137         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31139         ... here.
31140         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31142         ... here.
31143         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31145         ... here.
31146         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31148         ... here.
31149         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31151         ... here.
31152         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31154         ... here.
31155         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31157         ... here.
31158         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31160
31161         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31162         definitions to architecture-specific files.
31163         (TLS_IE): Likewise.
31164         (TLS_LD): Likewise.
31165         (TLS_GD): Likewise.
31166         * sysdeps/i386/tls-macros.h: New file.
31167         * sysdeps/powerpc/tls-macros.h: Likewise.
31168         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31169         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31170         * sysdeps/sh/tls-macros.h: Likewise.
31171         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31172         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31173         * sysdeps/x86_64/tls-macros.h: Likewise.
31174
31175 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31176
31177         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31178         zero value for regular exit case.
31179
31180         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31181         (__start_context): Preserve zero value for regular exit case.
31182
31183 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31184             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31185
31186         * manual/setjmp.texi (setcontext): Clarify normal process
31187         termination when uc_link is the null pointer.
31188         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31189         exit call.
31190
31191 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31192
31193         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31194         preprocessor.  Test for each exception mask separately.
31195
31196 2012-07-16  Andreas Jaeger  <aj@suse.de>
31197
31198         * po/ru.po: Update from translation team.
31199
31200 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31201
31202         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31203         equal to 0.
31204         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31205         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31206         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31207         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31208         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31209
31210 2012-07-13  Andreas Jaeger  <aj@suse.de>
31211
31212         * po/fr.po: Update from translation team.
31213
31214 2012-07-12  Marek Polacek  <polacek@redhat.com>
31215
31216         [BZ #14173]
31217         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31218         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31219         loop condition.
31220
31221 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31222
31223         [BZ #13717]
31224         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31225         Change to 2.4.1 where previously 2.4.0.
31226         * sysdeps/unix/sysv/linux/configure: Regenerated.
31227         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31228         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31229         version.
31230         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31231         (__ASSUME_AT_CLKTCK): Remove.
31232         (__ASSUME_AT_PAGESIZE): Likewise.
31233         (__ASSUME_AT_XID): Likewise.
31234         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31235         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31236         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31237         unconditionally.
31238         (HAVE_AUX_PAGESIZE): Likewise.
31239         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31240         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31241         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31242
31243 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31244
31245         [BZ #14307]
31246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31247         the temporary buffer used to invoke __gethostbyname2_r,
31248         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31249         host_data / struct gaih_addrtuple.
31250         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31251         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31252         header file nss/nsswitch.h.
31253         * nss/nsswitch.h (global scope): Add definition of implementation
31254         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31255         resolv/nss_dns/dns-host.c).
31256
31257 2012-07-11  Andreas Jaeger  <aj@suse.de>
31258
31259         * po/fr.po: Update from translation team.
31260
31261         * po/sv.po: Update from translation team
31262         * po/fr.po: Another update from translation team.
31263
31264 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31265
31266         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31267         for subnormals or multiply small sinh result by itself.
31268         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31270
31271 2012-07-11  David S. Miller  <davem@davemloft.net>
31272
31273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31274
31275 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31276
31277         [BZ #14347]
31278         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31279         (INTERNAL_MARK): Shift it here.
31280
31281 2012-07-10  Marek Polacek  <polacek@redhat.com>
31282
31283         [BZ #14151]
31284         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31285         libc_cv_asm_global_directive with .globl.
31286         * configure: Regenerated.
31287         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31288         with .globl.
31289         * sysdeps/i386/configure: Regenerated.
31290         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31291         with .globl.
31292         * sysdeps/x86_64/configure: Regenerated.
31293         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31294         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31295         * elf/tst-unique2mod2.c: Likewise.
31296         * elf/tst-unique2mod1.c: Likewise.
31297         * elf/tst-unique1mod2.c: Likewise.
31298         * elf/tst-unique1mod1.c: Likewise.
31299         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31300         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31301         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31302         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31303         * sysdeps/mach/sysdep.h: Likewise.
31304         * sysdeps/i386/sysdep.h: Likewise.
31305         * sysdeps/i386/i386-mcount.S: Likewise.
31306         * sysdeps/x86_64/_mcount.S: Likewise.
31307         * sysdeps/x86_64/sysdep.h: Likewise.
31308         * sysdeps/sh/_mcount.S: Likewise.
31309         * sysdeps/sh/sysdep.h: Likewise.
31310         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31311         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31312         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31313         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31314         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31315         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31316         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31317         * locale/localeinfo.h: Likewise.
31318         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31319         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31320
31321 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31322
31323         [BZ #14336]
31324         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31325         system".
31326         * manual/message.texi (The Uniforum approach): Likewise.
31327         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31328         (glibc iconv Implementation): Likewise.
31329
31330 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31331
31332         [BZ #14337]
31333         * math/s_clog.c (__clog): Avoid scaling a value down where that
31334         could result in underflow.
31335         * math/s_clog10.c (__clog10): Likewise.
31336         * math/s_clog10f.c (__clog10f): Likewise.
31337         * math/s_clog10l.c (__clog10l): Likewise.
31338         * math/s_clogf.c (__clogf): Likewise.
31339         * math/s_clogl.c (__clogl): Likewise.
31340         * math/libm-test.inc (clog_test): Add more tests.
31341         (clog10_test): Likewise.
31342         * sysdeps/i386/fpu/libm-test-ulps: Update.
31343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31344
31345 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31346
31347         [BZ #14283]
31348         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31349         by 7 not 8 to examine high bit of fractional part.
31350
31351         [BZ #14042]
31352         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31353         for call to __mcount_internal.
31354         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31355         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31356         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31357
31358 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31359
31360         [BZ #14154]
31361         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31362         approximation for values within 0x1p-13f of an odd multiple of
31363         pi/4.
31364         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31365         exception.  Add more tests.
31366         * sysdeps/i386/fpu/libm-test-ulps: Update.
31367
31368         [BZ #6778]
31369         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31370         inputs and return -1 for them.  Do not check for +Inf in case not
31371         reachable for +Inf.
31372         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31373         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31374         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31375         and return -1 for them.  Do not check for +Inf in case not
31376         reachable for +Inf.
31377         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31378         define.
31379         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31380         and return -1 for them.  Do not check for +Inf in case not
31381         reachable for +Inf.
31382         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31383         spurious underflow.
31384         * sysdeps/i386/fpu/libm-test-ulps: Update.
31385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31386
31387 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31388
31389         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31390
31391 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31392
31393         [BZ #14157]
31394         [BZ #14331]
31395         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31396         could result in spurious underflow.  Scale down values above
31397         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31398         * math/s_csqrtf.c (__csqrtf): Likewise.
31399         * math/s_csqrtl.c (__csqrtl): Likewise.
31400         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31401         spurious underflow.
31402         * sysdeps/i386/fpu/libm-test-ulps: Update.
31403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31404
31405 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31406
31407         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31408         xopen-msg.sed.
31409         * catgets/xopen-msg.awk: New file.
31410         * catgets/xopen-msg.sed: Removed.
31411
31412         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31413         po2text.sed.
31414         * intl/po2test.awk: New file.
31415         * intl/po2test.sed: Removed.
31416
31417 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31418
31419         [BZ #14328]
31420         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31421         or multiply small sinh result by itself.
31422         * math/s_ctanf.c (__ctanf): Likewise.
31423         * math/s_ctanh.c (__ctanh): Likewise.
31424         * math/s_ctanhf.c (__ctanhf): Likewise.
31425         * math/s_ctanhl.c (__ctanhl): Likewise.
31426         * math/s_ctanl.c (__ctanl): Likewise.
31427         * math/libm-test.inc (ctan_test_tonearest): New function.
31428         (ctan_test_towardzero): Likewise.
31429         (ctan_test_downward): Likewise.
31430         (ctan_test_upward): Likewise.
31431         (ctanh_test_tonearest): Likewise.
31432         (ctanh_test_towardzero): Likewise.
31433         (ctanh_test_downward): Likewise.
31434         (ctanh_test_upward): Likewise.
31435         (main): Call these new functions.
31436         * sysdeps/i386/fpu/libm-test-ulps: Update.
31437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31438
31439 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31440
31441         * .gitignore: Delete /ports entry.
31442
31443 2012-07-03  Andreas Jaeger  <aj@suse.de>
31444
31445         * po/bg.po: Update from translation team.
31446         * po/cs.po: Likewise.
31447         * po/de.po: Likewise.
31448         * po/hr.po: Likewise.
31449         * po/nl.pl: Likewise.
31450         * po/pl.po: Likewise.
31451         * po/vi.po: Likewise.
31452
31453 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31454
31455         * Makeconfig [!+link] (+link-before-libc): New variable.
31456         [!+link] (+link-after-libc): Likewise.
31457         [!+link] (+link-tests): Likewise.
31458         [!+link] (+link): Define in terms of $(+link-before-libc) and
31459         $(+link-after-libc).
31460         [!+link-static] (+link-static-before-libc): New variable.
31461         [!+link-static] (+link-static-after-libc): Likewise.
31462         [!+link-static] (+link-static-tests): Likewise.
31463         [!+link-static] (+link-static): Define in terms of
31464         $(+link-static-before-libc) and $(+link-static-after-libc).
31465         [build-shared] (link-libc-before-gnulib): New variable.
31466         [build-shared] (link-libc-tests): Likewise.
31467         [build-shared] (link-libc): Define in terms of
31468         $(link-libc-before-gnulib).
31469         [!build-shared] (link-libc-tests): New variable.
31470         (link-libc-static-tests): New variable.
31471         [!gnulib] (gnulib-arch): New variable.
31472         [!gnulib] (gnulib-tests): Likewise.
31473         [!gnulib] (static-gnulib-arch): Likewise.
31474         [!gnulib] (static-gnulib-tests): Likewise.
31475         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31476         Define with "=" instead of ":=".
31477         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31478         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31479         * Rules (binaries-all-notests): New variable.
31480         (binaries-all-tests): Likewise.
31481         (binaries-static-notests): Likewise.
31482         (binaries-static-tests): Likewise.
31483         (binaries-all): Define using $(binaries-all-notests) and
31484         $(binaries-all-tests).
31485         (binaries-static): Define using $(binaries-static-notests) and
31486         $(binaries-static-tests).
31487         (binaries-shared-tests): New variable.
31488         (binaries-shared-notests): Likewise.
31489         (binaries-shared): Remove variable.
31490         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31491         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31492         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31493         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31494         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31495         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31496         * elf/Makefile (sln-modules): New variable.
31497         (extra-objs): Add $(sln-modules:=.o).
31498         (ldconfig-modules): Add static-stubs.
31499         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31500         * elf/static-stubs.c: New file.
31501
31502         [BZ #14283]
31503         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31504         by 7 not 8 to examine high bit of fractional part.  Use volatile
31505         variables when splitting into final array of floats if
31506         __FLT_EVAL_METHOD__ != 0.
31507         * math/libm-test.inc (cos_test): Add another test.
31508         (sin_test): Likewise.
31509         * sysdeps/i386/fpu/libm-test-ulps: Update.
31510
31511         [BZ #14273]
31512         * math/libm-test.inc (cosh_test): Add more tests.
31513
31514         * version.h (RELEASE): Set to "development".
31515         (VERSION): Set to "2.16.90".
31516
31517 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31518
31519         * NEWS: Update copyright. Remove last-updated date.
31520         Mention math library bug fixes and timezone data changes.
31521         * README: Mention GNU/Hurd, x32, and HPPA support status.
31522
31523 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31524
31525         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31526
31527 2012-06-27  Andreas Jaeger  <aj@suse.de>
31528
31529         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31530
31531 2012-06-25  Andreas Jaeger  <aj@suse.de>
31532
31533         * sysdeps/s390/fpu/libm-test-ulps: Update.
31534
31535 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31536             Thomas Schwinge  <thomas@codesourcery.com>
31537
31538         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31539         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31541         fanotify_mark.
31542
31543 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31544
31545         * sysdeps/mach/start.c: Remove file.
31546         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31547         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31548         * sysdeps/sh/init-first.c: Likewise.
31549
31550         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31551         registers for frame unwinding purposes, add CFI directives.
31552         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31553         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31554         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31555         Likewise.
31556
31557         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31558         __fortify_fail returning.
31559         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31560
31561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31562         sysdeps/sh/____longjmp_chk.S.
31563         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31564         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31565         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31566         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31567
31568         * sysdeps/sh/abort-instr.h: New file.
31569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31570         process in case exit returns.
31571
31572         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31573         initialize the GOT register before use.
31574
31575         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31576         calculation of ARGC > 4.
31577
31578         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31579         meaningful names to some local labels.
31580
31581 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31582             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31583
31584         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31585         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31586         (__arch_compare_and_exchange_val_16_acq): Likewise.
31587         (__arch_compare_and_exchange_val_32_acq): Likewise.
31588         (atomic_exchange_and_add): Fix gUSA sequence.
31589         (atomic_add): Likewise.
31590         (atomic_add_negative): Likewise.
31591         (atomic_add_zero): Likewise.
31592         (atomic_bit_test_set): Likewise.
31593
31594 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31595
31596         [BZ #13579]
31597         * include/link.h (struct link_map): Add l_free_initfini.
31598         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31599         l_initfini.
31600         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31601         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31602         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31603         set.
31604
31605 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31606
31607         * configure.in: Use AC_LANG_SOURCE.
31608         * configure: Regenerate.
31609
31610 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31611
31612         * configure.in (libc_cv_localstatedir): New substituted variable.
31613         * configure: Regenerated.
31614         * config.make.in (localstatedir): New variable, substituted from
31615         libc_cv_localstatedir.
31616         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31617         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31618         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31619         * sysdeps/gnu/configure: Regenerated.
31620
31621 2012-06-21  Jeff Law  <law@redhat.com>
31622
31623         [BZ #14277]
31624         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31625         free.  Simplify list management for _LIBC case.
31626
31627 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31628
31629         [BZ #14273]
31630         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31631         Clear sign bit of 64-bit integer value before comparing against
31632         overflow value.
31633
31634         * sysdeps/mach/configure: Regenerated.
31635
31636 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31637
31638         [BZ #14278]
31639         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31640
31641 2012-06-21  Jeff Law  <law@redhat.com>
31642
31643         [BZ #13882]
31644         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31645         uint16_t for elements in the "seen" array to avoid char overflows.
31646         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31647         * elf/dl-open.c (dl_open_worker): Likewise.
31648
31649 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31650
31651         * scripts/list-sources.sh: Scan PORTS for translations.
31652         * po/libc.pot: Regenerated.
31653
31654 2012-06-21  Andreas Jaeger  <aj@suse.de>
31655
31656         [BZ #12194]
31657         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31658         warning.
31659         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31660         * bits/byteswap-16.h (__bswap_16): Likewise.
31661         * bits/byteswap.h (__bswap_constant_16): Likewise.
31662
31663 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31664
31665         [BZ #14117]
31666         * sysdeps/i386/fpu_control.h: Removed.
31667         * sysdeps/x86_64/fpu_control.h: Moved to ...
31668         * sysdeps/x86/fpu_control.h: Here.
31669
31670         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31671         (_FPU_SETCW): Likewise.
31672
31673 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31674
31675         [BZ #14117]
31676         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31677         * sysdeps/x86/fpu/bits/mathinline.h: This.
31678         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31679
31680         [BZ #14050]
31681         [BZ #14117]
31682         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31683         functions if __x86_64__ is defined.
31684
31685 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31686
31687         * string/endian.h: Add !__ASSEMBLER__ condition for including
31688         conversion interfaces.
31689
31690 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31691
31692         [BZ #14241]
31693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31694         of ABS(x) in calculating zero to negative powers other than odd
31695         integers.
31696         * math/libm-test.inc (pow_test): Add more tests.
31697
31698 2012-06-15  Andreas Jaeger  <aj@suse.de>
31699
31700         * manual/contrib.texi (Contributors): Update entry of Liubov
31701         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31702         Machado Filho.
31703
31704 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31705
31706         * string/string.h: Add __wur to GNU version of strerror_r.
31707
31708 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31709
31710         [BZ #14229]
31711         * string/Makefile (tests): Add tst-strtok_r.
31712         * string/tst-strtok_r.c: New file.
31713         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31714         RAX_LP/RDX_LP on SAVE_PTR.
31715
31716 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31717
31718         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31719
31720 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31721
31722         * libm_test.inc (csqrt_test): Allow more spurious underflow
31723         exceptions.
31724         (j0_test): Likewise.
31725         (j1_test): Likewise.
31726         (y0_test): Likewise.
31727         (y1_test): Likewise.
31728
31729 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31730
31731         * po/Makefile (libc.pot): Use UTF-8 charset.
31732
31733 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31734
31735         [BZ #14210]
31736         Suppress sign-conversion warning from FD_SET.
31737         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31738         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31739         not unsigned long int.
31740         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31741
31742 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31743
31744         [BZ #14050]
31745         [BZ #14117]
31746         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31747         __extern_always_inline instead of __extern_inline.
31748         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31749         (__signbit): Likewise.
31750         (__signbitl): Support C++ namespace.
31751         (lrintf): New inline function.
31752         (lrint): Likewise.
31753         (llrintf): Likewise.
31754         (llrint): Likewise.
31755         (fmaxf): Likewise.
31756         (fmax): Likewise.
31757         (fminf): Likewise.
31758         (fmin): Likewise.
31759         (rint): Likewise.
31760         (rintf): Likewise.
31761         (ceil): Likewise.
31762         (ceilf): Likewise.
31763         (floor): Likewise.
31764         (floorf): Likewise.
31765         (nearbyint): Likewise.
31766         (nearbyintf): Likewise.
31767
31768 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31769
31770         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31771         non-default versions.
31772
31773 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31774
31775         [BZ #14218]
31776         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31777
31778 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31779
31780         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31781         (FE_UPWARD, FE_DOWNWARD): Don't define.
31782         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31784
31785         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31786         reading it.
31787         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31788         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31789
31790 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31791
31792         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31794         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31795         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31796
31797 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31798
31799         [BZ #14117]
31800         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31801         * sysdeps/i386/fpu/Implies: New file.
31802         * sysdeps/x86_64/fpu/Implies: Likewise.
31803         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31804         * sysdeps/x86/fpu/bits/fenv.h: This.
31805
31806         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31807         __SSE_MATH__.
31808
31809 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31810
31811         [BZ #14134]
31812         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31813         character 0xffff that matches the last element of the
31814         conversion table.
31815
31816 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31817
31818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31819         fmodl commit.
31820
31821 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31822
31823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31824         values higher than 25.6283.
31825
31826 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31827
31828         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31829         subnormal exponent extraction and add some __builtin_expect.
31830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31831         Fix for subnormal mantissa calculation.
31832
31833 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31834
31835         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31836         cpu2 is -1 and errno is not ENOSYS.
31837
31838 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31839
31840         [BZ #14117]
31841         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31842         * sysdeps/x86/bits/string.h: This.
31843         * sysdeps/x86_64/bits/string.h: Removed.
31844
31845         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31846         if not compiling for x86-64, but compiling for >= i486.
31847
31848         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31849         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31850
31851         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31852         New macro from Linux kernel 3.4.0.
31853         (FP_XSTATE_MAGIC2): Likewise.
31854         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31855         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31856         (struct _fpx_sw_bytes): New struct.
31857         (struct _xsave_hdr): Likewise.
31858         (struct _ymmh_state): Likewise.
31859         (struct _xstate): Likewise.
31860
31861         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31862         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31863         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31864         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31865         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31866         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31867
31868         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31869         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31870         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31871         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31872         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31873         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31874
31875 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31876
31877         [BZ #13743]
31878         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31879         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31880         (sysdep_headers): Include sys/platform/ppc.h.
31881         * sysdeps/powerpc/test-gettimebase.c: Test for
31882         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31883         * manual/Makefile (appendices): Include platform.texi.
31884         * manual/contrib.texi (Contributors): Update @node pointers.
31885         * manual/maint.texi (Maintenance): Likewise.
31886         (Platform): New node.
31887         * manual/platform.texi: New file.  Document the new features.
31888
31889 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31890             Jakub Jelinek  <jakub@redhat.com>
31891
31892         [BZ #14188]
31893         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31894         where __builtin_expect is unavailable.
31895
31896 2012-06-03  David S. Miller  <davem@davemloft.net>
31897
31898         * stdlib/longlong.h: Updated from GCC.
31899
31900 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31901
31902         [BZ #14042]
31903         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31904         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31905         __mcount_internal.
31906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31907         (GLIBC_2.16): Likewise.
31908
31909 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31910
31911         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31912
31913 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31914
31915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31916         (default-abi): New variable.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31918         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31919         variable.
31920         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31921         Likewise.
31922         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31923         Likewise.
31924         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31925         Likewise.
31926
31927         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31928         definition.  Document in comment.
31929
31930 2012-06-01  David S. Miller  <davem@davemloft.net>
31931
31932         * stdlib/longlong.h: Updated from GCC.
31933
31934 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31935
31936         [BZ #14117]
31937         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31938         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31939         sys/debugreg.h sys/io.h here.
31940         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31941         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31942         sys/io.h.
31943         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31944         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31945         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31946         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31947         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31948         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31949
31950         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31951         Define only if __x86_64__ is defined.
31952
31953 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31954
31955         [BZ #14048]
31956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31957         Use int64_t for variable i.
31958         * math/libm-test.inc (fmod_test): Add more tests.
31959
31960         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31961         z computation is not scheduled after fetestexcept.
31962         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31963         Use math_force_eval instead of asm to ensure calculation scheduled
31964         before exception test.
31965         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31966         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31967
31968 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31969
31970         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31971         computation is not scheduled after fetestexcept.
31972
31973 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31974
31975         [BZ #14117]
31976         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31977         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31978
31979 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31980
31981         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31982         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31983
31984 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31985
31986         [BZ #14117]
31987         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31988         <bits/wordsize.h>.
31989         (__WCHAR_MIN): Support __WORDSIZE == 64.
31990         (__WCHAR_MAX): Likewise.
31991
31992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31993         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31994
31995         [BZ #14183]
31996         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31997         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31998
31999         [BZ #14117]
32000         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32002
32003         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32004         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32005
32006         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32007         Defined to 1 if __x86_64__ isn't defined.
32008         (_STAT_VER_LINUX_OLD): New.
32009         (st_atime): Remove duplicate.
32010         (st_mtime): Likewise.
32011         (st_ctime): Likewise.
32012
32013 2012-05-31  David S. Miller  <davem@davemloft.net>
32014
32015         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32016         entries.
32017
32018 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32019
32020         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32021         gen-libm-test.pl.
32022
32023         [BZ #14132]
32024         * elf/dl-reloc.c: Include <_itoa.h>.
32025         (_dl_reloc_bad_type): Remove use of INTUSE.
32026         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32027         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32028         * stdio-common/psiginfo.c (psiginfo): Likewise.
32029         * stdio-common/psignal.c (psignal): Likewise.
32030         * string/strsignal.c (strsignal): Likewise.
32031         * include/signal.h (_sys_siglist): Declare hidden proto.
32032         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32033         INTVARDEF with libc_hidden_data_def.
32034         * stdio-common/itoa-udigits.c: Likewise.
32035         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32036         (_itoa_lower_digits_internal): Remove declaration.
32037         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32038         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32039         (_sys_sigabbrev_internal): Remove aliases.
32040         (_sys_siglist): Define hidden alias.
32041
32042 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32043
32044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32045         bits/sysctl.h.
32046
32047 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32048
32049         [BZ #14117]
32050         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32051         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32052
32053         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32054         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32055         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32056         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32058         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32059
32060         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32061         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32062         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32063
32064         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32065         with __addr.
32066         (insw): Likewise.
32067         (insl): Likewise.
32068         (outsb): Likewise.
32069         (outsw): Likewise.
32070         (outsl): Likewise.
32071
32072         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32074         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32075
32076         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32077         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32078         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32079         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32080         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32081         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32082
32083         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32084         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32085
32086         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32087         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32088
32089         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32090         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32091         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32092
32093         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32094         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32095         to ...
32096         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32097
32098         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32099         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32100         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32101
32102         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32103         for x86-64.
32104         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32105
32106 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32107
32108         * math/math.h (M_El): Use two more decimal places.
32109         (M_LOG2El): Likewise.
32110         (M_LOG10El): Likewise.
32111         (M_LN2l): Likewise.
32112         (M_LN10l): Likewise.
32113         (M_PIl): Likewise.
32114         (M_PI_2l): Likewise.
32115         (M_PI_4l): Likewise.
32116         (M_1_PIl): Likewise.
32117         (M_2_PIl): Likewise.
32118         (M_2_SQRTPIl): Likewise.
32119         (M_SQRT2l): Likewise.
32120         (M_SQRT1_2l): Likewise.
32121
32122 2012-05-31  David S. Miller  <davem@davemloft.net>
32123
32124         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32125         values between float registers.
32126         * sysdeps/sparc/sparc64/memset.S: Likewise.
32127         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32128
32129 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32130
32131         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32132         -D_FORTIFY_SOURCE=1.
32133         (CPPFLAGS-tst-longjmp_chk.c): Define.
32134         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32135         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32136         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32137         CFLAGS-tst-wchar-h.c.
32138
32139 2012-05-31  Marek Polacek  <polacek@redhat.com>
32140
32141         [BZ #14132]
32142         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32143         __endmntent_internal): Remove declaration.
32144         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32145         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32146         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32147
32148 2012-05-30  David S. Miller  <davem@davemloft.net>
32149
32150         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32151         (___Q_simulate_exceptions): Use real FP ops rather than writing
32152         into the %fsr.
32153         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32154         Likewise.
32155
32156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32157
32158         [BZ #14117]
32159         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32160         * sysdeps/x86/bits/xtitypes.h: This.
32161
32162         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32163         * sysdeps/x86/bits/wordsize.h: This.
32164
32165         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32166         * sysdeps/x86/bits/huge_vall.h: This.
32167
32168         * sysdeps/i386/bits/select.h: Removed.
32169         * sysdeps/x86_64/bits/select.h: Renamed to ...
32170         * sysdeps/x86/bits/select.h: This.
32171
32172         * sysdeps/i386/bits/setjmp.h: Removed.
32173         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32174         * sysdeps/x86/bits/setjmp.h: This.
32175
32176         * sysdeps/i386/bits/mathdef.h: Removed.
32177         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32178         * sysdeps/x86/bits/mathdef.h: This.
32179
32180 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32181
32182         [BZ #14132]
32183         * include/sys/socket.h (__connect_internal)
32184         (__libc_sa_len_internal): Remove declaration.
32185         (__connect, __libc_sa_len): Declare hidden_proto.
32186         (SA_LEN): Remove use of INTUSE.
32187         * socket/connect.c: Add libc_hidden_def.
32188         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32189         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32190         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32191         alias.
32192         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32193         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32194         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32195         of adding _internal alias.
32196
32197 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32198
32199         [BZ #14117]
32200         * sysdeps/i386/bits/link.h: Removed.
32201         * sysdeps/i386/bits/linkmap.h: Likewise.
32202         * sysdeps/x86_64/bits/link.h: Renamed to ...
32203         * sysdeps/x86/bits/link.h: This.
32204         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32205         * sysdeps/x86/bits/linkmap.h: This.
32206
32207         * sysdeps/i386/bits/endian.h: Removed.
32208         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32209         * sysdeps/x86/bits/endian.h: This.
32210
32211         * sysdeps/i386/bits/byteswap.h: Removed.
32212         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32213         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32214         * sysdeps/x86/bits/byteswap.h: This.
32215         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32216         * sysdeps/x86/bits/byteswap-16.h: This.
32217         * sysdeps/i386/Implies: Add x86.
32218         * sysdeps/x86_64/Implies: Likewise.
32219
32220 2012-05-30  David S. Miller  <davem@davemloft.net>
32221
32222         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32223         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32224         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32225         (FP_TRAPPING_EXCEPTIONS): Define.
32226         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32227         (FP_TRAPPING_EXCEPTIONS): Define.
32228         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32229         subnormals only when inexact has been signalled or underflow
32230         exceptions are enabled.
32231         (_FP_PACK_CANONICAL): Likewise.
32232
32233 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32234
32235         [BZ #14183]
32236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32237         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32238
32239 2012-05-30  Richard Henderson  <rth@twiddle.net>
32240
32241         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32242         with #ifndef NOT_IN_libc.
32243
32244         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32245         marked to avoid plt entry.
32246
32247 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32248
32249         [BZ #14112]
32250         * Makeconfig (default-abi): New macro.
32251         (abi-includes): Likewise.
32252         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32253         $(abi-$(default-abi)-lib-soname) for soname if defined.
32254         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32255         abi-variants.
32256         * Makefile (installed-stubs): Likewise.
32257         * include/stubs-biarch.h: Removed.
32258         * scripts/lib-names.awk: Only handle one library at a time.
32259         * scripts/soversions.awk: Remove WORDSIZE support.
32260         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32261         entries.
32262         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32263         Removed.
32264         (syscall-list-default-condition): Likewise.
32265         (syscall-list-default-condition): Likewise.
32266         (syscall-list-includes): Likewise.
32267         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32268         syscall-list-* with abi-*.  Handle undefined abi-variants.
32269         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32270         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32271         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32272         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32273         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32274         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32275         Removed.
32276         (syscall-list-32-options): Likewise.
32277         (syscall-list-32-condition): Likewise.
32278         (syscall-list-64-options): Likewise.
32279         (syscall-list-64-condition): Likewise.
32280         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32281         macro.
32282         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32283         Renamed to ...
32284         (abi-*): This.
32285         (abi-64-ld-soname): New macro.
32286         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32287         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32288         Renamed to ...
32289         (abi-*): This.
32290         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32291         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32292
32293 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32294
32295         * sysdeps/unix/sysv/linux/kernel-features.h
32296         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32297         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32298         include <kernel-features.h>.
32299         [!__NR_ftruncate64]: Remove conditional code.
32300         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32301         [__NR_ftruncate64]: Make code unconditional.
32302         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32303         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32304         include <kernel-features.h>.
32305         [!__NR_ftruncate64]: Remove conditional code.
32306         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32307         [__NR_ftruncate64]: Make code unconditional.
32308         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32310         include <kernel-features.h>.
32311         [!__NR_ftruncate64]: Remove conditional code.
32312         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32313         [__NR_ftruncate64]: Make code unconditional.
32314         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32316         include <kernel-features.h>.
32317         [!__NR_ftruncate64]: Remove conditional code.
32318         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32319         [__NR_ftruncate64]: Make code unconditional.
32320         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32321
32322         * configure.in (libc_cv_fpie): Weaken to a compile test using
32323         LIBC_TRY_CC_OPTION.
32324         * configure: Regenerated.
32325
32326 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32327
32328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32332         Refreshed.
32333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32339         Refreshed.
32340
32341 2012-05-27  David S. Miller  <davem@davemloft.net>
32342
32343         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32344         (___Q_zero): New.
32345         (__Q_simulate_exceptions): Return void.  Change to simulate
32346         exceptions by writing into the %fsr.
32347         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32348         (__Qp_handle_exceptions): Likewise.
32349         (numbers): Delete.
32350         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32351         __Qp_handle_exceptions.
32352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32353         __Qp_handle_exceptions.
32354         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32355         as unused and give dummy FP_RND_NEAREST initializer.
32356         (FP_INHIBIT_RESULTS): Define.
32357         (___Q_simulate_exceptions): Update declaration.
32358         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32359         formatting.
32360         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32361         as unused and give dummy FP_RND_NEAREST initializer.
32362         (__Qp_handle_exceptions): Update declaration.
32363         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32364         formatting.
32365
32366 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32367
32368         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32369         the temporary FPU control word.
32370         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32371         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32372         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32373         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32374         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32375         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32376         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32377         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32378         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32379         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32380         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32381
32382 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32383
32384         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32385         fields.
32386
32387 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32388
32389         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32390         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32391         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32392         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32393         Likewise.
32394         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32395         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32396         Likewise.
32397
32398 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32399
32400         * po/h.po: Update from translation team.
32401
32402 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32403
32404         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32405
32406         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32407         handling of denormals.
32408         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32409         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32410         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32411         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32415         Likewise.
32416
32417 2012-05-26  Marek Polacek  <polacek@redhat.com>
32418
32419         [BZ #14152]
32420         * math/libm-test.inc (fma_test): Don't always expect underflow
32421         exception.
32422
32423 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32424
32425         [BZ #12416]
32426         * elf/tst-execstack.c: Include stackinfo.h.
32427         (do_test): Adjust test case to ensure that pthread_getattr_np
32428         behaviour remains the same after marking stack executable.
32429
32430 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32431
32432         * sysdeps/unix/sysv/linux/kernel-features.h
32433         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32434         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32435         kernel-features.h.
32436         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32437         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32438         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32439         kernel-features.h.
32440         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32441         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32442
32443 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32444
32445         * configure.in: Define the default includes to being none.
32446         * configure: Regenerated.
32447
32448 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32449
32450         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32451         * sysdeps/x86_64/setjmp.S: Likewise.
32452         * sysdeps/i386/bsd-setjmp.S: Likewise.
32453         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32454         * sysdeps/i386/setjmp.S: Likewise.
32455         * sysdeps/i386/__longjmp.S: Likewise.
32456         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32457         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32458
32459         * include/stap-probe.h: New file.
32460         * configure.in: Handle --enable-systemtap.
32461         * configure: Regenerated.
32462         * config.h.in (USE_STAP_PROBE): New #undef.
32463         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32464         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32465         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32466
32467 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32468
32469         [BZ #13717]
32470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32471         to 2.4.0 where earlier.
32472         * sysdeps/unix/sysv/linux/configure: Regenerated.
32473         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32474         <kernel-features.h>.
32475         [__ASSUME_32BITUIDS]: Make code unconditional.
32476         [!__ASSUME_32BITUIDS]: Remove conditional code.
32477         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32478         <kernel-features.h>.
32479         [__ASSUME_32BITUIDS]: Make code unconditional.
32480         [!__ASSUME_32BITUIDS]: Remove conditional code.
32481         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32482         [__ASSUME_32BITUIDS]: Make code unconditional.
32483         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32484         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32485         <kernel-features.h>.
32486         [__ASSUME_32BITUIDS]: Make code unconditional.
32487         [!__ASSUME_32BITUIDS]: Remove conditional code.
32488         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32489         <kernel-features.h>.
32490         [__ASSUME_32BITUIDS]: Make code unconditional.
32491         [!__ASSUME_32BITUIDS]: Remove conditional code.
32492         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32493         <kernel-features.h>.
32494         [__ASSUME_32BITUIDS]: Make code unconditional.
32495         [!__ASSUME_32BITUIDS]: Remove conditional code.
32496         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32497         <kernel-features.h>.
32498         [__ASSUME_32BITUIDS]: Make code unconditional.
32499         [!__ASSUME_32BITUIDS]: Remove conditional code.
32500         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32501         <kernel-features.h>.
32502         [__ASSUME_32BITUIDS]: Make code unconditional.
32503         [!__ASSUME_32BITUIDS]: Remove conditional code.
32504         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32505         <kernel-features.h>.
32506         [__ASSUME_32BITUIDS]: Make code unconditional.
32507         [!__ASSUME_32BITUIDS]: Remove conditional code.
32508         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32509         <kernel-features.h>.
32510         [__ASSUME_32BITUIDS]: Make code unconditional.
32511         [!__ASSUME_32BITUIDS]: Remove conditional code.
32512         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32513         <kernel-features.h>.
32514         [__ASSUME_32BITUIDS]: Make code unconditional.
32515         [!__ASSUME_32BITUIDS]: Remove conditional code.
32516         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32517         <kernel-features.h>.
32518         [__ASSUME_32BITUIDS]: Make code unconditional.
32519         [!__ASSUME_32BITUIDS]: Remove conditional code.
32520         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32521         <kernel-features.h>.
32522         [__ASSUME_32BITUIDS]: Make code unconditional.
32523         [!__ASSUME_32BITUIDS]: Remove conditional code.
32524         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32525         <kernel-features.h>.
32526         [__NR_setresgid] (__setresgid): Do not declare.
32527         [__ASSUME_32BITUIDS]: Make code unconditional.
32528         [!__ASSUME_32BITUIDS]: Remove conditional code.
32529         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32530         <kernel-features.h>.
32531         [__NR_setresuid] (__setresuid): Do not declare.
32532         [__ASSUME_32BITUIDS]: Make code unconditional.
32533         [!__ASSUME_32BITUIDS]: Remove conditional code.
32534         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32535         <kernel-features.h>.
32536         [__ASSUME_32BITUIDS]: Make code unconditional.
32537         [!__ASSUME_32BITUIDS]: Remove conditional code.
32538         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32539         <kernel-features.h>.
32540         [__ASSUME_32BITUIDS]: Make code unconditional.
32541         [!__ASSUME_32BITUIDS]: Remove conditional code.
32542         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32543         <kernel-features.h>.
32544         [__ASSUME_32BITUIDS]: Make code unconditional.
32545         [!__ASSUME_32BITUIDS]: Remove conditional code.
32546         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32547         <kernel-features.h>.
32548         [__ASSUME_32BITUIDS]: Make code unconditional.
32549         [!__ASSUME_32BITUIDS]: Remove conditional code.
32550         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32551         <kernel-features.h>.
32552         [__ASSUME_32BITUIDS]: Make code unconditional.
32553         [!__ASSUME_32BITUIDS]: Remove conditional code.
32554         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32555         <kernel-features.h>.
32556         [__ASSUME_32BITUIDS]: Make code unconditional.
32557         [!__ASSUME_32BITUIDS]: Remove conditional code.
32558         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32559         <kernel-features.h>.
32560         [__ASSUME_32BITUIDS]: Make code unconditional.
32561         [!__ASSUME_32BITUIDS]: Remove conditional code.
32562         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32563         <kernel-features.h>.
32564         [__ASSUME_32BITUIDS]: Make code unconditional.
32565         [!__ASSUME_32BITUIDS]: Remove conditional code.
32566         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32567         <kernel-features.h>.
32568         [__ASSUME_32BITUIDS]: Make code unconditional.
32569         [!__ASSUME_32BITUIDS]: Remove conditional code.
32570         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32571         <kernel-features.h>.
32572         [__ASSUME_32BITUIDS]: Make code unconditional.
32573         [!__ASSUME_32BITUIDS]: Remove conditional code.
32574         * sysdeps/unix/sysv/linux/kernel-features.h
32575         (__ASSUME_SETRESUID_SYSCALL): Remove.
32576         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32577         (__ASSUME_32BITUIDS): Likewise.
32578         (__ASSUME_LDT_WORKS): Likewise.
32579         (__ASSUME_O_DIRECTORY): Likewise.
32580         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32581         architecture but not kernel version.
32582         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32583         (__ASSUME_MMAP2_SYSCALL): Likewise.
32584         (__ASSUME_STAT64_SYSCALL): Likewise.
32585         (__ASSUME_IPC64): Likewise.
32586         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32587         <kernel-features.h>.
32588         [__ASSUME_32BITUIDS]: Make code unconditional.
32589         [!__ASSUME_32BITUIDS]: Remove conditional code.
32590         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32591         <kernel-features.h>.
32592         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32593         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32594         132096]: Remove conditional code.
32595         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32596         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32597         <kernel-features.h>.
32598         [__ASSUME_32BITUIDS]: Make code unconditional.
32599         [!__ASSUME_32BITUIDS]: Remove conditional code.
32600         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32601         <kernel-features.h>.
32602         [__ASSUME_32BITUIDS]: Make code unconditional.
32603         [!__ASSUME_32BITUIDS]: Remove conditional code.
32604         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32605         <kernel-features.h>.
32606         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32607         unconditional.
32608         (__setresgid): Do not declare.
32609         [__ASSUME_32BITUIDS]: Make code unconditional.
32610         [!__ASSUME_32BITUIDS]: Remove conditional code.
32611         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32612         <kernel-features.h>.
32613         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32614         unconditional.
32615         (__setresuid): Do not declare.
32616         [__ASSUME_32BITUIDS]: Make code unconditional.
32617         [!__ASSUME_32BITUIDS]: Remove conditional code.
32618         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32619         <kernel-features.h>.
32620         [__ASSUME_32BITUIDS]: Make code unconditional.
32621         [!__ASSUME_32BITUIDS]: Remove conditional code.
32622         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32623         <kernel-features.h>.
32624         [__ASSUME_32BITUIDS]: Make code unconditional.
32625         [!__ASSUME_32BITUIDS]: Remove conditional code.
32626
32627 2012-05-25  Richard Henderson  <rth@twiddle.net>
32628
32629         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32630         dl_hwcap to ifunc resolver.
32631         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32632         elf_ifunc_invoke.
32633         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32634         dl_hwcap to ifunc resolver.
32635         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32636
32637 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32638
32639         [BZ #14153]
32640         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32641         for |x| <= 2**-26, not 2**-57.
32642         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32643         exception.
32644
32645 2012-05-24  Jeff Law  <law@redhat.com>
32646
32647         * stdio-common/Makefile (tests): Add bug25.
32648         * stdio-common/bug25.c: New test.
32649
32650 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32651
32652         [BZ #13576]
32653         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32654         multiple of MALLOC_ALIGNMENT in size.
32655         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32656
32657 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32658
32659         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32660         Require >= 256.
32661         (FILENAME_MAX): Use macro-int-constant.
32662         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32663         (_IOFBF): Use macro-int-constant.
32664         (_IOLBF): Likewise.
32665         (_IONBF): Likewise.
32666         (SEEK_CUR): Likewise.
32667         (SEEK_END): Likewise.
32668         (SEEK_SET): Likewise.
32669         (TMP_MAX): Likewise.
32670         (EOF): Use macro-int-constant.  Require < 0.
32671         (NULL): Use macro-constant.  Require == 0.
32672         (stdin): Require type to be FILE *.
32673         (stdout): Likewise.
32674         (stderr): Likewise.
32675         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32676         macro-int-constant.
32677         (EXIT_SUCCESS): Likewise.
32678         (NULL): Use macro-constant.  Require == 0.
32679         (RAND_MAX): Use macro-int-constant.
32680         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32681         [C99-based standards] (strtof): Require function.
32682         [C99-based standards] (strtold): Likewise.
32683         [C99-based standards] (strtoll): Likewise.
32684         [C99-based standards] (strtoull): Likewise.
32685         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32686         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32687         [ISO || ISO99 || ISO11] (math.h): Likewise.
32688         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32689         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32690         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32691
32692 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32693
32694         [BZ #14132]
32695         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32696         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32697         * intl/dgettext.c (DCGETTEXT): Likewise.
32698         * intl/gettext.c (DCGETTEXT): Likewise.
32699         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32700         * posix/regex_internal.h (gettext): Likewise.
32701         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32702         Remove declaration.
32703         * include/argz.h (__argz_count_internal)
32704         (__argz_stringify_internal): Remove declaration.
32705         (__argz_count, __argz_stringify): Declare hidden proto.
32706         * intl/dcgettext.c: Remove use of INTDEF.
32707         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32708         * string/argz-stringify.c: Likewise.
32709         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32710         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32711         Declare hidden proto.
32712         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32713         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32714         Declare hidden proto.
32715         * include/stdio.h (__asprintf_internal): Don't declare.
32716         (__asprintf): Don't define as macro.  Declare hidden proto.
32717         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32718         (__fsetlocking): Declare hidden proto.
32719         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32720         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32721         hidden proto.
32722         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32723         (_IO_setlinebuf): Remove use of INTUSE.
32724         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32725         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32726         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32727         Remove declaration.
32728         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32729         (_IO_do_flush): Remove use of INTUSE.
32730         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32731         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32732         (_IO_adjust_column, _IO_least_wmarker)
32733         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32734         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32735         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32736         (_IO_default_doallocate, _IO_wdefault_doallocate)
32737         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32738         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32739         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32740         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32741         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32742         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32743         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32744         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32745         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32746         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32747         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32748         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32749         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32750         proto.
32751         (_IO_flush_all_internal, _IO_adjust_column_internal)
32752         (_IO_default_uflow_internal, _IO_default_finish_internal)
32753         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32754         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32755         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32756         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32757         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32758         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32759         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32760         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32761         (_IO_file_close_internal, _IO_file_close_it_internal)
32762         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32763         (_IO_file_init_internal, _IO_file_attach_internal)
32764         (_IO_file_fopen_internal, _IO_file_read_internal)
32765         (_IO_file_sync_internal, _IO_file_seek_internal)
32766         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32767         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32768         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32769         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32770         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32771         (_IO_list_all_internal, _IO_link_in_internal)
32772         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32773         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32774         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32775         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32776         (_IO_do_write_internal, _IO_padn_internal)
32777         (_IO_getline_info_internal, _IO_getline_internal)
32778         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32779         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32780         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32781         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32782         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32783         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32784         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32785         with libc_hidden_ver, remove use of INTUSE.
32786         * libio/genops.c: Likewise.
32787         * libio/freopen.c: Likewise.
32788         * libio/freopen64.c: Likewise.
32789         * libio/iofclose.c: Likewise.
32790         * libio/iofdopen.c: Likewise.
32791         * libio/iofflush.c: Likewise.
32792         * libio/iofflush_u.c: Likewise.
32793         * libio/iofgets.c: Likewise.
32794         * libio/iofgets_u.c: Likewise.
32795         * libio/iofopen.c: Likewise.
32796         * libio/iofopncook.c: Likewise.
32797         * libio/iofread.c: Likewise.
32798         * libio/iofread_u.c: Likewise.
32799         * libio/ioftell.c: Likewise.
32800         * libio/iofwrite.c: Likewise.
32801         * libio/iogetline.c: Likewise.
32802         * libio/iogets.c: Likewise.
32803         * libio/iogetwline.c: Likewise.
32804         * libio/iopadn.c: Likewise.
32805         * libio/iopopen.c: Likewise.
32806         * libio/ioseekoff.c: Likewise.
32807         * libio/ioseekpos.c: Likewise.
32808         * libio/iosetbuffer.c: Likewise.
32809         * libio/iosetvbuf.c: Likewise.
32810         * libio/ioungetc.c: Likewise.
32811         * libio/ioungetwc.c: Likewise.
32812         * libio/iovdprintf.c: Likewise.
32813         * libio/iovsprintf.c: Likewise.
32814         * libio/iovsscanf.c: Likewise.
32815         * libio/memstream.c: Likewise.
32816         * libio/obprintf.c: Likewise.
32817         * libio/oldfileops.c: Likewise.
32818         * libio/oldiofclose.c: Likewise.
32819         * libio/oldiofdopen.c: Likewise.
32820         * libio/oldiofopen.c: Likewise.
32821         * libio/oldiopopen.c: Likewise.
32822         * libio/oldstdfiles.c: Likewise.
32823         * libio/putc.c: Likewise.
32824         * libio/setbuf.c: Likewise.
32825         * libio/setlinebuf.c: Likewise.
32826         * libio/stdfiles.c: Likewise.
32827         * libio/strops.c: Likewise.
32828         * libio/vasprintf.c: Likewise.
32829         * libio/vscanf.c: Likewise.
32830         * libio/vsnprintf.c: Likewise.
32831         * libio/vswprintf.c: Likewise.
32832         * libio/wfiledoalloc.c: Likewise.
32833         * libio/wfileops.c: Likewise.
32834         * libio/wgenops.c: Likewise.
32835         * libio/wmemstream.c: Likewise.
32836         * libio/wstrops.c: Likewise.
32837         * libio/__fpurge.c: Likewise.
32838         * libio/__fsetlocking.c: Likewise.
32839         * assert/assert.c: Likewise.
32840         * debug/fgets_chk.c: Likewise.
32841         * debug/fgets_u_chk.c: Likewise.
32842         * debug/fread_chk.c: Likewise.
32843         * debug/fread_u_chk.c: Likewise.
32844         * debug/gets_chk.c: Likewise.
32845         * debug/obprintf_chk.c: Likewise.
32846         * debug/vasprintf_chk.c: Likewise.
32847         * debug/vdprintf_chk.c: Likewise.
32848         * debug/vsnprintf_chk.c: Likewise.
32849         * debug/vsprintf_chk.c: Likewise.
32850         * malloc/mtrace.c: Likewise.
32851         * misc/error.c: Likewise.
32852         * misc/syslog.c: Likewise.
32853         * stdio-common/asprintf.c: Likewise.
32854         * stdio-common/fxprintf.c: Likewise.
32855         * stdio-common/getw.c: Likewise.
32856         * stdio-common/isoc99_fscanf.c: Likewise.
32857         * stdio-common/isoc99_scanf.c: Likewise.
32858         * stdio-common/isoc99_vfscanf.c: Likewise.
32859         * stdio-common/isoc99_vscanf.c: Likewise.
32860         * stdio-common/isoc99_vsscanf.c: Likewise.
32861         * stdio-common/printf-prs.c: Likewise.
32862         * stdio-common/printf_fp.c: Likewise.
32863         * stdio-common/printf_fphex.c: Likewise.
32864         * stdio-common/printf_size.c: Likewise.
32865         * stdio-common/putw.c: Likewise.
32866         * stdio-common/scanf.c: Likewise.
32867         * stdio-common/sprintf.c: Likewise.
32868         * stdio-common/tmpfile.c: Likewise.
32869         * stdio-common/vfprintf.c: Likewise.
32870         * stdio-common/vfscanf.c: Likewise.
32871         * stdlib/strfmon_l.c: Likewise.
32872         * sunrpc/openchild.c: Likewise.
32873         * sunrpc/xdr_stdio.c: Likewise.
32874         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32875         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32876
32877 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32878
32879         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32880
32881         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32882         in the third column, to generate for the shared library an IFUNC
32883         that uses _dl_vdso_vsym.
32884         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32885         * Makeconfig (object-suffixes-noshared): New variable.
32886
32887         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32888         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32889         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32890         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32891
32892         [BZ #14132]
32893         * include/sys/time.h (__gettimeofday): Remove macro.
32894         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32895         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32896         Remove INTDEF.
32897         (__gettimeofday): Add libc_hidden_def.
32898         (gettimeofday): Add libc_hidden_weak.
32899         * sysdeps/mach/gettimeofday.c: Likewise.
32900         * sysdeps/posix/gettimeofday.c: Likewise.
32901         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32902         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32904         (__gettimeofday_internal): Remove strong_alias.
32905         (__gettimeofday): Add libc_hidden_def.
32906         (gettimeofday): Add libc_hidden_weak.
32907         * sysdeps/unix/syscalls.list (gettimeofday):
32908         Remove __gettimeofday_internal alias.
32909
32910 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32911             H.J. Lu  <hongjiu.lu@intel.com>
32912
32913         [BZ #12495]
32914         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32915         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32916         (largebin_index_32_big): New.
32917         (largebin_index): Use it for 16-byte alignment.
32918         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32919         correction with front_misalign.
32920
32921 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32922
32923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32925         Likewise.
32926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32927         Likewise.
32928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32929         Likewise.
32930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32931         Likewise.
32932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32933         Likewise.
32934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32935         Likewise.
32936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32937         Likewise.
32938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32939         Likewise.
32940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32941         Likewise.
32942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32943         Likewise.
32944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32945         Likewise.
32946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32947         Likewise.
32948
32949         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32950         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32951
32952 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32953
32954         [BZ #10846]
32955         [BZ #14036]
32956         * math/libm-test.inc (exp_test): Add test from bug 14036.
32957         (pow_test): Add test from bug 10846.
32958
32959         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32960         and other flags.
32961         (special_function): Do not include flags in test name.
32962         (parse_args): Likewise.
32963         * sysdeps/i386/fpu/libm-test-ulps: Update.
32964         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32965         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32966         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968
32969         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32970         exceptions.
32971         * math/libm-test.inc ("Philosophy"): Update comment about
32972         exception testing.
32973         (UNDERFLOW_EXCEPTION): New macro.
32974         (UNDERFLOW_EXCEPTION_OK): Likewise.
32975         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32976         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32977         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32978         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32979         (INVALID_EXCEPTION_OK): Update value.
32980         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32981         (OVERFLOW_EXCEPTION_OK): Likewise.
32982         (IGNORE_ZERO_INF_SIGN): Likewise.
32983         (test_exceptions): Handle underflow exceptions.
32984         (acos_test): Update for underflow exception expectations.
32985         (cexp_test): Likewise.
32986         (clog_test): Likewise.
32987         (clog10_test): Likewise.
32988         (csqrt_test): Likewise.
32989         (ctan_test): Likewise.
32990         (ctanh_test): Likewise.
32991         (exp_test): Likewise.
32992         (exp10_test): Likewise.
32993         (exp2_test): Likewise.
32994         (expm1_test): Likewise.
32995         (fma_test): Likewise.
32996         (j0_test): Likewise.
32997         (jn_test): Likewise.
32998         (nexttoward_test): Likewise.
32999         (pow_test): Likewise.
33000         (scalbn_test): Likewise.
33001         (scalbln_test): Likewise.
33002         (tan_test): Likewise.
33003         (y1_test): Likewise.
33004         * sysdeps/i386/fpu/libm-test-ulps: Update.
33005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33006
33007 2012-05-23  David S. Miller  <davem@davemloft.net>
33008
33009         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33010         (__libc_sigaction): Remove unused local variables.
33011
33012 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33013
33014         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33015
33016 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33017
33018         mktime: avoid signed integer overflow
33019         * time/mktime.c (__mktime_internal): Do not mishandle the case
33020         where diff == INT_MIN.
33021
33022         mktime: simplify computation of average
33023         * time/mktime.c (ranged_convert): Use new time_t_avg function
33024         instead of rolling our own (probably-slower) code.
33025
33026         mktime: do not assume signed right shift propagates sign bit
33027         * time/mktime.c (isdst_differ): New static function.
33028         (__mktime_internal): No need to normalize tm_isdst now.
33029         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33030         tm_isdst values.
33031
33032         mktime: merge another wrapv change from gnulib
33033         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33034         from some compilers.
33035
33036         mktime: remove incorrect attempt at unusual arithmetics
33037         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33038         The code didn't really work on such machines anyway.
33039         (TYPE_MINIMUM): Assume two's complement.
33040         (twos_complement_arithmetic): Verify that long_int and time_t
33041         are two's complement (or unsigned, in the latter case).
33042
33043         mktime: check signed shifts on long_int and time_t, too
33044         * time/mktime.c (SHR): Check that shifts work as desired
33045         on the types long_int and time_t too, as SHR is used on
33046         such types.
33047
33048         mktime: do not assume 'long' is wide enough
33049         * time/mktime.c (verify): Move decl up.
33050         (long_int): New type.
33051         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33052         to remove assumption in the code that 'long' is wide enough to
33053         store year values.  This assumption is not true on x32 and on
33054         some non-glibc platforms.
33055
33056         mktime: merge wrapv change from gnulib
33057         * time/mktime.c (WRAPV): New macro.
33058         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33059         (guess_time_tm, __mktime_internal): Do not assume that signed
33060         integer overflow wraps around; modern compilers generate code
33061         where this assumption is no longer valid.
33062
33063 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33064
33065         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33066         Replace "jmp L(pseudo_end)" with "ret".
33067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33068         Likewise.
33069
33070 2012-05-23  Andreas Jaeger  <aj@suse.de>
33071
33072         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33073         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33074
33075 2012-05-23  Andreas Jaeger  <aj@suse.de>
33076             Maximilian Attems  <max@stro.at>
33077
33078         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33079         New macros.
33080
33081 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33082
33083         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33084         code so that pseudo_end is just ret and the stack pointer is
33085         correct also for static library in error case.
33086
33087 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33088
33089         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33090         move to syscalls.list.
33091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33095
33096         * manual/install.texi (Running make install): Do not mention Linux
33097         kernel version for which pt_chown is not needed.
33098         (Linux): Do not mention problems with nscd with 2.0 kernels.
33099         * INSTALL: Regenerated.
33100
33101 2012-05-23  Andreas Jaeger  <aj@suse.de>
33102
33103         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33104         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33105         macro.
33106         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33107         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33108         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33109         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33110         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33111         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33112         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33113         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33114         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33115         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33116         * sysdeps/unix/sysv/linux/bits/in.h
33117         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33118
33119 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33120
33121         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33122         (PREPARE_VERSION): Just use assert instead, it will be elided
33123         under [NDEBUG] anyway.
33124
33125 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33126
33127         * sysdeps/unix/sysv/linux/Makefile: Include
33128         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33129         (sysdep_routines): Remove sysctl.
33130         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33131         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33132         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33133         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33134         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33135
33136 2012-05-22  Andreas Jaeger  <aj@suse.de>
33137
33138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33139         that pseudo_end is just ret and the stack pointer is correct also
33140         for static library in error case.
33141
33142 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33143
33144         [BZ #14122]
33145         * nss/nsswitch.c (defconfig_entries): New variable.
33146         (__nss_database_lookup): Don't leak defconfig entries.
33147         (nss_parse_service_list): Don't leak on error paths.
33148         (free_database_entries): New function.
33149         (free_defconfig): New function.
33150         (free_mem): Move common code to free_database_entries.
33151
33152 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33153
33154         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33155         Add arch_prctl.
33156         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33157
33158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33159         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33161         New macro.
33162         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33163         (INTERNAL_SYSCALL_TYPES): Likewise.
33164         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33165         (LOAD_REGS_TYPES_[1-6]): Likewise.
33166         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33167         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33168
33169 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33170
33171         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33172         copysignl for GLIBC_2_0.
33173         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33174         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33176         logbl for GLIBC_2_0.
33177         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33178         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33179
33180 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33181
33182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33183         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33184
33185         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33186         Use "neg %eax".
33187
33188         * time/mktime.c: Update copyright years.
33189
33190 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33191
33192         mktime: merge comment-quoting-style change from gnulib
33193         * time/mktime.c: Quote 'like this' in comments.
33194         The GNU coding standards suggest that we no longer quote `like this',
33195         as "`" and "'" are typically rendered asymmetrically nowadays.
33196         The typical gnulib style is to quote 'like this' when quoting
33197         code, and "like this" when quoting English.
33198
33199         * time/mktime.c (compile-command): Add "-I.".
33200
33201         mktime: merge mktime-internal.h change from gnulib
33202         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33203
33204         mktime: merge time_r change from gnulib
33205         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33206
33207         mktime: merge DEBUG change from gnulib
33208         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33209         case system <time.h> has a #define.
33210
33211         mktime: merge <sys/types.h> change from gnulib
33212         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33213         since <time.t> is now guaranteed to define time_t.
33214
33215         mktime: merge HAVE_CONFIG_H change from gnulib
33216         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33217
33218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33219
33220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33221         Use "neg %eax".
33222
33223         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33224         __rlim_t cast.
33225         (struct rusage): Use anonymous union to pad each field to
33226         __syscall_slong_t.
33227
33228 2012-05-21  David S. Miller  <davem@davemloft.net>
33229
33230         * Makefules (o-iterator): Remove .s cases.
33231         (compile-command.s): Delete.
33232         (COMPILE.s): Delete.
33233         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33234
33235 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33236
33237         * configure.in (libc_cv_predef_stack_protector): Only consider
33238         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33239         * configure: Regenerated.
33240
33241 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33242
33243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33244         New macro.  Use R*LP on int and pointer.
33245         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33246         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33247         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33248         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33249
33250         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33251         [__WORDSIZE_TIME64_COMPAT32] instead of
33252         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33253         (struct utmp): Likewise.
33254         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33255         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33256         Renamed to ...
33257         (__WORDSIZE_TIME64_COMPAT32): This.
33258         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33259         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33260         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33261         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33262         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33263         (__WORDSIZE_TIME64_COMPAT32): New macro.
33264
33265 2012-05-21  Andreas Jaeger  <aj@suse.de>
33266
33267         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33268         only if [SHARED]. Add prototype for __wcschr_ia32.
33269
33270 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33271
33272         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33273         of %rbp unmolested in the jmp_buf while mangling the low bits.
33274         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33275         unmolested high bits of %rbp while demangling the low bits.
33276         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33277
33278 2012-05-21  Andreas Jaeger  <aj@suse.de>
33279
33280         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33281         * sunrpc/svc_simple.c: Use it for registerrpc.
33282         * sunrpc/xcrypt.c: Use it for passwd2des.
33283
33284         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33285
33286 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33287
33288         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33289         Don't define if [__SYSCALL_WORDSIZE != 32].
33290         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33291         New macro.
33292
33293 2012-05-21  Bruno Haible  <bruno@clisp.org>
33294             Andreas Jaeger  <aj@suse.de>
33295
33296         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33297         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33298         inptr and inend for must_buffer_ch.
33299         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33300         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33301         * stdio-common/Makefile (tests): Remove bug15.
33302         (bug15-ENV): Remove macro.
33303         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33304         anymore.
33305
33306 2012-05-19  Andreas Jaeger  <aj@suse.de>
33307             Roland McGrath  <roland@hack.frob.com>
33308
33309         * manual/contrib.texi: Completely rewritten. It contains now an
33310         alphabetical list of contributors and their contributions.
33311
33312 2012-05-21  Richard Henderson  <rth@twiddle.net>
33313
33314         * misc/getauxval.c (__getauxval): Use unsigned long int.
33315         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33316         (getauxval): Use unsigned long int.
33317
33318 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33319
33320         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33321
33322 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33323
33324         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33325         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33326         __alignof__ (long double).
33327
33328 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329
33330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33331
33332 2012-05-20  Richard Henderson  <rth@twiddle.net>
33333
33334         * misc/getauxval.c: New file.
33335         * misc/sys/auxv.h: New file.
33336         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33337         (routines): Add getauxval.
33338         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33339         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33340         * elf/dl-sysdep.c (_dl_auxv): Remove.
33341         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33342         * elf/dl-support.c (_dl_auxv): New variable.
33343         (_dl_aux_init): Initialize it.
33344         * manual/startup.texi (Auxiliary Vector): New node.
33345         * sysdeps/generic/bits/hwcap.h: New file.
33346         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33347         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33348         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33349         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33350         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33353         Update.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33357         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33362
33363 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33364
33365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33366
33367 2012-05-19  David S. Miller  <davem@davemloft.net>
33368
33369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33370
33371 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33372
33373         [BZ #14123]
33374         * math/s_ccosh.c: Include <float.h>
33375         (__ccosh): Avoid internal overflow calculating sinh and cosh
33376         values before multiplying by sin and cos values.
33377         * math/s_ccoshf.c: Likewise.
33378         * math/s_ccoshl.c: Likewise.
33379         * math/s_csin.c: Likewise.
33380         * math/s_csinf.c: Likewise.
33381         * math/s_csinl.c: Likewise.
33382         * math/s_csinh.c: Likewise.
33383         * math/s_csinhf.c: Likewise.
33384         * math/s_csinhl.c: Likewise.
33385         * math/libm-test.inc (ccos_test): Add more tests.
33386         (ccosh_test): Likewise.
33387         (csin_test): Likewise.
33388         (csinh_test): Likewise.
33389         * sysdeps/i386/fpu/libm-test-ulps: Update.
33390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33391
33392 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33393
33394         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33395         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33396
33397         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33398
33399 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33400
33401         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33402         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33403         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33404         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33405         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33406         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33407         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33408         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33409         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33410         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33411         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33412         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33413         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33414         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33415         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33416         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33417         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33418         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33419         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33420         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33421         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33422         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33423         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33424         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33425         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33426         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33427         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33428         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33429         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33430         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33431         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33432
33433 2012-05-18  Andreas Jaeger  <aj@suse.de>
33434
33435         * csu/.gitignore: Delete.
33436
33437 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33438
33439         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33440         (timex): Use __syscall_slong_t.
33441
33442 2012-05-18  Andreas Jaeger  <aj@suse.de>
33443             Carlos O'Donell  <carlos_odonell@mentor.com>
33444
33445         * manual/install.texi (Configuring and compiling): Update
33446         description about files modified in the source directory.
33447         * INSTALL: Regenerated.
33448
33449 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33450
33451         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33452         value.  Use "or" to set return value to -1.
33453         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33454         negate return value.
33455
33456 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33457
33458         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33459         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33460         failure if the compiler has Graphite support disabled.
33461         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33462         Likewise.
33463         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33464         (CFLAGS-memmove.c): Likewise.
33465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33466         Likewise.
33467
33468 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33469
33470         * sysdeps/x86_64/x32/_itoa.h: New file.
33471
33472         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33473         getdents system call only if kernel and user dirents have the
33474         same d_ino and d_off.
33475
33476         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33477         LLONG_MAX != LONG_MAX.
33478         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33479         (_fitoa_word): Likewise.
33480
33481         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33482         years.
33483         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33484         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33485         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33486
33487         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33488         include <bits/wordsize.h>.  Check __x86_64__ instead of
33489         __WORDSIZE.
33490         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33491         if __x86_64__ is defined.  Use anonymous union on fpstate.
33492
33493         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33494         anonymous union.
33495
33496 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33497
33498         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33499         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33500         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33501         Refer to _rtld_local_ro instead of _rtld_global_ro.
33502         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33503         Likewise.
33504         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33505         Likewise.
33506         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33507         Likewise.
33508         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33509         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33510         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33511
33512         * sysdeps/powerpc/powerpc32/dl-machine.c
33513         (__elf_machine_runtime_setup) [PROF]: Don't reference
33514         _dl_prof_resolve.
33515
33516 2012-05-18  Andreas Jaeger  <aj@suse.de>
33517
33518         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33519         function only available for GCCs before 3.4 since GCC 3.4
33520         introduced a builtin.
33521         (lrint): Likewise.
33522         (llrintf): Likewise.
33523         (llrint): Likewise.
33524         (fmaxf): Likewise.
33525         (fmax): Likewise.
33526         (fminf): Likewise.
33527         (fmin): Likewise.
33528         (rint): Likewise.
33529         (rintf): Likewise.
33530         (nearbyint): Likewise.
33531         (nearbyintf): Likewise.
33532         (ceil): Likewise.
33533         (ceilf): Likewise.
33534         (floor): Likewise.
33535         (floorf): Likewise.
33536
33537 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33538
33539         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33540         on both fields and cast pointer to __syscall_ulong_t.
33541
33542         * bits/types.h (__fsword_t): New type.
33543         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33544         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33546         (__FSWORD_T_TYPE): Likewise.
33547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33548         (__FSWORD_T_TYPE): Likewise.
33549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33550         (__FSWORD_T_TYPE): Likewise.
33551         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33552         (__FSWORD_T_TYPE): Likewise.
33553         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33554         __SWORD_TYPE with __fsword_t.
33555         (statfs64): Likewise.
33556
33557 2012-05-17  David S. Miller  <davem@davemloft.net>
33558
33559         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33560
33561 2012-05-17  Andreas Jaeger  <aj@suse.de>
33562
33563         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33564         warning.
33565
33566 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33567
33568         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33569
33570 2012-05-17  Andreas Jaeger  <aj@suse.de>
33571
33572         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33573         when it is used.
33574
33575 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33576
33577         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33578
33579 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33580
33581         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33582         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33583
33584 2012-05-17  Andreas Jaeger  <aj@suse.de>
33585             Carlos O'Donell  <carlos_odonell@mentor.com>
33586
33587         [BZ #14059]
33588         * sysdeps/x86_64/multiarch/init-arch.h
33589         (bit_YMM_Usable): Rename to...
33590         (bit_AVX_Usable): ... this.
33591         (bit_FMA4_Usable): New macro.
33592         (bit_XMM_state): New macro.
33593         (bit_YMM_state): New macro.
33594         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33595         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33596         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33597         (CPUID_OSXSAVE): New macro.
33598         (CPUID_AVX): New macro.
33599         (CPUID_FMA4): New macro.
33600         (index_YMM_Usable): Rename to...
33601         (index_AVX_Usable): ... this.
33602         (HAS_AVX): Use HAS_ARCH_FEATURE.
33603         (HAS_FMA4): Likewise.
33604         (HAS_YMM_USABLE): Remove.
33605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33606         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33607         are present.
33608         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33609         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33610         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33611         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33612         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33613
33614 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33615
33616         * math/libm-test.c: Support platforms without multiple rounding modes.
33617         * math/bug-nextafter.c: Support platforms without FP exceptions.
33618         * math/bug-nexttoward.c: Likewise.
33619         * math/test-fenv.c: Likewise.
33620         * math/test-misc.c: Likewise.
33621         * stdlib/bug-getcontext.c: Likewise.
33622
33623 2012-05-17  Andreas Jaeger  <aj@suse.de>
33624
33625         * manual/examples/search.c (critter_cmp): Change signature to
33626         avoid warnings.
33627         * manual/string.texi (Collation Functions): Likewise.
33628
33629 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33630
33631         * bits/types.h: Fold copyright years.
33632         * bits/typesizes.h: Likewise.
33633         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33637         * time/time.h: Likewise.
33638
33639 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33640
33641         [BZ #208]
33642         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33643         in instead of returning them.  Return void.
33644         (__libc_mallinfo): Accumulate over all arenas.
33645         (__malloc_stats): Adjust for change in int_mallinfo interface.
33646
33647 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33648
33649         [BZ #10375]
33650         * configure.in (NM): Add AC_CHECK_TOOL for it.
33651         (libc_extra_cflags): New substituted variable.
33652         Check for -fstack-protector being used implicitly.
33653         * configure: Regenerated.
33654         * config.make.in (config-extra-cflags): New variable,
33655         gets @libc_extra_cflags@.
33656         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33657
33658         [BZ #10375]
33659         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33660         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33661         * configure: Regenerated.
33662         * config.make.in (CPPUNDEFS): New substituted variable.
33663         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33664         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33665         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33666
33667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33668
33669         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33670         (mq_attr): Use __syscall_slong_t.
33671
33672 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33673
33674         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33675         Check __x86_64__ instead of __WORDSIZE.
33676         (_STAT_VER_LINUX): Likewise.
33677         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33678         __syscall_ulong_t and __syscall_slong_t.
33679         (stat64): Likewise.
33680
33681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33682
33683         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33684
33685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33686
33687         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33688
33689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33690
33691         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33692         __syscall_ulong_t.
33693
33694         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33695         include <bits/wordsize.h>.  Check __x86_64__ instead of
33696         __WORDSIZE.
33697         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33698         defined.
33699         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33700
33701         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33702         include <bits/wordsize.h>.  Check __x86_64__ instead of
33703         __WORDSIZE.
33704         (user_regs_struct): Use "__extension__ unsigned long long"
33705         instead of "unsigned long" if __x86_64__ is defined.
33706         (user): Likewise.  Pad after pointer field if __ILP32__ is
33707         defined.
33708
33709 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33710
33711         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33712         versions 5 to 9.
33713         * configure: Regenerated.
33714         * manual/install.texi (texinfo): Increase version requirement to
33715         4.5 or later.
33716         * INSTALL: Regenerated.
33717
33718         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33719
33720 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33721
33722         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33723
33724         * sysdeps/x86_64/x32/ffs.c: New file.
33725
33726         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33727         __syscall_ulong_t.
33728         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33729         defined.  Use __syscall_ulong_t.
33730         (shminfo): Use __syscall_ulong_t.
33731         (shm_info): Likewise.
33732
33733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33734         __syscall_ulong_t.
33735
33736         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33737         <bits/wordsize.h>.
33738         (msgqnum_t): Use __syscall_ulong_t.
33739         (msglen_t): Likewise.
33740         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33741         __syscall_ulong_t.
33742
33743         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33744         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33745
33746         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33747
33748         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33749         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33750
33751         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33752         __syscall_slong_t.
33753
33754         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33755         include <bits/wordsize.h>.  Check __x86_64__ instead of
33756         __WORDSIZE.
33757
33758         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33759         "unsigned long long int" if __x86_64__ is defined.
33760         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33761
33762         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33763         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33764         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33765
33766         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33767         <stdint.h>.
33768         (GET_PC): Cast to uintptr_t first.
33769         (GET_FRAME): Likewise.
33770         (GET_STACK): Likewise.
33771
33772         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33773         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33774         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33775         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33776         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33777         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33778         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33779         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33780         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33781         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33782         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33783         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33784         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33785         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33786         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33787         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33788         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33789         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33790         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33791         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33792         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33793         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33794         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33795         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33796         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33797         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33798         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33799         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33800         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33801
33802 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33803
33804         * Makerules (+depfiles): Also collect depfiles from .oS in
33805         $(extra-objs).
33806         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33807         .oS, $(libnldbl-routines)).
33808
33809         * Makerules (native-compile-mkdep-flags): Define.
33810         * sunrpc/Makefile (extra-objs): Add $(addprefix
33811         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33812         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33813         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33814         calling $(make-target-directory).
33815
33816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33817
33818         * bits/types.h (__snseconds_t): Removed.
33819         * time/time.h (struct timespec): Replace __snseconds_t with
33820         __syscall_slong_t.
33821         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33822         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33823         Likewise.
33824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33825         (__SNSECONDS_T_TYPE): Likewise.
33826         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33827         (__SNSECONDS_T_TYPE): Likewise.
33828         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33829         (__SNSECONDS_T_TYPE): Likewise.
33830
33831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33832
33833         * sysdeps/mach/hurd/bits/typesizes.h
33834         (__SYSCALL_SLONG_TYPE): New macro.
33835         (__SYSCALL_ULONG_TYPE): Likewise.
33836
33837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33838
33839         * bits/types.h (__syscall_slong_t): New type.
33840         (__syscall_ulong_t): Likewise.
33841
33842         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33843         (__SYSCALL_ULONG_TYPE): Likewise.
33844         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33845         (__SYSCALL_SLONG_TYPE): Likewise.
33846         (__SYSCALL_ULONG_TYPE): Likewise.
33847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33848         (__SYSCALL_SLONG_TYPE): Likewise.
33849         (__SYSCALL_ULONG_TYPE): Likewise.
33850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33851         (__SYSCALL_SLONG_TYPE): Likewise.
33852         (__SYSCALL_ULONG_TYPE): Likewise.
33853
33854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33855
33856         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33857         Add sigaltstack-offsets.sym.
33858         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33859         <sigaltstack-offsets.h>.
33860         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33861         longjmp_msg pointer.
33862         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33863         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33864         signal stack.
33865         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33866
33867 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33868
33869         * elf/stackguard-macros.h: Remove file.
33870         * sysdeps/generic/stackguard-macros.h: New file.
33871         * sysdeps/i386/stackguard-macros.h: Likewise.
33872         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33873         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33874         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33875         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33876         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33877         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33878         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33879         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33880         <elf/stackguard-macros.h>.
33881
33882         [BZ #14109]
33883         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33884         __aligned__ in attribute.
33885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33886         (gregset_t): Likewise.
33887
33888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33889
33890         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33891         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33892         * sysdeps/x86_64/x32/Implies-after: New file.
33893
33894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33895
33896         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33897         and access return value for _dl_profile_fixup.  Use R10_LP to
33898         load frame size.
33899
33900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33901
33902         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33903
33904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33905
33906         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33907         * sysdeps/x86_64/x32/sysdep.h: New file.
33908
33909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33910
33911         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33912         * sysdeps/x86_64/setjmp.S: Likewise.
33913
33914 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33915
33916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33917         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33918         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33919         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33920         remove unused global constant.
33921
33922 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33923
33924         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33925         include of <not-cancel.h>.
33926
33927 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33928
33929         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33930
33931 2012-05-15  Jeff Law  <law@redhat.com>
33932             Andreas Jaeger  <aj@suse.de>
33933
33934         [BZ #13594]
33935         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33936         out from...
33937         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33938         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33939         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33940         code changing __hst_map_handle.map.
33941
33942 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33943
33944         * configure.in (sysnames): Look for Implies-before and Implies-after
33945         files.
33946         * configure: Regenerated.
33947
33948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33949
33950         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33951         8-byte data alignment with LP_SIZE alignment.
33952
33953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33954
33955         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33956         into R10_LP.
33957
33958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33959
33960         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33961
33962 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33963
33964         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33965         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33967         Likewise.
33968         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33969
33970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33971
33972         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33973         (stackinfo_sub_sp): Likewise.
33974
33975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33976
33977         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33978         RAX_LP.
33979
33980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33981
33982         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33983         into R*_LP.
33984
33985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33986
33987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33988         sizes into R*_LP.
33989
33990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33991
33992         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33993
33994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33995
33996         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33997         into R11_LP and load __x86_64_shared_cache_size_half into
33998         R8_LP.
33999
34000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34001
34002         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34003         R8_LP.
34004
34005 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34006
34007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34008         logb for POWER7.
34009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34010         logbf for POWER7.
34011         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34012         logbl for POWER7.
34013         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34014         powerpc32/power7/fpu/s_logb.c via #include.
34015         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34016         powerpc32/power7/fpu/s_logbf.c via #include.
34017         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34018         powerpc32/power7/fpu/s_logbl.c via #include.
34019
34020 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34021
34022         * README.libm: Remove file.
34023
34024 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34025
34026         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34027         count for x32.  Use R*_LP and omit operand-size suffix.
34028
34029 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34030
34031         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34032         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34033         * sysdeps/x86_64/x32/shlib-versions: New file.
34034
34035 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34036
34037         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34038         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34039         Use _dl_fatal_printf instead.
34040
34041 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34042
34043         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34044         set if not set by the user.  Do not allow for being unset.
34045         * sysdeps/unix/sysv/linux/configure: Regenerated.
34046
34047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34048
34049         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34050         the `q' suffix from lea and replace .quad with ASM_ADDR.
34051
34052 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34053
34054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34055         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34056         instead of $17.
34057         (PTR_DEMANGLE): Likewise.
34058
34059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34060
34061         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34062         (LP_OP): Likewise.
34063         (ASM_ADDR): Likewise.
34064         (RAX_LP): Likewise.
34065         (RBP_LP): Likewise.
34066         (RBX_LP): Likewise.
34067         (RCX_LP): Likewise.
34068         (RDI_LP): Likewise.
34069         (RSI_LP): Likewise.
34070         (RSP_LP): Likewise.
34071         (R8_LP): Likewise.
34072         (R9_LP): Likewise.
34073         (R10_LP): Likewise.
34074         (R10_LP): Likewise.
34075         (R11_LP): Likewise.
34076         (R12_LP): Likewise.
34077         (R13_LP): Likewise.
34078         (R14_LP): Likewise.
34079         (R15_LP): Likewise.
34080
34081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34082
34083         * sysdeps/x86_64/x32/dl-machine.h: New file.
34084
34085 2012-05-14  Andreas Jaeger  <aj@suse.de>
34086
34087         * manual/Makefile (subdir): Remove export of subdir.
34088         (all): Remove target.
34089         (.PHONY): Remove all from list.
34090         (mkinstalldirs): Remove.
34091         (.PHONY): Remove installdirs from list.
34092         ($(inst_infodir)/libc.info): Use make-target-directory.
34093         (installdirs): Remove.
34094         (subdir_%): Remove.
34095         (glibc-targets): Remove.
34096         (lib): Remove.
34097         (stubs): Remove.
34098         ($(objpfx)stubs ../po/manual.pot): Remove.
34099         ($(objpfx)stamp%): Remove.
34100         (make-target-directory): Remove.
34101         (subdir_install): Remove.
34102         (routines): Remove.
34103         (aux): Remove.
34104         (sources): Remove.
34105         (objects): Remove.
34106         (headers): Remove.
34107
34108         [BZ #13750]
34109         * manual/.gitignore: Remove, it's not needed anymore.
34110         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34111         all files in it.
34112         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34113         directory.
34114         (texis): Renamed to $(objpfx)texis.
34115         (texis-path): New, contains path to generated files.
34116         (chapters.%): Use texis-path for complete path, add extra argument
34117         libc-texinfo.sh.
34118         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34119         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34120         (summary,texi, stamp-summary): Use complete path of
34121         files. Generate files in build dir.
34122         (dir-add.texi): Build in build dir.
34123         (libm-err.texi,stamp-libm-err): Likewise.
34124         (version.texi, stamp-version): Likewise.
34125         (.%c.texi): Likewise.
34126         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34127         (mostlyclean): Remove target.
34128         (realclean): Remove target.
34129         (generated): Add new variable with contents from mostlyclean and
34130         realclean, remove entries duplicated in common-mostlyclean, add
34131         stamp-libm-err and stamp-version.
34132         (generated-dirs): Add libc directory.
34133         ($(inst_infodir)/libc.info): Install files from build dir.
34134
34135         * manual/install.texi (Configuring and compiling): Adjust since
34136         the info files are not part of the tar ball anymore.
34137
34138 2012-05-14  Andreas Jaeger  <aj@suse.de>
34139
34140         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34141         variable.
34142
34143 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34144
34145         [BZ #13717]
34146         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34147         to 2.2.0 where earlier.
34148         * sysdeps/unix/sysv/linux/configure: Regenerated.
34149         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34150         Remove conditional code.
34151         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34152         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34153         Remove conditional code.
34154         [!__NR_lchown]: Likewise.
34155         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34156         [__NR_lchown]: Likewise.
34157         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34158         comment referencing __ASSUME_LCHOWN_SYSCALL.
34159         * sysdeps/unix/sysv/linux/i386/sigaction.c
34160         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34161         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34162         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34163         Remove conditional code.
34164         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34165         (__protocol_available): Remove #if 0 code.
34166         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34167         conditional code.
34168         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34169         * sysdeps/unix/sysv/linux/kernel-features.h
34170         (__ASSUME_GETCWD_SYSCALL): Don't define.
34171         (__ASSUME_REALTIME_SIGNALS): Likewise.
34172         (__ASSUME_PREAD_SYSCALL): Likewise.
34173         (__ASSUME_PWRITE_SYSCALL): Likewise.
34174         (__ASSUME_POLL_SYSCALL): Likewise.
34175         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34176         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34177         non-SPARC.
34178         (__ASSUME_SIOCGIFNAME): Don't define.
34179         (__ASSUME_MSG_NOSIGNAL): Likewise.
34180         (__ASSUME_SENDFILE): Define unconditionally.
34181         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34182         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34183         conditional code.
34184         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34185         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34186         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34187         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34188         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34189         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34190         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34192         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34195         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34198         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34201         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34202         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34204         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34207         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34210         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34215         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34216         Remove conditional code.
34217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34218         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34219         Remove conditional code.
34220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34221         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34222         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34223         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34224         Remove conditional code.
34225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34226         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34227         Remove conditional code.
34228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34229         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34230         Remove conditional code.
34231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34232         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34233         Remove conditional code.
34234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34235         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34236         Remove conditional code.
34237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34238         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34241         * sysdeps/unix/sysv/linux/sigaction.c
34242         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34243         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34244         * sysdeps/unix/sysv/linux/sigpending.c
34245         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34246         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34247         * sysdeps/unix/sysv/linux/sigprocmask.c
34248         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34249         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34250         * sysdeps/unix/sysv/linux/sigsuspend.c
34251         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34252         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34253         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34254         (__libc_missing_rt_sigs): Remove.
34255         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34256         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34257         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34258         Remove conditional code.
34259         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34260         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34261         return 1.
34262         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34263         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34264         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34265         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34266
34267 2012-05-14  Andreas Jaeger  <aj@suse.de>
34268
34269         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34270         it's not used in glibc.
34271         (__coshm1): Likewise.
34272         (__acosh1p): Likewise.
34273         (__sgn): Likewise.
34274
34275         * manual/string.texi (Copying and Concatenation): Add missing
34276         variable in concat example.
34277         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34278
34279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34280
34281         [BZ #14103]
34282         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34283         __builtin_clzl with __builtin_clzll.
34284
34285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34286
34287         [BZ #14104]
34288         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34289         libc_freeres_ptr.
34290
34291 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34292
34293         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34294         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34295         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34296         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34297
34298 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34299
34300         * NEWS: Update ia64 info.
34301
34302 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34303
34304         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34305         used as bcopy.
34306
34307 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34308
34309         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34310         * sysdeps/unix/syscalls.list (dup3): Likewise.
34311         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34312         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34313
34314 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34315
34316         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34317         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34318
34319 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34320
34321         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34322         thread pointer.
34323         (TLS_IE): Use mov/add instead of movq/addq to load thread
34324         pointer.
34325         (TLS_GD_PREFIX): New.
34326         (TLS_GD): Use it.
34327
34328 2012-05-11  David S. Miller  <davem@davemloft.net>
34329
34330         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34331         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34332         (_FPU_SETCW): Likewise.
34333
34334 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34335
34336         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34337         is 32-byte aligned.
34338
34339 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34340
34341         [BZ #11837]
34342         * iconvdata/gb18030.c: Update tables.
34343         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34344         characters specially.
34345         (BODY for TO_LOOP): Add encoding of missing ranges.
34346
34347 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34348
34349         [BZ #13673]
34350         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34351         * sysdeps/mach/hurd/dup3.c: Likewise.
34352         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34353         * sysdeps/powerpc/memmove.c:: Likewise.
34354
34355 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34356
34357         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34358         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34359
34360 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34361
34362         * elf/elf.h (R_X86_64_RELATIVE64): New.
34363         (R_X86_64_NUM): Updated.
34364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34365         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34366         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34367         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34368         tst-quad1pie tst-quad2pie
34369         (modules-names): Add tst-quadmod1 tst-quadmod2.
34370         ($(objpfx)tst-quad1): New dependency.
34371         ($(objpfx)tst-quad2): Likewise.
34372         ($(objpfx)tst-quad1pie): Likewise.
34373         ($(objpfx)tst-quad2pie): Likewise.
34374         * sysdeps/x86_64/tst-quad1.c: New file.
34375         * sysdeps/x86_64/tst-quad1pie.c: New file.
34376         * sysdeps/x86_64/tst-quad2.c: Likewise.
34377         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34378         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34379         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34380         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34381         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34382
34383 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34384
34385         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34386         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34387         * streams/stropts.h (t_scalar_t): Define type.
34388
34389         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34390         (_PATH_PRESERVE): Set to "/var/lib".
34391         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34392
34393         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34394         instead of int.
34395
34396         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34397         if __dir_mkfile succeeded.
34398
34399         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34400         checking for _hurd_dtablesize.  Unlock it right after having
34401         finished _hurd_dtable allocation.
34402
34403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34404
34405         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34406         * sysdeps/mach/hurd/configure: Regenerated.
34407         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34408         special-casing to...
34409         * sysdeps/gnu/configure.in: ... this new file.
34410         * sysdeps/unix/sysv/linux/configure: Regenerated.
34411         * sysdeps/gnu/configure: New generated file.
34412
34413         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34414         for Linux: use nsec instead of usec, as well as:
34415         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34416         members of type struct timespec.
34417         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34418         New macros.
34419         (struct stat64): Likewise.
34420         (_STATBUF_ST_NSEC): New macro.
34421         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34422
34423         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34424         __strtoul_internal rather than strtoul.
34425
34426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34427
34428         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34429         and reject them.
34430
34431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34432
34433         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34434         which preserves existing values.
34435         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34436
34437 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34438
34439         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34440         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34441         greater than FD_SETSIZE.
34442
34443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34444
34445         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34446         allocated, call __vm_protect to finish enabling the existing space, and
34447         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34448         allocate the remainder.
34449
34450 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34451
34452         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34453         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34454
34455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34456
34457         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34458         sysdeps/mach/hurd/readlink.c.
34459
34460         * posix/tst-sysconf.c (posix_options): Only use
34461         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34462         _POSIX_SYNCHRONIZED_IO when they are defined
34463         * sysdeps/mach/hurd/bits/posix_opt.h:
34464         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34465         (_XOPEN_REALTIME): Undefine macro.
34466         (_XOPEN_REALTIME_THREADS): Undefine macro.
34467         (_XOPEN_SHM): Undefine macro.
34468         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34469         macro to -1.
34470         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34471         macro to -1.
34472         (_POSIX_ASYNC_IO): Undefine macro.
34473         (_POSIX_PRIORITIZED_IO): Undefine macro.
34474         (_POSIX_SPIN_LOCKS): Define macro to -1.
34475
34476         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34477         SA_NODEFER, SA_RESETHAND.
34478         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34479         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34480         F_DUPFD_CLOEXEC.
34481
34482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34483
34484         * elf/Makefile (pldd-modules): Define unconditionally.
34485
34486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34487
34488         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34489
34490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34491
34492         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34493         Return ENOENT when name is empty.
34494         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34495
34496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34497
34498         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34499
34500         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34501
34502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34503
34504         Fix mlock in all cases except non-readable pages.
34505         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34506         instead of VM_PROT_ALL as parameter to __vm_wire function.
34507
34508         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34509         (__mkdir): When path is `/', just fail with EEXIST.
34510         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34511
34512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34513
34514         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34515         <sys/uio.h> (for writev).
34516         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34517         and <sys/param.h> (for MIN).
34518
34519 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34520
34521         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34522         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34523         if interrupted.
34524
34525 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34526
34527         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34528         Depend on against $(link-rpcuserlibs).
34529
34530 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34531
34532         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34533         (__libc_stack_end): Do not use attribute_relro.
34534         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34535         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34536         to libthread-provided value.
34537         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34538         attribute_relro.
34539
34540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34541
34542         [BZ #3748]
34543         * bits/libc-lock.h (__libc_once_get): New macro.
34544         * sysdeps/mach/bits/libc-lock.h: Likewise.
34545         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34546         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34547         instead of using implementation details.
34548
34549         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34550         * libio/freopen.c: Likewise.
34551         * libio/freopen64.c: Likewise.
34552         * misc/syslog.c: Likewise.
34553         * nscd/connections.c: Likewise.
34554         * nscd/netgroupcache.c: Likewise.
34555         * sysdeps/posix/getcwd.c: Likewise.
34556
34557 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34558
34559         * math/w_ilogbf.c: Add #include <limits.h>.
34560
34561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34562
34563         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34564         path instead of returning without unlocking.
34565
34566         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34567         immediate-write ioctls.
34568         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34569
34570 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34571
34572         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34573         __builtin_frame_address instead of making assumptions about the
34574         location of the return address relative to DATA.  Force early load of
34575         the return address.
34576         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34577         __builtin_frame_address.
34578
34579         dup3 for GNU Hurd.
34580         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34581         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34582         implement dup3 and do some further code clean-ups.
34583         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34584         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34585
34586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34587
34588         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34589
34590         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34591         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34592         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34593         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34594         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34595         d->port.lock.
34596
34597         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34598         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34599         when handler == SIG_ERR, not when handler != SIG_ERR.
34600
34601 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34602
34603         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34604         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34605         definitions.
34606
34607         accept4 for GNU Hurd.
34608         * include/sys/socket.h (__libc_accept4): New prototype.
34609         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34610         to implement __libc_accept4.
34611         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34612         __libc_accept4.
34613         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34614
34615         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34616         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34617         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34618         signal-defines.sym.
34619
34620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34621
34622         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34623
34624 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34625
34626         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34627         assertion on O_CLOEXEC flag.
34628         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34629         * hurd/intern-fd.c: Likewise.
34630         * hurd/port2fd.c: Likewise.
34631
34632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34633
34634         [BZ #3906]
34635         * bits/in.h (IPV6_PKTINFO): Define new macro.
34636         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34637
34638 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34639
34640         [BZ #13954]
34641         [BZ #13955]
34642         [BZ #13956]
34643         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34644         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34645         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34646         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34648         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34649         * math/libm-test.inc (logb_test) : Additional logb tests.
34650
34651 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34652             Andreas Jaeger  <aj@suse.de>
34653
34654         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34655         * configure: Regenerated.
34656         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34657         * config.make.in (link-obsolete-rpc): New substituted variable.
34658         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34659         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34660         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34661         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34662         so that libc.a contains the symbols.
34663         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34664         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34665         * sunrpc/auth_none.c: Likewise.
34666         * sunrpc/auth_unix.c: Likewise.
34667         * sunrpc/authdes_prot.c: Likewise.
34668         * sunrpc/authuxprot.c: Likewise.
34669         * sunrpc/clnt_gen.c: Likewise.
34670         * sunrpc/clnt_perr.c: Likewise.
34671         * sunrpc/clnt_raw.c: Likewise.
34672         * sunrpc/clnt_simp.c: Likewise.
34673         * sunrpc/clnt_tcp.c: Likewise.
34674         * sunrpc/clnt_udp.c: Likewise.
34675         * sunrpc/clnt_unix.c: Likewise.
34676         * sunrpc/des_crypt.c: Likewise.
34677         * sunrpc/des_soft.c: Likewise.
34678         * sunrpc/get_myaddr.c: Likewise.
34679         * sunrpc/key_call.c: Likewise.
34680         * sunrpc/key_prot.c: Likewise.
34681         * sunrpc/netname.c: Likewise.
34682         * sunrpc/pm_getmaps.c: Likewise.
34683         * sunrpc/pm_getport.c: Likewise.
34684         * sunrpc/pmap_clnt.c: Likewise.
34685         * sunrpc/pmap_prot.c: Likewise.
34686         * sunrpc/pmap_prot2.c: Likewise.
34687         * sunrpc/pmap_rmt.c: Likewise.
34688         * sunrpc/publickey.c: Likewise.
34689         * sunrpc/rpc_cmsg.c: Likewise.
34690         * sunrpc/rpc_common.c: Likewise.
34691         * sunrpc/rpc_dtable.c: Likewise.
34692         * sunrpc/rpc_prot.c: Likewise.
34693         * sunrpc/rpc_thread.c: Likewise.
34694         * sunrpc/rtime.c: Likewise.
34695         * sunrpc/svc.c: Likewise.
34696         * sunrpc/svc_auth.c: Likewise.
34697         * sunrpc/svc_raw.c: Likewise.
34698         * sunrpc/svc_run.c: Likewise.
34699         * sunrpc/svc_tcp.c: Likewise.
34700         * sunrpc/svc_udp.c: Likewise.
34701         * sunrpc/svc_unix.c: Likewise.
34702         * sunrpc/svcauth_des.c: Likewise.
34703         * sunrpc/xcrypt.c: Likewise.
34704         * sunrpc/xdr.c: Likewise.
34705         * sunrpc/xdr_array.c: Likewise.
34706         * sunrpc/xdr_float.c: Likewise.
34707         * sunrpc/xdr_intXX_t.c: Likewise.
34708         * sunrpc/xdr_mem.c: Likewise.
34709         * sunrpc/xdr_rec.c: Likewise.
34710         * sunrpc/xdr_ref.c: Likewise.
34711         * sunrpc/xdr_sizeof.c: Likewise.
34712         * sunrpc/xdr_stdio.c: Likewise.
34713
34714 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34715
34716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34717         change.  Update copyright years.
34718
34719 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34720
34721         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34722
34723 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34724             Joseph Myers  <joseph@codesourcery.com>
34725             Paul Pluzhnikov  <ppluzhnikov@google.com>
34726
34727         [BZ #14012]
34728         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34729         requiring rpcgen.
34730         [cross-compiling] (extra-libs): Likewise.
34731         [cross-compiling] (extra-libs-others): Likewise.
34732         [cross-compiling] (librpcsvc-routines): Likewise.
34733         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34734         [cross-compiling] (omit-deps): Likewise.
34735         (sunrpc-CPPFLAGS): New variable.
34736         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34737         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34738         (cross-rpcgen-objs): New variable.
34739         (extra-objs): Append $(cross-rpcgen-objs).
34740         ($(cross-rpcgen-objs)): New rule.
34741         ($(objpfx)cross-rpcgen): Likewise.
34742         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34743         comment.
34744         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34745         ($(objpfx)x%.stmp): Likewise.
34746         * sunrpc/proto.h [IS_IN_build] (_): Define.
34747         [IS_IN_build] (_libc_intl_domainname): Likewise.
34748
34749 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34750
34751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34752         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34753         and R_X86_64_TPOFF64.
34754
34755 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34756
34757         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34758         sysdeps/unix/sysv/syscalls.list.
34759         (stime): Likewise.
34760         (utime): Likewise.
34761         * sysdeps/unix/sysv/syscalls.list: Remove file.
34762
34763 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34764
34765         [BZ #3440]
34766         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34767         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34768         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34769         (__LC_IDENTIFICATION): Make these macros useful in #if
34770         expressions, as required by C99.
34771
34772 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34773
34774         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34775         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34776         after this.
34777
34778 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34779
34780         * stdlib/longlong.h: Updated from GCC.
34781
34782 2012-05-09  Andreas Jaeger  <aj@suse.de>
34783
34784         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34785         default is first entry.
34786         (run_mode): Set type.
34787         (main): Remove informal message about syslog.
34788         (options): Fix typo.
34789
34790         [BZ #14053]
34791         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34792         to asm.
34793         (lrint): Likewise.
34794         (llrintf): Likewise.
34795         (llrint): Likewise.
34796         (rint): Likewise.
34797         (rintf): Likewise.
34798         (nearbyint): Likewise.
34799         (nearbyintf): Likewise.
34800
34801 2012-05-09  Andreas Jaeger  <aj@suse.de>
34802             Pedro Alves  <palves@redhat.com>
34803
34804         * nscd/nscd.c (run_mode): Use enum.
34805         (main): Cleanup coding style issue.
34806
34807 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34808             Andreas Jaeger  <aj@suse.de>
34809
34810         * nscd/nscd.c (go_background): Replaced with...
34811         (run_mode): ... this.
34812         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34813         (options): Add -F --foreground.
34814         (main): Implement it.
34815         (parse_opt): Parse it.
34816
34817 2012-05-09  Andreas Jaeger  <aj@suse.de>
34818
34819         [BZ #14083]
34820         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34821         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34822         -Wconversion warning.
34823         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34824         Likewise.
34825
34826 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34827
34828         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34829         == 0.
34830         (LC_ALL): Use macro-int-constant.
34831         (LC_COLLATE): Likewise.
34832         (LC_CTYPE): Likewise.
34833         (LC_MESSAGES): Likewise.
34834         (LC_MONETARY): Likewise.
34835         (LC_NUMERIC): Likewise.
34836         (LC_TIME): Likewise.
34837         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34838         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34839         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34840         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34841         Specify type.
34842         [C99-based standards] (float_t): Expect type.
34843         [C99-based standards] (double_t): Expect type.
34844         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34845         type.
34846         [C99-based standards] (HUGE_VALL): Likewise.
34847         [C99-based standards] (INFINITY): Likewise.
34848         [C99-based standards] (NAN): Likewise.
34849         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34850         [C99-based standards] (FP_NAN): Likewise.
34851         [C99-based standards] (FP_NORMAL): Likewise.
34852         [C99-based standards] (FP_SUBNORMAL): Likewise.
34853         [C99-based standards] (FP_ZERO): Likewise.
34854         [C99-based standards] (FP_FAST_FMA): Use
34855         optional-macro-int-constant.  Specify type.  Require == 1.
34856         [C99-based standards] (FP_FAST_FMAF): Likewise.
34857         [C99-based standards] (FP_FAST_FMAL): Likewise.
34858         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34859         [C99-based standards] (FP_ILOGBNAN): Likewise.
34860         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34861         Specify type.
34862         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34863         [C99-based standards] (math_errhandling): Specify type.
34864         [ISO99 || ISO11] (signgam): Do not allow.
34865         [non-C99-based standards] (copysignf): Do not allow.
34866         [non-C99-based standards] (exp2f): Likewise.
34867         [non-C99-based standards] (log2f): Likewise.
34868         [non-C99-based standards] (modff): Allow.
34869         [non-C99-based standards] (erff): Do not allow.
34870         [non-C99-based standards] (erfcf): Likewise.
34871         [non-C99-based standards] (gammaf): Likewise.
34872         [non-C99-based standards] (hypotf): Likewise.
34873         [non-C99-based standards] (j0f): Likewise.
34874         [non-C99-based standards] (j1f): Likewise.
34875         [non-C99-based standards] (jnf): Likewise.
34876         [non-C99-based standards] (lgammaf): Likewise.
34877         [non-C99-based standards] (tgammaf): Likewise.
34878         [non-C99-based standards] (y0f): Likewise.
34879         [non-C99-based standards] (y1f): Likewise.
34880         [non-C99-based standards] (ynf): Likewise.
34881         [non-C99-based standards] (isnanf): Likewise.
34882         [non-C99-based standards] (acoshf): Likewise.
34883         [non-C99-based standards] (asinhf): Likewise.
34884         [non-C99-based standards] (atanhf): Likewise.
34885         [non-C99-based standards] (cbrtf): Likewise.
34886         [non-C99-based standards] (expm1f): Likewise.
34887         [non-C99-based standards] (ilogbf): Likewise.
34888         [non-C99-based standards] (log1pf): Likewise.
34889         [non-C99-based standards] (logbf): Likewise.
34890         [non-C99-based standards] (nextafterf): Likewise.
34891         [non-C99-based standards] (remainderf): Likewise.
34892         [non-C99-based standards] (rintf): Likewise.
34893         [non-C99-based standards] (scalbf): Likewise.
34894         [non-C99-based standards] (copysignl): Likewise.
34895         [non-C99-based standards] (exp2l): Likewise.
34896         [non-C99-based standards] (log2l): Likewise.
34897         [non-C99-based standards] (modfl): Allow.
34898         [non-C99-based standards] (erfl): Do not allow.
34899         [non-C99-based standards] (erfcl): Likewise.
34900         [non-C99-based standards] (gammal): Likewise.
34901         [non-C99-based standards] (hypotl): Likewise.
34902         [non-C99-based standards] (j0l): Likewise.
34903         [non-C99-based standards] (j1l): Likewise.
34904         [non-C99-based standards] (jnl): Likewise.
34905         [non-C99-based standards] (lgammal): Likewise.
34906         [non-C99-based standards] (tgammal): Likewise.
34907         [non-C99-based standards] (y0l): Likewise.
34908         [non-C99-based standards] (y1l): Likewise.
34909         [non-C99-based standards] (ynl): Likewise.
34910         [non-C99-based standards] (isnanl): Likewise.
34911         [non-C99-based standards] (acoshl): Likewise.
34912         [non-C99-based standards] (asinhl): Likewise.
34913         [non-C99-based standards] (atanhl): Likewise.
34914         [non-C99-based standards] (cbrtl): Likewise.
34915         [non-C99-based standards] (expm1l): Likewise.
34916         [non-C99-based standards] (ilogbl): Likewise.
34917         [non-C99-based standards] (log1pl): Likewise.
34918         [non-C99-based standards] (logbl): Likewise.
34919         [non-C99-based standards] (nextafterl): Likewise.
34920         [non-C99-based standards] (remainderl): Likewise.
34921         [non-C99-based standards] (rintl): Likewise.
34922         [non-C99-based standards] (scalbl): Likewise.
34923         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34924         [non-C99-based standards] (FP_*): Do not allow.
34925         [C99-based standards] (FP_*): Change to
34926         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34927         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34928         allow.
34929         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34930         (SIG_ERR): Likewise.
34931         [X/Open-based standards] (SIG_HOLD): Likewise.
34932         (SIG_IGN): Likewise.
34933         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34934         positive value.
34935         (SIGFPE): Likewise.
34936         (SIGILL): Likewise.
34937         (SIGINT): Likewise.
34938         (SIGSEGV): Likewise.
34939         (SIGTER): Likewise.
34940         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34941         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34942         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34943         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34944         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34945         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34946         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34947         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34948         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34949         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34950         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34951         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34952         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34953         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34954         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34955         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34956         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34957         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34958         [X/Open-based standards] (SIGTRAP): Likewise.
34959         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34960         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34961         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34962         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34963         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34964         allow.
34965
34966 2012-05-08  Ian Wienand  <ianw@vmware.com>
34967
34968         [BZ #14080]
34969         * time/tzset.c (__tzset_parse_tz): Update default rules for
34970         daylight time changes in the Energy Policy Act of 2005.
34971
34972 2012-05-09  Andreas Jaeger  <aj@suse.de>
34973
34974         [BZ #13983]
34975         * elf/ldconfig.c (parse_conf): Change string to make clear that
34976         ldconfig only issued a warning if ld.so.conf does not exist.
34977
34978 2012-05-08  David S. Miller  <davem@davemloft.net>
34979
34980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34981         movxtod instead of popping the value on the stack.
34982
34983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34984
34985 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34986
34987         * config.h.in: Add HAVE_ARM_PCS_VFP.
34988
34989 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34990
34991         [BZ #13979]
34992         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34993         checking but the checks are disabled for any reason.
34994
34995 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34996
34997         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34998         and ELF64_R_TYPE with ELFW(R_TYPE).
34999
35000 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35001
35002         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35003         (ulimit): Likewise.
35004
35005         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35006         (settimeofday): Likewise.
35007
35008 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35009
35010         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35011         a struct th_u2 inside the union, and move tu_block/tu_code into
35012         a new th_u3 union of tu_block/tu_code inside of that.  Move
35013         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35014         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35015         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35016         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35017         (th_stuff): Change to th_u1.tu_stuff.
35018         (th_data): Define.
35019         (th_msg): Change to th_u1.th_u2.tu_data.
35020
35021 2012-05-07  David S. Miller  <davem@davemloft.net>
35022
35023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35024
35025         [BZ #14074]
35026         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35027         (SETUP_PIC_REG): Use it.
35028         (SETUP_PIC_REG_LEAF): Use it.
35029
35030 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35031
35032         [BZ #13885]
35033         [BZ #13923]
35034         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35035         USE_AS_EXPM1L.
35036         (EXPL_FINITE): Likewise.
35037         (FLDLOG): Likewise.
35038         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35039         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35040         e_expl.S.
35041         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35042         USE_AS_EXPM1L.
35043         (EXPL_FINITE): Likewise.
35044         (FLDLOG): Likewise.
35045         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35046         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35047         e_expl.S.
35048         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35049         test of -max_value argument for long double.
35050         * sysdeps/i386/fpu/libm-test-ulps: Update.
35051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35052
35053 2012-05-06  David S. Miller  <davem@davemloft.net>
35054
35055         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35056         quad soft-float symbols whose references which are compiler
35057         generated.
35058         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35059
35060 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35061
35062         [BZ #13884]
35063         [BZ #13914]
35064         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35065         USE_AS_EXP10L.
35066         (EXPL_FINITE): Likewise.
35067         (FLDLOG): Likewise.
35068         (c0): Likewise.
35069         (c1): Likewise.
35070         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35071         Adjust comments for base varying.
35072         (__expl_finite): Change alias to EXPL_FINITE.
35073         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35074         e_expl.S.
35075         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35076         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35077         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35078         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35079         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35080         USE_AS_EXP10L.
35081         (EXPL_FINITE): Likewise.
35082         (FLDLOG): Likewise.
35083         (c0): Likewise.
35084         (c1): Likewise.
35085         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35086         Adjust comments for base varying.
35087         (__expl_finite): Change alias to EXPL_FINITE.
35088         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35089         tests for bugs.
35090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35091
35092         [BZ #14064]
35093         * math/libm-test.inc (check_float_internal): Correct ulp
35094         calculation for subnormal expected results.
35095
35096 2012-05-06  Andreas Jaeger  <aj@suse.de>
35097
35098         * Makeconfig (+math-flags): New, set to -frounding-math.
35099         (+cflags): Add +math-flags so that all of glibc gets compiled with
35100         it.
35101
35102         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35103
35104 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35105
35106         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35107         Disable one test.
35108
35109         [BZ #13787]
35110         [BZ #13922]
35111         [BZ #14036]
35112         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35113         (__ieee754_expl): Allow for and saturate large arguments.
35114         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35115         (u_threshold): Likewise.
35116         (__exp): Call __ieee754_exp before checking for overflow and
35117         underflow.
35118         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35119         (u_threshold): Likewise.
35120         (__expf): Call __ieee754_expf before checking for overflow and
35121         underflow.
35122         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35123         (u_threshold): Likewise.
35124         (__expl): Call __ieee754_expl before checking for overflow and
35125         underflow.
35126         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35127         (__ieee754_expl): Allow for and saturate large arguments.
35128         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35129         missing overflow exception on overflow.
35130         (expm1_test): Do not allow missing overflow exception on overflow.
35131
35132         * sysdeps/i386/fpu/e_expl.c: Move to ...
35133         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35134         rather than using inline asm.
35135         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35136         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35137         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35138
35139         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35140         (nice): Likewise.
35141         (poll): Likewise.
35142         (signal): Likewise.
35143         (time): Likewise.
35144         (times): Likewise.
35145
35146 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35147
35148         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35149         sysdeps/unix/common/syscalls.list.
35150         (fchmod): Likewise.
35151         (fchown): Likewise.
35152         (ftruncate): Likewise.
35153         (getrusage): Likewise.
35154         (gettimeofday): Likewise.
35155         (setpgid): Likewise.
35156         (setregid): Likewise.
35157         (setreuid): Likewise.
35158         (sigaction): Likewise.
35159         (truncate): Likewise.
35160         (vhangup): Likewise.
35161         * sysdeps/unix/common/syscalls.list: Remove file.
35162         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35163         * sysdeps/unix/sysv/linux/Implies: Likewise.
35164
35165 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35166
35167         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35169         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35170         Moved to ...
35171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35172         Here.
35173         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35174         to ...
35175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35176         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35177         to ...
35178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35179         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35180         to ...
35181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35182         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35183         to ...
35184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35185         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35186         to ...
35187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35188         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35189         to ...
35190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35191         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35192         to ...
35193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35194         Here.
35195         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35196         to ...
35197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35198         Here.
35199         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35200         to ...
35201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35202         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35203         Moved to ...
35204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35205         Here.
35206         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35207         to ...
35208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35209
35210 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35211
35212         * sysdeps/unix/common/bits/dirent.h: Remove file.
35213         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35214
35215         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35216         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35217         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35218         * sysdeps/unix/bsd/isatty.c: Likewise.
35219         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35220         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35221         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35222
35223 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35224
35225         [BZ #13563]
35226         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35227         long double comparison inaccuracies.
35228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35230
35231 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35232
35233         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35234         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35235
35236 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35237
35238         [BZ #14049]
35239         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35240         nonzero digits before rounding a hex value.
35241         * stdlib/tst-strtod.c (tests): Add another test.
35242
35243 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35244
35245         * sysdeps/s390/fpu/libm-test-ulps: Update.
35246
35247 2012-05-03  Andreas Jaeger  <aj@suse.de>
35248
35249         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35250         does not get optimized out.
35251         (malloc_opt_barrier): New.
35252
35253 2012-05-03  Andreas Jaeger  <aj@suse.de>
35254             Roland McGrath  <roland@hack.frob.com>
35255
35256         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35257         intermediate file deletion.
35258         (generated): Add .symlist files.
35259
35260 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35261
35262         [BZ #13775]
35263         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35264         Redirect under this condition.
35265         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35266         [__USE_GNU] (__dprintf_chk): Not under this condition.
35267         [__USE_GNU] (__vdprintf_chk): Likewise.
35268         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35269         under this condition.
35270         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35271         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35272         [__USE_XOPEN2K8] (vdprintf): Likewise.
35273         [__USE_GNU] (__dprintf_chk): Not under this condition.
35274         [__USE_GNU] (__vdprintf_chk): Likewise.
35275         [__USE_GNU] (dprintf): Likewise.
35276         [__USE_GNU] (vdprintf): Likewise.
35277
35278 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35279
35280         * elf/Makefile (common-generated): Set this instead of generated for
35281         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35282         $(all-built-dso)-derived lists.
35283
35284 2012-05-03  Andreas Jaeger  <aj@suse.de>
35285
35286         * sysdeps/i386/fpu/libm-test-ulps: Update.
35287
35288         * FAQ: Removed.
35289         * FAQ.in: Likewise.
35290         * scripts/gen-FAQ.pl: Likewise.
35291         * manual/install.texi (Installation): Point to online location of
35292         FAQ.
35293         * Makefile (files-for-dist): Remove FAQ.
35294         (FAQ): Remove.
35295
35296 2012-05-02  Allan McRae  <allan@archlinux.org>
35297
35298         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35299         (LDFLAGS-reldepmod5.so): Likewise.
35300         (LDFLAGS-reldep6mod1.so): Likewise.
35301         (LDFLAGS-reldep6mod4.so): Likewise.
35302         (LDFLAGS-reldep8mod3.so): Likewise.
35303         (LDFLAGS-unload4mod1.so): Likewise.
35304         (LDFLAGS-unload4mod2.so): Likewise.
35305         (LDFLAGS-tst-initorder): Likewise.
35306         (LDFLAGS-tst-initordera2.so): Likewise.
35307         (LDFLAGS-tst-initordera3.so): Likewise.
35308         (LDFLAGS-tst-initordera4.so): Likewise.
35309         (LDFLAGS-tst-initorderb2.so): Likewise.
35310         (LDFLAGS-noload): Likewise.
35311         (LDFLAGS-next): Likewise.
35312         (LDFLAGS-order2mod1.so): Likewise.
35313         (LDFLAGS-order2mod2.so): Likewise.
35314         (LDFLAGS-tst-initorder2): Likewise.
35315         (LDFLAGS-tst-initorder2a.so): Likewise.
35316         (LDFLAGS-tst-initorder2b.so): Likewise.
35317         (LDFLAGS-tst-initorder2c.so): Likewise.
35318         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35319
35320 2012-05-02  David S. Miller  <davem@davemloft.net>
35321
35322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35323
35324 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35325
35326         [BZ #14055]
35327         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35328
35329 2012-05-02  Andreas Jaeger  <aj@suse.de>
35330
35331         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35332         since we manipulate rounding mode.
35333         (CPPFLAGS-test-idouble.c): Likewise.
35334         (CPPFLAGS-test-ifloat.c): Likewise.
35335         (CFLAGS-test-ldouble.c): Likewise.
35336         (CFLAGS-test-double.c): Likewise.
35337         (CFLAGS-test-float.c): Likewise.
35338         (CFLAGS-test-misc.c): Likewise.
35339         (CFLAGS-test-test-fenv.c): Likewise.
35340
35341 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35342
35343         [BZ #2550]
35344         [BZ #2570]
35345         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35346         comparisons to determine direction to adjust input.
35347
35348 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35349
35350         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35351         output to the target.
35352
35353         * scripts/localplt.awk: New file.
35354         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35355         (check-localplt-CFLAGS): Variable removed.
35356         ($(all-built-dso:=.jmprel)): New static pattern rule.
35357         (generated): Add those targets.
35358         (localplt-built-dso): New variable.
35359         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35360
35361         * elf/check-localplt.c: File removed.
35362
35363         * scripts/check-execstack.awk: New file.
35364         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35365         (check-execstack-CFLAGS): Variable removed.
35366         ($(objpfx)check-execstack.h): Target removed.
35367         ($(objpfx)execstack-default): New target.
35368         (generated): Add that instead of check-execstack.h.
35369         ($(all-built-dso:=.phdr)): New static pattern rule.
35370         (generated): Add those targets.
35371         * elf/check-execstack.c: File removed.
35372
35373         * scripts/check-textrel.awk: New file.
35374         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35375         (check-textrel-CFLAGS): Variable removed.
35376         (all-built-dso): Use := to define.o
35377         ($(all-built-dso:=.dyn)): New static pattern rule.
35378         (generated): Add those targets.
35379         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35380         * config.make.in (READELF): New substituted variable.
35381         * elf/check-textrel.c: File removed.
35382
35383 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35384
35385         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35386         allow.
35387         * conform/data/ctype.h-data [C99-based standards] (isblank):
35388         Expect function.
35389         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35390         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35391         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35392         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35393         Specify type.  Require positive value.
35394         (EILSEQ): Likewise.
35395         (ERANGE): Likewise.
35396         [ISO || POSIX] (EILSEQ): Do not expect.
35397         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35398         Specify type.  Require positive value.
35399         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35400         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35401         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35404         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35405         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35407         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35408         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35409         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35410         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35411         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35412         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35413         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35414         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35415         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35416         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35417         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35418         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35419         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35420         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35421         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35422         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35423         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35424         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35425         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35426         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35427         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35428         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35429         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35430         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35431         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35432         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35433         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35434         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35435         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35436         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35437         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35438         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35439         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35440         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35441         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35442         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35443         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35444         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35445         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35446         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35447         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35448         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35449         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35450         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35451         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35452         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35453         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35454         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35455         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35456         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35457         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35458         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35459         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35460         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35461         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35462         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35463         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35464         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35465         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35466         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35467         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35468         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35469         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35470         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35471         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35472         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35473         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35474         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35475         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35476         Require >= 2.
35477         (FLT_ROUNDS): Expect as macro, not constant.
35478         (FLT_MANT_DIG): Use macro-int-constant.
35479         (DBL_MANT_DIG): Likewise.
35480         (LDBL_MANT_DIG): Likewise.
35481         (FLT_DIG): Likewise.
35482         (DBL_DIG): Likewise.
35483         (LDBL_DIG): Likewise.
35484         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35485         (DBL_MIN_EXP): Likewise.
35486         (LDBL_MIN_EXP): Likewise.
35487         (FLT_MAX_EXP): Use macro-int-constant.
35488         (DBL_MAX_EXP): Likewise.
35489         (LDBL_MAX_EXP): Likewise.
35490         (FLT_MAX_10_EXP): Likewise.
35491         (DBL_MAX_10_EXP): Likewise.
35492         (LDBL_MAX_10_EXP): Likewise.
35493         (FLT_MAX): Use macro-constant.
35494         (DBL_MAX): Likewise.
35495         (LDBL_MAX): Likewise.
35496         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35497         (DBL_EPSILON): Likewise.
35498         (LDBL_EPSILON): Likewise.
35499         (FLT_MIN): Likewise.
35500         (DBL_MIN): Likewise.
35501         (LDBL_MIN): Likewise.
35502         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35503         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35504         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35505         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35506         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35507         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35508         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35509         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35510         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35511         [ISO11] (FLT_TRUE_MIN): Likewise.
35512         [ISO11] (LDBL_TRUE_MIN): Likewise.
35513         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35514         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35515         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35516         (SCHAR_MAX): Likewise.
35517         (UCHAR_MAX): Likewise.
35518         (CHAR_MIN): Likewise.
35519         (CHAR_MAX): Likewise.
35520         (MB_LEN_MAX): Use macro-int-constant.
35521         (SHRT_MIN): Use macro-int-constant.  Specify type.
35522         (SHRT_MAX): Likewise.
35523         (USHRT_MAX): Likewise.
35524         (INT_MAX): Likewise.
35525         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35526         bound negative.
35527         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35528         bound with "U".
35529         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35530         bound with "L".
35531         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35532         bound negative.  Suffix upper bound with "L".
35533         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35534         bound with "UL".
35535         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35536         Specify type.
35537         [C99-based standards] (LLONG_MAX): Likewise.
35538         [C99-based standards] (ULLONG_MAX): Likewise.
35539         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35540         == 0.
35541         [ISO11] (max_align_t): Require type.
35542         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35543
35544         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35545         from $CFLAGS, without defining away __attribute__ calls.
35546         (checknamespace): Use $CFLAGS_namespace.
35547
35548         * conform/conformtest.pl (@keywords): Only include C99 keywords
35549         for standards based on C99 or C11.
35550
35551         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35552         Disable tests.
35553         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35554         UNIX98]: Likewise.
35555
35556         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35557         usability of symbols in #if.
35558
35559         * conform/conformtest.pl: If macro or constant types start
35560         "promoted:", expect the symbol to be of the following type
35561         promoted by the integer promotions.
35562
35563         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35564         in one place.  Also handle "macro-constant".
35565
35566         * conform/conformtest.pl: Only accept expected macro values with
35567         "==".  Parse all "macro" lines in one place.
35568         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35569
35570         * conform/conformtest.pl: Handle braced types on "constant" lines
35571         instead of handling "typed-constant".
35572         * conform/data/signal.h-data: Use "constant" instead of
35573         "typed-constant".
35574
35575         * conform/conformtest.pl: Handle "optional-" at start of lines in
35576         one place rather than duplicating several cases.  Handle each
35577         format of "macro" line with initial "optional-".
35578
35579         * conform/conformtest.pl: Only accept expected constant or
35580         optional-constant values with "==".  Parse all "constant" lines in
35581         one place.  Parse all "optional-constant" lines in one place.
35582         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35583         * conform/data/fmtmsg.h-data: Likewise.
35584         * conform/data/netinet/in.h-data: Likewise.
35585         * conform/data/tar.h-data: Likewise.
35586         * conform/data/limits.h-data: Use "==" form on "constant" and
35587         "optional-constant" lines.
35588
35589         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35590         Use -std=c99 for XOPEN2K.
35591         (@knownproblems): Remove.
35592         (newtoken): Don't check %isknown.
35593
35594         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35595         Do not expect macro.
35596         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35597         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35598         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35599         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35600         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35601         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35602         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35603         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35604         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35605         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35606         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35607         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35608         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35609         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35610         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35611         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35612         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35613         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35614         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35615         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35616         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35617         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35618         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35619         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35620         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35621         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35622         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35623         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35624         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35625         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35626         [XPG3] (acosh): Likewise.
35627         [XPG3] (asinh): Likewise.
35628         [XPG3] (atanh): Likewise.
35629         [XPG3] (cbrt): Likewise.
35630         [XPG3] (expm1): Likewise.
35631         [XPG3] (ilogb): Likewise.
35632         [XPG3] (log1p): Likewise.
35633         [XPG3] (logb): Likewise.
35634         [XPG3] (nextafter): Likewise.
35635         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35636         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35637         [XPG3] (remainder): Likewise.
35638         [XPG3] (rint): Likewise.
35639         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35640         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35641         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35642         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35643         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35644         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35645         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35646         [UNIX98 || XOPEN2K] (scalb): Expect.
35647         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35648         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35649         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35650         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35651         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35652         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35653         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35654         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35655         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35656         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35657         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35658         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35659         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35660         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35661         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35662         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35663         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35664         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35665         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35666         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35667         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35668         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35669         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35670         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35671         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35672         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35673         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35674         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35675         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35676         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35677         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35678         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35679         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35680         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35681         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35682         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35683         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35684         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35685         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35686         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35687         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35688         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35689         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35690         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35691         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35692         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35693         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35694         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35695         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35696         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35697         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35698         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35699         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35700         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35701         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35702         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35703         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35704         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35705         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35706         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35707         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35708         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35709         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35710         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35711         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35712         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35713         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35714         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35715         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35716         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35717         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35718         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35719         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35720         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35721         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35722         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35723         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35724         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35725         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35726         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35727         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35728         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35729         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35730         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35731         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35732         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35733         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35734         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35735         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35736         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35737         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35738         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35739         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35740         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35741         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35742         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35743         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35744         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35745         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35746         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35747         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35748         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35749         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35750         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35751         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35752         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35753         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35754         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35755         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35756         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35757         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35758         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35759         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35760         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35761         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35762         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35763         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35764         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35765         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35766         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35767         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35768         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35769         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35770         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35771         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35772         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35773         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35774         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35775         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35776         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35777         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35778         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35779         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35780         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35781         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35782         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35783         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35784
35785         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35786         _XOPEN_SOURCE_EXTENDED for XPG4.
35787
35788         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35789
35790         * Makeconfig (localtime): Remove variable.
35791         (inst_localtime-file): Likewise.
35792
35793 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35794
35795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35796         Update.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35798         Update.
35799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35800         Update.
35801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35802         Update.
35803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35804         Update.
35805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35806         Update.
35807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35808         Update.
35809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35810         Update.
35811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35812         Update.
35813
35814 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35815
35816         [BZ #2550]
35817         [BZ #2570]
35818         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35819         comparisons to determine direction to adjust input.
35820         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35821         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35822         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35823         Likewise.
35824         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35825         Likewise.
35826         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35827         Likewise.
35828         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35829         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35830         Likewise.
35831         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35832         Likewise.
35833         * math/libm-test.inc (nexttoward_test): Add more tests.
35834
35835 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35836
35837         [BZ #14040]
35838         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35839         in version GLIBC_2.1, not GLIBC_2.0.
35840         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35841         Likewise.
35842
35843 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35844
35845         [BZ #13942]
35846         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35847         (1 - x) * (1 + x).
35848         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35849         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35850         * math/libm-test.inc (acos_test): Add more tests.
35851         (asin_test): Likewise.
35852         * sysdeps/i386/fpu/libm-test-ulps: Update.
35853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35854
35855         [BZ #14034]
35856         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35857         of square root.
35858         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35859         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35860         * math/libm-test.inc (acos_test_tonearest): New function.
35861         (acos_test_towardzero): Likewise.
35862         (acos_test_downward): Likewise.
35863         (acos_test_upward): Likewise.
35864         (asin_test_tonearest): Likewise.
35865         (asin_test_towardzero): Likewise.
35866         (asin_test_downward): Likewise.
35867         (asin_test_upward): Likewise.
35868         (main): Call the new functions.
35869         * sysdeps/i386/fpu/libm-test-ulps: Update.
35870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35871
35872         [BZ #13884]
35873         [BZ #13924]
35874         * math/e_exp10.c: Include <float.h>.
35875         (__ieee754_exp10): Handle underflow here rather than multiplying
35876         large negative argument by M_LN10.
35877         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35878         of __ieee754_expf.
35879         * math/e_exp10l.c: Include <float.h>.
35880         (__ieee754_exp10l): Handle underflow here rather than multiplying
35881         large negative argument by M_LN10l.
35882         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35883         spurious overflow exception on underflow.
35884
35885 2012-04-29  Marek Polacek  <polacek@redhat.com>
35886
35887         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35888         (__fortify_function): New macro.
35889         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35890         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35891         __extern_always_inline.
35892         * libio/bits/stdio2.h: Likewise.
35893         * libio/bits/stdio.h: Likewise.
35894         * string/string.h: Likewise.
35895         * string/bits/string3.h: Likewise.
35896         * include/stdio.h: Likewise.
35897         * stdlib/bits/stdlib.h: Likewise.
35898         * stdlib/stdlib.h: Likewise.
35899         * rt/bits/mqueue2.h: Likewise.
35900         * rt/mqueue.h: Likewise.
35901         * posix/bits/unistd.h: Likewise.
35902         * posix/unistd.h: Likewise.
35903         * io/bits/poll2.h: Likewise.
35904         * io/bits/fcntl2.h: Likewise.
35905         * io/fcntl.h: Likewise.
35906         * io/sys/poll.h: Likewise.
35907         * misc/bits/syslog.h: Likewise.
35908         * misc/bits/syslog-ldbl.h: Likewise.
35909         * misc/sys/syslog.h: Likewise.
35910         * socket/bits/socket2.h: Likewise.
35911         * socket/sys/socket.h: Likewise.
35912         * debug/tst-chk1.c: Likewise.
35913         * wcsmbs/bits/wchar2.h: Likewise.
35914         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35915         * wcsmbs/wchar.h: Likewise.
35916
35917 2012-04-29  Andreas Jaeger  <aj@suse.de>
35918
35919         * Makerules (tests): Remove enable-check-abi protection.
35920         (check-abi-warn): Remove.
35921         (check-abi-%): Remove check-abi-warn usage.
35922
35923         * configure.in: Remove check-abi configure option.
35924         * configure: Regenerated.
35925         * config.make.in (enable-check-abi): Remove.
35926
35927 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35928
35929         [BZ #14033]
35930         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35931         double functions to double *_finite functions.
35932
35933         [BZ #13941]
35934         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35935         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35936         LDBL_MIN_EXP.
35937         * stdio-common/Makefile (tests): Add tst-sprintf3.
35938         * stdio-common/tst-sprintf3.c: New file.
35939
35940         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35941         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35942
35943 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35944
35945         * conform/conformtest.pl: Remove duplicate typed-constant
35946         handling.
35947
35948 2012-04-28  David S. Miller  <davem@davemloft.net>
35949
35950         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35951         (check-abi-%): Remove AWK script prerequisite and explicit
35952         abilist directory.
35953         (check-abi): Rewrite to just diff the symlist with the abilist.
35954         (config-tls, config-abi-config): Delete, no longer used.
35955         (update-abi-%): Remove AWK script and explicit abilist directory.
35956         (update-abi): Rewrite to simply compare and conditionally copy the
35957         symlist and the sysdep abilist file.  Remove update-abi-config
35958         checks.
35959         * abilist/ld.abilist: Remove.
35960         * abilist/libBrokenLocale.abilist: Remove.
35961         * abilist/libanl.abilist: Remove.
35962         * abilist/libcrypt.abilist: Remove.
35963         * abilist/libdl.abilist: Remove.
35964         * abilist/librt.abilist: Remove.
35965         * abilist/libthread_db.abilist: Remove.
35966         * abilist/libutil.abilist: Remove.
35967         * scripts/extract-abilist.awk: Remove.
35968         * scripts/merge-abilist.awk: Remove.
35969         * sysdeps/generic/libcidn.abilist: New file.
35970         * sysdeps/generic/libnss_compat.abilist: New file.
35971         * sysdeps/generic/libnss_db.abilist: New file.
35972         * sysdeps/generic/libnss_dns.abilist: New file.
35973         * sysdeps/generic/libnss_files.abilist: New file.
35974         * sysdeps/generic/libnss_hesiod.abilist: New file.
35975         * sysdeps/generic/libnss_nis.abilist: New file.
35976         * sysdeps/generic/libnss_nisplus.abilist: New file.
35977         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35978         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35979         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35980         file.
35981         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35982         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35983         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35984         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35985         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35986         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35987         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35988         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35989         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35990         file.
35991         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35992         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35993         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35994         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35995         file.
35996         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35997         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35998         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35999         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36000         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36001         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36002         file.
36003         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36004         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36005         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36006         file.
36007         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36009         New file.
36010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36011         New file.
36012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36013         New file.
36014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36015         New file.
36016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36017         New file.
36018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36019         New file.
36020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36021         New file.
36022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36023         New file.
36024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36025         New file.
36026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36027         New file.
36028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36029         New file.
36030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36031         New file.
36032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36033         New file.
36034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36035         file.
36036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36037         New file.
36038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36039         New file.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36041         file.
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36043         New file.
36044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36045         New file.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36047         file.
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36049         New file.
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36051         New file.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36053         New file.
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36055         New file.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36057         New file.
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36059         New file.
36060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36062         file.
36063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36064         New file.
36065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36066         file.
36067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36068         file.
36069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36070         file.
36071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36072         file.
36073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36074         file.
36075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36076         New file.
36077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36078         file.
36079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36080         file.
36081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36082         New file.
36083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36084         file.
36085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36087         file.
36088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36089         New file.
36090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36091         file.
36092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36093         file.
36094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36095         file.
36096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36097         file.
36098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36099         file.
36100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36101         New file.
36102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36103         file.
36104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36105         file.
36106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36107         New file.
36108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36109         file.
36110         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36111         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36112         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36113         file.
36114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36115         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36116         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36117         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36118         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36119         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36120         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36121         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36122         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36123         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36124         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36126         file.
36127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36128         New file.
36129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36130         file.
36131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36132         file.
36133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36134         file.
36135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36136         file.
36137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36138         file.
36139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36140         New file.
36141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36142         New file.
36143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36144         file.
36145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36146         New file.
36147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36148         file.
36149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36151         file.
36152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36153         New file.
36154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36155         file.
36156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36157         file.
36158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36159         file.
36160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36161         file.
36162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36163         file.
36164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36165         New file.
36166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36167         New file.
36168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36169         file.
36170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36171         New file.
36172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36173         file.
36174
36175 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36176
36177         * conform/conformtest.pl: Fix typo in handling typed-constant from
36178         allow-header.
36179
36180 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36181
36182         * README: Cut down references to pre-2.6 Linux kernels and
36183         Linuxthreads.  Update lists of configurations in libc and ports
36184         and sort alphabetically.  Say "or newer" with Linux kernel version
36185         requirements.
36186
36187         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36188
36189 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36190
36191         [BZ #887]
36192         * math/libm-test.inc (logb_test_downward): New test to expose
36193         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36194         rounding mode.
36195
36196 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36197
36198         [BZ #14027]
36199         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36200         to be done.
36201         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36202         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36203
36204 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36205
36206         * sysdeps/unix/i386/brk.S: Remove file.
36207         * sysdeps/unix/i386/dl-brk.S: Likewise.
36208         * sysdeps/unix/i386/pipe.S: Likewise.
36209         * sysdeps/unix/i386/sigreturn.S: Likewise.
36210         * sysdeps/unix/i386/syscall.S: Likewise.
36211         * sysdeps/unix/i386/vfork.S: Likewise.
36212         * sysdeps/unix/i386/wait.S: Likewise.
36213
36214         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36215         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36216
36217         * configure.in (arm*-none*): Do not allow without
36218         --enable-hacker-mode.
36219         (netbsd*): Remove case setting base_os.
36220         (386bsd*): Likewise.
36221         (freebsd*): Likewise.
36222         (bsdi*): Likewise.
36223         (osf*): Likewise.
36224         (sunos*): Likewise.
36225         (ultrix*): Likewise.
36226         (newsos*): Likewise.
36227         (dynix*): Likewise.
36228         (*bsd*): Likewise.
36229         (sysv*): Likewise.
36230         (isc*): Likewise.
36231         (esix*): Likewise.
36232         (sco*): Likewise.
36233         (minix*): Likewise.
36234         (irix4*): Likewise.
36235         (irix6*): Likewise.
36236         (solaris[2-9]*): Likewise.
36237         (none): Likewise.
36238         * configure: Regenerated.
36239
36240 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36241
36242         [BZ #11521]
36243         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36244         overflow or cancellation in calculating denominator.
36245         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36246         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36247         down expression to avoid unexpected rounding in newer GCCs.
36248         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36249
36250 2012-04-26  David S. Miller  <davem@davemloft.net>
36251
36252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36253         long-double compat symbols.
36254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36267
36268 2012-04-25  David S. Miller  <davem@davemloft.net>
36269
36270         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36271         HWCAP_* values only after the memory barriers have been defined.
36272         (atomic_full_barrier): Define.
36273         (atomic_read_barrier): Define.
36274         (atomic_write_barrier): Define.
36275
36276 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36277
36278         * shlib-versions: Add libgcc_s version information.
36279         * sysdeps/generic/libgcc_s.h: Remove.
36280         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36281         libgcc_s.h.
36282         * sysdeps/gnu/unwind-resume.c: Likewise.
36283         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36284
36285 2012-04-25  David S. Miller  <davem@davemloft.net>
36286
36287         * sysdeps/unix/sparc/brk.S: Delete.
36288         * sysdeps/unix/sparc/dl-brk.S: Delete.
36289         * sysdeps/unix/sparc/pipe.S: Delete.
36290         * sysdeps/unix/sparc/sysdep.S: Delete.
36291         * sysdeps/unix/sparc/sysdep.h: Delete.
36292         * sysdeps/unix/sparc/vfork.S: Delete.
36293         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36294         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36295         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36296         (ret_ERRVAL, r0, r1, MOVE): Define.
36297         (JUMPTARGET): Remove.
36298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36299         sysdeps/unix/sparc/sysdep.h
36300         (ENTRY, END): Remove.
36301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36302
36303 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36304
36305         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36306         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36307         -DIS_IN_build.
36308
36309         * timezone/README: Update upstream location and email address for
36310         tzcode and tzdata.
36311         * timezone/zdump.c: Update from tzcode 2012b.
36312         * timezone/zic.c: Likewise.
36313
36314         * configure.in (libc_cv_as_needed): Remove test.
36315         * configure: Regenerated.
36316         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36317         conditional definition.
36318         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36319         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36320         * config.make.in (have-as-needed): Remove variable.
36321
36322 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36323             Paul Pluzhnikov  <ppluzhnikov@google.com>
36324
36325         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36326         strings correctly.
36327
36328 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36329
36330         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36331         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36332         * sysdeps/sh/strlen.S: Likewise.
36333
36334 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36335
36336         * sysdeps/unix/fork.S: Remove file.
36337         * sysdeps/unix/i386/fork.S: Likewise.
36338         * sysdeps/unix/sparc/fork.S: Likewise.
36339
36340         * sysdeps/unix/system.c: Remove file.
36341         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36342
36343         * sysdeps/unix/getegid.S: Remove file.
36344         * sysdeps/unix/geteuid.S: Likewise.
36345
36346 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36347
36348         * scripts/check-localplt.awk: New file.
36349         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36350         of diff.
36351         * scripts/data/localplt-generic.data: Add a comment.
36352
36353         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36354         NODE when __dir_mkfile failed.
36355         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36356         Reported by Ludovic Courtès <ludo@gnu.org>.
36357
36358 2012-04-24  Andreas Jaeger  <aj@suse.de>
36359
36360         * Makerules (common-clean): Also remove gen-as-const-headers
36361         files.
36362
36363 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36364
36365         * Makerules (native-compile): Do not change working directory for
36366         build.  Use $(OUTPUT_OPTION) in command.
36367         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36368
36369 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36370
36371         [BZ #13886]
36372         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36373         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36374         * math/libm-test.inc (floor_test): Add more tests.
36375         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36376
36377 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36378
36379         * sysdeps/unix/getdents.c: Remove file.
36380         * sysdeps/unix/sysv/getdents.c: Likewise.
36381         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36382
36383         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36384         sysdeps/unix/mman/syscalls.list.
36385         (mmap): Likewise.
36386         (mprotect): Likewise.
36387         (msync): Likewise.
36388         (munmap): Likewise.
36389         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36390         * sysdeps/unix/mman/syscalls.list: Remove.
36391         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36392
36393         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36394         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36395         * configure: Regenerated.
36396         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36397         $(libgcc_s_suffix).
36398         * config.make.in (libgcc_s_suffix): Remove variable.
36399
36400 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36401
36402         * sysdeps/unix/sysv/gethostname.c: Move to ...
36403         * sysdeps/posix/gethostname.c: ... here.
36404
36405         * sysdeps/unix/execve.S: Remove file.
36406
36407         * sysdeps/unix/_exit.S: Remove file.
36408
36409 2012-04-23  Andreas Jaeger  <aj@suse.de>
36410
36411         [BZ #13739]
36412         * manual/Makefile: Remove make dist support, there's no
36413         need for a stand-alone documentation tar ball.
36414         (TEXI2DVI): Define always, it's not in Makeconfig.
36415         (dist): Removed.
36416         (tar-it): Removed.
36417         (edition): Removed.
36418         (glibc-doc-$(edition).tar): Removed
36419         (%.Z): Removed.
36420         (%.gz): Removed.
36421         (%.uu): Removed.
36422         (ETAGS): Remove, it's in Makeconfig.
36423         (move-if-change): Remove, it's in Makeconfig.
36424
36425 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36426
36427         [BZ #13970]
36428         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36429         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36430         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36431         (strtod_l, strtof_l, strtold_l): Remove __wur.
36432         It is not necessarily an error to ignore strtol's return value.
36433         One can reliably look at the stored endptr to decide whether
36434         the number had valid syntax.
36435
36436 2012-04-21  Andreas Jaeger  <aj@suse.de>
36437
36438         [BZ #13739]
36439         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36440
36441 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36442
36443         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36444         * sysdeps/unix/sysv/Versions: Remove file.
36445
36446 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36447
36448         [BZ #13927]
36449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36450
36451 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36452
36453         [BZ #7064]
36454         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36455         version from __vm86.
36456
36457 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36458
36459         * sysdeps/unix/common/lxstat.c: Remove file.
36460         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36461
36462         * sysdeps/unix/sysv/Makefile: Remove file.
36463
36464         * sysdeps/unix/sysv/direct.h: Remove file.
36465
36466         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36467         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36468         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36469         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36470         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36471         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36472         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36473
36474         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36475
36476         * sysdeps/unix/xmknod.c: Remove file.
36477         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36478
36479         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36480
36481         * sysdeps/unix/sysv/i386/time.S: Remove file.
36482
36483         * sysdeps/unix/fxstat.c: Remove file.
36484         * sysdeps/unix/xstat.c: Likewise.
36485         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36486
36487         * sysdeps/unix/sysv/sigaction.c: Remove file.
36488
36489         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36490         (sysdep_headers): Remove variable.
36491         [termio.h not in sysdep_headers] (generated): Likewise.
36492         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36493         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36494         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36495         * sysdeps/unix/sysv/tcflow.c: Likewise.
36496         * sysdeps/unix/sysv/tcflush.c: Likewise.
36497         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36498         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36499         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36500         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36501         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36502
36503         * sysdeps/unix/siglist.c: Remove file.
36504
36505         * sysdeps/unix/getppid.S: Remove file.
36506
36507         * sysdeps/unix/mkdir.c: Remove file.
36508         * sysdeps/unix/rmdir.c: Likewise.
36509
36510 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36511
36512         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36513         ERR_MAX value.
36514         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36515         errlist-compat value.
36516
36517 2012-04-18  David S. Miller  <davem@davemloft.net>
36518
36519         * sysdeps/generic/memcopy.h (reg_char): Delete.
36520         * debug/strcat_chk.c: Use char, not reg_char.
36521         * debug/strcpy_chk.c: Likewise.
36522         * debug/strncat_chk.c: Likewise.
36523         * debug/strncpy_chk.c: Likewise.
36524         * string/memchr.c: Likewise.
36525         * string/memrchr.c: Likewise.
36526         * string/rawmemchr.c: Likewise.
36527         * string/strcat.c: Likewise.
36528         * string/strchr.c: Likewise.
36529         * string/strchrnul.c: Likewise.
36530         * string/strcmp.c: Likewise.
36531         * string/strcpy.c: Likewise.
36532         * string/strncat.c: Likewise.
36533         * string/strncmp.c: Likewise.
36534         * string/strncpy.c: Likewise.
36535
36536 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36537
36538         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36539         __builtin_memcopy is called when src and dest ranges are known to not
36540         overlap.
36541
36542 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36543
36544         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36545         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36546         fwd_align_merge macro call.
36547         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36548         bwd_align_merge macro call.
36549         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36550
36551 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36552
36553         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36554         bwd_align_merge macros.
36555         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36556         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36557         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36558
36559 2012-04-18  David S. Miller  <davem@davemloft.net>
36560
36561         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36562
36563 2012-04-18  Andreas Jaeger  <aj@suse.de>
36564
36565         [BZ# 6794]
36566         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36567         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36568         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36569
36570         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36571         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36572         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36573
36574         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36575         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36576         Adjust for changed ldbl-128 files.
36577
36578         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36579         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36580         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36581
36582 2012-04-17  David S. Miller  <davem@davemloft.net>
36583
36584         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36585
36586 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36587
36588         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36589         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36590         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36591         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36592         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36593         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36594
36595 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36596
36597         [BZ #6794]
36598         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36599         * math/libm-test.inc: Add ilogb errno and exception tests.
36600         * math/w_ilogb.c: New file: ilogb wrapper.
36601         * math/w_ilogbf.c: New file: ilogbf wrapper.
36602         * math/w_ilogbl.c: New file: ilogbl wrapper.
36603         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36604         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36605         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36606         exception being thrown with 0.0 as argument.
36607         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36608         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36609         exception being thrown with 0.0 as argument.
36610         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36611         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36612         exception being thrown with 0.0 as argument.
36613         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36614         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36615         exception being thrown with 0.0 as argument.
36616         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36617         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36618         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36619         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36620         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36621         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36622         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36623         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36624         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36625
36626 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36627
36628         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36629         with altivec.
36630
36631 2012-04-16  Marek Polacek  <polacek@redhat.com>
36632
36633         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36634
36635 2012-04-16  Marek Polacek  <polacek@redhat.com>
36636
36637         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36638         operands of fdivp instruction.
36639
36640 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36641
36642         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36643         * elf/tst-auditmod3b.c: Likewise.
36644         * elf/tst-auditmod4b.c: Likewise.
36645         * elf/tst-auditmod5b.c: Likewise.
36646         * elf/tst-auditmod6b.c: Likewise.
36647         * elf/tst-auditmod6c.c: Likewise.
36648         * elf/tst-auditmod7b.c: Likewise.
36649         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36650         * sysdeps/x86_64/preconfigure.in: Likewise.
36651         * sysdeps/x86_64/preconfigure: Regenerated.
36652
36653 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36654
36655         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36656         __ILP32__.
36657
36658 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36659
36660         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36661         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36662
36663 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36664
36665         [BZ #13973]
36666         * locale/iso-639.def: Fix gl language name. Spotted by
36667         Yaron Shahrabani.
36668
36669 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36670
36671         [BZ #2074]
36672         * libio/libio.h (__io_write_fn): Update comment.
36673
36674 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36675
36676         [BZ #2074]
36677         * stdio.texi (Hook Functions): The user provided writer function
36678         is not allowed to return -1.
36679
36680 2012-04-11  David S. Miller  <davem@davemloft.net>
36681
36682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36683
36684 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36685
36686         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36687         Add a leading slash to rtkaio.
36688
36689 2012-04-11  Jim Meyering  <meyering@redhat.com>
36690
36691         [BZ #11959]
36692         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36693         It is not necessarily an error to ignore fwrite's return
36694         value.  One can reliably use ferror to test for errors after
36695         the fact.
36696
36697 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36698
36699         * bits/types.h (__snseconds_t): New type.
36700         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36701
36702         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36703         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36704         (__SNSECONDS_T_TYPE): Likewise.
36705         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36706         (__SNSECONDS_T_TYPE): Likewise.
36707         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36708         (__SNSECONDS_T_TYPE): Likewise.
36709
36710 2012-04-10  Andreas Jaeger  <aj@suse.de>
36711
36712         [BZ #2636]
36713         * manual/time.texi (Processor Time): Return type of times is
36714         elapsed real time since an arbitrary point in the past.
36715         (CPU Time): Move CLK_TCK from here...
36716         (Processor Time): ...to here.  Correct description.
36717         * manual/conf.texi (Constants for Sysconf): Correct description of
36718         _SC_CLK_TCK.
36719
36720 2012-04-10  David S. Miller  <davem@davemloft.net>
36721
36722         [BZ #13967]
36723         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36724         where the is a gap between DT_REL(A) and DT_JMPREL.
36725
36726 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36727
36728         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36729         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36730         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36731
36732 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36733
36734         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36735         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36736         (dl_main): Handle --inhibit-cache.
36737         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36738         _dl_inhibit_cache.
36739         * elf/dl-load.c (_dl_map_object): Use it.
36740         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36741
36742 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36743
36744         [BZ #13872]
36745         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36746         (__ieee754_powl): Saturate large exponents rather than testing for
36747         overflow of y*log2(x).
36748         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36749         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36750         exceptions.
36751
36752         [BZ #11521]
36753         * math/s_ctan.c: Include <float.h>.
36754         (__ctan): Avoid internal overflow or cancellation in calculating
36755         denominator.
36756         * math/s_ctanf.c: Likewise.
36757         * math/s_ctanl.c: Likewise.
36758         * math/s_ctanh.c: Likewise.
36759         * math/s_ctanhf.c: Likewise.
36760         * math/s_ctanhl.c: Likewise.
36761         * math/libm-test.inc (ctan_test): Add more tests.
36762         (ctanh_test): Likewise.
36763         * sysdeps/i386/fpu/libm-test-ulps: Update.
36764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36765
36766 2012-04-09  Andreas Jaeger  <aj@suse.de>
36767
36768         [BZ #6894]
36769         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36770         is an optional BSD extension.
36771
36772         [BZ #10254]
36773         * manual/stdio.texi (Opening Streams): Document additional fopen
36774         parameters.
36775
36776 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36777
36778         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36779         %eax without telling the compiler.
36780
36781 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36782
36783         [BZ # 13963]
36784         * manual/install.texi: Use sourceware.org.
36785
36786 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36787
36788         [BZ #13873]
36789         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36790         (__ieee754_pow): Generate overflow and underflow using huge*huge
36791         and tiny*tiny rather than just returning constant infinity or zero
36792         for large exponents.
36793         * math/libm-test.inc (pow_test): Require overflow exceptions for
36794         applicable cases of large exponents.
36795
36796         [BZ #706]
36797         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36798         (__ieee754_pow): Use iterative multiplication algorithm only for
36799         integer exponents with absolute value below 1024.  Check for odd
36800         integer exponents when using algorithm for real exponents.
36801         * math/libm-test.inc (pow_test): Add more tests.
36802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36803
36804 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36805
36806         [BZ #13705]
36807         * math/libm-test.inc (exp_test): Do not allow overflow exception
36808         on underflow test.
36809
36810 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36811
36812         [BZ #13705]
36813         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36814         instead of __kernel_standard_f.
36815
36816 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36817
36818         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36819         * sysdeps/x86_64/memset_chk.S: Likewise.
36820
36821 2012-04-08  Andreas Jaeger  <aj@suse.de>
36822
36823         [BZ #10153]
36824         * manual/startup.texi (Environment Access): Describe return value
36825         for putenv and setenv.
36826
36827         [BZ #6895]
36828         * manual/filesys.texi (Directory Entries): Add description for
36829         DT_LNK.
36830
36831         [BZ #6890]
36832         * manual/filesys.texi (Directory Entries): Clarify that it's file
36833         system not operating system in the description of DT_UNKNOWN.
36834
36835         [BZ #6578]
36836         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36837
36838 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36839
36840         [BZ #6649]
36841         * manual/llio.texi (Opening and Closing Files): Add cross
36842         reference to explain mode argument.
36843
36844 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36845
36846         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36847         * sysdeps/x86_64/memset_chk.S: Likewise.
36848
36849 2012-04-07  David S. Miller  <davem@davemloft.net>
36850
36851         * elf/elf.h (R_SPARC_WDISP10): Define.
36852         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36853         R_SPARC_SIZE32.
36854         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36855         R_SPARC_SIZE64 and R_SPARC_H34.
36856
36857 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36858
36859         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36860         conditions and remove no longer applicable assertion.
36861
36862 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36863
36864         * bits/byteswap.h: Include <features.h>.
36865         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36866         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36867
36868 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36869
36870         * bits/byteswap.h (__bswap_16): Removed.
36871         Include <bits/byteswap-16.h> to get __bswap_16.
36872         * sysdeps/i386/bits/byteswap.h: Likewise.
36873         * sysdeps/s390/bits/byteswap.h: Likewise.
36874         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36875         * bits/byteswap-16.h: New file.
36876         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36877         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36878         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36879         * string/Makefile (headers): Add bits/byteswap-16.h.
36880
36881 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36882
36883         [BZ #13895]
36884         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36885         extra indirection.
36886         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36887         * nss/tst-nss-static.c: New.
36888
36889 2012-04-06  Robert Millan  <rmh@gnu.org>
36890
36891         [BZ #6486]
36892         * manual/llio.texi (File Position Primitive): lseek
36893         refers to WHENCE when it really means OFFSET.
36894
36895 2012-04-06  Andreas Jaeger  <aj@suse.de>
36896
36897         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36898         strncmp declarations.
36899
36900         * abilist/libc.abilist: Add __poll and __ppoll.
36901
36902 2012-04-05  David S. Miller  <davem@davemloft.net>
36903
36904         * scripts/check-local-headers.sh: Accept a host triplet in the
36905         path matched by the exclude regexp.
36906
36907         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36908         definition.
36909         * sysdeps/powerpc/powerpc32/dl-machine.h
36910         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36911         * sysdeps/s390/s390-32/dl-machine.h
36912         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36913         * sysdeps/sparc/sparc32/dl-machine.h
36914         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36915         * sysdeps/sparc/sparc64/dl-machine.h
36916         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36917
36918         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36919         lazy binding.
36920         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36921         undefined symbol errors.
36922
36923         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36924         DT_NEEDED entries.
36925
36926 2012-04-05  Michael Matz  <matz@suse.de>
36927
36928         [BZ #13592]
36929         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36930
36931 2012-04-05  Andreas Jaeger  <aj@suse.de>
36932
36933         [BZ #13908]
36934         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36935         comment.
36936
36937 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36938
36939         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36940         which ROUND is no valid rounding mode.
36941
36942 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36943
36944         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36945         read again.
36946         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36947
36948 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36949
36950         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36951         an exception using FPU order intentionally.
36952
36953 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36954
36955         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36956         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36957         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36958         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36959
36960 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36961
36962         [BZ #12340]
36963         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36964         EINVAL when BUFLEN is too smal.
36965
36966 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36967
36968         [BZ #13553]
36969         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36970         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36971
36972 2012-04-03  Andreas Jaeger  <aj@suse.de>
36973
36974         [BZ #13938]
36975         * manual/setjmp.texi (System V contexts): Fix sentence.
36976
36977         [BZ #13926]
36978         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36979         New macro for this case.
36980         [!__GNUC__] (__bswap_64): New inline function for this case.
36981         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36982         * bits/byteswap.h: Likewise.
36983         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36984         ull, guard with __GLIBC_HAVE_LONG_LONG.
36985
36986         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36987         __GLIBC_HAVE_LONG_LONG.
36988
36989         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36990         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36991
36992 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36993
36994         [BZ #13691]
36995         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36996         inptr and inend, rather than using last_ch.
36997
36998 2012-04-02  David S. Miller  <davem@davemloft.net>
36999
37000         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37001         * stdio-common/printf-parse.h (read_int): Change return type to
37002         'int', return -1 on INT_MAX overflow.
37003         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37004         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37005         overflows INT_MAX.  Check for overflow of in-format-string precision
37006         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37007         SIZE_MAX not INT_MAX for integer overflow test.
37008         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37009         skip the construct in the format string but do not record anything.
37010         * stdio-common/bug22.c: Adjust to test both width/prevision
37011         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37012         explicitly for proper errno values.
37013
37014 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37015
37016         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37017         CHAR_MAX.
37018         * string/test-strcmp.c [! WIDE]: Likewise.
37019         * time/tst-mktime2.c: Likewise for INT_MAX.
37020         * string/test-string.h: #include <sys/param.h> for MIN.
37021
37022         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37023         * sysdeps/i386/init-first.c (init): Likewise.
37024         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37025         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37026         * sysdeps/sh/init-first.c (init): Likewise.
37027
37028 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37029
37030         * po/ru.po: Update from translation team.
37031         * po/vi.po: Likewise.
37032
37033 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37034
37035         * resolv/nss_dns/dns-host.c: Merge copyright years.
37036
37037 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37038
37039         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37040         Optimize memcpy with prefetch if
37041         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37042         src, dst pointers have unequal 16 byte alignments.
37043
37044 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37045
37046         [BZ #13928]
37047         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37048         from a CNAME entry and return the minimum ttl for the query.
37049         (gaih_getanswer_slice): Likewise.
37050
37051 2012-03-30  Jeff Law  <law@redhat.com>
37052
37053         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37054         due to long keys.
37055         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37056         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37057
37058         * resolv/nss_dns/dns-host.c: Update copyright year.
37059
37060 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37061
37062         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37063         requests to save a system call.  Fix check that all bytes are sent.
37064
37065         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37066         comments for sendmmsg.
37067
37068 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37069
37070         [BZ #13691]
37071         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37072         with only 1 character between 0x0041 and 0x01b0.
37073         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37074         * wcsmbs/tst-mbsnrtowcs.c: New file.
37075
37076 2012-03-29  David S. Miller  <davem@davemloft.net>
37077
37078         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37079         small copies by hand.
37080
37081 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37082
37083         [BZ #13761]
37084         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37085         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37086         group memberships.
37087
37088 2012-03-28  David S. Miller  <davem@davemloft.net>
37089
37090         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37091         that branches into memcpy.
37092         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37093         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37094         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37095         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37097         bits.
37098         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37099         implementation too.
37100         * sysdeps/sparc/mempcpy.S: New file.
37101
37102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37103         the IFUNC routine in the libc case.
37104         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37105
37106         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37107         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37108         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37109         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37110         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37111         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37112         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37113         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37114
37115         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37116         loop to 256 bytes instead of 64 bytes and fix test signedness.
37117
37118         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37119         * sysdeps/sparc/sparc32/Makefile: rather than here...
37120         * sysdeps/sparc/sparc64/Makefile: and here.
37121
37122 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37123
37124         * malloc/mallocbug.c: Avoid warnings about unused variables.
37125
37126 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37127
37128         [BZ #13760]
37129         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37130         in the right place. Discard and retry query if response is
37131         larger than input buffer size.
37132
37133 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37134
37135         [BZ #369]
37136         [BZ #2678]
37137         [BZ #3866]
37138         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37139         x for large integer exponent.
37140         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37141         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37142         sign of result as needed afterwards.
37143         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37144         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37145         result for underflowing pow the same as for overflow.
37146         (__kernel_standard_l): Handle powl overflow and underflow here
37147         rather than calling __kernel_standard.
37148         * math/libm-test.inc (pow_test): Add more tests.
37149
37150         [BZ #3868]
37151         [BZ #13879]
37152         [BZ #13910]
37153         [BZ #13911]
37154         [BZ #13912]
37155         [BZ #13913]
37156         [BZ #13915]
37157         [BZ #13916]
37158         [BZ #13917]
37159         [BZ #13918]
37160         [BZ #13919]
37161         [BZ #13920]
37162         [BZ #13921]
37163         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37164         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37165         (__kernel_standard_l): New function.
37166         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37167         __kernel_standard.
37168         * math/w_acosl.c (__acosl): Likewise.
37169         * math/w_asinl.c (__asinl): Likewise.
37170         * math/w_atan2l.c (__atan2l): Likewise.
37171         * math/w_atanhl.c (__atanhl): Likewise.
37172         * math/w_coshl.c (__coshl): Likewise.
37173         * math/w_exp10l.c (__exp10l): Likewise.
37174         * math/w_exp2l.c (__exp2l): Likewise.
37175         * math/w_fmodl.c (__fmodl): Likewise.
37176         * math/w_hypotl.c (__hypotl): Likewise.
37177         * math/w_j0l.c (__j0l, __y0l): Likewise.
37178         * math/w_j1l.c (__j1l, __y1l): Likewise.
37179         * math/w_jnl.c (__jnl, __ynl): Likewise.
37180         * math/w_lgammal.c (__lgammal): Likewise.
37181         * math/w_log10l.c (__log10l): Likewise.
37182         * math/w_log2l.c (__log2l): Likewise.
37183         * math/w_logl.c (__logl): Likewise.
37184         * math/w_powl.c (__powl): Likewise.
37185         * math/w_remainderl.c (__remainderl): Likewise.
37186         * math/w_scalbl.c (sysv_scalbl): Likewise.
37187         * math/w_sinhl.c (__sinhl): Likewise.
37188         * math/w_sqrtl.c (__sqrtl): Likewise.
37189         * math/w_tgammal.c (__tgammal): Likewise.
37190         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37191         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37192         * math/libm-test.inc (acos_test): Add more tests.
37193         (acosh_test): Likewise.
37194         (asin_test): Likewise.
37195         (atanh_test): Likewise.
37196         (exp_test): Likewise.
37197         (exp10_test): Likewise.
37198         (exp2_test): Likewise.
37199         (expm1_test): Likewise.
37200         (lgamma_test): Likewise.
37201         (log_test): Likewise.
37202         (log10_test): Likewise.
37203         (log1p_test): Likewise.
37204         (log2_test): Likewise.
37205         (pow_test): Do not allow some spurious overflow exceptions.
37206         (sqrt_test): Add more tests.
37207         (tgamma_test): Likewise.
37208         (y0_test): Likewise.
37209         (y1_test): Likewise.
37210         (yn_test): Likewise.
37211
37212 2012-03-27  Anton Blanchard  <anton@samba.org>
37213
37214         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37215         MAP_HUGETLB.
37216         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37217         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37218         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37219
37220 2012-03-27  David S. Miller  <davem@davemloft.net>
37221
37222         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37223
37224         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37225         have-as-vis3 check.
37226
37227 2012-03-27  Andreas Jaeger  <aj@suse.de>
37228
37229         * sysdeps/x86_64/elf/configure.in: Moved to ...
37230         * sysdeps/x86_64/configure.in: ... here.
37231         * sysdeps/x86_64/elf/start.S: Moved to ...
37232         * sysdeps/x86_64/start.S: ... here.
37233         * sysdeps/x86_64/elf/configure: Delete.
37234
37235         * sysdeps/x86_64/configure.in: Merge contents from
37236         sysdeps/i386/configure.in (without i686 check).
37237
37238         * sysdeps/i386/elf/Versions: Merge into ...
37239         * sysdeps/i386/Versions: ... this.
37240         * sysdeps/i386/elf/Versions: Delete file.
37241         * sysdeps/i386/elf/start.S: Moved to ...
37242         * sysdeps/i386/start.S: ...here.
37243         * sysdeps/i386/elf/configure.in: Merge into...
37244         * sysdeps/i386/configure.in: ...here.
37245         * sysdeps/i386/elf/configure.in: Delete file.
37246         * sysdeps/i386/elf/configure: Delete file.
37247
37248         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37249         * debug/backtracesyms.c: ... here.
37250         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37251         * debug/backtracesymsfd.c: ... here.
37252         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37253         * sysdeps/generic/ifunc-sel.h: ... here.
37254
37255         * sysdeps/unix/i386/start.c: Delete file.
37256         * sysdeps/unix/sparc/start.c: Delete file.
37257         * sysdeps/unix/start.c: Delete file.
37258
37259         * sysdeps/sh/elf/configure.in: Moved to ...
37260         * sysdeps/sh/configure.in: ... here.
37261         * sysdeps/sh/elf/start.S: Moved to ...
37262         * sysdeps/sh/start.S: ... here.
37263         * sysdeps/sh/elf/configure: Delete file.
37264
37265         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37266         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37267         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37268         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37269         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37270         * sysdeps/powerpc/powerpc64/start.S: here.
37271         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37272         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37273         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37274         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37275         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37276
37277         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37278         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37279         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37280         * sysdeps/powerpc/powerpc32/start.S: ... here.
37281         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37282         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37283         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37284
37285         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37286         * sysdeps/powerpc/ifunc-sel.h: ... here.
37287         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37288         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37289
37290         * sysdeps/sparc/elf/configure.in: Moved to ...
37291         * sysdeps/sparc/configure.in: ... here.
37292         * sysdeps/sparc/elf/configure: Delete file.
37293         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37294         * sysdeps/sparc/sparc32/start.S: ... here.
37295         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37296         * sysdeps/sparc/sparc64/start.S: ... here.
37297         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37298         * sysdeps/sparc/sparc32/Makefile: ... this.
37299         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37300         * sysdeps/sparc/sparc64/Makefile: ... this.
37301
37302         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37303         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37304         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37305         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37306         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37307         * sysdeps/s390/s390-32/setjmp.S: ... here.
37308         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37309         * sysdeps/s390/s390-32/configure.in: ... here.
37310         * sysdeps/s390/s390-32/elf/configure: Delete file.
37311         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37312         * sysdeps/s390/s390-32/start.S: ... here.
37313
37314         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37315         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37316         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37317         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37318         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37319         * sysdeps/s390/s390-64/setjmp.S: ... here.
37320         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37321         * sysdeps/s390/s390-64/configure.in: ... here
37322         * sysdeps/s390/s390-64/elf/configure: Delete file.
37323         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37324         * sysdeps/s390/s390-64/start.S: ... here.
37325         * sysdeps/s390/s390-64/elf/configure: Delete.
37326
37327         * configure.in: Remove support for elf directories in sysdeps.
37328
37329         * configure: Regenerated.
37330         * sysdeps/i386/configure: Regenerated.
37331         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37332         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37333         * sysdeps/s390/s390-32/configure: Regenerated.
37334         * sysdeps/s390/s390-64/configure: Regenerated.
37335         * sysdeps/sh/configure: Regenerated.
37336         * sysdeps/sparc/configure: Regenerated.
37337         * sysdeps/x86_64/configure: Regenerated.
37338
37339 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37340
37341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37342
37343         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37344         denormal result into account.
37345
37346 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37347
37348         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37349         Reported by Allan McRae <allan@archlinux.org>.
37350
37351 2012-03-23  Jeff Law  <law@redhat.com>
37352
37353         * nss/getnssent.c (__nss_getent): Fix typo.
37354
37355 2012-03-23  David S. Miller  <davem@davemloft.net>
37356
37357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37358
37359 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37360
37361         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37362         to pad to uint64_t for each field.
37363         (dl_tls_index): Replace unsigned long with uint64_t.
37364
37365 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37366         Paul Pluzhnikov  <ppluzhnikov@google.com>
37367
37368         [BZ #6528]
37369         * grp/Makefile (otherlibs): Don't set it.
37370         * inet/Makefile (otherlibs): Likewise.
37371         * login/Makefile (otherlibs): Likewise.
37372         * nscd/Makefile (otherlibs): Likewise.
37373         * posix/Makefile (otherlibs): Likewise.
37374         * pwd/Makefile (otherlibs): Likewise.
37375         * rt/Makefile (otherlibs): Likewise.
37376         * sunrpc/Makefile (otherlibs): Likewise.
37377         * nss/Makefile (otherlibs): Likewise.
37378         Add libnss_files to routines and static-only-routines.
37379         ($(objpfx)getent): Remove rule.
37380         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37381         static-only-routines.
37382
37383 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37384
37385         [BZ #13892]
37386         * math/s_cexp.c: Include <float.h>.
37387         (__cexp): Handle exp result overflowing not necessarily
37388         overflowing both real and imaginary parts of result.
37389         * math/s_cexpf.c: Likewise.
37390         * math/s_cexpl.c: Likewise.
37391         * math/libm-test.inc (cexp_test): Add more tests.
37392         * sysdeps/i386/fpu/libm-test-ulps: Update.
37393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37394
37395 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37396
37397         * include/link.h (ELFW): New macro.
37398         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37399         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37400
37401 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37402
37403         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37404         with uint64_t.
37405
37406 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37407
37408         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37409         declaration.
37410         (struct La_x32_retval): Likewise.
37411
37412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37413
37414         * sysdeps/x86_64/preconfigure.in: New file.
37415         * sysdeps/x86_64/preconfigure: New generated file.
37416
37417 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37418
37419         [BZ #13824]
37420         * math/e_exp2l.c: Include <float.h>.
37421         (__ieee754_exp2l): Handle overflow and underflow cases
37422         separately.  Only pass fractional part of argument to
37423         __ieee754_expl.
37424         * math/libm-test.inc (exp2_test): Add more tests.
37425
37426         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37427         negating x to take absolute value.
37428         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37429         Likewise.
37430         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37431         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37432         Likewise.
37433         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37434         computing low part if x was negated.
37435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37436
37437 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37438
37439         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37440         la_x32_gnu_pltexit.
37441         (pltexit): Cast int_retval to ptrdiff_t.
37442         * elf/tst-auditmod3b.c: Likewise.
37443         * elf/tst-auditmod4b.c: Likewise.
37444         * elf/tst-auditmod5b.c: Likewise.
37445         * elf/tst-auditmod6b.c: Likewise.
37446         * elf/tst-auditmod6c.c: Likewise.
37447         * elf/tst-auditmod7b.c: Likewise.
37448
37449         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37450         and x32_gnu_pltexit.
37451
37452         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37453         __ELF_NATIVE_CLASS.
37454         (La_x32_regs): New macro.
37455         (La_x32_retval): Likewise.
37456         (la_x32_gnu_pltenter): New function prototype.
37457         (la_x32_gnu_pltexit): Likewise.
37458
37459 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37460
37461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37462         exponent.
37463
37464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37465
37466         * configure.in (libc_cv_cc_nofma): Check for option to disable
37467         generation of FMA instructions.
37468         * configure: Regenerate.
37469         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37470         * sysdeps/ieee754/dbl-64/Makefile: New file.
37471         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37472         Remove brandred-fma4.
37473         (CFLAGS-brandred-fma4.c): Remove.
37474         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37475         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37476         define.
37477         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37478         define.
37479
37480 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37481
37482         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37483         LLONG_MAX != LONG_MAX.
37484         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37485         (_fitoa_word): Likewise.
37486         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37487         LLONG_MAX != LONG_MAX.
37488         * stdio-common/_itowa.h: Include <_itoa.h>.
37489         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37490         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37491         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37492         only if not defined.
37493         (_ITOA_WORD_TYPE): Likewise.
37494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37495         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37496
37497 2012-03-21  David S. Miller  <davem@davemloft.net>
37498
37499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37500
37501 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37502
37503         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37504         of x86_64 when setting libc_cv_slibdir, libdir and
37505         libc_cv_localedir.
37506         * sysdeps/unix/sysv/linux/configure: Regenerated.
37507
37508 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37509
37510         * manual/lang.texi (Old Varargs): Remove section.
37511         (How Variadic): Update menu.
37512         (va_start): Do not mention varargs.h.
37513
37514 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37515             Joseph Myers  <joseph@codesourcery.com>
37516
37517         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37518         link test.
37519         * configure: Regenerated.
37520
37521 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37522
37523         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37524         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37525         conformtest.pl
37526
37527 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37528
37529         * NOTES: Remove.
37530         * Makefile (files-for-dist): Remove NOTES.
37531         (NOTES): Remove rule.
37532         * README: Don't refer to NOTES.
37533         * manual/creature.texi: Don't include macros.texi.
37534         * manual/intro.texi (creature.texi): Remove comment referring to
37535         NOTES.
37536
37537         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37538         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37539         * configure: Regenerated.
37540         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37541         LIBC_TRY_CC_OPTION.
37542         (libc_cv_as_i686): Likewise.
37543         (libc_cv_cc_avx): Likewise.
37544         (libc_cv_cc_sse2avx): Likewise.
37545         (libc_cv_cc_fma4): Likewise.
37546         (libc_cv_cc_novzeroupper): Likewise.
37547         * sysdeps/i386/configure: Regenerated.
37548
37549         [BZ #13883]
37550         * sysdeps/i386/fpu/s_cexp.S: Remove.
37551         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37552         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37553         * math/libm-test.inc (cexp_test): Add more tests.
37554         * sysdeps/i386/fpu/libm-test-ulps: Update.
37555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37556
37557 2012-03-21  Allan McRae  <allan@archlinux.org>
37558
37559         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37560
37561 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37562
37563         [BZ #13871]
37564         * math/w_exp2.c: Do not include <float.h>.
37565         (o_threshold, u_threshold): Remove.
37566         (__exp2): Calculate result before checking finiteness and calling
37567         __kernel_standard.
37568         * math/w_exp2f.c: Likewise.
37569         * math/w_exp2l.c: Likewise.
37570         * math/libm-test.inc (exp2_test): Require overflow exception for
37571         1e6 input.
37572
37573         [BZ #3866]
37574         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37575         range of signed 64-bit integers before using fistpll.  Remove
37576         checks for whether integers fit in mantissa bits.
37577         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37578         the range of signed 32-bit integers before using fistpl.  Remove
37579         checks for whether integers fit in mantissa bits.
37580         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37581         (__ieee754_powl): Test for y outside the range of signed 64-bit
37582         integers before using fistpll.  Reduce 64-bit values to 63-bit
37583         ones as needed.
37584         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37585         divide-by-zero is raised for zero to large negative powers.
37586         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37587         (__ieee754_powl): Test for y outside the range of signed 64-bit
37588         integers before using fistpll.  Reduce 64-bit values to 63-bit
37589         ones as needed.
37590         * math/libm-test.inc (pow_test): Add more tests.
37591
37592 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37593
37594         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37595         <stdio-common/_itoa.h>.
37596         * debug/segfault.c: Likewise.
37597         * elf/dl-cache.c: Likewise.
37598         * elf/dl-minimal.c: Likewise.
37599         * elf/dl-misc.c: Likewise.
37600         * elf/dl-sysdep.c: Likewise.
37601         * elf/dl-version.c: Likewise.
37602         * elf/rtld.c: Likewise.
37603         * hurd/hurdsock.c: Likewise.
37604         * hurd/lookup-retry.c: Likewise.
37605         * malloc/malloc.c: Likewise.
37606         * malloc/mtrace.c: Likewise.
37607         * nscd/nscd_getgr_r.c: Likewise.
37608         * nscd/nscd_getpw_r.c: Likewise.
37609         * nscd/nscd_getserv_r.c: Likewise.
37610         * posix/getopt_init.c: Likewise.
37611         * posix/wordexp.c: Likewise.
37612         * stdio-common/_itoa.c: Likewise.
37613         * stdio-common/printf_fphex.c: Likewise.
37614         * stdio-common/vfprintf.c: Likewise.
37615         * string/_strerror.c: Likewise.
37616         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37617         * sysdeps/i386/i686/hp-timing.h: Likewise.
37618         * sysdeps/mach/_strerror.c: Likewise.
37619         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37620         * sysdeps/mach/hurd/sethostid.c: Likewise.
37621         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37622         * sysdeps/mach/xpg-strerror.c: Likewise.
37623         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37625         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37626         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37627         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37628         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37629         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37630         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37631         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37632         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37633         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37634         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37635         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37636         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37637         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37638         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37639         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37640         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37641         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37642         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37643         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37644
37645         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37646
37647         * stdio-common/_itoa.h: Moved to ...
37648         * sysdeps/generic/_itoa.h: Here.
37649
37650         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37651
37652         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37653         instead of "_itoa.h" and "_itowa.h".
37654         * stdio-common/vfprintf.: Likewise.
37655
37656 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37657
37658         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37659         <bits/wordsize.h>.
37660         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37661         (__signbit): Likwise.
37662         (llrintf): Likwise.
37663         (llrint): Likwise.
37664
37665 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37666
37667         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37668         __WORDSIZE != 64.
37669
37670 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37671
37672         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37673         OVERFLOW_EXCEPTION_OK.
37674         * math/libm-test.inc ("Philosophy"): Update comment about
37675         exception testing.
37676         (OVERFLOW_EXCEPTION): Define.
37677         (OVERFLOW_EXCEPTION_OK): Likewise.
37678         (INVALID_EXCEPTION_OK): Renumber.
37679         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37680         (IGNORE_ZERO_INF_SIGN): Likewise.
37681         (test_exceptions): Handle FE_OVERFLOW.
37682         (exp10_test): Expect overflow exceptions.
37683         (exp2_test): Likewise.
37684         (expm1_test): Likewise.
37685         (nextafter_test): Likewise.
37686         (pow_test): Likewise.
37687         (scalbn_test): Likewise.
37688         (scalbln_test): Likewise.
37689
37690 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37691
37692         * sysdeps/x86_64/bits/atomic.h
37693         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37694         64bit integer.
37695         (atomic_exchange_acq): Likewise.
37696         (__arch_exchange_and_add_body): Likewise.
37697         (__arch_add_body): Likewise.
37698         (atomic_add_negative): Likewise.
37699         (atomic_add_zero): Likewise.
37700
37701 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37702
37703         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37704         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37705
37706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37707
37708         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37709         Check __x86_64__ instead of __WORDSIZE.
37710
37711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37712
37713         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37714
37715 2012-03-19  David S. Miller  <davem@davemloft.net>
37716
37717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37718
37719         * sysdeps/sparc/fpu/fenv_private.h: New file.
37720         * sysdeps/sparc/fpu/math_private.h: Use it.
37721         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37722         Remove.
37723         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37724         (libc_feholdexcept_setroundl): Remove.
37725         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37726         Remove.
37727         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37728         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37729
37730 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37731
37732         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37733         int64_t instead of long int.
37734         (INSERT_WORDS64): Likwise.
37735
37736 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37737
37738         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37739         _Unwind_GetCFA return to _Unwind_Ptr first.
37740
37741 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37742
37743         [BZ #13629]
37744         * math/s_clog.c: Include <float.h>.
37745         (__clog): Scale large or subnormal inputs.
37746         * math/s_clogf.c: Likewise.
37747         * math/s_clogl.c: Likewise.
37748         * math/s_clog10.c: Include <float.h>.
37749         (M_LOG10_2): Define.
37750         (__clog10): Scale large or subnormal inputs.
37751         * math/s_clog10f.c: Likewise.
37752         * math/s_clog10l.c: Likewise.
37753         * math/libm-test.inc (clog_test): Add more tests.
37754         (clog10_test): Likewise.
37755         * sysdeps/i386/fpu/libm-test-ulps: Update.
37756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37757
37758         [BZ #11451]
37759         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37760         x and y.
37761         * math/libm-test.inc (atan2_test): Add another test.
37762
37763         * Makerules (common-objdir-compile): Remove.
37764         * sysdeps/unix/Makefile (config-generated): Do not add
37765         $(unix-generated) to variable.
37766         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37767         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37768         Remove rule.
37769         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37770         Likewise.
37771         [generic bits/local_lim.h] (before-compile): Do not append to
37772         variable.
37773         [generic bits/local_lim.h] (common-generated): Likewise.
37774         [generic sys/param.h] (before-compile): Do not append to variable.
37775         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37776         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37777         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37778         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37779         include.
37780         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37781         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37782         [generic sys/param.h] ($(addprefix
37783         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37784         [generic sys/param.h] (common-generated): Do not append to
37785         variable.
37786         [generic sys/param.h] (sysdep_headers): Likewise.
37787         [generic bits/errno.h] (before-compile): Do not append to
37788         variable.
37789         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37790         rule.
37791         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37792         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37793         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37794         [generic bits/errno.h] (common-generated): Do not append to
37795         variable.
37796         [generic bits/ioctls.h] (before-compile): Do not append to
37797         variable.
37798         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37799         rule.
37800         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37801         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37802         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37803         rule.
37804         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37805         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37806         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37807         [generic bits/ioctls.h] (common-generated): Do not append to
37808         variable.
37809         [generic sys/syscall.h] (syscall.h): Remove variable.
37810         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37811         rule.
37812         [generic sys/syscall.h] (before-compile): Do not append to
37813         variable.
37814         [generic sys/syscall.h] (common-generated): Likewise.
37815         * sysdeps/unix/errnos-tmpl.c: Remove file.
37816         * sysdeps/unix/errnos.awk: Likewise.
37817         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37818         * sysdeps/unix/ioctls.awk: Likewise.
37819         * sysdeps/unix/mk-local_lim.c: Likewise.
37820         * sysdeps/unix/snarf-ioctls: Likewise.
37821
37822 2012-03-19  Richard Henderson  <rth@twiddle.net>
37823
37824         * sysdeps/i386/fpu/fenv_private.h: New file.
37825         * sysdeps/i386/fpu/math_private.h: Use it.
37826         (math_opt_barrier, math_force_eval): Remove.
37827         (libc_feholdexcept_setround_53bit): Remove.
37828         (libc_feupdateenv_53bit): Remove.
37829         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37830         (math_opt_barrier, math_force_eval): Remove.
37831         (libc_feholdexcept): Remove.
37832         (libc_feholdexcept_setround): Remove.
37833         (libc_fetestexcept, libc_fesetenv): Remove.
37834         (libc_feupdateenv_test): Remove.
37835         (libc_feupdateenv, libc_feholdsetround): Remove.
37836         (libc_feresetround): Remove.
37837
37838         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37839         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37840
37841         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37842         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37843         (libc_feupdateenv_testl): New.
37844         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37845         (libc_feupdateenv_testf): New.
37846         (libc_feupdateenv): Use libc_feupdateenv_test.
37847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37848         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37849
37850         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37851         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37852         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37853         (libc_feresetround_noex): New.
37854         (libc_feresetround_noexf): New.
37855         (libc_feresetround_noexl): New.
37856         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37857         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37858         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37859         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37860         SET_RESTORE_ROUND.
37861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37862         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37863         (__cos): Likewise.
37864         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37865         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37866         SET_RESTORE_ROUND_NOEX.
37867         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37868         SET_RESTORE_ROUND_NOEXF.
37869         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37870         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37871         (libc_feholdsetroundf): New.
37872         (libc_feresetround, libc_feresetroundf): New.
37873
37874         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37875         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37876         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37877
37878         * sysdeps/generic/math_private.h: Include <fenv.h>.
37879         (default_libc_feholdexcept): New.
37880         (default_libc_feholdexcept_setround): New.
37881         (default_libc_fesetenv, default_libc_feupdateenv): New.
37882         (libc_feholdexcept): Only define if undefined.
37883         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37884         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37885         (libc_feholdexcept_setroundl): Likewise.
37886         (libc_feholdexcept_setround_53bit): Likewise.
37887         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37888         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37889         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37890         (libc_feupdateenv_53bit): Likewise.
37891         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37892         (libc_feholdexcept): Convert from macro to inline function.
37893         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37894         (libc_fesetenv, libc_feupdateenv): Likewise.
37895
37896         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37897         not previously defined.
37898         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37899         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37900         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37901         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37902         * sysdeps/ieee754/flt-32/math_private.h: New file.
37903         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37904         math_private.h below SET_FLOAT_WORD.
37905         (__isnan, __isinf_ns, __finite): Remove.
37906         (__isnanf, __isinf_nsf, __finitef): Remove.
37907
37908 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37909
37910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37911
37912 2012-03-17  David S. Miller  <davem@davemloft.net>
37913
37914         [BZ #6471]
37915         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37916         for 2.16.
37917
37918 2012-03-16  David S. Miller  <davem@davemloft.net>
37919
37920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37921         warnings.
37922
37923         [BZ #6471]
37924         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37925         properly.
37926         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37927         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37928         sysdep_routines when subdir is sysvipc.
37929         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37930         __getshmlba helper.
37931
37932         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37933
37934 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37935
37936         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37937         [__LP64__].
37938
37939 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37940
37941         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37942         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37943         (__lround): Renamed to ...
37944         (__llround): This.  Replace long int with long long int.
37945         Define lround functions as aliases of llround functions.
37946         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37947
37948 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37949
37950         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37951         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37952         adresses to uintptr_t.  Replace "long int" and "unsigned long
37953         int" with "greg_t" on va_arg.
37954
37955 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37956
37957         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37958         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37959
37960         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37961         Move e_machine check before EI_CLASS check.  Handle x32
37962         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37963         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37964         SKIP_EM_IA_64 and include
37965         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37966
37967         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37968         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37969         (add_system_dir): New macro.
37970
37971         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37972         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37973
37974 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37975
37976         [BZ #2551]
37977         [BZ #2552]
37978         [BZ #2553]
37979         [BZ #2554]
37980         [BZ #2562]
37981         [BZ #2563]
37982         [BZ #2565]
37983         [BZ #2566]
37984         [BZ #2576]
37985         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37986         (y0): Likewise.
37987         * math/w_j0f.c (j0f): Likewise.
37988         (y0f): Likewise.
37989         * math/w_j0l.c (__j0l): Likewise.
37990         (__y0l): Likewise.
37991         * math/w_j1.c (j1): Likewise.
37992         (y1): Likewise.
37993         * math/w_j1f.c (j1f): Likewise.
37994         (y1f): Likewise.
37995         * math/w_j1l.c (__j1l): Likewise.
37996         (__y1l): Likewise.
37997         * math/w_jn.c (jn): Likewise.
37998         (yn): Likewise.
37999         * math/w_jnf.c (jnf): Likewise.
38000         (ynf): Likewise.
38001         * math/w_jnl.c (__jnl): Likewise.
38002         (__ynl): Likewise.
38003         * math/libm-test.inc (j0_test): Add more tests.
38004         (j1_test): Likewise.
38005         (jn_test): Likewise.  Add trailing semicolon to existing test.
38006         (y0_test): Likewise.
38007         (y1_test): Likewise.
38008         * sysdeps/i386/fpu/libm-test-ulps: Update.
38009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38010
38011         [BZ #13851]
38012         [BZ #13854]
38013         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38014         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38015         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38016         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38017         (__tanl): Set errno for infinite argument.
38018         * sysdeps/i386/fpu/mptan.c: Remove.
38019         * sysdeps/i386/fpu/s_tan.S: Likewise.
38020         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38021         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38022         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38023         * math/libm-test.inc (tan_test): Add more tests and enable more
38024         tests for double and long double.
38025         * sysdeps/i386/fpu/libm-test-ulps: Update.
38026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38027
38028 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38029
38030         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38031         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38032
38033 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38034
38035         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38036         * configure.in: Use it for both main tree and add-ons.
38037         * configure: Regenerated.
38038
38039 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38040
38041         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38042
38043 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38044
38045         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38046         in comment.
38047
38048         [BZ #13851]
38049         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38050         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38051         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38052         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38053         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38054         infinite argument.
38055         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38057         != 0 for prec == 2.
38058         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38059         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38060         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38061         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38062         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38063         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38064         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38065         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38066         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38067         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38068         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38069         * math/libm-test.inc (cos_test): Add more tests and enable more
38070         tests for long double.
38071         (sin_test): Likewise.
38072         (sincos_test): Likewise.
38073         * sysdeps/i386/fpu/libm-test-ulps: Update.
38074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38075
38076 2012-03-16  David S. Miller  <davem@davemloft.net>
38077
38078         * sysdeps/sparc/fpu/math_private.h: New file.
38079
38080 2012-03-15  David S. Miller  <davem@davemloft.net>
38081
38082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38083         file.
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38086         file.
38087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38093         sysdep routines.
38094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38095
38096         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38097         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38098
38099         * sysdeps/sparc/sparc-ifunc.h: New file.
38100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38101         sparc-ifunc.h
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38104         Likewise.
38105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38106         Likewise.
38107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38111         Likewise.
38112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38117         Likewise.
38118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38119         Likewise.
38120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38127         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38140         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38144
38145 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38146
38147         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38148         scaling.
38149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38150
38151 2012-03-15  Andreas Jaeger  <aj@suse.de>
38152
38153         [BZ #13852]
38154         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38155         ieee754/flt-32 implementation for sin, cos and sincos.
38156         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38157         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38158         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38159         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38160         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38161         ieee754/flt-32 implementation for tan.
38162
38163         * math/libm-test.inc (cos_test): Enable some large input tests for
38164         float as well
38165         (sin_test): Likewise.
38166         (sincos_test): Likewise.
38167         (tan_test): Add tests for large input.
38168
38169         * sysdeps/i386/fpu/libm-test-ulps: Update.
38170
38171 2012-03-15  Andreas Jaeger  <aj@suse.de>
38172
38173         [BZ #13658]
38174         * math/libm-test.inc (cos_test): Add more test cases.
38175         (sin_test): Likewise.
38176         (sincos_test): Likewise.
38177
38178 2012-03-15  Andreas Jaeger  <aj@suse.de>
38179
38180         [BZ #13837]
38181         * math/libm-test.inc (cos_test): Add a test case for large input
38182         value.
38183         (sin_test): Likewise.
38184         (sincos_test): Likewise.
38185
38186 2012-03-15  Andreas Jaeger  <aj@suse.de>
38187             Joseph Myers  <joseph@codesourcery.com>
38188
38189         [BZ #13658]
38190         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38191         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38192         * sysdeps/i386/fpu/branred.c: Likewise.
38193         * sysdeps/i386/fpu/dosincos.c: Likewise.
38194         * sysdeps/i386/fpu/mpa.c: Likewise.
38195         * sysdeps/i386/fpu/s_cos.S: Likewise.
38196         * sysdeps/i386/fpu/s_sin.S: Likewise.
38197         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38198         * sysdeps/i386/fpu/sincos32.c: Likewise.
38199
38200         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38201         Define.
38202         (libc_feupdateenv_53bit): Define.
38203         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38204         Define.
38205         (libc_feupdateenv_53bit): Define.
38206
38207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38208         53 bit (without extend i386 double precision).
38209
38210         * math/libm-test.inc (sincos_test): Add tests for large input.
38211         (sin): Likewise.
38212         (cos): Likewise.
38213
38214         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38215
38216 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38217
38218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38219
38220 2012-03-15  David S. Miller  <davem@davemloft.net>
38221
38222         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38223         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38224         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38225         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38235         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38236         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38238         file.
38239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38241         file.
38242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38244         file.
38245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38247         file.
38248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38250         fmin/fmax sysdep routines.
38251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38252
38253 2012-03-14  David S. Miller  <davem@davemloft.net>
38254
38255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38259         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38261         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38262         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38266         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38273         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38274         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38275         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38277         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38278         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38281         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38282         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38284         routines.
38285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38286         file.
38287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38289         file.
38290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38292         file.
38293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38295         file.
38296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38298         file.
38299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38301         file.
38302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38303         file.
38304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38305         file.
38306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38307         file.
38308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38309         New file.
38310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38311         file.
38312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38313         file.
38314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38316         file.
38317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38319         file.
38320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38322         file.
38323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38325         VIS3 routines.
38326
38327         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38328         New file.
38329
38330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38331
38332         * sysdeps/sparc/configure.in: New file.
38333         * sysdeps/sparc/configure: Generate.
38334         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38335         * configure: Regenerate.
38336         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38337         * config.make.in (have-as-vis3): New.
38338         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38339         available use -Av9d instead of -Av9a.
38340         * sysdeps/sparc/sparc64/Makefile: Likewise.
38341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38343         New file.
38344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38345         file.
38346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38347         New file.
38348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38349         file.
38350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38353         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38354         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38355
38356         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38357         fzeros/fnegs to load 0x80000000 into a float register instead of
38358         using the stack.
38359         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38360
38361 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38362
38363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38364         bits/syscall.h.
38365         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38366         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38367         ($(inst_includedir)/bits/syscall.h): Remove rule.
38368         ($(objpfx)bits/syscall.d): Include instead of
38369         $(objpfx)syscall-list.d.
38370         (generated): Change syscall-list.h and syscall-list.d to
38371         bits/syscall.h and bits/syscall.d.
38372
38373 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38374
38375         [BZ #13846]
38376         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38377
38378 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38379
38380         [BZ #13841]
38381         * math/s_csqrt.c: Include <float.h>.
38382         (__csqrt): Scale large or subnormal inputs.
38383         * math/s_csqrtf.c: Likewise.
38384         * math/s_csqrtl.c: Likewise.
38385         * math/libm-test.inc (csqrt_test): Add more tests.
38386         * sysdeps/i386/fpu/libm-test-ulps: Update.
38387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38388
38389         [BZ #13840]
38390         * math/libm-test.inc (hypot_test): Add more tests.
38391
38392 2012-03-13  David S. Miller  <davem@davemloft.net>
38393
38394         [BZ #13840]
38395         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38396         double-precision for the calculation instead of scaling.
38397
38398 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38399
38400         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38401         manipulate bits before adding and subtracting TWO52[sx].
38402         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38403         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38404         Likewise.
38405         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38406
38407 2012-03-13  David S. Miller  <davem@davemloft.net>
38408
38409         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38410         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38411         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38412         rtld-global-offsets.h
38413         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38414
38415         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38416         large parameters.
38417
38418         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38419
38420         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38421         'err' in the ifdef scope in which it is actually used.
38422
38423         * nss/nss_db/db-init.c: Include string.h
38424
38425 2012-03-12  David S. Miller  <davem@davemloft.net>
38426
38427         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38428         masking out of the most significant byte of random value used.
38429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38430         Fix coding style in previous change.
38431
38432         * sysdeps/unix/sysv/linux/kernel-features.h
38433         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38434         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38435         expression.
38436         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38437         later.
38438
38439 2012-03-11  David S. Miller  <davem@davemloft.net>
38440
38441         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38442         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38443         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38444         for 'resultvar' otherwise things get truncated on 64-bit.
38445
38446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38447         Fix masking out of the most significant byte of random value used.
38448
38449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38450
38451 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38452
38453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38454
38455 2012-03-09  David S. Miller  <davem@davemloft.net>
38456
38457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38458         variables with appropriate CPP guards.
38459         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38460         from the frame pointer, not the stack pointer.  Correct layout
38461         comments.  Fix test on resulting framesize and the management of
38462         the outregs buffer for pltexit.  Preserve floating point return
38463         values across _dl_call_pltexit call.
38464         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38465         framesize and the management of the outregs buffer for pltexit.
38466         Preserve floating point return values across _dl_call_pltexit
38467         call.
38468         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38469         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38470         (la_sparc64_gnu_pltexit): New functions.
38471         (print_exit): Fix format string for return register value.
38472
38473 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38474
38475         * sunrpc/Makefile (others): Add rpcgen.
38476         ($(objpfx)rpcgen): Remove special build rule and dependency on
38477         libc.
38478         * sunrpc/rpcgen.c: New file.
38479
38480 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38481
38482         [BZ #13673]
38483         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38484         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38485         * sysdeps/i386/crti.S: Likewise.
38486         * sysdeps/i386/crtn.S: Likewise.
38487         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38488         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38489         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38490         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38491         * sysdeps/sh/crti.S: Likewise.
38492         * sysdeps/sh/crtn.S: Likewise.
38493         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38494
38495         [BZ #13673]
38496         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38497         with URL.
38498         * locale/programs/locfile-kw.gperf: Likewise.
38499         * locale/programs/charmap-kw.h: Regenerated.
38500         * locale/programs/locfile-kw.h: Likewise.
38501
38502         [BZ #13673]
38503         * intl/plural.y: Replace FSF snail mail address with URL.
38504         * intl/plural.c: Regenerated.
38505
38506 2012-03-09  Richard Henderson  <rth@twiddle.net>
38507
38508         * include/math_private.h: Remove file.
38509         * math/math_private.h: Move file ...
38510         * sysdeps/generic/math_private.h: ... here.
38511
38512         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38513         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38514         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38515
38516         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38517         and <math_private.h>.
38518         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38519         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38520         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38521         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38522         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38523         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38524         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38525         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38526         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38527         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38529         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38530         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38531         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38532         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38533         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38534         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38535         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38536         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38537         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38539         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38540         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38541         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38542         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38543         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38544         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38545         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38546         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38547         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38548         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38549         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38550         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38551         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38552         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38553         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38555         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38556         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38557         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38558         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38559         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38560         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38561         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38562         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38563         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38564         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38565         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38566         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38567         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38568         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38569         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38570         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38571         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38572         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38573         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38574         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38575         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38576         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38577         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38579         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38580         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38581         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38582         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38583         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38584         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38585         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38586         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38587         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38588         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38589         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38592         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38594         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38595         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38596         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38597         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38598         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38599         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38600         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38601         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38602         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38603         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38605         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38606         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38607         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38608         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38609         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38610         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38611         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38612         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38613         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38614         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38615         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38616         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38617         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38618         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38619         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38620         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38621         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38622         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38623         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38624         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38625         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38626         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38628         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38629         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38630         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38631         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38632         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38633         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38634         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38635         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38636         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38637         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38638         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38639         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38640         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38641         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38642         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38643         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38644         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38645         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38646         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38647         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38648         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38649         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38650         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38651         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38652         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38653         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38654         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38655         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38656         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38657         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38658         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38659         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38660         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38661         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38662         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38663         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38664         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38665         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38666         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38667         * sysdeps/ieee754/k_standard.c: Likewise.
38668         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38669         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38670         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38671         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38672         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38673         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38674         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38675         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38676         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38677         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38680         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38681         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38682         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38683         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38684         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38685         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38686         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38687         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38688         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38689         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38690         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38691         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38692         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38693         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38694         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38695         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38696         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38697         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38698         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38699         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38700         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38701         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38702         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38703         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38704         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38705         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38706         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38707         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38708         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38709         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38710         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38711         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38712         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38713         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38714         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38715         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38716         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38717         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38718         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38719         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38720         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38721         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38724         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38725         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38726         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38727         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38728         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38729         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38730         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38731         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38732         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38733         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38735         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38736         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38737         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38738         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38739         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38740         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38741         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38742         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38743         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38744         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38745         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38749         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38750         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38751         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38752         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38753         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38754         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38756         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38758         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38759         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38760         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38761         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38762         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38763         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38764         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38765         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38766         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38767         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38769         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38770         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38771         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38772         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38773         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38774         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38775         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38776         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38777         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38779         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38780         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38781         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38782         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38783         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38784         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38785         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38786         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38787         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38788         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38789         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38790         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38791         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38794         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38795         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38796         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38798         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38800         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38801         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38803         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38809         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38811         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38812         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38813         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38817         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38818         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38819         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38826         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38828         * sysdeps/ieee754/s_lib_version.c: Likewise.
38829         * sysdeps/ieee754/s_matherr.c: Likewise.
38830         * sysdeps/ieee754/s_signgam.c: Likewise.
38831         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38833         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38834         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38835         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38836         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38837         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38838         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38839         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38840         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38841         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38842         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38843         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38844         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38845         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38846         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38847         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38848         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38849         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38850         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38851         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38852
38853 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38854
38855         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38856         * sunrpc/rpc_main.c: Likewise.
38857         * sunrpc/rpc_svcout.c: Likewise.
38858
38859 2012-03-09  David S. Miller  <davem@davemloft.net>
38860
38861         * include/math_private.h: New file.
38862
38863 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38864
38865         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38866         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38867         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38868         from <bits/socket_type.h>.
38869         (enum __socket_type): Don't define here.
38870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38871         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38872         bits/socket_type.h.
38873
38874         [BZ #13566]
38875         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38876         checking __USE_GNU.
38877
38878         * Makerules ($(inst_includedir)/%.h): New rule.
38879         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38880         (install-others): Remove variable setting.
38881         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38882
38883 2012-03-08  Richard Henderson  <rth@twiddle.net>
38884
38885         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38886         from macro to inline function; merge with the
38887         !__LIBC_INTERNAL_MATH_INLINES version.
38888         (__ieee754_sqrtf): Likewise.
38889
38890         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38891         to inline function.
38892         (__rintf, __floor, __floorf): Likewise.
38893
38894         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38895         macro to inline function.
38896         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38897
38898         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38899         not <math/math_private.h>.
38900
38901 2012-03-08  David S. Miller  <davem@davemloft.net>
38902
38903         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38904         copyright year.
38905         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38906
38907 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38908
38909         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38910         normalization.
38911         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38912         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38913
38914 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38915
38916         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38917         be defined individually, they must be defined as a block.  Define
38918         S for printing a string instead of hidint the different by using a
38919         macro for adding the 'l'.
38920         * stdio-common/tst-fphex-wide.c: Adjust.
38921
38922 2012-03-07  Marek Polacek  <polacek@redhat.com>
38923
38924         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38925
38926 2012-03-08  Marek Polacek  <polacek@redhat.com>
38927
38928         [BZ #13806]
38929         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38930         * stdio-common/tst-fphex.c: Define a few macros to make the
38931         test reusable.  Use them.
38932         * stdio-common/tst-fphex-wide.c: New file.
38933
38934 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38935
38936         [BZ #6911]
38937         * manual/macros.texi (gnusystems): New macro.
38938         (nongnusystems): Likewise.
38939         (gnulinuxhurdsystems): Likewise.
38940         (gnuhurdsystems): Likewise..
38941         (gnulinuxsystems): Likewise.
38942         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38943         variants of the GNU system, not "GNU system".
38944         * manual/conf.texi: Likewise.
38945         * manual/errno.texi: Likewise.  Update example of errno macro
38946         expansion.
38947         * manual/filesys.texi: Likewise.
38948         (getumask): Document as specific to GNU/Hurd.
38949         * manual/install.texi: Likewise.  Reword some references to
38950         GNU/Linux.
38951         * manual/intro.texi: Likewise.
38952         * manual/io.texi: Likewise.
38953         (File Name Portability): Detail which constraints are inapplicable
38954         to all GNU systems and which are only inapplicable to GNU/Hurd.
38955         * manual/job.texi: Likewise.
38956         * manual/llio.texi: Likewise.
38957         (O_NOCTTY): Document as present on GNU/Linux.
38958         * manual/maint.texi: Likewise.
38959         * manual/memory.texi: Likewise.
38960         * manual/pattern.texi: Likewise.
38961         * manual/pipe.texi: Likewise.
38962         * manual/process.texi: Likewise.
38963         * manual/resource.texi: Likewise.
38964         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38965         child on GNU/Hurd.
38966         * manual/setjmp.texi: Likewise.
38967         * manual/signal.texi: Likewise.
38968         * manual/startup.texi: Likewise.
38969         * manual/stdio.texi: Likewise.
38970         * manual/terminal.texi: Likewise.
38971         (ONLCR): Document as POSIX.
38972         (OXTABS): Document availability on GNU/Linux as XTABS.
38973         (ONOEOT): Document availability separately from other bits.
38974         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38975         * manual/time.texi: Likewise.
38976         * manual/users.texi: Likewise.
38977         * INSTALL: Regenerated.
38978         * sysdeps/gnu/errlist.c: Regenerated.
38979
38980         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38981         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38982         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38983         puts.
38984         * configure: Regenerated.
38985
38986 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38987
38988         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38989         default includes instead of AC_HEADER_CHECK.
38990         * sysdeps/i386/configure: Regenerated.
38991
38992         [BZ #10716]
38993         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38994         * math/s_cacoshf.c (__cacoshf): Likewise.
38995         * math/s_cacoshl.c (__cacoshl): Likewise.
38996         * math/s_casinh.c (__casinh): Set signs of result from argument.
38997         * math/s_casinhf.c (__casinhf): Likewise.
38998         * math/s_casinhl.c (__casinhl): Likewise.
38999         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39000         (casinh_test): Add more tests.
39001         * sysdeps/i386/fpu/libm-test-ulps: Update.
39002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39003
39004 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39005
39006         * po/zh_TW.po: Update from translation team.
39007
39008         * login/Makefile (distribute): Remove variable.
39009         * catgets/Makefile: Likewise.
39010         * mach/Makefile: Likewise.
39011         * malloc/Makefile: Likewise.
39012         * misc/Makefile: Likewise.
39013         * iconv/Makefile: Likewise.
39014         * nscd/Makefile: Likewise.
39015         * hurd/Makefile: Likewise.
39016         * manual/Makefile: Likewise.
39017         * locale/Makefile: Likewise.
39018         * intl/Makefile: Likewise.
39019         * conform/Makefile: Likewise.
39020         * nss/Makefile: Likewise.
39021         * time/Makefile: Likewise.
39022         * soft-fp/Makefile: Likewise.
39023         * dirent/Makefile: Likewise.
39024         * gmon/Makefile: Likewise.
39025         * po/Makefile: Likewise.
39026         * rt/Makefile: Likewise.
39027         * socket/Makefile: Likewise.
39028         * math/Makefile: Likewise.
39029         * signal/Makefile: Likewise.
39030         * debug/Makefile: Likewise.
39031         * elf/Makefile: Likewise.
39032         * timezone/Makefile: Likewise.
39033         * stdlib/Makefile: Likewise.
39034         * iconvdata/Makefile: Likewise.
39035         * sunrpc/Makefile: Likewise.
39036         * io/Makefile: Likewise.
39037         * argp/Makefile: Likewise.
39038         * inet/Makefile: Likewise.
39039         * hesiod/Makefile: Likewise.
39040         * grp/Makefile: Likewise.
39041         * csu/Makefile: Likewise.
39042         * wctype/Makefile: Likewise.
39043         * crypt/Makefile: Likewise.
39044         * libio/Makefile: Likewise.
39045         * string/Makefile: Likewise.
39046         * nis/Makefile: Likewise.
39047         * resolv/Makefile: Likewise.
39048         * stdio-common/Makefile: Likewise.
39049         * wcsmbs/Makefile: Likewise.
39050         * dlfcn/Makefile: Likewise.
39051         * posix/Makefile: Likewise.
39052
39053         [BZ #6959]
39054         * timezone/Makefile: Don't install timezone files, just the programs
39055         and scripts.
39056
39057 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39058
39059         * nss/databases.def: Add missing gshadow entry.
39060
39061         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39062
39063 2012-03-06  Marek Polacek  <polacek@redhat.com>
39064
39065         [BZ #13726]
39066         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39067         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39068         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39069         * stdio-common/tst-long-dbl-fphex.c: New file.
39070
39071 2012-03-06  David S. Miller  <davem@davemloft.net>
39072
39073         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39074         (set_obp_int): New function.
39075         (get_obp_int): New function.
39076         (__get_clockfreq_via_dev_openprom): Likewise.
39077         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39078         Avoid unused variable warnings on 'val' and use builtin_expect.
39079         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39080         __builtin_expect.
39081         (INLINE_CLONE_SYSCALL): Likewise.
39082
39083 2012-03-05  David S. Miller  <davem@davemloft.net>
39084
39085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39086
39087 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39088
39089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39090
39091         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39092         only for |x| >= 40.
39093         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39094
39095 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39096
39097         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39098         Replace gettimeofday with __vdso_gettimeofday.
39099
39100         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39101         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39102         __vdso_clock_gettime and __vdso_getcpu.
39103
39104         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39105         time with __vdso_time.
39106
39107 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39108
39109         * manual/lang.texi (size_t): Note types to which size_t may be
39110         equivalent with the GNU C Library, but do not describe when
39111         differences between them are significant.
39112
39113 2012-03-05  Andreas Jaeger  <aj@suse.de>
39114
39115         * sysdeps/i386/fpu/libm-test-ulps: Update.
39116
39117 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39118
39119         [BZ #3976]
39120         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39121         (__ieee754_pow): Save and restore rounding mode and use
39122         round-to-nearest for main computations.
39123         * math/libm-test.inc (pow_test_tonearest): New function.
39124         (pow_test_towardzero): Likewise.
39125         (pow_test_downward): Likewise.
39126         (pow_test_upward): Likewise.
39127         (main): Call the new functions.
39128         * sysdeps/i386/fpu/libm-test-ulps: Update.
39129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39130
39131         [BZ #3976]
39132         * math/libm-test.inc (cosh_test_tonearest): New function.
39133         (cosh_test_towardzero): Likewise.
39134         (cosh_test_downward): Likewise.
39135         (cosh_test_upward): Likewise.
39136         (sinh_test_tonearest): Likewise.
39137         (sinh_test_towardzero): Likewise.
39138         (sinh_test_downward): Likewise.
39139         (sinh_test_upward): Likewise.
39140         (main): Call the new functions.
39141         * sysdeps/i386/fpu/libm-test-ulps: Update.
39142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39143
39144 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39145
39146         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39147         default stack guard is set in last bytes.
39148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39149
39150 2012-03-05  Kees Cook  <keescook@chromium.org>
39151
39152         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39153
39154         [BZ #13656]
39155         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39156         possibly allocate from heap instead of stack.
39157         * stdio-common/bug-vfprintf-nargs.c: New file.
39158         * stdio-common/Makefile (tests): Add nargs overflow test.
39159
39160 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39161
39162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39163
39164 2012-03-03  Marek Polacek  <polacek@redhat.com>
39165
39166         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39167         * math/math_private.h: Likewise.
39168         * stdlib/tst-strtod.c: Likewise.
39169         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39170         * sysdeps/x86_64/bits/atomic.h: Likewise.
39171
39172 2012-03-02  David S. Miller  <davem@davemloft.net>
39173
39174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39178         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39179         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39180         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39181         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39182
39183 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39184
39185         [BZ #13792]
39186         * manual/examples/README: New file, says the example source files
39187         can be used under GPL>=2.
39188         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39189         line containing just "*/".
39190         * manual/examples/add.c: Add copyright header (GPL>=2).
39191         * manual/examples/argp-ex1.c: Likewise.
39192         * manual/examples/argp-ex2.c: Likewise.
39193         * manual/examples/argp-ex3.c: Likewise.
39194         * manual/examples/argp-ex4.c: Likewise.
39195         * manual/examples/atexit.c: Likewise.
39196         * manual/examples/db.c: Likewise.
39197         * manual/examples/dir.c: Likewise.
39198         * manual/examples/dir2.c: Likewise.
39199         * manual/examples/execinfo.c: Likewise.
39200         * manual/examples/filecli.c: Likewise.
39201         * manual/examples/filesrv.c: Likewise.
39202         * manual/examples/fmtmsgexpl.c: Likewise.
39203         * manual/examples/genpass.c: Likewise.
39204         * manual/examples/inetcli.c: Likewise.
39205         * manual/examples/inetsrv.c: Likewise.
39206         * manual/examples/isockad.c: Likewise.
39207         * manual/examples/longopt.c: Likewise.
39208         * manual/examples/memopen.c: Likewise.
39209         * manual/examples/memstrm.c: Likewise.
39210         * manual/examples/mkfsock.c: Likewise.
39211         * manual/examples/mkisock.c: Likewise.
39212         * manual/examples/mygetpass.c: Likewise.
39213         * manual/examples/pipe.c: Likewise.
39214         * manual/examples/popen.c: Likewise.
39215         * manual/examples/rprintf.c: Likewise.
39216         * manual/examples/search.c: Likewise.
39217         * manual/examples/select.c: Likewise.
39218         * manual/examples/setjmp.c: Likewise.
39219         * manual/examples/sigh1.c: Likewise.
39220         * manual/examples/sigusr.c: Likewise.
39221         * manual/examples/stpcpy.c: Likewise.
39222         * manual/examples/strdupa.c: Likewise.
39223         * manual/examples/strftim.c: Likewise.
39224         * manual/examples/strncat.c: Likewise.
39225         * manual/examples/subopt.c: Likewise.
39226         * manual/examples/swapcontext.c: Likewise.
39227         * manual/examples/termios.c: Likewise.
39228         * manual/examples/testopt.c: Likewise.
39229         * manual/examples/testpass.c: Likewise.
39230         * manual/examples/timeval_subtract.c: Likewise.
39231
39232         [BZ #13792]
39233         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39234         function to ...
39235         * manual/timeval_subtract.c.texi: ... here, new file.
39236
39237 2012-03-02  David S. Miller  <davem@davemloft.net>
39238
39239         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39240
39241 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39242
39243         [BZ #3976]
39244         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39245         (__sin): Save and restore rounding mode and use round-to-nearest
39246         for all computations.
39247         (__cos): Save and restore rounding mode and use round-to-nearest
39248         for all computations.
39249         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39250         <fenv.h>.
39251         (tan): Save and restore rounding mode and use round-to-nearest for
39252         all computations.
39253         * math/libm-test.inc (cos_test_tonearest): New function.
39254         (cos_test_towardzero): Likewise.
39255         (cos_test_downward): Likewise.
39256         (cos_test_upward): Likewise.
39257         (sin_test_tonearest): Likewise.
39258         (sin_test_towardzero): Likewise.
39259         (sin_test_downward): Likewise.
39260         (sin_test_upward): Likewise.
39261         (tan_test_tonearest): Likewise.
39262         (tan_test_towardzero): Likewise.
39263         (tan_test_downward): Likewise.
39264         (tan_test_upward): Likewise.
39265         (main): Call the new functions.
39266         * sysdeps/i386/fpu/libm-test-ulps: Update.
39267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39268
39269         [BZ #10135]
39270         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39271         small n, then large n, before computing and testing k+n.
39272         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39274         Likewise.
39275         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39276         Likewise.
39277         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39278         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39279         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39280         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39281         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39282         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39283         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39284         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39285         * math/libm-test.inc (scalbn_test): Add more tests.
39286         (scalbln_test): Likewise.
39287
39288         * manual/filesys.texi (mode_t): Describe constraints on size and
39289         signedness, not exact equivalence to a particular type.
39290         (ino_t): Likewise.
39291         (ino64_t): Likewise.
39292         (dev_t): Likewise.
39293         (nlink_t): Likewise.
39294         (blkcnt_t): Likewise.
39295         (blkcnt64_t): Likewise.
39296         * manual/llio.texi (off_t): Likewise.
39297
39298         [BZ #3976]
39299         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39300         (__ieee754_exp): Save and restore rounding mode and use
39301         round-to-nearest for all computations.
39302         * math/libm-test.inc (exp_test_tonearest): New function.
39303         (exp_test_towardzero): Likewise.
39304         (exp_test_downward): Likewise.
39305         (exp_test_upward): Likewise.
39306         (main): Call the new functions.
39307         * sysdeps/i386/fpu/libm-test-ulps: Update.
39308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39309
39310 2012-03-01  Chris Demetriou  <cgd@google.com>
39311
39312         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39313         have predictable order.
39314
39315 2012-03-01  David S. Miller  <davem@davemloft.net>
39316
39317         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39318
39319         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39320         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39321         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39322         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39323
39324         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39325         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39326         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39328         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39329         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39330         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39331         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39332         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39333
39334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39335
39336         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39337         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39338         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39339
39340         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39341         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39342         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39343         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39344         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39345         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39346         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39347         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39348         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39349         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39350         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39351         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39353         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39354         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39356         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39357         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39358         * sysdeps/sparc/elf/configure: Regenerated.
39359
39360 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39361
39362         * configure.in (AS, LD): Require binutils 2.20 or later.
39363         * configure: Regenerated.
39364         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39365         as required minimum version.
39366         * INSTALL: Regenerated.
39367
39368         [BZ #2541]
39369         [BZ #4108]
39370         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39371         before squaring exponent.
39372         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39373         bottom long double and 27 bits of top long double before squaring
39374         exponent.
39375         * math/libm-test.inc (erfc_test): Add more tests.
39376         * sysdeps/i386/fpu/libm-test-ulps: Update.
39377         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39379
39380 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39381
39382         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39383         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39384         containing bit-fields.
39385         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39386         * soft-fp/single.h (_FP_UNION_S): Likewise.
39387         * soft-fp/double.h (_FP_UNION_D): Likewise.
39388
39389 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39390
39391         [BZ #13786]
39392         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39393         not include ../strcmp.S.
39394         [USE_AS_STRNCASECMP_L]: Likewise.
39395         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39396         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39397         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39398         (__strncasecmp_l_ia32): Define as alias to
39399         __strncasecmp_l_nonascii.
39400
39401         [BZ #5794]
39402         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39403         * sysdeps/i386/fpu/libm-test-ulps: Update.
39404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39405
39406         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39408
39409 2012-02-29  Jeff Law  <law@redhat.com>
39410
39411         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39412         out of bounds read.
39413
39414 2012-02-29  Marek Polacek  <polacek@redhat.com>
39415
39416         [BZ #13706]
39417         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39418         * elf/Makefile: Add rules to run tst-unused-dep.out.
39419
39420 2012-02-28  David S. Miller  <davem@davemloft.net>
39421
39422         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39423         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39424         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39425         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39426         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39427         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39428
39429 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39430
39431         * math/libm-test.inc (llround_test): Move one test from
39432         lround_test.  Use TEST_f_L in moved test.
39433         (lround_test): Move misplaced test to llround_test.  Add testcase
39434         from bug 2561.
39435
39436 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39437
39438         * sysdeps/x86_64/fpu/e_expf.S: New file.
39439         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39440
39441 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39442
39443         [BZ #13637]
39444         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39445         of remain_len that may cause incomplete multi-byte character and
39446         false match.
39447         * posix/bug-regex33.c: New file.
39448         * posix/Makefile (tests): Add bug-regex33.
39449
39450 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39451
39452         * manual/macros.texi: New file.
39453         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39454         * manual/libc.texinfo: Include macros.texi.
39455         * manual/creatute.texi: Likewise.
39456         * manual/install.texi: Likewise.
39457         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39458         @glibcadj{} in references to the GNU C Library.
39459         * manual/charset.texi: Likewise.
39460         * manual/conf.texi: Likewise.
39461         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39462         when not using those macros.
39463         * manual/creature.texi: Likewise.
39464         * manual/crypt.texi: Likewise.
39465         * manual/errno.texi: Likewise.
39466         * manual/filesys.texi: Likewise.
39467         * manual/header.texi: Likewise.
39468         * manual/install.texi: Likewise.
39469         * manual/intro.texi: Likewise.
39470         * manual/io.texi: Likewise.
39471         * manual/job.texi: Likewise.
39472         * manual/lang.texi: Likewise.
39473         * manual/libc.texiinfo: Likewise.
39474         * manual/llio.texi: Likewise.
39475         * manual/locale.texi: Likewise.
39476         * manual/maint.texi: Likewise.
39477         * manual/math.texi: Likewise.
39478         * manual/memory.texi: Likewise.
39479         * manual/message.texi: Likewise.
39480         * manual/nss.texi: Likewise.
39481         * manual/pattern.texi: Likewise.
39482         * manual/process.texi: Likewise.
39483         * manual/resource.texi: Likewise.
39484         * manual/search.texi: Likewise.
39485         * manual/setjmp.texi: Likewise.
39486         * manual/signal.texi: Likewise.
39487         * manual/socket.texi: Likewise.
39488         * manual/startup.texi: Likewise.
39489         * manual/stdio.texi: Likewise.
39490         * manual/string.texi: Likewise.
39491         * manual/sysinfo.texi: Likewise.
39492         * manual/syslog.texi: Likewise.
39493         * manual/terminal.texi: Likewise.
39494         * manual/time.texi: Likewise.
39495         * manual/users.texi: Likewise.
39496         * INSTALL: Regenerated.
39497         * NOTES: Regenerated.
39498         * sysdeps/gnu/errlist.c: Regenerated.
39499
39500 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39501
39502         * include/dirent.h: Include <dirstream.h> before
39503         <dirent/dirent.h>.
39504
39505 2012-02-28  David S. Miller  <davem@davemloft.net>
39506
39507         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39508         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39509         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39510         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39511
39512 2012-02-27  David S. Miller  <davem@davemloft.net>
39513
39514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39516         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39517         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39518
39519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39520         frame pointer instead of stack pointer relative arg slot.
39521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39522         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39523         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39524
39525 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39526
39527         [BZ #3992]
39528         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39529
39530 2012-02-27  David S. Miller  <davem@davemloft.net>
39531
39532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39536         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39537         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39538         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39539         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39540
39541 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39542
39543         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39544         later.  Allow versions 5-9.
39545         * configure: Regenerated.
39546         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39547         required minimum version and 4.6 as recommended version.  Do not
39548         mention bugs in GCC 2.7 and 2.8.
39549         * INSTALL: Regenerated.
39550
39551 2012-02-27  David S. Miller  <davem@davemloft.net>
39552
39553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39560         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39561
39562         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39563         manipulate bits before adding and subtracting TWO112[sx].
39564         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39565
39566 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39567
39568         [BZ #13775]
39569         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39570         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39571         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39572         being in POSIX, because they are in 1003.1-2008.
39573
39574         * rt/tst-aio.c: Include <fcntl.h>.
39575         * rt/tst-aio7.c: Likewise.
39576         * rt/tst-aio64.c: Likewise.
39577
39578         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39579
39580 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39581
39582         * manual/install.texi (--with-headers): Describe headers as
39583         interface headers, not private headers.
39584         (Specific advice for GNU/Linux systems): Describe use of headers
39585         from "make headers_install", not private headers from older
39586         kernels.
39587         * INSTALL: Regenerated.
39588         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39589         Change to 2.6.19.
39590         * sysdeps/unix/sysv/linux/configure: Regenerated.
39591
39592         * manual/llio.texi (fclean): Remove documentation.
39593
39594         * manual/Makefile (libc-texi-generated): New variable.  Include
39595         version.texi.
39596         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39597         $(libc-texi-generated), not duplicated list of files.
39598         (version.texi, stamp-version): New rules.
39599         (realclean): Remove $(libc-texi-generated), not individual files
39600         from that list.  Do not remove dir-add.texinfo.
39601         * manual/libc.texinfo: Comment out uses of edition numbers and
39602         references to printed manual.  Remove last-updated dates.
39603         (EDITION): Comment out.
39604         (ISBN): Likewise.
39605         (VERSION, UPDATED): Remove.
39606         (version.texi): Include.
39607
39608 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39609
39610         * sysdeps/posix/spawni.c: Include <signal.h>.
39611         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39612         * sysdeps/pthread/aio_fsync.c: Likewise.
39613
39614 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39615
39616         * conform/Makefile (tests): Run only when not cross-compiling and
39617         when fast-check is not defined.
39618
39619         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39620         * conform/data/limits.h-data: Fixes for POSIX2008.
39621         * conform/run-conformtest.sh: Run all tests.
39622         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39623         headers.
39624         * include/bits/dlfcn.h: Likewise.
39625         * include/langinfo.h: Likewise.
39626         * include/monetary.h: Likewise.
39627         * include/sys/poll.h: Likewise.
39628
39629         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39630         for __USE_GNU.
39631         * posix/spawn.h: Define __need_sigset_t.
39632         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39633         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39634         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39635         to get sigevent_t only.
39636         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39637         only for __USE_GNU.
39638         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39639         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39640         process_vm_writev only for __USE_GNU.
39641         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39642
39643         * conform/Makefile: For now ignore errors from run-conformtest.
39644         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39645         POSIX to avoid namespace pollution.  Don't prepend headers.
39646         * conform/data/aio.h-data: Fixes for POSIX testing.
39647         * conform/data/fcntl.h-data: Likewise.
39648         * conform/data/glob.h-data: Likewise.
39649         * conform/data/grp.h-data: Likewise.
39650         * conform/data/pthread.h-data: Likewise.
39651         * conform/data/pwd.h-data: Likewise.
39652         * conform/data/signal.h-data: Likewise.
39653         * conform/data/spawn.h-data: Likewise.
39654         * conform/data/stdio.h-data: Likewise.
39655         * conform/data/stdlib.h-data: Likewise.
39656         * conform/data/stropts.h-data: Likewise.
39657         * conform/data/sys/mman.h-data: Likewise.
39658         * conform/data/sys/stat.h-data: Likewise.
39659         * conform/data/sys/types.h-data: Likewise.
39660         * conform/data/sys/wait.h-data: Likewise.
39661         * conform/data/time.h-data: Likewise.
39662         * conform/data/unistd.h-data: Likewise.
39663         * conform/data/utime.h-data: Likewise.
39664
39665         * io/sys/stat.h: fchmod was always in POSIX.
39666         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39667         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39668         * rt/aio.h: Define __need_timespec before including <time.h>.
39669         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39670         struct.  Add forward declaration of pthread_attr_t and use it in
39671         sigevent.
39672         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39674         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39675         always remove CLK_TCK definition.
39676
39677 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39678
39679         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39680
39681 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39682
39683         * conform/run-conformtest.sh: New file.
39684         * conform/Makefile: Run run-conformtest for tests.
39685         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39686         support.
39687
39688         * conform/data/uchar.h-data: New file.
39689         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39690         * conform/data/arpa/inet.h-data: Likewise.
39691         * conform/data/assert.h-data: Likewise.
39692         * conform/data/complex.h-data: Likewise.
39693         * conform/data/cpio.h-data: Likewise.
39694         * conform/data/ctype.h-data: Likewise.
39695         * conform/data/dirent.h-data: Likewise.
39696         * conform/data/dlfcn.h-data: Likewise.
39697         * conform/data/errno.h-data: Likewise.
39698         * conform/data/fcntl.h-data: Likewise.
39699         * conform/data/float.h-data: Likewise.
39700         * conform/data/fmtmsg.h-data: Likewise.
39701         * conform/data/fnmatch.h-data: Likewise.
39702         * conform/data/ftw.h-data: Likewise.
39703         * conform/data/glob.h-data: Likewise.
39704         * conform/data/grp.h-data: Likewise.
39705         * conform/data/iconv.h-data: Likewise.
39706         * conform/data/inttypes.h-data: Likewise.
39707         * conform/data/langinfo.h-data: Likewise.
39708         * conform/data/libgen.h-data: Likewise.
39709         * conform/data/limits.h-data: Likewise.
39710         * conform/data/locale.h-data: Likewise.
39711         * conform/data/math.h-data: Likewise.
39712         * conform/data/monetary.h-data: Likewise.
39713         * conform/data/mqueue.h-data: Likewise.
39714         * conform/data/ndbm.h-data: Likewise.
39715         * conform/data/net/if.h-data: Likewise.
39716         * conform/data/netdb.h-data: Likewise.
39717         * conform/data/netinet/in.h-data: Likewise.
39718         * conform/data/nl_types.h-data: Likewise.
39719         * conform/data/poll.h-data: Likewise.
39720         * conform/data/pthread.h-data: Likewise.
39721         * conform/data/pwd.h-data: Likewise.
39722         * conform/data/regex.h-data: Likewise.
39723         * conform/data/sched.h-data: Likewise.
39724         * conform/data/search.h-data: Likewise.
39725         * conform/data/semaphore.h-data: Likewise.
39726         * conform/data/setjmp.h-data: Likewise.
39727         * conform/data/signal.h-data: Likewise.
39728         * conform/data/spawn.h-data: Likewise.
39729         * conform/data/stdarg.h-data: Likewise.
39730         * conform/data/stdio.h-data: Likewise.
39731         * conform/data/stdlib.h-data: Likewise.
39732         * conform/data/string.h-data: Likewise.
39733         * conform/data/strings.h-data: Likewise.
39734         * conform/data/stropts.h-data: Likewise.
39735         * conform/data/sys/ipc.h-data: Likewise.
39736         * conform/data/sys/mman.h-data: Likewise.
39737         * conform/data/sys/msg.h-data: Likewise.
39738         * conform/data/sys/resource.h-data: Likewise.
39739         * conform/data/sys/select.h-data: Likewise.
39740         * conform/data/sys/sem.h-data: Likewise.
39741         * conform/data/sys/shm.h-data: Likewise.
39742         * conform/data/sys/socket.h-data: Likewise.
39743         * conform/data/sys/stat.h-data: Likewise.
39744         * conform/data/sys/statvfs.h-data: Likewise.
39745         * conform/data/sys/time.h-data: Likewise.
39746         * conform/data/sys/timeb.h-data: Likewise.
39747         * conform/data/sys/times.h-data: Likewise.
39748         * conform/data/sys/types.h-data: Likewise.
39749         * conform/data/sys/uio.h-data: Likewise.
39750         * conform/data/sys/un.h-data: Likewise.
39751         * conform/data/sys/utsname.h-data: Likewise.
39752         * conform/data/sys/wait.h-data: Likewise.
39753         * conform/data/syslog.h-data: Likewise.
39754         * conform/data/tar.h-data: Likewise.
39755         * conform/data/termios.h-data: Likewise.
39756         * conform/data/utime.h-data: Likewise.
39757         * conform/data/utmpx.h-data: Likewise.
39758         * conform/data/varargs.h-data: Likewise.
39759         * conform/data/wchar.h-data: Likewise.
39760         * conform/data/wctype.h-data: Likewise.
39761         * conform/data/wordexp.h-data: Likewise.
39762
39763         * include/stropts.h: New file.
39764         * include/uchar.h: New file.
39765         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39766         * include/assert.h: Likewise.
39767         * include/ctype.h: Likewise.
39768         * include/dirent.h: Likewise.
39769         * include/dlfcn.h: Likewise.
39770         * include/fcntl.h: Likewise.
39771         * include/fnmatch.h: Likewise.
39772         * include/glob.h: Likewise.
39773         * include/grp.h: Likewise.
39774         * include/libio.h: Likewise.
39775         * include/locale.h: Likewise.
39776         * include/math.h: Likewise.
39777         * include/net/if.h: Likewise.
39778         * include/netdb.h: Likewise.
39779         * include/netinet/in.h: Likewise.
39780         * include/pthread.h: Likewise.
39781         * include/pwd.h: Likewise.
39782         * include/regex.h: Likewise.
39783         * include/sched.h: Likewise.
39784         * include/search.h: Likewise.
39785         * include/setjmp.h: Likewise.
39786         * include/signal.h: Likewise.
39787         * include/stdio.h: Likewise.
39788         * include/stdlib.h: Likewise.
39789         * include/string.h: Likewise.
39790         * include/sys/cdefs.h: Likewise.
39791         * include/sys/mman.h: Likewise.
39792         * include/sys/msg.h: Likewise.
39793         * include/sys/resource.h: Likewise.
39794         * include/sys/select.h: Likewise.
39795         * include/sys/socket.h: Likewise.
39796         * include/sys/stat.h: Likewise.
39797         * include/sys/statvfs.h: Likewise.
39798         * include/sys/time.h: Likewise.
39799         * include/sys/times.h: Likewise.
39800         * include/sys/uio.h: Likewise.
39801         * include/sys/utsname.h: Likewise.
39802         * include/sys/wait.h: Likewise.
39803         * include/termios.h: Likewise.
39804         * include/time.h: Likewise.
39805         * include/ulimit.h: Likewise.
39806         * include/unistd.h: Likewise.
39807         * include/utime.h: Likewise.
39808         * include/wchar.h: Likewise.
39809         * include/wctype.h: Likewise.
39810         * include/wordexp.h: Likewise.
39811
39812         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39813
39814         * time/time.h: TIME_UTC must be a macro.
39815         Make timespec_get available for ISO C11 only as well.
39816
39817 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39818
39819         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39820         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39821
39822 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39823
39824         * configure.in: Use -o not -a in test for unsupported multi-arch.
39825
39826 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39827
39828         * manual/texinfo.tex: Update to version 2012-01-19.16.
39829
39830 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39831
39832         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39833
39834 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39835
39836         [BZ #13738]
39837         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39838         * manual/fdl-1.3.texi: New file.
39839         * manual/fdl-1.1.texi: File removed.
39840
39841         [BZ #13738]
39842         * manual/libc.texinfo (FDL_VERSION): New @set.
39843         Use it for mention of FDL in cover text.
39844         (Documentation License): Use it in @include file name.
39845
39846 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39847             Roland McGrath  <roland@hack.frob.com>
39848
39849         [BZ #5461]
39850         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39851         (not LONG_LONG_MAX and LONG_LONG_MIN.
39852         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39853         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39854         name.
39855         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39856
39857 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39858
39859         [BZ #2547]
39860         [BZ #11365]
39861         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39862         manipulate bits before adding and subtracting TWO23[sx].
39863         * math/libm-test.inc (nearbyint_test): Add more tests.
39864
39865 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39866
39867         [BZ #2548]
39868         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39869         bits before adding and subtracting TWO23[sx].
39870         * math/libm-test.inc (rint_test): Add more tests.
39871         (rint_test_tonearest): Likewise.
39872         (rint_test_towardzero): Likewise.
39873         (rint_test_downward): Likewise.
39874         (rint_test_upward: Likewise.
39875
39876 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39877
39878         [BZ #10110]
39879         * include/stdc-predef.h: New file.  Extracted from features.h.
39880         * include/features.h: Include stdc-predef.h.
39881         * Makefile (headers): Add stdc-predef.h.
39882         * CONFORMANCE (Compiler limitations): Update.
39883
39884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39885
39886         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39887
39888 2012-02-21  David S. Miller  <davem@davemloft.net>
39889
39890         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39891         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39892
39893 2012-02-20  David S. Miller  <davem@davemloft.net>
39894
39895         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39896         using a normal save/restore sequence, rather than allocating a
39897         dummy stack frame just to store a frame pointer and restore.
39898         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39899
39900 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39901
39902         * manual/install.texi: Fix stray word in line-wrapped comment.
39903
39904 2012-02-20  David S. Miller  <davem@davemloft.net>
39905
39906         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39907         both binutils and gcc support GOTDATA.
39908
39909         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39910         "rd %pc" in the PIC register setup sequences.
39911
39912         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39913         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39914         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39915         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39916         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39917         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39918         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39919         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39921         (SYSCALL_ERROR_HANDLER): Likewise.
39922         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39923         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39925         (SYSCALL_ERROR_HANDLER): Likewise.
39926
39927         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39928         (HAVE_GCC_GOTDATA): New.
39929         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39930         relocation support in both binutils and gcc.
39931         * sysdeps/sparc/elf/configure: Regenerate.
39932
39933         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39934         * sysdeps/sparc/sparc32/elf/configure: Delete.
39935         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39936         * sysdeps/sparc/sparc64/elf/configure: Delete.
39937         * sysdeps/sparc/elf/configure.in: New file.
39938         * sysdeps/sparc/elf/configure: Generate.
39939
39940         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39941         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39942         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39943         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39944         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39945
39946 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39947
39948         * manual/install.texi: Do not mention specific glibc version
39949         numbers.
39950         * manual/libc.texinfo (VERSION, UPDATED): Update.
39951         (@copying): Use @copyright{} and range of years.
39952
39953 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39954
39955         [BZ #13695]
39956         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39957         [crti.S not in sysdirs] (generated): Do not append.
39958         [crti.S not in sysdirs] (omit-deps): Likewise.
39959         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39960         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39961         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39962         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39963         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39964         Likewise.
39965         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39966         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39967         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39968         * csu/defs.awk: Remove file.
39969         * sysdeps/generic/initfini.c: Likewise.
39970         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39971         variable.
39972         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39973         Likewise.
39974
39975 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39976
39977         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39978         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39979         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39980         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39981         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39982         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39983         <bits/epoll.h>.
39984         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39985         (__EPOLL_PACKED): Define to empty if not defined by
39986         <bits/epoll.h>.
39987         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39989         bits/epoll.h.
39990
39991 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39992
39993         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39994         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39995         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39996         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39997         <bits/timerfd.h>.
39998         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40000         bits/timerfd.h.
40001
40002 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40003
40004         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40005         in C locale.
40006         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40007         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40008         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010
40011 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40012
40013         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40014         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40015
40016 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40017
40018         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40019         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40020         defined.
40021         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40022         Likewise.
40023         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40024         entry for 2.16.
40025
40026 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40027
40028         * math/w_acos.c: Use non-signaling floating-point comparisons.
40029         * math/w_acosf.c: Likewise.
40030         * math/w_acosh.c: Likewise.
40031         * math/w_acoshf.c: Likewise.
40032         * math/w_acoshl.c: Likewise.
40033         * math/w_acosl.c: Likewise.
40034         * math/w_asin.c: Likewise.
40035         * math/w_asinf.c: Likewise.
40036         * math/w_asinl.c: Likewise.
40037         * math/w_atanh.c: Likewise.
40038         * math/w_atanhf.c: Likewise.
40039         * math/w_atanhl.c: Likewise.
40040         * math/w_exp2.c: Likewise.
40041         * math/w_exp2f.c: Likewise.
40042         * math/w_exp2l.c: Likewise.
40043         * math/w_j0.c: Likewise.
40044         * math/w_j0f.c: Likewise.
40045         * math/w_j0l.c: Likewise.
40046         * math/w_j1.c: Likewise.
40047         * math/w_j1f.c: Likewise.
40048         * math/w_j1l.c: Likewise.
40049         * math/w_jn.c: Likewise.
40050         * math/w_jnf.c: Likewise.
40051         * math/w_log.c: Likewise.
40052         * math/w_log10.c: Likewise.
40053         * math/w_log10f.c: Likewise.
40054         * math/w_log10l.c: Likewise.
40055         * math/w_log2.c: Likewise.
40056         * math/w_log2f.c: Likewise.
40057         * math/w_log2l.c: Likewise.
40058         * math/w_logf.c: Likewise.
40059         * math/w_logl.c: Likewise.
40060         * math/w_sqrt.c: Likewise.
40061         * math/w_sqrtf.c: Likewise.
40062         * math/w_sqrtl.c: Likewise.
40063         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40064         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40065         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40066         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40067         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40068
40069 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40070
40071         [BZ #9739]
40072         * manual/string.texi (strnlen): Use correct parameter name in
40073         equivalent expression.
40074
40075 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40076
40077         [BZ #11174]
40078         * manual/users.texi (seteuid): Consistently use neweuid for
40079         argument name.
40080
40081 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40082
40083         [BZ #13704]
40084         * manual/nss.texi (Services in the NSS configuration): Correct
40085         list of services in example configuration file.
40086
40087 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40088
40089         [BZ #11322]
40090         * manual/arith.texi: Remove statements about negative zero
40091         behaving identically to zero.
40092
40093 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40094
40095         [BZ #5993]
40096         * manual/install.texi: Do not document upgrading from libc5.
40097
40098 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40099
40100         [BZ #4596]
40101         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40102
40103 2012-02-18  David S. Miller  <davem@davemloft.net>
40104
40105         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40106         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40107         %o7 across the call.
40108         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40109         instead.
40110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40111         SETUP_PIC_REG_LEAF.
40112         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40113         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40114         * sysdeps/sparc/crtn.S: Likewise.
40115
40116 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40117
40118         * aout/Makefile: Remove.
40119
40120 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40121
40122         [BZ #13058]
40123         * manual/examples/argp-ex1.c (main): Format definition in GNU
40124         style.
40125         * manual/examples/argp-ex2.c (main): Likewise.
40126         * manual/examples/argp-ex3.c (main): Likewise.
40127         * manual/examples/argp-ex4.c (main): Likewise.
40128         * manual/examples/longopt.c (main): Use new-style prototype
40129         definition.
40130         * manual/examples/strncat.c (main): Specify return type and use
40131         (void) for arguments.
40132         * manual/examples/subopt.c (main): Use char **argv argument.
40133
40134 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40135
40136         [BZ #5077]
40137         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40138         rounding modes.
40139
40140 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40141
40142         [BZ #6907]
40143         * manual/string.texi (strchr): Change when strchrnul is
40144         recommended.
40145
40146 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40147
40148         [BZ #174]
40149         * manual/locale.texi (setlocale): Document LOCPATH.
40150
40151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40152
40153         [BZ #10210]
40154         * manual/process.texi (execle): Move @dots{} before last argument.
40155
40156 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40157
40158         [BZ #12047]
40159         * manual/charset.texi (Generic Charset Conversion): Fix typo
40160         (LC_TYPE -> LC_CTYPE).
40161
40162 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40163
40164         [BZ #5805]
40165         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40166         (scalbnf): Likewise.
40167         (scalbnl): Likewise.
40168         (scalbln): Likewise.
40169         (scalblnf): Likewise.
40170         (scalblnl): Likewise.
40171         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40172         (vwarnx): Likewise.
40173         (verr): Likewise.
40174         (verrx): Likewise.
40175         * manual/filesys.texi (telldir): Use braces around return type.
40176         * manual/llio.texi (mmap): Add space after comma.
40177         (mmap64): Likewise.
40178         * manual/math.texi (jn): Use @var{} on parameter names.
40179         (jnf): Likewise.
40180         (jnl): Likewise.
40181         (yn): Likewise.
40182         (ynf): Likewise.
40183         (ynl): Likewise.
40184         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40185         line.
40186         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40187         "...".
40188         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40189         (sched_get_priority_max): Likewise.
40190         * manual/signal.texi (sigvec): Add space after comma.
40191         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40192         names.
40193         (if_indextoname): Likewise.
40194         (if_freenameindex): Likewise.
40195         (sendto): Use ',' instead of '.' in prototype.
40196         * manual/startup.texi (syscall): Use @dots{} instead of literal
40197         "...".
40198         * manual/stdio.texi (__fpending): Separate initial words of
40199         paragraph from @deftypefun line.
40200         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40201         "...".
40202         (vsyslog): Use @var{} on parameter names.
40203         * manual/terminal.texi (stty): Use @var{} on parameter names.
40204         * manual/users.texi (getutmp): Use @var{} on parameter names.
40205         (getutmpx): Likewise.
40206
40207 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40208
40209         [BZ #6884]
40210         * manual/stdio.texi (fopen): Fix typos in description of
40211         ",ccs=STRING".
40212
40213 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40214
40215         [BZ #4026]
40216         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40217         get clock_id definition.
40218
40219 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40220
40221         [BZ #4822]
40222         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40223         (madvise): Cast every argument to void on its own.
40224
40225 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40226
40227         [BZ #9902]
40228         * manual/startup.texi (Exit Status): Fix typo.
40229
40230 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40231
40232         [BZ #10140]
40233         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40234         * manual/examples/argp-ex2.c: Likewise.
40235         * manual/examples/argp-ex3.c: Likewise.
40236
40237 2012-02-16  Richard Henderson  <rth@redhat.com>
40238
40239         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40240         * sysdeps/s390/s390-32/initfini.c: Remove.
40241         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40242         * sysdeps/s390/s390-64/initfini.c: Remove.
40243
40244 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40245
40246         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40247         compiler output for sysdeps/generic/initfini.c.
40248         * sysdeps/sh/elf/initfini.c: Remove file.
40249
40250 2012-02-16  David S. Miller  <davem@davemloft.net>
40251
40252         [BZ #11494]
40253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40254
40255         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40256         * sysdeps/sparc/crti.S: New file.
40257         * sysdeps/sparc/crtn.S: New file.
40258         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40259         * sysdeps/sparc/sparc64/Makefile: Likewise.
40260
40261 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40262
40263         [BZ #3335]
40264         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40265
40266 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40267
40268         [BZ #4822]
40269         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40270
40271         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40272         (write, read, close): Likewise.
40273         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40274
40275 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40276
40277         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40278         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40279         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40280         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40281         <bits/signalfd.h>.
40282         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40284         bits/signalfd.h.
40285
40286 2012-02-14  Marek Polacek  <polacek@redhat.com>
40287
40288         * sysdeps/x86_64/crti.S: New file.
40289         * sysdeps/x86_64/crtn.S: New file.
40290         * sysdeps/x86_64/elf/initfini.c: Remove file.
40291
40292 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40293
40294         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40295         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40296         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40297         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40298         <bits/inotify.h>.
40299         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40301         bits/inotify.h.
40302
40303 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40304
40305         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40306         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40307         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40308         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40309         <bits/eventfd.h>.
40310         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40312         bits/eventfd.h.
40313
40314 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40315
40316         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40317         __feraiseexcept instead of feraiseexcept.
40318
40319         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40320         nanosleep invocations.
40321         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40322         strings, and add error checking for a nanosleep invocations.
40323
40324 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40325
40326         Replace FSF snail mail address with URLs, as per GNU coding standards.
40327         Most of the snail mail addresses were wrong anyway, and omitting
40328         them makes the source code easier to maintain.  Almost all of the
40329         changes are to license notices and to locale LC_IDENTIFICATION
40330         addresses, except for this one:
40331         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40332         not its snail mail address.
40333
40334 2012-02-09  Richard Henderson  <rth@twiddle.net>
40335
40336         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40337         of kernel-features.h.
40338
40339         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40340
40341 2012-02-08  Marek Polacek  <polacek@redhat.com>
40342
40343         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40344         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40345         * sysdeps/gnu/_G_config.h: Likewise.
40346         * sysdeps/generic/_G_config.h: Likewise.
40347
40348 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40349
40350         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40351         tests.
40352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40353
40354         * sysdeps/powerpc/powerpc32/crti.S: New file.
40355         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40356         * sysdeps/powerpc/powerpc64/crti.S: New file.
40357         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40358
40359         * Makeconfig (have-initfini): Don't set.
40360         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40361         * configure.in (nopic_initfini): Don't substitute.
40362         * config.h.in (HAVE_INITFINI): Don't #undef.
40363         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40364         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40365
40366 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40367
40368         Support crti.S and crtn.S provided directly by architectures.
40369         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40370         [crti.S in sysdirs] (omit-deps): Likewise.
40371         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40372         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40373         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40374         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40375         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40376         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40377         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40378         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40379         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40380         compiler output for sysdeps/generic/initfini.c.
40381         * sysdeps/i386/elf/Makefile: Remove file.
40382         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40383
40384 2012-02-07  Marek Polacek  <polacek@redhat.com>
40385
40386         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40387         * sysdeps/gnu/_G_config.h: Likewise.
40388         * sysdeps/mach/hurd/_G_config.h: Likewise.
40389
40390 2012-02-07  Marek Polacek  <polacek@redhat.com>
40391
40392         * math/Makefile (tests): Add tst-CMPLX2.
40393         * math/tst-CMPLX2.c: New file.
40394
40395 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40396
40397         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40398
40399         * math/libm-test.inc (jn_test): Add missing L suffix.
40400
40401 2012-02-06  Marek Polacek  <polacek@redhat.com>
40402
40403         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40404         * sysdeps/i386/fpu/e_powf.S: Likewise.
40405         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40406         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40407         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40408         * sysdeps/i386/fpu/e_pow.S: Likewise.
40409         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40410         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40411         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40412         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40413         * sysdeps/i386/fpu/e_log2.S: Likewise.
40414         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40415         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40416         * sysdeps/i386/fpu/e_powl.S: Likewise.
40417         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40418         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40419         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40420         * sysdeps/i386/fpu/e_logl.S: Likewise.
40421         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40422         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40423         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40424         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40425         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40426         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40427         * sysdeps/i386/fpu/e_log.S: Likewise.
40428         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40429         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40430         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40431         * sysdeps/i386/fpu/e_logf.S: Likewise.
40432         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40433         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40434         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40435         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40436         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40437         * sysdeps/i386/fpu/e_log10.S: Likewise.
40438         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40439         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40440         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40441         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40442         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40443         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40444         * sysdeps/i386/asm-syntax.h: Likewise.
40445         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40446         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40447         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40448         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40449         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40450         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40451         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40452         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40453         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40454         * sysdeps/powerpc/sysdep.h: Likewise.
40455         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40456         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40457
40458 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40459
40460         [BZ #411]
40461         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40462
40463 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40464
40465         * sysdeps/i386/sysdep.h: Include <features.h>.
40466         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40467         version.
40468
40469 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40470
40471         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40472         Define.
40473         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40474         LOAD_PIC_REG_STR.
40475
40476 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40477
40478         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40479         (SETUP_PIC_REG): Use GET_PC_THUNK.
40480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40481         macro.
40482
40483 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40484
40485         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40486         for non-PIC compilation.
40487         (SETUP_PIC_REG): Add .p2align directive.
40488         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40489         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40490         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40491         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40492         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40493         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40494         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40495         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40496         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40497         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40498         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40499         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40500         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40501         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40502         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40503         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40504         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40505         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40506         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40507         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40508         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40509         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40510         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40511         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40514         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40515         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40516         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40517         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40518         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40519         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40520         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40521         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40522         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40523         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40524         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40525         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40526         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40527         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40528         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40529
40530 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40531
40532         * math/tst-CMPLX.c: Include <stdio.h>.
40533
40534 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40535
40536         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40537         float.
40538         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40539         * sysdeps/sparc/bits/mathdef.h: Likewise.
40540
40541 2012-01-31  Marek Polacek  <polacek@redhat.com>
40542
40543         * libio/libio.h: Don't define _PARAMS.
40544         * locale/programs/config.h: Don't define PARAMS.
40545         * stdlib/strtol_l.c: Likewise.
40546         (__strtol_l): Remove PARAMS from the prototype.
40547
40548 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40549
40550         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40551         names.  Just use the correct names.  Remove unnecessary wrapper
40552         functions.
40553         * malloc/arena.c: Likewise.
40554         * malloc/hooks.c: Likewise.
40555
40556         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40557         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40558         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40559
40560 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40561
40562         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40563         into tail calls.
40564         (update_get_addr): New function.
40565         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40566         GET_ADDR_MODULE parameter.
40567
40568 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40569
40570         * crypt/cert.c: Remove __STDC__ conditionals.
40571         * crypt/crypt-entry.c: Likewise.
40572         * crypt/crypt_util.c: Likewise.
40573         * libio/filedoalloc.c: Likewise.
40574         * libio/fileops.c: Likewise.
40575         * libio/genops.c: Likewise.
40576         * libio/iofclose.c: Likewise.
40577         * libio/iofdopen.c: Likewise.
40578         * libio/iofopen.c: Likewise.
40579         * libio/iofopen64.c: Likewise.
40580         * libio/iogetdelim.c: Likewise.
40581         * libio/iopopen.c: Likewise.
40582         * libio/obprintf.c: Likewise.
40583         * libio/oldfileops.c: Likewise.
40584         * libio/oldiofclose.c: Likewise.
40585         * libio/oldiofdopen.c: Likewise.
40586         * libio/oldiofopen.c: Likewise.
40587         * libio/oldiopopen.c: Likewise.
40588         * libio/wfiledoalloc.c: Likewise.
40589         * libio/wgenops.c: Likewise.
40590         * locale/programs/xmalloc.c: Likewise.
40591         * misc/syslog.c: Likewise.
40592         * stdio-common/xbug.c: Likewise.
40593         * string/memchr.c: Likewise.
40594         * string/memcmp.c: Likewise.
40595         * string/memrchr.c: Likewise.
40596         * string/rawmemchr.c: Likewise.
40597         * sysdeps/posix/getcwd.c: Likewise.
40598         * time/strftime_l.c: Likewise.
40599
40600 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40601
40602         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40603         * config.make.in (config-cflags-sse2avx): Define.
40604         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40605         Fix typo.
40606
40607 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40608
40609         * scripts/config.guess: Update from upstream config git repository.
40610         * scripts/config.sub: Likewise.
40611
40612 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40613
40614         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40615         (EM_NUM): Update.
40616         (R_TILEPRO_*, R_TILEGX_*): New macros.
40617
40618         * scripts/firstversions.awk: Fix bug in version range handling.
40619
40620         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40621
40622         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40623
40624         * include/sys/epoll.h: New file.
40625         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40626         libc_hidden_def.
40627
40628 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40629
40630         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40631         Avoid unnecessary __WORDSIZE == 64 test.
40632         (fmaxf): Use VEX format if possible.
40633         (fmax): Likewise.
40634         (fminf): Likewise.
40635         (fmin): Likewise.
40636
40637         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40638         * math/math_private.h: Remove libc_fegetround* and
40639         libc_fesetround*.
40640         * sysdeps/i386/configure.in: Check for -msse2avx.
40641         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40642         also if SSE2AVX is defined.
40643         Remove libc_fegetround* and libc_fesetround*.
40644         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40645         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40647         of HAS_YMM_USABLE.
40648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40649         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40653
40654         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40655
40656 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40657
40658         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40659         size is not set.
40660         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40661
40662 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40663
40664         [BZ #13618]
40665         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40666         relocation.
40667         * Makeconfig (libm): Define.
40668         * elf/Makefile: Add rules to build and run tst-relsort1.
40669         * elf/tst-relsort1.c: New file.
40670         * elf/tst-relsort1mod1.c: New file.
40671         * elf/tst-relsort1mod2.c: New file.
40672
40673 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40674
40675         * math/s_ldexp.c: Remove __STDC__ conditionals.
40676         * math/s_ldexpf.c: Likewise.
40677         * math/s_ldexpl.c: Likewise.
40678         * math/s_nextafter.c: Likewise.
40679         * math/s_nexttowardf.c: Likewise.
40680         * math/s_significand.c: Likewise.
40681         * math/s_significandf.c: Likewise.
40682         * math/s_significandl.c: Likewise.
40683         * math/w_jnl.c: Likewise.
40684         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40685         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40686         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40687         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40688         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40690         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40691         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40692         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40693         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40694         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40695         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40696         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40697         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40698         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40699         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40700         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40701         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40702         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40703         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40704         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40705         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40706         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40707         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40708         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40709         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40710         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40711         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40712         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40713         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40714         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40715         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40716         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40717         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40718         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40719         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40720         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40721         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40722         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40723         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40724         * sysdeps/ieee754/k_standard.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40744         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40747         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40749         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40757         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40758         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40759         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40767         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40771         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40773         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40774         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40778         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40779         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40780         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40781         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40786         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40791         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40792         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40793         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40794         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40799         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40800         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40804         * sysdeps/ieee754/s_matherr.c: Likewise.
40805         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40806         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40807         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40808         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40809
40810 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40811
40812         * crypt/md5.h: Remove __STDC__ conditionals.
40813         * libio/libioP.h: Likewise.
40814         * locale/programs/config.h: Likewise.
40815         * sysdeps/generic/sysdep.h: Likewise.
40816         * sysdeps/i386/asm-syntax.h: Likewise.
40817         * sysdeps/s390/asm-syntax.h: Likewise.
40818         * sysdeps/unix/sysdep.h: Likewise.
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40821
40822 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40823
40824         * libio/libio.h: Remove __STDC__ conditionals.
40825         * malloc/obstack.h: Likewise.
40826         * math/complex.h: Likewise.
40827         * math/math.h: Likewise.
40828         * sysdeps/generic/_G_config.h: Likewise.
40829         * sysdeps/gnu/_G_config.h: Likewise.
40830         * sysdeps/mach/hurd/_G_config.h: Likewise.
40831         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40832         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40833         * sysdeps/sparc/bits/mathdef.h: Likewise.
40834
40835 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40836
40837         [BZ #13583]
40838         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40839         Clean up HAS_* macros.
40840         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40841         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40842         possible.
40843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40844         HAS_AVX.
40845         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40846         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40847         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40848         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40849         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40850
40851 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40852
40853         * elf/tst-unique3.cc (gets): Remove declaration.
40854         * elf/tst-unique3lib.cc (gets): Likewise.
40855         * elf/tst-unique3lib2.cc (gets): Likewise.
40856         * elf/tst-unique4.cc (gets): Likewise.
40857
40858 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40859
40860         * include/stdio.h: Add C++ protection.  Add gets declarations and
40861         definitions.
40862         * debug/tst-chk1.c: Don't declare gets here.
40863         * stdio-common/tst-gets.c: Likewise.
40864
40865 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40866
40867         * posix/glob: Remove directory.
40868
40869 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40870
40871         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40872
40873 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40874
40875         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40876         of the non-standard EPFNOSUPPORT.
40877
40878 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40879
40880         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40881         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40882         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40883
40884 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40885
40886         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40887
40888 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40889
40890         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40891         transient errors.
40892         * nscd/grpcache.c (cache_addgr): Likewise.
40893         * nscd/hstcache.c (cache_addhst): Likewise.
40894         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40895         * nscd/pwdcache.c (cache_addpw): Likewise.
40896         * nscd/servicescache.c (cache_addserv): Likewise.
40897
40898 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40899
40900         * malloc/malloc.c: Various cleanups.
40901         * malloc/hooks.c: Likewise.
40902
40903         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40904         * stdlib/bug-fmtmsg1.c: New file.
40905
40906         * stdlib/fmtmsg.c (init): Add missing unlock.
40907         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40908
40909 2012-01-12  Marek Polacek  <polacek@redhat.com>
40910
40911         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40912         and _GNU_SOURCE.
40913
40914 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40915
40916         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40917         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40918         macro to ensure uniqueness of label name.
40919         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40920         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40921
40922 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40923
40924         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40925
40926         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40927         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40928         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40930
40931 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40932
40933         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40934
40935         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40936         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40937         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40938
40939         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40940
40941         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40942         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40943         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40945
40946         * math/bits/math-finite.h: Add ldexp support.
40947
40948 2012-01-10  Marek Polacek  <polacek@redhat.com>
40949
40950         * locale/programs/localedef.h (show_archive_content): Add noreturn
40951         attribute.
40952
40953 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40954
40955         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40956
40957 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40958
40959         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40960
40961         * io/Makefile (headers): Add bits/poll2.h.
40962
40963 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40964
40965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40966         typo #include statement.
40967
40968 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40969
40970         * include/sys/cdefs.h: Define __attribute_alloc_size.
40971         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40972         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40973         * elf/pldd.c: Likewise.
40974         * iconv/iconv_charmap.c: Likewise.
40975         * iconv/iconvconfig.c: Likewise.
40976         * iconv/strtab.c: Likewise.
40977         * locale/programs/locale.c: Likewise.
40978         * locale/programs/localedef.h: Likewise.
40979         * locale/programs/simple-hash.c: Likewise.
40980         * nscd/nscd.h: Likewise.
40981         * nss/makedb.c: Likewise.
40982         * sysdeps/generic/ldconfig.h: Likewise.
40983         * locale/programs/localedef.c: Remove xmalloc prototype.
40984         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40985
40986 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40987
40988         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40989         appropriate.
40990
40991 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40992
40993         * math/Makefile (tests): Add tst-CMPLX.
40994         * math/tst-CMPLX.c: New file.
40995
40996         * math/complex.h (CMPLXL): Fix typo.
40997
40998         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40999         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41000         GLIBC_2.16.
41001         * debug/tst-chk1.c: Add poll and ppoll tests.
41002         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41003         * include/sys/poll.h: Add hidden proto for ppoll.
41004         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41005         * sysdeps/mach/hurd/ppoll.c: Likewise.
41006         * io/ppoll.c: Likewise.
41007         * debug/poll_chk.c: New file.
41008         * debug/ppoll_chk.c: New file.
41009         * include/bits/poll2.h: New file.
41010         * io/bits/poll2.h: New file.
41011
41012         [BZ #1350]
41013         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41014
41015         * configure.in: static is always set to yes.  Remove.
41016         * config.make.in: Don't set build-static.
41017         * Makeconfig: Remove use of build-static.
41018         * dlfcn/Makefile: Likewise.
41019         * elf/Makefile: Likewise.
41020         * math/Makefile: Likewise.
41021         * misc/Makefile: Likewise.
41022         * nptl/Makefile: Likewise.
41023         * sysdeps/mach/hurd/Makefile: Likewise.
41024
41025         * configure.in: PWD_P is not used anymore.
41026         * config.make.in: Remove PWD_P entry.
41027
41028         * configure.in: Remove last remnants of RANLIB.
41029         No need to check for signed size_t anymore.
41030         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41031         and IA-64.
41032         Remove __builtin_expect test because we require at least gcc 3.4.
41033         * aclocal.m4: Likewise.
41034
41035         * wcsmbs/mbrtoc16.c: Implement using towc function.
41036         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41037         * wcsmbs/wcsmbsload.c: Likewise.
41038         * iconv/gconv_simple.c: Likewise.
41039         * iconv/gconv_int.h: Likewise.
41040         * iconv/gconv_builtin.h: Likewise.
41041         * iconv/iconv_prog.c: Remove CHAR16 handling.
41042
41043         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41044
41045         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41046
41047         * configure.in: Remove --with-elf and --enable-bounded options.
41048         Dont set base_machine for ia64.  More non-ELF conditions removed.
41049         Remove testing and setting of leading underscore information.
41050         * config.make.in (build-bounded): Set to no.
41051         * config.h.in: Remove NO_UNDERSCORES entry.
41052         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41053         them.
41054         * csu/start.c: Remove !NO_UNDERSCORE code.
41055         * locale/localeinfo.h: Likewise.
41056         * sysdeps/generic/machine-gmon.h: Likewise.
41057         * sysdeps/generic/sysdep.h: Likewise.
41058         * sysdeps/i386/sysdep.h: Likewise.
41059         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41060         * sysdeps/mach/sysdep.h: Likewise.
41061         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41062         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41063         * sysdeps/sh/sysdep.h: Likewise.
41064         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41065         * sysdeps/unix/i386/sysdep.S: Likewise.
41066         * sysdeps/unix/sparc/start.c: Likewise.
41067         * sysdeps/unix/sparc/sysdep.S: Likewise.
41068         * sysdeps/unix/sparc/sysdep.h: Likewise.
41069         * sysdeps/unix/start.c: Likewise.
41070         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41071         * sysdeps/x86_64/sysdep.h: Likewise.
41072
41073 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41074
41075         [BZ #13553]
41076         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41077         for non-gcc.
41078         * argp/argp-fmtstream.h: Use const instead __const.
41079         * argp/argp.h: Likewise.
41080         * assert/assert.h: Likewise.
41081         * bits/fenv.h: Likewise.
41082         * bits/sched.h: Likewise.
41083         * bits/sigset.h: Likewise.
41084         * bits/sigthread.h: Likewise.
41085         * catgets/nl_types.h: Likewise.
41086         * conform/data/pthread.h-data: Likewise.
41087         * crypt/crypt-private.h: Likewise.
41088         * crypt/crypt.h: Likewise.
41089         * crypt/crypt_util.c: Likewise.
41090         * ctype/ctype.h: Likewise.
41091         * debug/execinfo.h: Likewise.
41092         * debug/mbsnrtowcs_chk.c: Likewise.
41093         * debug/mbsrtowcs_chk.c: Likewise.
41094         * debug/wcsnrtombs_chk.c: Likewise.
41095         * debug/wcsrtombs_chk.c: Likewise.
41096         * debug/wcstombs_chk.c: Likewise.
41097         * dirent/dirent.h: Likewise.
41098         * dlfcn/dlfcn.h: Likewise.
41099         * elf/neededtest4.c: Likewise.
41100         * grp/grp.h: Likewise.
41101         * gshadow/gshadow.h: Likewise.
41102         * iconv/gconv.h: Likewise.
41103         * iconv/gconv_int.h: Likewise.
41104         * iconv/gconv_simple.c: Likewise.
41105         * iconv/iconv.h: Likewise.
41106         * iconv/loop.c: Likewise.
41107         * iconv/skeleton.c: Likewise.
41108         * include/aio.h: Likewise.
41109         * include/aliases.h: Likewise.
41110         * include/argz.h: Likewise.
41111         * include/arpa/inet.h: Likewise.
41112         * include/assert.h: Likewise.
41113         * include/dirent.h: Likewise.
41114         * include/dlfcn.h: Likewise.
41115         * include/execinfo.h: Likewise.
41116         * include/fcntl.h: Likewise.
41117         * include/fenv.h: Likewise.
41118         * include/glob.h: Likewise.
41119         * include/grp.h: Likewise.
41120         * include/libintl.h: Likewise.
41121         * include/mntent.h: Likewise.
41122         * include/netdb.h: Likewise.
41123         * include/pwd.h: Likewise.
41124         * include/rpc/netdb.h: Likewise.
41125         * include/sched.h: Likewise.
41126         * include/search.h: Likewise.
41127         * include/shadow.h: Likewise.
41128         * include/signal.h: Likewise.
41129         * include/stdio.h: Likewise.
41130         * include/stdlib.h: Likewise.
41131         * include/string.h: Likewise.
41132         * include/sys/socket.h: Likewise.
41133         * include/sys/stat.h: Likewise.
41134         * include/sys/statfs.h: Likewise.
41135         * include/sys/statvfs.h: Likewise.
41136         * include/sys/syslog.h: Likewise.
41137         * include/sys/time.h: Likewise.
41138         * include/sys/uio.h: Likewise.
41139         * include/time.h: Likewise.
41140         * include/unistd.h: Likewise.
41141         * include/utmp.h: Likewise.
41142         * include/wchar.h: Likewise.
41143         * include/wctype.h: Likewise.
41144         * inet/aliases.h: Likewise.
41145         * inet/arpa/inet.h: Likewise.
41146         * inet/netinet/ether.h: Likewise.
41147         * inet/netinet/in.h: Likewise.
41148         * intl/libintl.h: Likewise.
41149         * io/bits/fcntl2.h: Likewise.
41150         * io/fcntl.h: Likewise.
41151         * io/ftw.h: Likewise.
41152         * io/sys/poll.h: Likewise.
41153         * io/sys/stat.h: Likewise.
41154         * io/sys/statfs.h: Likewise.
41155         * io/sys/statvfs.h: Likewise.
41156         * io/utime.h: Likewise.
41157         * libio/bits/stdio.h: Likewise.
41158         * libio/bits/stdio2.h: Likewise.
41159         * libio/libio.h: Likewise.
41160         * libio/libioP.h: Likewise.
41161         * libio/stdio.h: Likewise.
41162         * locale/lc-ctype.c: Likewise.
41163         * locale/locale.h: Likewise.
41164         * login/utmp.h: Likewise.
41165         * malloc/arena.c: Likewise.
41166         * malloc/malloc.c: Likewise.
41167         * malloc/malloc.h: Likewise.
41168         * malloc/mcheck.c: Likewise.
41169         * malloc/mtrace.c: Likewise.
41170         * math/bits/mathcalls.h: Likewise.
41171         * math/fenv.h: Likewise.
41172         * math/math_private.h: Likewise.
41173         * misc/bits/error.h: Likewise.
41174         * misc/bits/syslog.h: Likewise.
41175         * misc/err.h: Likewise.
41176         * misc/error.h: Likewise.
41177         * misc/fstab.h: Likewise.
41178         * misc/mntent.h: Likewise.
41179         * misc/regexp.h: Likewise.
41180         * misc/search.h: Likewise.
41181         * misc/sgtty.h: Likewise.
41182         * misc/sys/mman.h: Likewise.
41183         * misc/sys/syslog.h: Likewise.
41184         * misc/sys/uio.h: Likewise.
41185         * misc/sys/xattr.h: Likewise.
41186         * misc/ttyent.h: Likewise.
41187         * nis/rpcsvc/ypclnt.h: Likewise.
41188         * nss/nss.h: Likewise.
41189         * posix/bits/unistd.h: Likewise.
41190         * posix/fnmatch.h: Likewise.
41191         * posix/glob.h: Likewise.
41192         * posix/sched.h: Likewise.
41193         * posix/spawn.h: Likewise.
41194         * posix/sys/wait.h: Likewise.
41195         * posix/unistd.h: Likewise.
41196         * posix/wordexp.h: Likewise.
41197         * pwd/pwd.h: Likewise.
41198         * resolv/netdb.h: Likewise.
41199         * resource/sys/resource.h: Likewise.
41200         * rt/aio.h: Likewise.
41201         * rt/bits/mqueue2.h: Likewise.
41202         * rt/mqueue.h: Likewise.
41203         * shadow/shadow.h: Likewise.
41204         * signal/signal.h: Likewise.
41205         * socket/send.c: Likewise.
41206         * socket/sendto.c: Likewise.
41207         * socket/sys/socket.h: Likewise.
41208         * stdio-common/printf.h: Likewise.
41209         * stdlib/bits/stdlib.h: Likewise.
41210         * stdlib/fmtmsg.h: Likewise.
41211         * stdlib/monetary.h: Likewise.
41212         * stdlib/stdlib.h: Likewise.
41213         * stdlib/ucontext.h: Likewise.
41214         * streams/stropts.h: Likewise.
41215         * string/argz.h: Likewise.
41216         * string/bits/string2.h: Likewise.
41217         * string/string.h: Likewise.
41218         * string/strings.h: Likewise.
41219         * sunrpc/rpc/auth.h: Likewise.
41220         * sunrpc/rpc/auth_des.h: Likewise.
41221         * sunrpc/rpc/clnt.h: Likewise.
41222         * sunrpc/rpc/netdb.h: Likewise.
41223         * sunrpc/rpc/pmap_clnt.h: Likewise.
41224         * sunrpc/rpc/xdr.h: Likewise.
41225         * sysdeps/generic/inttypes.h: Likewise.
41226         * sysdeps/generic/net/if.h: Likewise.
41227         * sysdeps/generic/sys/swap.h: Likewise.
41228         * sysdeps/gnu/net/if.h: Likewise.
41229         * sysdeps/gnu/utmpx.h: Likewise.
41230         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41231         * sysdeps/i386/i486/bits/string.h: Likewise.
41232         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41233         * sysdeps/s390/bits/string.h: Likewise.
41234         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41235         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41236         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41237         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41238         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41239         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41240         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41241         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41242         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41243         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41244         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41245         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41246         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41247         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41248         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41249         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41250         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41251         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41252         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41253         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41254         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41255         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41256         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41257         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41258         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41259         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41260         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41261         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41262         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41263         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41264         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41265         * sysvipc/sys/ipc.h: Likewise.
41266         * sysvipc/sys/msg.h: Likewise.
41267         * sysvipc/sys/sem.h: Likewise.
41268         * sysvipc/sys/shm.h: Likewise.
41269         * termios/termios.h: Likewise.
41270         * time/sys/time.h: Likewise.
41271         * time/time.h: Likewise.
41272         * wcsmbs/bits/wchar2.h: Likewise.
41273         * wcsmbs/uchar.h: Likewise.
41274         * wcsmbs/wchar.h: Likewise.
41275         * wctype/wctype.h: Likewise.
41276
41277         [BZ #13551]
41278         * Makeconfig: Remove all but ELF support including AIX support.
41279         * Makerules: Likewise.
41280         * config.h.in: Likewise.
41281         * config.make.in: Likewise.
41282         * configure: Likewise.
41283         * configure.in: Likewise.
41284         * csu/Makefile: Likewise.
41285         * csu/version.c: Likewise.
41286         * debug/Makefile: Likewise.
41287         * dlfcn/Makefile: Likewise.
41288         * elf/Makefile: Likewise.
41289         * extra-lib.mk: Likewise.
41290         * iconv/Makefile: Likewise.
41291         * include/libc-symbols.h: Likewise.
41292         * include/shlib-compat.h: Likewise.
41293         * resolv/Makefile: Likewise.
41294         * resolv/res_libc.c: Likewise.
41295         * rt/Makefile: Likewise.
41296         * sysdeps/i386/asm-syntax.h: Likewise.
41297         * sysdeps/i386/sysdep.h: Likewise.
41298         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41299         * sysdeps/mach/sysdep.h: Likewise.
41300         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41301         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41302         * sysdeps/s390/asm-syntax.h: Likewise.
41303         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41304         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41305         * sysdeps/sh/sysdep.h: Likewise.
41306         * sysdeps/unix/sparc/sysdep.h: Likewise.
41307         * sysdeps/wordsize-32/divdi3.c: Likewise.
41308         * sysdeps/x86_64/sysdep.h: Likewise.
41309
41310         * argp/Versions: Remove _argp_unlock_xxx.
41311
41312         [BZ #13559]
41313         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41314         * abilist/libBrokenLocale.abilist: Likewise.
41315         * abilist/libanl.abilist: Likewise.
41316         * abilist/libc.abilist: Likewise.
41317         * abilist/libcrypt.abilist: Likewise.
41318         * abilist/libdl.abilist: Likewise.
41319         * abilist/libm.abilist: Likewise.
41320         * abilist/libnsl.abilist: Likewise.
41321         * abilist/libpthread.abilist: Likewise.
41322         * abilist/libresolv.abilist: Likewise.
41323         * abilist/librt.abilist: Likewise.
41324         * abilist/libthread_db.abilist: Likewise.
41325         * abilist/libutil.abilist: Likewise.
41326         * abilist/libnss_db.abilist: New file.
41327
41328         * scripts/abilist.awk: Add support for indirect functions.
41329
41330         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41331
41332         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41333
41334         * shlib-versions: Remove entries for ports architectures.
41335
41336         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41337         files in ports.
41338         * elf/stackguard-macros.h: Remove support for IA-64.
41339         * elf/tst-auditmod1.c: Likewise.
41340         * sysdeps/generic/ldsodefs.h: Likewise.
41341
41342         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41343         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41344         configure files.
41345
41346         [BZ #13552]
41347         * configure.in: Remove --enable-omitfp support.
41348         * FAQ.in: Adjust.
41349         * config.make.in: Likewise.
41350         * Makeconfig: Likewise.
41351         * manual/install.texi: Likewise.
41352
41353         In case anyone cares, the IA-64 architecture could move to ports.
41354         * sysdeps/ia64/*: Removed.
41355         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41356         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41357
41358         [BZ #13555]
41359         * configure.in: Remove entries for unsupported architectures.
41360
41361         [BZ #13533]
41362         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41363         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41364         routines.
41365         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41366         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41367         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41368         fall back to using wcrtomb.
41369         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41370         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41371         renaming.
41372         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41373         * wcsmbs/tst-c16c32-1.c: New file.
41374
41375         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41376         local variable.
41377
41378         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41379
41380         * elf/tst-unique3.cc: Add explicit declaration of gets.
41381         * elf/tst-unique3lib.cc: Likewise.
41382         * elf/tst-unique3lib2.cc: Likewise.
41383         * elf/tst-unique4.cc: Likewise.
41384
41385         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41386
41387 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41388
41389         [BZ #13566]
41390         * assert/assert.h (static_assert): Don't define for C++.
41391         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41392         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41393
41394 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41395
41396         * iconv/loop.c (single loop): Fix assertion in storing of
41397         remaining bytes.
41398
41399         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41400
41401 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41402
41403         * posix/getconf.c: Update copyright year.
41404         * nss/getent.c: Likewise.
41405         * nss/makedb.c: Likewise.
41406         * iconv/iconvconfig.c: Likewise.
41407         * iconv/iconv_prog.c: Likewise.
41408         * elf/ldconfig.c: Likewise.
41409         * elf/pldd.c: Likewise.
41410         * elf/sotruss.ksh: Likewise.
41411         * catgets/gencat.c: Likewise.
41412         * csu/version.c: Likewise.
41413         * elf/ldd.bash.in: Likewise.
41414         * elf/sprof.c (print_version): Likewise.
41415         * locale/programs/locale.c: Likewise.
41416         * locale/programs/localedef.c: Likewise.
41417         * login/programs/pt_chown.c: Likewise.
41418         * nscd/nscd.c (print_version): Likewise.
41419         * debug/xtrace.sh: Likewise.
41420         * malloc/memusage.sh: Likewise.
41421         * malloc/mtrace.pl: Likewise.
41422         * debug/catchsegv.sh: Likewise.
41423
41424 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41425
41426         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41427         pure attribute.
41428
41429 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41430
41431         [BZ #13533]
41432         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41433         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41434         transformations.
41435         * iconv/gconv_int.h: Likewise.
41436         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41437         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41438         from libc for GLIBC_2.16.
41439         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41440         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41441         * wcsmbs/uchar.h: Really define mbstate_t.
41442         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41443         * wcsmbs/c16rtomb.c: New file.
41444         * wcsmbs/mbrtoc16.c: New file.
41445         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41446         for C/POSIX locale.
41447         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41448         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41449
41450         * wcsmbs/wchar.h: Add missing __restrict.
41451
41452 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41453
41454         [BZ #13532]
41455         * time/Makefile (routines): Add timespec_get.
41456         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41457         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41458         timespec for ISO C11.
41459         * time/timespec_get.c: New file.
41460         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41461         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41462
41463         [BZ #13531]
41464         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41465         * stdlib/stdlib.h: Declare aligned_alloc.
41466         * Versions.def: Add GLIBC_2.16 for libc.
41467         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41468
41469         [BZ 13527]
41470         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41471         ISO C11.
41472
41473         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41474         code.
41475
41476         [BZ #13528]
41477         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41478
41479         [BZ #13529]
41480         * assert/assert.h (static_assert): Define.
41481
41482         * version.h: Update for 2.16 development version.
41483
41484         [BZ #13526]
41485         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41486         _ISOC11_SOURCE.
41487
41488         * version.h (RELEASE): Bump for 2.15 release.
41489         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41490
41491         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41492         Patch by Marek Polacek <mpolacek@redhat.com>.
41493
41494         * bits/byteswap.h: Protect long long constants with __extension__.
41495         * sysdeps/i386/bits/byteswap.h: Likewise.
41496         * sysdeps/ia64/bits/byteswap.h: Likewise.
41497         * sysdeps/s390/bits/byteswap.h: Likewise.
41498         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41499
41500 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41501
41502         [BZ #13540]
41503         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41504         destination buffer.
41505         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41506
41507 2011-12-23  Marek Polacek  <polacek@redhat.com>
41508
41509         * elf/dl-addr.c (determine_info): Add inline keyword.
41510         * elf/tst-auditmod4b.c (check_avx): Likewise.
41511         * elf/tst-auditmod6b.c (check_avx): Likewise.
41512         * elf/tst-auditmod6c.c (check_avx): Likewise.
41513         * elf/tst-auditmod7b.c (check_avx): Likewise.
41514
41515 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41516
41517         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41518         !__SSE_MATH__.
41519
41520 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41521
41522         [BZ #13540]
41523         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41524         processing for last bytes.
41525
41526 2011-08-06  Bruno Haible  <bruno@clisp.org>
41527
41528         [BZ #13061]
41529         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41530         U+0385, not to U+1FEE.
41531
41532         [BZ #13062]
41533         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41534         entry for U+00A5 U+0301.
41535
41536 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41537
41538         [BZ #13166]
41539         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41540         buffer for the output is too small.
41541
41542         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41543         optimization.
41544
41545         [BZ #13185]
41546         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41547         SSE flags if possible.
41548
41549 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41550
41551         [BZ #13540]
41552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41553         processing for last bytes.
41554
41555 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41556
41557         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41558         (syscall-list-default-options, syscall-list-default-condition)
41559         (syscall-list-includes): Define.
41560         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41561         list of ABIs and options and #if conditions for each ABI.  Do not
41562         handle common syscalls between ABIs specially.
41563         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41564         Remove.
41565         (syscall-list-variants, syscall-list-32bit-options)
41566         (syscall-list-32bit-condition, syscall-list-64bit-options)
41567         (syscall-list-64bit-condition): Define.
41568         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41569         (syscall-list-variants, syscall-list-32bit-options)
41570         (syscall-list-32bit-condition, syscall-list-64bit-options)
41571         (syscall-list-64bit-condition): Define.
41572         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41573         Remove.
41574         (syscall-list-variants, syscall-list-32bit-options)
41575         (syscall-list-32bit-condition, syscall-list-64bit-options)
41576         (syscall-list-64bit-condition): Define.
41577         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41578         Remove.
41579         (syscall-list-variants, syscall-list-32bit-options)
41580         (syscall-list-32bit-condition, syscall-list-64bit-options)
41581         (syscall-list-64bit-condition): Define.
41582
41583 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41584
41585         * locale/iso-639.def: Add brx entry.
41586
41587         [BZ #13328]
41588         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41589         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41590
41591         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41592         __feraiseexcept_renamed.
41593
41594 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41595
41596         [BZ #13538]
41597         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41598         EPOLLET with unsigned values.
41599         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41600         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41601
41602         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41603         to large cancellation.
41604         * math/s_cacoshf.c: Likewise.
41605         * math/s_cacoshl.c: Likewise.
41606
41607 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41608
41609         [BZ #13305]
41610         [BZ #12786]
41611         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41612         * math/s_cacoshf.c: Likewise.
41613         * math/s_cacoshl.c: Likewise.
41614
41615 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41616
41617         [BZ #13439]
41618         * iconv/gconv.h: Define __GCONV_SWAP.
41619         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41620         * iconvdata/utf-16.c: Likewise.
41621         * iconvdata/utf-32.c: Likewise.
41622
41623 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41624
41625         [BZ #13524]
41626         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41627         numerator after shifting it by one limb.
41628
41629 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41630
41631         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41632         under [__USE_EXTERN_INLINES].
41633
41634 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41635
41636         [BZ #13446]
41637         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41638
41639 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41640
41641         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41642         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41643         optimized code.
41644         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41645         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41646         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41647         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41648         for strncasecmp/strncasecmp_l compilation.
41649         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41650         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41651
41652 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41653
41654         [BZ #13484]
41655         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41656         of __asm__.
41657
41658 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41659
41660         [BZ #13506]
41661         * time/tzfile.c (__tzfile_read): Check values from file header.
41662
41663 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41664
41665         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41666         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41667         * powerpc/powerpc32/dl-start.S: Likewise.
41668         * powerpc/powerpc32/elf/start.S: Likewise.
41669         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41670         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41671         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41672         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41673         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41674         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41675         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41676         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41677         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41678         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41679         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41680         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41681         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41682         * powerpc/powerpc32/memset.S: Likewise.
41683         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41684         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41685         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41686         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41687         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41688         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41689         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41690         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41691         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41692         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41693         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41694         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41695         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41696
41697 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41698
41699         * math/libm-test.inc: Added more nearbyint tests.
41700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41704
41705 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41706
41707         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41708         FD_CLOEXEC.
41709
41710 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41711
41712         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41713         Add wcscpy-ssse3 wcscpy-c.
41714         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41715         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41716         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41717         * sysdeps/x86_64/wcschr.S: New file.
41718         * sysdeps/x86_64/wcsrchr.S: New file.
41719         * string/test-strcmp.c: Remove checking of wcscmp function for
41720         wrong alignments.
41721         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41722         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41723         wcsrchr-sse2 wcsrchr-c.
41724         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41725         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41726         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41727         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41728         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41729         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41730         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41731         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41732         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41733         * wcsmbc/wcschr.c (WCSCHR): New macro.
41734
41735 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41736
41737         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41738         * wcsmbs/test-wcsrchr.c: New file.
41739         * string/test-strrchr.c: Add wcsrchr support.
41740         (WIDE): New macro.
41741         * wcsmbs/test-wcscpy.c: New file.
41742         * string/test-strcpy.c: Add wcscpy support.
41743         (WIDE): New macro.
41744
41745 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41746
41747         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41748         the inner loop.
41749
41750 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41751
41752         [BZ #13472]
41753         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41754
41755 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41756
41757         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41758         Minor optimizations.
41759
41760         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41761         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41762         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41763
41764 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41765
41766         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41767         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41768         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41769         for gcc to avoid warnings.
41770         * inet/Makefile (tests): Add tst-checks.
41771         * inet/tst-checks.c: New file.
41772
41773         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41774         warning.
41775
41776         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41777         __wmemcmp_sse2.
41778
41779         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41780         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41781
41782         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41783
41784 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41785
41786         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41787         problem.
41788
41789         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41790
41791 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41792
41793         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41794         conditional on GCC version.
41795         (__arch_compare_and_exchange_val_8_acq)
41796         (__arch_compare_and_exchange_val_16_acq)
41797         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41798         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41799         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41800
41801 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41802
41803         * sysdeps/sh/backtrace.c: New file.
41804
41805 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41806
41807         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41808         parenthesis.
41809
41810 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41811
41812         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41813         falling back to utime.
41814
41815 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41816
41817         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41818         expectations for float.
41819
41820 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41821
41822         * locale/weight.h (findidx): Add parameter len.
41823         * locale/weightwc.h (findidx): Likewise.
41824         * posix/fnmatch_loop.c (FCT): Adjust caller.
41825         * posix/regcomp.c (build_equiv_class): Likewise.
41826         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41827         * posix/regexec.c (check_node_accept_bytes): Likewise.
41828         * string/strcoll_l.c (STRCOLL): Likewise.
41829         * string/strxfrm_l.c (STRXFRM): Likewise.
41830
41831 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41832
41833         * Makefile.in: Remove CVSOPT handling.
41834         * configure.in: Remove use of AC_REVISION.
41835         * iconvdata/Makefile (distribute): No need to filter out CVS.
41836         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41837         handling.
41838
41839 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41840
41841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41842         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41843         [USE_AS_STRNCASECMP_L]: Likewise.
41844         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41845         NO_TLS_DIRECT_SEG_REFS.
41846         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41847         Fix argument offsets for non-PIC.
41848         [USE_AS_STRNCASECMP_L]: Likewise.
41849         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41850         NO_TLS_DIRECT_SEG_REFS.
41851
41852 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41853
41854         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41855         O_CLOEXEC.
41856         * locale/loadlocale.c (_nl_load_locale): Likewise.
41857
41858 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41859
41860         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41861         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41862         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41863         (SYSCALL_GETTIME): Set errno on error.
41864
41865         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41866         count references to noai6ai_cached.
41867
41868 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41869
41870         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41871
41872         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41873         FD_CLOEXEC for /proc/self/maps.
41874
41875         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41876         FD_CLOEXEC for /proc/meminfo.
41877
41878         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41879         gai.conf.
41880
41881         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41882         FD_CLOEXEC for given file.
41883
41884         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41885
41886         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41887         FD_CLOEXEC for /etc/hosts.
41888         (_gethtent): Likewise.
41889
41890         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41891
41892         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41893         cancellation and set FD_CLOEXEC for /etc/netgroup.
41894
41895         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41896         reading /etc/publickey.
41897
41898         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41899         allow cancellation when reading /etc/group.
41900
41901         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41902         cancellation.
41903         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41904
41905         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41906         when using data file.
41907
41908         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41909
41910         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41911         (write_nis_obj): Use "c" and "e" in fopen.
41912
41913         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41914
41915         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41916
41917         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41918
41919         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41920
41921         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41922         locale.alias.
41923
41924         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41925
41926         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41927
41928         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41929
41930         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41931         file parsing and set FD_CLOEXEC.
41932
41933 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41934
41935         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41936
41937 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41938
41939         * malloc/arena.c (arena_get2): Don't call reused_arena when
41940         _int_new_arena failed.
41941
41942 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41943
41944         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41945         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41946         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41947         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41948         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41949         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41950         to compile strcasecmp and strncasecmp.
41951         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41952         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41953
41954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41955
41956 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41957
41958         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41959         locale-defines.sym to gen-as-const-headers.
41960         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41961         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41962         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41963         to compile strcasecmp and strncasecmp.
41964         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41965         strcasecmp_l and strncasecmp_l.
41966         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41967         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41968         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41969         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41970         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41971         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41972         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41973         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41974         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41975         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41976         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41977
41978 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41979
41980         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41981         result of SYSDEP_GETTIME_CPU to retval.
41982         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41983         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41984
41985         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41986         variable.
41987
41988         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41989         mantissa words.
41990         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41991
41992         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41993         from unused variable.
41994
41995         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41996         DWARF definitions.
41997         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41998         for assembling.
41999
42000         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42001         over namespaces.
42002
42003         * sunrpc/rpc_prot.c (rejected): Fix case value.
42004
42005         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42006         unsigned long long int to avoid warnings in shift.
42007
42008         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42009         of use of trans.
42010         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42011         variable tmp.
42012
42013         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42014         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42015         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42016
42017         * nis/nis_table.c (nis_list): Use variable of correct type for
42018         result of __follow_path call.
42019
42020 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42021
42022         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42023         of math functions ceil, trunc, floor, round, and sqrt, when
42024         avaliable on the platform.
42025         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42026         name clash.
42027         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42028         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42029         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42030
42031 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42032
42033         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42034         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42035
42036 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42037
42038         * include/unistd.h: Fix __readlink return type.
42039         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42040
42041 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42042
42043         * stdlib/ucontext.h: Undo last change for makecontext.
42044
42045 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42046
42047         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42048
42049         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42050         * setjmp/setjmp.h: Mark functions as non-leaf.
42051         * setjmp/bits/setjmp2.h: Likewise.
42052         * stdlib/ucontext.h: Likewise.
42053
42054 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42055
42056         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42057         (reused_arena): Don't check arena limit.
42058         (arena_get2): Atomically check arena limit.
42059
42060 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42061
42062         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42063         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42064
42065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42066         instructions.
42067
42068 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42069
42070         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42071         handler when locking.
42072
42073         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42074         Fix size of allocated buffer.
42075
42076 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42077
42078         [BZ #10103]
42079         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42080         declarations for long double functions.
42081         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42082
42083         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42084
42085 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42086
42087         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42088         installed.
42089
42090         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42091         is disabled.
42092
42093 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42094
42095         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42096
42097 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42098
42099         * include/alloca.h (stackinfo_alloca_round): Define.
42100         (extend_alloca): Use it.
42101         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42102         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42103         here.
42104
42105         * scripts/check-local-headers.sh: Ignore libaudit.h.
42106
42107         * nscd/Makefile (extra-objs): Make recursively expanded.
42108
42109 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42110
42111         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42112         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42113
42114         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42115         * posix/tst-rfc3484-2.c: Likewise.
42116         * posix/tst-rfc3484-3.c: Likewise.
42117
42118         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42119         process_vm_writev.
42120         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42121         process_vm_writev.
42122         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42123         process_vm_writev from libc using GLIBC_2.15 version.
42124
42125         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42126
42127 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42128
42129         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42130         stack usage.
42131
42132 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42133
42134         [BZ #13367]
42135         * nss/getent.c (initgroups_keys): Show error message in case no group
42136         names are given.
42137
42138         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42139         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42140         __bump_nl_timestamp.
42141         * nscd/connections (nscd_init): When host database is served open
42142         netlink socket and request notification about configuration changes.
42143         (main_loop_poll): Track netlink file descriptor and bump timestamp
42144         in case data becomes available.
42145         (main_loop_epoll): Likewise.
42146         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42147         (database_pers_head): Add extra_data fileds.
42148         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42149         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42150         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42151         Adjust caller.
42152         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42153         in6ai data, call __free_in6ai.
42154         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42155         Add -DHAVE_NETLINK.
42156         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42157         interface information.  Reuse previous data if netlink timestamp
42158         is not changed.
42159         (__bump_nl_timestamp): New function.
42160         (__free_in6ai): New function.
42161
42162 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42163
42164         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42165         close_not_cancel_no_status here.
42166         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42167
42168 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42169
42170         [BZ #13276]
42171         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42172         return value.
42173
42174         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42175         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42176         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42177
42178 2011-07-03  Andreas Jaeger  <aj@suse.de>
42179
42180         [BZ #10709]
42181         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42182         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42183         * math/libm-test.inc (sin_test): Add test case.
42184
42185 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42186
42187         [BZ #13337]
42188         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42189         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42190
42191         * elf/chroot_canon.c (chroot_canon): Cleanups.
42192
42193         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42194
42195         [BZ #13335]
42196         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42197         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42198
42199         * string/test-strchr.c: Make usable for strchrnul testing.
42200         * string/test-strchrnul.c: New file.
42201         * string/Makefile (strop-tests): Add strchrnul.
42202
42203         * po/it.po: Update from translation team.
42204         * po/es.po: Likewise.
42205
42206 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42207
42208         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42209         the three constants needed as parameters.  Drop the others.
42210         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42211         __m128i_strloadu_tolower.
42212         Create and initialize variable zero and use it in all the places
42213         where _mm_setzero_si128 was used.
42214
42215         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42216         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42217         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42218         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42219         anymore.
42220         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42221         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42222         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42223         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42224         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42225         __mpranred, __mptan.
42226         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42227         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42228         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42229         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42230         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42231         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42232         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42233         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42234         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42235
42236 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42237
42238         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42239         redefine if SHARED.
42240         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42241
42242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42243         wide char related routines to wcsmbs subdir.
42244
42245 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42246
42247         [BZ #13344]
42248         * misc/sys/cdefs.h (__THROWNL): Define.
42249         * posix/unistd.h: Use __THREADNL instead of __THREAD
42250         for memory synchronization functions.
42251
42252 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42253
42254         [BZ #13349]
42255         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42256         doesn't exist.
42257         * manual/stdio.texi (Obstack Streams): Node removed.
42258
42259 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42260
42261         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42262         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42263         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42264
42265         * math/math_private.h (math_force_eval): Allow non-addressable
42266         arguments.
42267         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42268
42269 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42270
42271         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42272         file is not needed.
42273
42274         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42275         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42276         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42277         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42278         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42279         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42280         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42281         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42282         Add AVX variants.
42283         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42284         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42285         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42286         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42287         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42288         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42289         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42290         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42291         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42292         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42293         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42294         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42295         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42296         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42297         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42298         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42299         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42300         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42301         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42302
42303         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42304         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42305
42306         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42307         place.  Use VEX encoding when compiling for AVX.
42308
42309 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42310
42311         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42312         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42313
42314         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42315
42316 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42317
42318         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42319         useless if() expression.
42320         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42327         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42328         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42330         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42331         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42332         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42333         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42334         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42335         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42336         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42338         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42339
42340         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42341
42342 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42343
42344         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42345         condition.
42346         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42347
42348 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42349
42350         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42351         .text section.  Avoid duplicate constants.
42352         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42353         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42356         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42360         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42361         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42362         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42363         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42364         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42365         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42366         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42367         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42368         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42369         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42370         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42371         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42372         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42373         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42374         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42375         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42376         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42377         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42378         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42379         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42380         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42381         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42382         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42383         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42384         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42385         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42386         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42387         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42388         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42389         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42390         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42391         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42392         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42393         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42394         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42395         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42396         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42397
42398 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42399
42400         * sysdeps/x86_64/dla.h: Move to ...
42401         * sysdeps/x86_64/fpu/dla.h: ...here.
42402         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42403         situations.  Use __builtin_fma only for gcc 4.6 and up.
42404
42405         * config.make.in: Add have-mfma4 entry.
42406         * configure.in: Substitute libc_cv_cc_fma4.
42407         * math/Makefile (dbl-only-routines): Add sincostab.
42408         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42409         Use __sincostab not sincos.
42410         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42411         name is a macro.
42412         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42413         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42414         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42416         using __copysign.
42417         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42418         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42419         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42420         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42421         and __inv.
42422         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42423         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42424         __copysign.
42425         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42426         define aliases when function name is a macro.
42427         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42428         sysdeps/ieee754/dbl-64/sincos.tbl.
42429         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42430         fma4-enabled routines.
42431         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42432         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42433         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42434         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42436         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42438         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42439         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42440         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42441         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42442         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42443         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42444         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42445         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42446         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42447         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42448         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42449         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42450         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42451         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42452         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42453         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42454         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42455         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42456         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42458         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42459         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42460         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42461
42462         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42463         rename.
42464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42465         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42470         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42472
42473 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42474
42475         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42476
42477 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42478
42479         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42480
42481         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42482         prediction.
42483         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42484
42485         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42486         Remove unused variable magic_bits.
42487         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42488
42489         * string/strnlen.c: Define and use STRNLEN macro.
42490         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42491         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42492         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42493         * wcsmbs/wcslen.c: Define and use WCSLEN.
42494         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42495         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42496         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42497         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42498         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42499         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42500         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42501
42502 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42503
42504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42505         strnlen-sse2-no-bsf.
42506         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42507         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42508         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42509         Add strnlen support.
42510         (USE_AS_STRNLEN): New macro.
42511         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42512         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42513         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42514         * sysdeps/x86_64/wcslen.S: New file.
42515
42516 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42517
42518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42519         XMM-moves are used for copying on small sizes.
42520
42521 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42522
42523         * wcsmbs/Makefile (strop-tests): Add wcschr.
42524         * wcsmbs/test-wcschr.c: New file.
42525         * string/test-strchr.c: Update.
42526         Add wcschr support.
42527         (WIDE): New macro.
42528
42529 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42530
42531         * wcsmbs/Makefile (strop-tests): Add wcslen.
42532         * wcsmbs/test-wcslen.c: New file.
42533         * string/test-strlen.c: Update.
42534         Add wcslen support.
42535         (WIDE): New macro.
42536
42537 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42538
42539         * po/it.po: Update from translation team.
42540
42541 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42542
42543         * sysdeps/x86_64/wcscmp.S: Update.
42544         Fix wrong comparison semantics.
42545         wcscmp shall use signed comparison not unsigned.
42546         Don't use substraction to avoid overflow bug.
42547         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42548         * wcsmbc/wcscmp.c: Likewise.
42549         * string/test-strcmp.c: Likewise.
42550         Add new tests to check cases with negative values.
42551
42552 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42553
42554         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42555         * sysdeps/x86_64/dla.h: ...here.  New file.
42556         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42565
42566 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42567
42568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42569         __ynl_finite aliases.
42570
42571 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42572
42573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42574
42575         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42576         define DLA_FMA.
42577         [DLA_FMA] (EMULV): Use DLA_FMA.
42578         [DLA_FMA] (MUL12): Use EMULV.
42579         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42580         that are not needed.
42581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42588
42589 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42590
42591         * math/s_nan.c: Undef __nan.
42592         * math/s_nanf.c: Undef __nanf.
42593         * math/s_nanl.c: Undef __nanl.
42594         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42595         "math_private.h".
42596
42597 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42598
42599         * math/s_catan.c: Add branch predictions.
42600         * math/s_catanf.c: Likewise.
42601         * math/s_catanh.c: Likewise.
42602         * math/s_catanhf.c: Likewise.
42603         * math/s_catanhl.c: Likewise.
42604         * math/s_catanl.c: Likewise.
42605         * math/s_cexp.c: Likewise.
42606         * math/s_cexpf.c: Likewise.
42607         * math/s_cexpl.c: Likewise.
42608         * math/s_clog.c: Likewise.
42609         * math/s_clog10.c: Likewise.
42610         * math/s_clog10f.c: Likewise.
42611         * math/s_clog10l.c: Likewise.
42612         * math/s_clogf.c: Likewise.
42613         * math/s_clogl.c: Likewise.
42614         * math/s_csqrt.c: Likewise.
42615         * math/s_csqrtf.c: Likewise.
42616         * math/s_csqrtl.c: Likewise.
42617         * math/s_ctanf.c: Likewise.
42618         * math/s_ctanh.c: Likewise.
42619         * math/s_ctanhf.c: Likewise.
42620         * math/s_ctanhl.c: Likewise.
42621         * math/s_ctanl.c: Likewise.
42622
42623         * math/math_private.h: Define __nan, __nanf, __nanl.
42624         * math/s_cacosh.c: Include <math_private.h>.
42625         * math/s_cacoshl.c: Likewise.
42626         * math/s_casinh.c: Likewise.
42627         * math/s_casinhf.c: Likewise.
42628         * math/s_casinhl.c: Likewise.
42629         * math/s_ccos.c: Rely entire on ccosh.
42630         * math/s_ccosf.c: Rely entire on ccoshf.
42631         * math/s_ccosl.c: Rely entirely on ccoshl.
42632         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42633         Remove tests for FE_INVALID.
42634         * math/s_ccoshf.c: Likewise.
42635         * math/s_ccoshl.c: Likewise.
42636         * math/s_csin.c: Likewise.
42637         * math/s_csinf.c: Likewise.
42638         * math/s_csinh.c Likewise.
42639         * math/s_csinhf.c: Likewise.
42640         * math/s_csinhl.c: Likewise.
42641         * math/s_csinl.c: Likewise.
42642         * math/s_ctan.c: Likewise.
42643         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42644         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42645         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42646
42647 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42648
42649         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42650         compilation problems.
42651
42652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42653         __builtin_expect.
42654
42655 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42656
42657         * sysdeps/i386/configure.in: Test for -mfma4 option.
42658         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42659         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42660         COMMON_CPUID_INDEX_80000001.
42661         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42662         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42663         use it if FMA3 is not supported.
42664         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42665
42666         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42667         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42668
42669 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42670
42671         [BZ #12892]
42672         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42673         it would create a cycle with a link time dependency.
42674
42675 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42676
42677         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42678         instruction.
42679         * string/Makefile (strop-tests): Add rawmemchr.
42680         * string/test-rawmemchr.c: New file.
42681
42682         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42683         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42684         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42685         when compiling str{,n}casecmp and when AVX is available.  Hook up
42686         new optimized code in initializers.
42687
42688 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42689
42690         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42691         __feraiseexcept instead of feraiseexcept.
42692
42693 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42694
42695         * math/math_private.h: Define defaults for libc_fetestexcept and
42696         libc_feupdateenv.
42697         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42698         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42699         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42700         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42701         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42702         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42703         libc_fetestexcept and libc_feupdateenv.
42704
42705         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42706         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42707         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42708         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42709         libc_feholdexcept_setround.
42710
42711         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42712         Add s_nearbyint-c and s_nearbyintf-c.
42713         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42714         nearbyintf inlines.
42715         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42716         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42717         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42718         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42719
42720         * math/math_private.h: Define defaults for libc_fegetround,
42721         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42722         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42723         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42724         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42725         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42726         standard functions.
42727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42728         Remove comments and hacks for old compiler versions.
42729         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42730         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42731         libc_feholdexceptl.
42732
42733 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42734
42735         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42736         (__feraiseexcept_renamed): Add __NTH.
42737         (feraiseexcept): Add __NTH.  Rename local variables to fix
42738         namespace violations.
42739
42740 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42741
42742         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42743
42744         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42745
42746         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42747         recently added interfaces.
42748         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42749
42750         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42751         about macro parameter expansion.
42752
42753         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42754         __NO_MATH_INLINES is defined.  Cleanups.
42755
42756         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42757         and __floorf is target has SSE4.1.
42758         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42759         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42760         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42761         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42762
42763         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42764         name.
42765         (floorf): Likewise.
42766
42767         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42768
42769 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42770
42771         * misc/sys/cdefs.h: Fix last change.
42772
42773         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42774         database lookup.
42775
42776 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42777
42778         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42779
42780         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42781         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42782         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42783         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42784         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42786         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42787         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42788         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42789         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42790         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42791         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42792         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42793         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42794         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42795         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42796         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42797         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42798         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42799         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42800         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42801         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42802
42803         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42804         ceil, ceilf, floor, floorf.
42805
42806         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42807         Perform IRELATIVE relocations last.
42808
42809         * elf/do-rel.h: Add another parameter nrelative, replacing the
42810         local variable with the same name.  Change name of the function
42811         to end in Rel or Rela (uppercase).
42812         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42813         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42814         elf_dynamic_do_##reloc function.
42815
42816 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42817
42818         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42819         is sufficient, at least on modern CPUs.
42820
42821         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42822
42823         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42824         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42825
42826         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42827         __expl_finite.
42828         * math/bits/math-finite.h: Add entries for exp.
42829         * math/e_expl.c: Add __*_finite alias.
42830         * sysdeps/i386/fpu/e_exp.S: Likewise.
42831         * sysdeps/i386/fpu/e_expf.S: Likewise.
42832         * sysdeps/i386/fpu/e_expl.c: Likewise.
42833         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42834         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42835         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42837         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42838         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42839         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42840
42841         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42842         is sufficient, at least on modern CPUs.
42843
42844         * ctype/ctype-info.c (__ctype_init): Define.
42845         * include/ctype.h (__ctype_init): Declare.
42846         (__ctype_b_loc): The variable is always initialized.
42847         (__ctype_toupper_loc): Likewise.
42848         (__ctype_tolower_loc): Likewise.
42849         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42850         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42851
42852 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42853
42854         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42855
42856         * configure.in: Also look in $cxxmachine/include for C++ system
42857         headers.
42858
42859 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42860
42861         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42862         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42863         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42864         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42865         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42866         (USE_AS_WMEMCMP): New macro.
42867         Fixing indents.
42868         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42869         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42870         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42871         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42872         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42873         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42874         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42875         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42876         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42877         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42878         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42879         (USE_AS_WMEMCMP): New macro.
42880         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42881         * sysdeps/string/test-memcmp.c: Update.
42882         Fix simple_wmemcmp.
42883         Add new tests.
42884         * wcsmbs/wmemcmp.c: Update.
42885         (WMEMCMP): New macro.
42886         Fix overflow bug.
42887
42888 2011-10-12  Andreas Jaeger  <aj@suse.de>
42889
42890         [BZ #13268]
42891         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42892
42893 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42894
42895         * libio/iofwide.c (do_length): Avoid warning.
42896
42897         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42898
42899 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42900
42901         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42902
42903         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42904         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42905         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42906         * sysdeps/i386/i686/fpu/e_log.S: New file.
42907         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42908         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42909
42910         * ctype/ctype.h: Add support for inlined isXXX functions when
42911         compiling C++ code.
42912
42913 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42914
42915         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42916
42917         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42918
42919 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42920
42921         [BZ #13291]
42922         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42923
42924 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42925
42926         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42927         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42928         feraiseexcept.
42929
42930         * sysdeps/x86_64/memrchr.S: Check for zero size.
42931
42932         * string/stratcliff.c: Add memrchr tests.
42933
42934 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42935
42936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42937         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42938         rawmemchr-sse2 rawmemchr-sse2-bsf.
42939         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42940         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42941         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42942         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42943         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42944         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42945         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42946         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42947         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42948         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42949         * string/memrchr.c (MEMRCHR): New macro.
42950
42951 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42952
42953         Add integration with gcc's -ffinite-math-only and optimize wrapper
42954         functions in libm.
42955         * Versions.def: Define GLIBC_2.15 version for libm.
42956         * math/Makefile (headers): Add bits/math-finite.h.
42957         * math/bits/math-finite.h: New file.
42958         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42959         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42960         * math/e_acoshl.c: Add __*_finite alias.
42961         * math/e_acosl.c: Likewise.
42962         * math/e_asinl.c: Likewise.
42963         * math/e_atan2l.c: Likewise.
42964         * math/e_atanhl.c: Likewise.
42965         * math/e_coshl.c: Likewise.
42966         * math/e_exp10.c: Likewise.
42967         * math/e_exp10f.c: Likewise.
42968         * math/e_exp10l.c: Likewise.
42969         * math/e_exp2l.c: Likewise.
42970         * math/e_fmodl.c: Likewise.
42971         * math/e_gammal_r.c: Likewise.
42972         * math/e_hypotl.c: Likewise.
42973         * math/e_j0l.c: Likewise.
42974         * math/e_j1l.c: Likewise.
42975         * math/e_jnl.c: Likewise.
42976         * math/e_lgammal_r.c: Likewise.
42977         * math/e_log10l.c: Likewise.
42978         * math/e_log2l.c: Likewise.
42979         * math/e_logl.c: Likewise.
42980         * math/e_powl.c: Likewise.
42981         * math/e_sinhl.c: Likewise.
42982         * math/e_sqrtl.c: Likewise.
42983         * math/e_scalb.c: Completely rewritten and optimized.
42984         * math/e_scalbf.c: Likewise.
42985         * math/e_scalbl.c: Likewise.
42986         * math/w_acos.c: Likewise.
42987         * math/w_acosf.c: Likewise.
42988         * math/w_acosl.c: Likewise.
42989         * math/w_acosh.c: Likewise.
42990         * math/w_acoshf.c: Likewise.
42991         * math/w_acoshl.c: Likewise.
42992         * math/w_asin.c: Likewise.
42993         * math/w_asinf.c: Likewise.
42994         * math/w_asinl.c: Likewise.
42995         * math/w_atan2.c: Likewise.
42996         * math/w_atan2f.c: Likewise.
42997         * math/w_atan2l.c: Likewise.
42998         * math/w_atanh.c: Likewise.
42999         * math/w_atanhf.c: Likewise.
43000         * math/w_atanhl.c: Likewise.
43001         * math/w_exp10.c: Likewise.
43002         * math/w_exp10f.c: Likewise.
43003         * math/w_exp10l.c: Likewise.
43004         * math/w_fmod.c: Likewise.
43005         * math/w_fmodf.c: Likewise.
43006         * math/w_fmodl.c: Likewise.
43007         * math/w_j0.c: Likewise.
43008         * math/w_j0f.c: Likewise.
43009         * math/w_j0l.c: Likewise.
43010         * math/w_j1.c: Likewise.
43011         * math/w_j1f.c: Likewise.
43012         * math/w_j1l.c: Likewise.
43013         * math/w_jn.c: Likewise.
43014         * math/w_jnf.c: Likewise.
43015         * math/w_log.c: Likewise.
43016         * math/w_logf.c: Likewise.
43017         * math/w_logl.c: Likewise.
43018         * math/w_log10.c: Likewise.
43019         * math/w_log10f.c: Likewise.
43020         * math/w_log10l.c: Likewise.
43021         * math/w_log2.c: Likewise.
43022         * math/w_log2f.c: Likewise.
43023         * math/w_log2l.c: Likewise.
43024         * math/w_pow.c: Likewise.
43025         * math/w_powf.c: Likewise.
43026         * math/w_powl.c: Likewise.
43027         * math/w_remainder.c: Likewise.
43028         * math/w_remainderf.c: Likewise.
43029         * math/w_remainderl.c: Likewise.
43030         * math/w_scalb.c: Likewise.
43031         * math/w_scalbf.c: Likewise.
43032         * math/w_scalbl.c: Likewise.
43033         * math/w_sqrt.c: Likewise.
43034         * math/w_sqrtf.c: Likewise.
43035         * math/w_sqrtl.c: Likewise.
43036         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43037         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43038         used.
43039         * math/math_private.h: Declare __kernel_standard_f.
43040         * math/w_cosh.c: Remove cruft and optimize a bit.
43041         * math/w_coshf.c: Likewise.
43042         * math/w_coshl.c: Likewise.
43043         * math/w_exp2.c: Likewise.
43044         * math/w_exp2f.c: Likewise.
43045         * math/w_exp2l.c: Likewise.
43046         * math/w_hypot.c: Likewise.
43047         * math/w_hypotf.c: Likewise.
43048         * math/w_hypotl.c: Likewise.
43049         * math/w_lgamma.c: Likewise.
43050         * math/w_lgamma_r.c: Likewise.
43051         * math/w_lgammaf.c: Likewise.
43052         * math/w_lgammaf_r.c: Likewise.
43053         * math/w_lgammal.c: Likewise.
43054         * math/w_lgammal_r.c: Likewise.
43055         * math/w_sinh.c: Likewise.
43056         * math/w_sinhf.c: Likewise.
43057         * math/w_sinhl.c: Likewise.
43058         * math/w_tgamma.c: Likewise.
43059         * math/w_tgammaf.c: Likewise.
43060         * math/w_tgammal.c: Likewise.
43061         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43062         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43063         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43064         Minor optimizations.  Pretty printing.  Remove cruft.
43065         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43066         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43067         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43068         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43069         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43070         * sysdeps/i386/fpu/e_asin.S: Likewise.
43071         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43072         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43073         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43074         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43075         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43076         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43077         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43078         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43079         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43080         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43081         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43082         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43083         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43084         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43085         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43086         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43087         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43088         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43089         * sysdeps/i386/fpu/e_log.S: Likewise.
43090         * sysdeps/i386/fpu/e_log10.S: Likewise.
43091         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43092         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43093         * sysdeps/i386/fpu/e_log2.S: Likewise.
43094         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43095         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43096         * sysdeps/i386/fpu/e_logf.S: Likewise.
43097         * sysdeps/i386/fpu/e_logl.S: Likewise.
43098         * sysdeps/i386/fpu/e_pow.S: Likewise.
43099         * sysdeps/i386/fpu/e_powf.S: Likewise.
43100         * sysdeps/i386/fpu/e_powl.S: Likewise.
43101         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43102         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43103         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43104         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43105         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43106         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43107         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43108         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43109         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43110         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43111         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43112         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43113         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43115         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43116         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43117         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43119         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43120         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43121         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43122         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43123         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43124         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43125         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43126         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43127         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43128         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43129         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43130         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43131         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43132         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43133         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43134         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43135         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43136         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43137         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43138         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43139         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43140         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43141         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43142         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43143         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43144         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43145         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43146         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43147         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43148         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43149         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43150         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43151         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43156         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43159         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43160         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43161         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43162         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43163         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43164         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43165         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43166         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43167         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43168         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43169         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43170         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43171         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43175         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43178         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43179         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43181         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43184         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43185         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43186         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43187         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43188         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43189         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43190         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43191         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43192         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43193         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43194         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43195         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43196         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43197         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43198         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43199         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43200         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43201         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43202         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43203         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43204         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43205         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43206         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43207         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43208         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43209         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43210         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43211         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43212         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43213         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43214         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43215         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43216         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43217         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43218         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43219         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43220         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43221         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43222         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43223         (__isnanf): Likewise.
43224         (__isinf_ns): Likewise.
43225         (__isinf_nsf): Likewise.
43226         (__finite): Likewise.
43227         (__finitef): Likewise.
43228         (__ieee754_sqrt): Define as macro.
43229         (__ieee754_sqrtf): Define as macro.
43230         (__ieee754_sqrtl): Define as macro.
43231         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43232         inlined copy.
43233         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43234         __FINITE_MATH_ONLY__ consistent.
43235         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43236
43237 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43238
43239         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43240         of rawmemchr.
43241
43242         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43243
43244 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43245
43246         * po/ja.po: Update from translation team.
43247
43248 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43249
43250         * locale/programs/locarchive.c (prepare_address_space): New function.
43251         (create_archive, enlarge_archive, open_archive): Use it.
43252
43253         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43254         inside [SHARED], where it is used.
43255
43256         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43257
43258         * nss/getent.c (netgroup_keys): Remove unused variable.
43259         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43260
43261 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43262
43263         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43264         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43265         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43266         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43267         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43268         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43269         * math/Makefile (libm-calls): Add s_isinf_ns.
43270         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43271         * math/multc3.c: Likewise.
43272         * math/s_casin.c: Likewise.
43273         * math/s_casinf.c: Likewise.
43274         * math/s_casinl.c: Likewise.
43275         * math/s_ccos.c: Likewise.
43276         * math/s_ccosf.c: Likewise.
43277         * math/s_ccosl.c: Likewise.
43278         * math/s_ctan.c: Likewise.
43279         * math/s_ctanf.c: Likewise.
43280         * math/s_ctanh.c: Likewise.
43281         * math/s_ctanhf.c: Likewise.
43282         * math/s_ctanhl.c: Likewise.
43283         * math/s_ctanl.c: Likewise.
43284         * math/w_fmod.c: Likewise.
43285         * math/w_fmodf.c: Likewise.
43286         * math/w_fmodl.c: Likewise.
43287         * math/w_remainder.c: Likewise.
43288         * math/w_remainderf.c: Likewise.
43289         * math/w_remainderl.c: Likewise.
43290         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43291         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43292         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43293         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43294         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43295         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43296         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43297         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43298
43299         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43300         of the number.
43301         * stdio-common/printf_fphex.c: Likewise.
43302         * stdio-common/printf_size.c: Likewise.
43303
43304         * math/e_exp10.c: Include math_private.h using <...> not "...".
43305         * math/e_exp10f.c: Likewise.
43306         * math/e_exp10l.c: Likewise.
43307         * math/e_exp2l.c: Likewise.
43308         * math/e_j0l.c: Likewise.
43309         * math/e_j1l.c: Likewise.
43310         * math/e_jnl.c: Likewise.
43311         * math/e_lgammal_r.c: Likewise.
43312         * math/e_rem_pio2l.c: Likewise.
43313         * math/e_scalb.c: Likewise.
43314         * math/e_scalbf.c: Likewise.
43315         * math/e_scalbl.c: Likewise.
43316         * math/k_cosl.c: Likewise.
43317         * math/k_sinl.c: Likewise.
43318         * math/k_tanl.c: Likewise.
43319         * math/s_cacoshf.c: Likewise.
43320         * math/s_catan.c: Likewise.
43321         * math/s_catanf.c: Likewise.
43322         * math/s_catanh.c: Likewise.
43323         * math/s_catanhf.c: Likewise.
43324         * math/s_catanhl.c: Likewise.
43325         * math/s_catanl.c: Likewise.
43326         * math/s_ccosh.c: Likewise.
43327         * math/s_ccoshf.c: Likewise.
43328         * math/s_ccoshl.c: Likewise.
43329         * math/s_cexp.c: Likewise.
43330         * math/s_cexpf.c: Likewise.
43331         * math/s_cexpl.c: Likewise.
43332         * math/s_clog.c: Likewise.
43333         * math/s_clog10.c: Likewise.
43334         * math/s_clog10f.c: Likewise.
43335         * math/s_clog10l.c: Likewise.
43336         * math/s_clogf.c: Likewise.
43337         * math/s_clogl.c: Likewise.
43338         * math/s_csin.c: Likewise.
43339         * math/s_csinf.c: Likewise.
43340         * math/s_csinh.c: Likewise.
43341         * math/s_csinhf.c: Likewise.
43342         * math/s_csinhl.c: Likewise.
43343         * math/s_csinl.c: Likewise.
43344         * math/s_csqrt.c: Likewise.
43345         * math/s_csqrtf.c: Likewise.
43346         * math/s_csqrtl.c: Likewise.
43347         * math/s_ctan.c: Likewise.
43348         * math/s_ctanf.c: Likewise.
43349         * math/s_ctanh.c: Likewise.
43350         * math/s_ctanhf.c: Likewise.
43351         * math/s_ctanhl.c: Likewise.
43352         * math/s_ctanl.c: Likewise.
43353         * math/s_ldexp.c: Likewise.
43354         * math/s_ldexpf.c: Likewise.
43355         * math/s_ldexpl.c: Likewise.
43356         * math/s_significand.c: Likewise.
43357         * math/s_significandf.c: Likewise.
43358         * math/s_significandl.c: Likewise.
43359         * math/w_acos.c: Likewise.
43360         * math/w_acosf.c: Likewise.
43361         * math/w_acosh.c: Likewise.
43362         * math/w_acoshf.c: Likewise.
43363         * math/w_acoshl.c: Likewise.
43364         * math/w_acosl.c: Likewise.
43365         * math/w_asin.c: Likewise.
43366         * math/w_asinf.c: Likewise.
43367         * math/w_asinl.c: Likewise.
43368         * math/w_atan2.c: Likewise.
43369         * math/w_atan2f.c: Likewise.
43370         * math/w_atan2l.c: Likewise.
43371         * math/w_atanh.c: Likewise.
43372         * math/w_atanhf.c: Likewise.
43373         * math/w_atanhl.c: Likewise.
43374         * math/w_cosh.c: Likewise.
43375         * math/w_coshf.c: Likewise.
43376         * math/w_coshl.c: Likewise.
43377         * math/w_dremf.c: Likewise.
43378         * math/w_exp10.c: Likewise.
43379         * math/w_exp10f.c: Likewise.
43380         * math/w_exp10l.c: Likewise.
43381         * math/w_exp2.c: Likewise.
43382         * math/w_exp2f.c: Likewise.
43383         * math/w_fmod.c: Likewise.
43384         * math/w_fmodf.c: Likewise.
43385         * math/w_fmodl.c: Likewise.
43386         * math/w_hypot.c: Likewise.
43387         * math/w_hypotf.c: Likewise.
43388         * math/w_hypotl.c: Likewise.
43389         * math/w_j0.c: Likewise.
43390         * math/w_j0f.c: Likewise.
43391         * math/w_j0l.c: Likewise.
43392         * math/w_j1.c: Likewise.
43393         * math/w_j1f.c: Likewise.
43394         * math/w_j1l.c: Likewise.
43395         * math/w_jn.c: Likewise.
43396         * math/w_jnf.c: Likewise.
43397         * math/w_jnl.c: Likewise.
43398         * math/w_lgamma.c: Likewise.
43399         * math/w_lgamma_r.c: Likewise.
43400         * math/w_lgammaf.c: Likewise.
43401         * math/w_lgammaf_r.c: Likewise.
43402         * math/w_lgammal.c: Likewise.
43403         * math/w_lgammal_r.c: Likewise.
43404         * math/w_log.c: Likewise.
43405         * math/w_log10.c: Likewise.
43406         * math/w_log10f.c: Likewise.
43407         * math/w_log10l.c: Likewise.
43408         * math/w_log2.c: Likewise.
43409         * math/w_log2f.c: Likewise.
43410         * math/w_log2l.c: Likewise.
43411         * math/w_logf.c: Likewise.
43412         * math/w_logl.c: Likewise.
43413         * math/w_pow.c: Likewise.
43414         * math/w_powf.c: Likewise.
43415         * math/w_powl.c: Likewise.
43416         * math/w_remainder.c: Likewise.
43417         * math/w_remainderf.c: Likewise.
43418         * math/w_remainderl.c: Likewise.
43419         * math/w_scalb.c: Likewise.
43420         * math/w_scalbf.c: Likewise.
43421         * math/w_scalbl.c: Likewise.
43422         * math/w_sinh.c: Likewise.
43423         * math/w_sinhf.c: Likewise.
43424         * math/w_sinhl.c: Likewise.
43425         * math/w_sqrt.c: Likewise.
43426         * math/w_sqrtf.c: Likewise.
43427         * math/w_sqrtl.c: Likewise.
43428         * math/w_tgamma.c: Likewise.
43429         * math/w_tgammaf.c: Likewise.
43430         * math/w_tgammal.c: Likewise.
43431
43432         * po/ja.po: Update from translation team.
43433
43434 2011-09-29  Andreas Jaeger  <aj@suse.de>
43435
43436         [BZ #13179]
43437         * sunrpc/netname.c (netname2host): Fix logic.
43438
43439         [BZ #6779]
43440         [BZ #6783]
43441         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43442         correctly.
43443         * math/w_remainder.c (__remainder): Likewise.
43444         * math/w_remainderf.c (__remainderf): Likewise.
43445         * math/libm-test.inc (remainder_test): Add test cases.
43446
43447 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43448
43449         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43450         sdiv_qrnnd.
43451
43452 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43453
43454         * string/test-memcmp.c: Avoid unncessary #defines.
43455         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43456
43457 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43458
43459         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43460         Use new sse2 version for core i3 - i7 as it's faster
43461         than sse42 version.
43462         (bit_Prefer_PMINUB_for_stringop): New.
43463         * sysdeps/x86_64/rawmemchr.S: Update.
43464         Replace with faster SSE2 version.
43465         * sysdeps/x86_64/memrchr.S: New file.
43466         * sysdeps/x86_64/memchr.S: Update.
43467         Replace with faster SSE2 version.
43468
43469 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43470
43471         * elf/dl-load.c (lose): Add cast to avoid warning.
43472
43473 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43474
43475         * po/ca.po: Update from translation team.
43476
43477         * inet/getnetgrent_r.c: Hook up nscd.
43478         * nscd/Makefile (routines): Add nscd_netgroup.
43479         (nscd-modules): Add netgroupcache.
43480         (CFLAGS-netgroupcache.c): Define.
43481         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43482         (cache_search): Add const to second parameter.
43483         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43484         INNETGR.
43485         (dbs): Add netgrdb entry.
43486         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43487         (verify_persistent_db): Handle netgrdb.
43488         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43489         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43490         GETFDNETGR.
43491         (netgroup_response_header): Define.
43492         (innetgroup_response_header): Define.
43493         (datahead): Add netgroup_response_header and innetgroup_response_header
43494         elements.
43495         * nscd/nscd.conf: Add entries for netgroup cache.
43496         * nscd/nscd.h (dbtype): Add netgrdb.
43497         (_PATH_NSCD_NETGROUP_DB): Define.
43498         (netgroup_iov_disabled): Declare.
43499         (xmalloc, xcalloc, xrealloc): Move declarations here.
43500         (cache_search): Adjust prototype.
43501         Add netgroup-related prototypes.
43502         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43503         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43504         (__nscd_innetgr): Declare.
43505         * nscd/selinux.c (perms): Use access_vector_t as element type and
43506         add netgroup-related initializers.
43507         * nscd/netgroupcache.c: New file.
43508         * nscd/nscd_netgroup.c: New file.
43509         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43510         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43511         For four parameters use innetgr.
43512         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43513         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43514         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43515         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43516
43517         * nscd/connections.c (register_traced_file): Don't register file
43518         for disabled databases.
43519
43520 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43521
43522         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43523
43524         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43525         from tree and freeing node.
43526
43527 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43528
43529         * nss/nsswitch.c (__nss_database_lookup): Handle
43530         nss_parse_service_list out of memory case.
43531
43532 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43533
43534         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43535         out of memory case.
43536
43537 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43538
43539         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43540         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43541         pass it down.
43542         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43543         elf_machine_rela, elf_machine_lazy_rel.
43544         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43545         (ELF_DYNAMIC_DO_REL): Likewise.
43546         (ELF_DYNAMIC_DO_RELA): Likewise.
43547         (ELF_DYNAMIC_RELOCATE): Likewise.
43548         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43549         to ELF_DYNAMIC_DO_REL.
43550         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43551         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43552         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43553         elf_machine_rela.
43554         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43555         skip_ifunc, don't call ifunc function if non-zero.
43556         (elf_machine_rela): Likewise.
43557         (elf_machine_lazy_rel): Likewise.
43558         (elf_machine_lazy_rela): Likewise.
43559         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43560         (elf_machine_lazy_rel): Likewise.
43561         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43562         Likewise.
43563         (elf_machine_lazy_rel): Likewise.
43564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43565         Likewise.
43566         (elf_machine_lazy_rel): Likewise.
43567         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43568         (elf_machine_lazy_rel): Likewise.
43569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43570         (elf_machine_lazy_rel): Likewise.
43571         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43572         (elf_machine_lazy_rel): Likewise.
43573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43574         (elf_machine_lazy_rel): Likewise.
43575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43576         (elf_machine_lazy_rel): Likewise.
43577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43578         (elf_machine_lazy_rel): Likewise.
43579
43580 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43581
43582         * nss/nss_files/files-init.c (_nss_files_init): Use static
43583         initialization for all the *_traced_file variables.
43584
43585 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43586
43587         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43588
43589 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43590
43591         [BZ #13226]
43592         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43593
43594 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43595
43596         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43597         Reread the line before reparsing it.
43598
43599 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43600
43601         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43602
43603 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43604             Maxim Kuvyrkov  <maxim@codesourcery.com>
43605             Joseph Myers  <joseph@codesourcery.com>
43606
43607         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43608         if needed for __stack_chk_guard.
43609
43610 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43611
43612         * sysdeps/posix/spawni.c (script_execute): Always define it.
43613         It will be optimized away if unused.
43614         (maybe_script_execute): New function.
43615         (__spawni): Call it.
43616
43617         * Makerules: Don't include tls.make.
43618         (config-tls): Always set to thread.
43619         * tls.make.c: File removed.
43620
43621 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43622
43623         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43624         * config.make.in (CPPFLAGS-config): New substituted variable.
43625
43626 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43627
43628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43629
43630         [BZ #13192]
43631         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43632         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43633
43634 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43635
43636         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43637         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43638         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43639         (CALL_FAIL): Likewise.
43640         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43641         (CALL_FAIL): Macro removed.
43642         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43643
43644 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43645
43646         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43647         for __FINITE_MATH_ONLY__ == 1.
43648
43649 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43650
43651         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43652         __ieee754_sqrt instead of sqrt.
43653         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43654         __ieee754_sqrtf instead of sqrtf.
43655         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43656         __floorf instead of floorf.
43657         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43658         __floorf, __truncf instead of floorf, truncf.
43659
43660 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43661
43662         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43663
43664         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43665         __extern_always_inline.
43666         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43667         32-bit.
43668
43669 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43670
43671         * elf/rtld.c (dl_main): Also relocate in dependency order when
43672         doing symbol dependency testing.
43673
43674 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43675
43676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43677         Always define `refsym'.
43678
43679 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43680
43681         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43682         (__FD_ELT): Renamed from __FDELT.
43683         * misc/bits/select2.h (__FD_ELT): Likewise.
43684         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43685         __FD_MASK instead of __FDELT, __FDMASK.
43686         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43687         Likewise.
43688         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43689         Likewise.
43690
43691         * elf/Makefile (gen-ldd): Fix pattern.
43692
43693         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43694         (init_tls): Likewise.
43695
43696 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43697
43698         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43699
43700 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43701
43702         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43703         `struct cmsghdr *' instead of `void *'.
43704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43705         Likewise.
43706
43707 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43708
43709         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43710         if non-absolute.
43711         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43712         ldd_rewrite_script.
43713
43714 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43715
43716         * configure.in: Remove --with-tls option.
43717         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43718         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43719         out in case it is missing.
43720         * sysdeps/ia64/elf/configure.in: Likewise.
43721         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43722         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43723         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43724         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43725         * sysdeps/sh/elf/configure.in: Likewise.
43726         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43727         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43728         * sysdeps/x86_64/elf/configure.in: Likewise.
43729         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43730         * sysdeps/mach/hurd/tls.h: Likewise.
43731
43732         [BZ #13067]
43733         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43734
43735         [BZ #13090]
43736         * configure.in: Fix use of AC_INIT.
43737
43738         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43739
43740 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43741
43742         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43743         __set_errno.
43744         * malloc/hooks.c: Likewise.
43745
43746         [BZ #11929]
43747         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43748         variables statically.
43749         (narenas): Initialize.
43750         (list_lock): Initialize.
43751         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43752         initializtion of main_arena and list_lock.  Small cleanups.
43753         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43754         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43755         Add initializers to main_arena and mp_.
43756         (malloc_state): Remove pagesize member.  Change all users to use
43757         GLRO(dl_pagesize).
43758
43759         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43760         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43761         is always initialized.
43762
43763         * malloc/malloc.c: Removed unused configurations and dead code.
43764         * malloc/arena.c: Likewise.
43765         * malloc/hooks.c: Likewise.
43766         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43767
43768         * include/tls.h: Removed.  USE___THREAD must always be defined.
43769         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43770         * elf/dl-libc.c: Likewise.
43771         * elf/dl-tsd.c: Likewise.
43772         * include/errno.h: Likewise.
43773         * include/netdb.h: Likewise.
43774         * include/resolv.h: Likewise.
43775         * inet/herrno-loc.c: Likewise.
43776         * inet/herrno.c: Likewise.
43777         * malloc/arena.c: Likewise.
43778         * malloc/hooks.c: Likewise.
43779         * malloc/malloc.c: Likewise.
43780         * resolv/res-state.c: Likewise.
43781         * resolv/res_libc.c: Likewise.
43782         * sysdeps/i386/dl-machine.h: Likewise.
43783         * sysdeps/ia64/dl-machine.h: Likewise.
43784         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43785         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43786         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43787         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43788         * sysdeps/sh/dl-machine.h: Likewise.
43789         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43790         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43791         * sysdeps/unix/i386/sysdep.S: Likewise.
43792         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43793         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43795         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43798         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43802         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43803         * sysdeps/x86_64/dl-machine.h: Likewise.
43804         * tls.make.c: Likewise.
43805
43806         * configure.in: Remove --with-__thread option.  Make tests for
43807         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43808         tls_model attribute fail if no support is available.  Remove
43809         USE_IN_LIBIO.
43810         * Makeconfig: Adjust for dropped configure option.  All features are
43811         now mandatory.
43812         * Makerules: Likewise.
43813         * Versions.def: Likewise.
43814         * argp/argp-fmtstream.c: Likewise.
43815         * argp/argp-fmtstream.h: Likewise.
43816         * argp/argp-help.c: Likewise.
43817         * assert/assert.c: Likewise.
43818         * config.h.in: Likewise.
43819         * config.make.in: Likewise.
43820         * configure: Likewise.
43821         * configure.in: Likewise.
43822         * csu/Versions: Likewise.
43823         * csu/init.c: Likewise.
43824         * elf/tst-audit2.c: Likewise.
43825         * elf/tst-tls10.c: Likewise.
43826         * elf/tst-tls10.h: Likewise.
43827         * elf/tst-tls11.c: Likewise.
43828         * elf/tst-tls12.c: Likewise.
43829         * elf/tst-tls14.c: Likewise.
43830         * elf/tst-tlsmod11.c: Likewise.
43831         * elf/tst-tlsmod12.c: Likewise.
43832         * elf/tst-tlsmod13.c: Likewise.
43833         * elf/tst-tlsmod13a.c: Likewise.
43834         * elf/tst-tlsmod14a.c: Likewise.
43835         * elf/tst-tlsmod15b.c: Likewise.
43836         * elf/tst-tlsmod16a.c: Likewise.
43837         * elf/tst-tlsmod16b.c: Likewise.
43838         * elf/tst-tlsmod7.c: Likewise.
43839         * elf/tst-tlsmod8.c: Likewise.
43840         * elf/tst-tlsmod9.c: Likewise.
43841         * gmon/gmon.c: Likewise.
43842         * grp/fgetgrent_r.c: Likewise.
43843         * grp/putgrent.c: Likewise.
43844         * hurd/fopenport.c: Likewise.
43845         * include/libc-symbols.h: Likewise.
43846         * include/tls.h: Likewise.
43847         * intl/gettextP.h: Likewise.
43848         * intl/loadinfo.h: Likewise.
43849         * locale/global-locale.c: Likewise.
43850         * locale/localeinfo.h: Likewise.
43851         * mach/devstream.c: Likewise.
43852         * malloc/arena.c: Likewise.
43853         * malloc/set-freeres.c: Likewise.
43854         * misc/err.c: Likewise.
43855         * misc/getttyent.c: Likewise.
43856         * misc/mntent_r.c: Likewise.
43857         * posix/getopt.c: Likewise.
43858         * posix/wordexp.c: Likewise.
43859         * pwd/fgetpwent_r.c: Likewise.
43860         * resolv/Versions: Likewise.
43861         * resolv/res_hconf.c: Likewise.
43862         * shadow/fgetspent_r.c: Likewise.
43863         * shadow/putspent.c: Likewise.
43864         * stdio-common/printf_fphex.c: Likewise.
43865         * stdio-common/tmpfile.c: Likewise.
43866         * stdlib/abort.c: Likewise.
43867         * stdlib/fmtmsg.c: Likewise.
43868         * sunrpc/auth_unix.c: Likewise.
43869         * sunrpc/clnt_perr.c: Likewise.
43870         * sunrpc/clnt_tcp.c: Likewise.
43871         * sunrpc/clnt_udp.c: Likewise.
43872         * sunrpc/clnt_unix.c: Likewise.
43873         * sunrpc/openchild.c: Likewise.
43874         * sunrpc/svc_simple.c: Likewise.
43875         * sunrpc/svc_tcp.c: Likewise.
43876         * sunrpc/svc_udp.c: Likewise.
43877         * sunrpc/svc_unix.c: Likewise.
43878         * sunrpc/xdr.c: Likewise.
43879         * sunrpc/xdr_array.c: Likewise.
43880         * sunrpc/xdr_rec.c: Likewise.
43881         * sunrpc/xdr_ref.c: Likewise.
43882         * sunrpc/xdr_stdio.c: Likewise.
43883
43884 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43885
43886         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43887
43888 2011-07-03  Andreas Jaeger  <aj@suse.de>
43889
43890         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43891         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43892         regenerate with gen-libm-tests.pl.
43893
43894 2010-05-12  Petr Baudis  <pasky@suse.cz>
43895
43896         [BZ #11589]
43897         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43898         around j0() zero points by switching to j1().
43899         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43903
43904 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43905
43906         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43907         instead of 0.
43908         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43909         instead of 0.
43910         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43911         Patch in part by Pavel Roskin <proski@gnu.org>.
43912
43913         [BZ #13138]
43914         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43915         realloc.
43916         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43917         Free memory block if necessary.
43918
43919         [BZ #12847]
43920         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43921         be NULL.  Don't lock in this case.
43922
43923 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43924
43925         * elf/elf.h (ELFOSABI_GNU): New macro.
43926         (ELFOSABI_LINUX): Define to that.
43927
43928 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43929
43930         * string/strncat.c (strncat): Undef the symbol in case it has been
43931         defined in bits/string.h.
43932
43933 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43934
43935         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43936
43937         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43938         link map.
43939
43940 2011-08-17  Andreas Jaeger  <aj@suse.de>
43941
43942         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43943
43944 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43945             Ian Lance Taylor  <iant@google.com>
43946
43947         * math/libm-test.inc (lround_test): New testcase.
43948         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43949
43950 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43951
43952         * Makefile: Remove support for automatic cvs check-ins.
43953         * Makerules: Likewise.
43954         * config.make.in: Likewise.
43955         * configure.in: Likewise.
43956         * intl/Makefile: Likewise.
43957         * locale/Makefile: Likewise.
43958         * po/Makefile: Likewise.
43959         * posix/Makefile: Likewise.
43960         * sysdeps/gnu/Makefile: Likewise.
43961         * sysdeps/mach/hurd/Makefile: Likewise.
43962         * sysdeps/sparc/sparc32/Makefile: Likewise.
43963
43964         [BZ #13118]
43965         * posix/Makefile (bug-regex32-ENV): Define.
43966         Patch by John Stanley <jpsinthemix@verizon.net>.
43967
43968         * misc/Makefile (headers): Add bits/select2.h.
43969         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43970         * misc/bits/select2.h: New file.
43971         * include/bits/select2.h: New file.
43972         * debug/Makefile (routines): Add fdelt_chk.
43973         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43974         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43975         FD_ISSET.
43976         * debug/fdelt_chk.c: New file.
43977
43978         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43979         * wcsmbs/test-wmemcmp.c: Likewise.
43980         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43981         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43982
43983 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43984
43985         * string/Makefile (strop-tests): Add memcmp.
43986         * string/test-wmemcmp.c: New file.
43987         * string/test-memcmp.c: Add wmemcmp support.
43988
43989 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43990
43991         [BZ #13153]
43992         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43993         2011-07-19 change.
43994
43995         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43996         garbage value in a __mach_port_mod_refs call in the cases of the
43997         task-self and thread-self ports.
43998
43999 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44000
44001         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44002
44003 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44004
44005         * elf/dl-load.c (lose): Check for non-null L.
44006
44007 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44008
44009         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44010
44011         * elf/dl-libc.c (dlerror_run): Pass back error code from
44012         dl_catch_error.
44013
44014         [BZ #13123]
44015         * elf/dl-load.c (lose): Free l_origin if it is valid.
44016
44017         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44018         names.
44019         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44020         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44021         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44022         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44023         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44024         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44025
44026 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44027
44028         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44029         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44030         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44031         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44032         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44033         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44034         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44035         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44036         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44037         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44038
44039 2011-08-15  Alan Modra  <amodra@gmail.com>
44040
44041         [BZ #13092]
44042         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44043         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44044         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44045         ppc_mcount to static-only-routines.
44046         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44047         __mcount_internal.
44048         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44049         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44050
44051 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44052
44053         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44054         for finite and infinity parameters.
44055
44056 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44057
44058         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44059         and add nop instructions for throughput optimization.
44060         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44061
44062 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44063
44064         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44065         aligned copy for power7 with vector-scalar instructions.
44066         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44067
44068 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44069
44070         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44071         AVX check.
44072
44073 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44074
44075         [BZ #13144]
44076         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44077         last change.
44078
44079 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44080
44081         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44082         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44083         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44084         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44085         clock_gettime.
44086
44087 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44088
44089         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44090         Forgot to demangle the pointer.
44091
44092         * sysdeps/i386/sysdep.h: Define atom_text_section.
44093         * sysdeps/x86_64/sysdep.h: Likewise.
44094         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44095         section with atom_text_section.
44096         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44097         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44098         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44099         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44100         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44101
44102         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44103         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44104         already be defined.  Change to take two parameters and don't assign
44105         result to variable.  Adjust all users.
44106         Define INTERNAL_GETTIME if not already defined.
44107         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44108         call.
44109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44110         HAVE_CLOCK_GETTIME_VSYSCALL.
44111         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44112
44113         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44114         gettimeofday vsyscall, just use time.
44115
44116 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44117
44118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44119         <errno.h>.
44120
44121 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44122
44123         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44124         syscall on x86-64.
44125         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44126         syscall.
44127         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44128         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44129         syscall if possible.
44130
44131 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44132
44133         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44134         e_ident.  Don't pass to find_mapsXX.
44135         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44136
44137 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44138
44139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44140         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44141         * sysdeps/x86_64/multiarch/strchr.S: Update.
44142         Check bit_slow_BSF bit.
44143         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44144         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44145         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44146
44147 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44148
44149         [BZ #13134]
44150         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44151         before glibc 2.15.
44152         (tryshell): Define.
44153         (__spawni): Change last parameter to be flag.  Test
44154         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44155         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44156         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44157         * posix/spawni.c: Likewise.
44158         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44159         * posix/spawnp.c: Likewise.  Change normal version to use
44160         SPAWN_XFLAGS_USE_PATH.
44161         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44162         SPAWN_XFLAGS_TRY_SHELL.
44163
44164         [BZ #13150]
44165         * posix/glob.h: Remove gcc 1.x support.
44166
44167         [BZ #13068]
44168         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44169
44170 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44171
44172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44173         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44174         strrchr-sse2-bsf
44175         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44176         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44177         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44178         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44179         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44180         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44181
44182 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44183
44184         * sysdeps/x86_64/wcscmp.S: New file.
44185
44186         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44187         wcscmp-c wcscmp-sse2
44188         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44189         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44190         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44191         * wcsmbs/wcscmp.c: Allow renaming.
44192
44193 2011-09-05  David S. Miller  <davem@davemloft.net>
44194
44195         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44196         stack slot, rather than the struct return pointer slot.
44197         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44198         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44200         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44201
44202 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44203
44204         * po/ja.po: Update from translation team.
44205
44206         [BZ #13144]
44207         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44208         kernel in 64-bit binaries.
44209
44210 2011-09-01  David S. Miller  <davem@davemloft.net>
44211
44212         * elf/elf.h (HWCAP_SPARC_*): Move to..
44213         * sysdeps/sparc/sysdep.h: this new file and add new values.
44214         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44215         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44216         _DL_HWCAP_COUNT to 24.
44217         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44218         entries.
44219         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44220         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44221         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44222         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44223         instead of magic constants.
44224         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44225
44226 2011-08-31  David S. Miller  <davem@davemloft.net>
44227
44228         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44230         Reimplement to do errno handling inline.
44231         (SYSCALL_ERROR_HANDLER): New macro.
44232         (__SYSCALL_STRING): Do not do errno handling in asm.
44233         (__CLONE_SYSCALL_STRING): Delete.
44234         (__INTERNAL_SYSCALL_STRING): Delete.
44235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44236         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44237         (PSEUDO): Reimplement to do errno handling inline.
44238         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44239         (SYSCALL_ERROR_HANDLER): New macro.
44240         (__SYSCALL_STRING): Do not do errno handling in asm.
44241         (__CLONE_SYSCALL_STRING): Delete.
44242         (__INTERNAL_SYSCALL_STRING): Delete.
44243         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44244         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44245         i386.
44246         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44247         (inline_syscall*): Add 'err' argument.
44248         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44249         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44250         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44251         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44252
44253         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44254         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44255
44256 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44257
44258         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44259
44260 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44261
44262         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44263         directive.
44264
44265 2011-08-24  David S. Miller  <davem@davemloft.net>
44266
44267         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44268
44269 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44270
44271         * elf/Makefile: Add rules to build and run unload8 test.
44272         * elf/unload8.c: New file.
44273         * elf/unload8mod1.c: New file.
44274         * elf/unload8mod1x.c: New file.
44275         * elf/unload8mod2.c: New file.
44276         * elf/unload8mod3.c: New file.
44277
44278         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44279         it wasn't used.
44280
44281 2011-08-23  David S. Miller  <davem@davemloft.net>
44282
44283         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44284         subtract stack bias.
44285         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44286         %sp not %fp in calculations.
44287         (_JMPBUF_UNWINDS_ADJ): Likewise.
44288
44289         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44290         (aio_suspend): Call it to force an exception region around the
44291         AIO_MISC_WAIT() invocation.
44292
44293 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44294
44295         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44296         backslash.
44297
44298 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44299
44300         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44301         protection macro.
44302         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44303         and <dl-machine.h>.
44304         (Elf64_FuncDesc): Remove.
44305
44306 2011-08-22  David S. Miller  <davem@davemloft.net>
44307
44308         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44309         sigaltstack check, add missing cfi directives.
44310         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44311         missing cfi directives, and sigaltstack handling.
44312
44313 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44314
44315         [BZ #11724]
44316         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44317         object is seen twice.
44318         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44319
44320         * elf/Makefile (distribute): Add tst-initorder2.c.
44321         (tests): Add tst-initorder2.
44322         (modules-names): Add tst-initorder2a tst-initorder2b
44323         tst-initorder2c tst-initorder2d.  Add rules to build them.
44324         ($(objpfx)tst-initorder2.out): New rule.
44325         * elf/tst-initorder2.c: New file.
44326         * elf/tst-initorder2.exp: New file.
44327
44328 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44329
44330         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44331
44332         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44333         dependencies back to end of function.
44334
44335         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44336         $(elfobjdir)/ld.so.
44337
44338 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44339
44340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44341         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44343         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44344         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44345         of __vdso_gettimeofday.
44346         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44347         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44348         attribute_hidden.
44349         (_libc_vdso_platform_setup): Remove initialization of
44350         __vdso_gettimeofday and __vdso_time.
44351
44352 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44353
44354         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44355         and fgetc_unlocked.
44356         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44357         getc_unlocked.
44358
44359         * elf/dl-open.c (add_to_global): Report additions to the global scope
44360         for LD_DEBUG=scopes.
44361         (dl_open_worker): Also print scope of newly loaded dependencies.
44362         (_dl_show_scope): Indicate if there is no scope.
44363
44364         [BZ #13114]
44365         * stdio-common/Makefile (tests): Add bug24.
44366         * stdio-common/bug24.c: New file.
44367
44368 2011-08-19  Andreas Jaeger  <aj@suse.de>
44369
44370         [BZ #13114]
44371         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44372         non-existant file when using close-on-exec mode.
44373
44374 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44375
44376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44377         the very first instruction.
44378
44379         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44380         the CFI state in the end.
44381         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44382         inclusion of dl-trampoline.h.
44383         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44384
44385 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44386
44387         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44388         expectations for long double.
44389
44390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44391         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44392
44393 2011-08-14  David S. Miller  <davem@davemloft.net>
44394
44395         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44396         artificual limit depends upon the system page size.
44397
44398 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44399
44400         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44401         * resolv/Makefile: Define CFLAGS-libresolv.
44402
44403 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44404
44405         * nss/makedb.c (compute_tables): Make variables used in nested
44406         function static.
44407
44408 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44409
44410         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44411         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44412         if buffer was too small.
44413
44414         * elf/pldd.c (main): Attach to all threads in the process.
44415         Rewrite /proc handling to use *at functions.
44416
44417 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44418
44419         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44420         specifies first scope to show.
44421         (dl_open_worker): Update callers.  Move printing scope of new
44422         object to before the relocation.
44423         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44424         * sysdeps/generic/ldsodefs.h: Update declaration.
44425
44426         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44427         string for the scope number.
44428
44429 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44430
44431         * nscd/servicescache.c (cache_addserv): Make sure written is always
44432         initialized.
44433
44434 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44435
44436         * sysdeps/i386/i486/bits/atomic.h
44437         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44438         statement expression, so as to suppress "set but not used" warning.
44439         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44440
44441         * string/strncat.c (STRNCAT): Use prototype definition.
44442
44443         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44444         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44445         -Iprograms here.
44446         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44447         (localedef-modules): Add localedef.
44448         (locale-modules): Add locale.
44449
44450         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44451         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44452         to avoid a warning.
44453
44454 2011-08-14  David S. Miller  <davem@davemloft.net>
44455
44456         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44457         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44458
44459 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44460
44461         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44462         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44463         * elf/rtld.c (dl_main): Set l_name of vDSO.
44464         Call _dl_show_scope when DL_DEBUG_SCOPES.
44465         (process_dl_debug): Recognize scopes flag and also set it for all.
44466         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44467         Declare _dl_show_scope.
44468
44469         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44470         (do_dlopen): Pass caller_dlopen to dl_open.
44471         (__libc_dlopen_mode): Initialize caller_dlopen.
44472
44473         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44474         of libc.  Make tolower call locale-independent.  Optimize a bit by
44475         using isdigit instead of isalnum.
44476         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44477
44478 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44479
44480         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44481         was a dependency or dynamically loaded.
44482
44483 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44484
44485         * intl/l10nflist.c: Allow architecture-specific pop function.
44486         * sysdeps/x86_64/l10nflist.c: New file.
44487
44488         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44489         classification.
44490
44491 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44492
44493         * include/dirent.h: Add libc_hidden_proto for scandirat and
44494         scandirat64.  Don't declare __scandirat64.
44495         * dirent/scandirat.c: Add libc_hidden_def.
44496         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44497         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44498
44499 2011-08-10  David S. Miller  <davem@davemloft.net>
44500
44501         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44502         enum.
44503         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44504         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44505         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44506
44507 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44508
44509         * Versions.def [libc]: Add GLIBC_2.15.
44510         * dirent/Makefile (routines): Add scandirat and scandirat64.
44511         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44512         GLIBC_2.15.
44513         * dirent/dirent.h: Declare scandirat and scandirat64.
44514         * dirent/scandirat.c: New file.
44515         * dirent/scandirat64.c: New file.
44516         * sysdeps/wordsize-64/scandirat.c: New file.
44517         * sysdeps/wordsize-64/scandirat64.c: New file.
44518         * dirent/opendir.c: Define opendirat.
44519         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44520         using scandirat.
44521         * dirent/scandir64.c: Adjust for scandir.c change.
44522         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44523         __scandirat64, and __scandir_cancel_handler.
44524         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44525         additional parameter and use openat instead of open (outside of ld.so).
44526         Add new __opendir as wrapper around __opendirat.
44527         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44528         here without requiring old scandirat implementation.
44529
44530 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44531
44532         * dirent/scandir.c (cancel_handler): Renamed to
44533         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44534         defined.  Adjust users.
44535         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44536         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44537
44538 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44539
44540         * string/test-string.h (IMPL): Use __STRING to expand name and then
44541         stringify it.
44542
44543         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44544         of cleanups.
44545
44546 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44547
44548         * string/Makefile: Update.
44549         (strop-tests): Append strncat.
44550         * string/test-wcscmp.c: New file.
44551         New comprehensive test for wcscmp.
44552         * string/test-strcmp.c: Update.
44553         (WIDE): New define.
44554
44555 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44556
44557         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44558         line.
44559
44560 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44561
44562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44563         encoding to ACE if AI_IDN.
44564
44565 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44566
44567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44568         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44569
44570 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44571
44572         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44573         Fix overflow bug in strncat.
44574         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44575
44576         * string/test-strncat.c: Update.
44577         Add new tests for checking overflow bugs.
44578
44579 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44580
44581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44582         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44583         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44584         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44585         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44586         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44587         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44588         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44589         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44590
44591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44592         (USE_AS_STRCAT): Define.
44593         Add strcat and strncat support.
44594         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44595
44596 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44597
44598         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44599         __n bigger than INT_MAX+1.
44600         (__strncmp_g): Likewise.
44601
44602 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44603
44604         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44605         * libio/stido.h: Likewise.
44606
44607         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44608         (AF_NFC): Define.
44609         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44610         (AF_NFC): Define.
44611
44612         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44613         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44614         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44615         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44616         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44617
44618         [BZ #13021]
44619         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44620         installed.
44621
44622         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44623         typo.
44624         (_dl_x86_64_save_sse): Likewise.
44625
44626 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44627
44628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44629         OSXSAVE.
44630         (_dl_x86_64_save_sse): Likewise.
44631
44632         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44633
44634         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44635
44636 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44637
44638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44639         change.
44640         (_dl_x86_64_save_sse): Use correct AVX check.
44641
44642 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44643
44644         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44645         bug in strncpy/strncat.
44646         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44647
44648 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44649
44650         * string/tester.c (test_strcat): Add tests for different alignments
44651         of source and destination.
44652         (test_strncat): Likewise.
44653
44654 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44655
44656         [BZ #12852]
44657         * posix/glob.c (glob): Check passed in values before using them in
44658         expressions to avoid some overflows.
44659         (glob_in_dir): Likewise.
44660
44661         [BZ #13007]
44662         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44663         check for AVX enablement so that we don't crash with old kernels and
44664         new hardware.
44665         * elf/tst-audit4.c: Add same checks here.
44666         * elf/tst-audit6.c: Likewise.
44667
44668         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44669
44670 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44671
44672         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44673
44674 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44675
44676         * po/cs.po: Update from translation team.
44677         * po/bg.po: Likewise.
44678
44679 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44680
44681         * misc/sys/cdefs.h: Add support for const attribute.
44682         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44683         to gnu_dev_{major,minor,makedev} functions.
44684
44685 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44686
44687         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44688
44689 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44690
44691         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44692         strlen results.
44693
44694 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44695
44696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44697         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44698         register in order to avoid conflicts with the soft frame pointer
44699         being held in r11 when necessary.
44700         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44701         (INTERNAL_VSYSCALL_NCS): Likewise.
44702
44703 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44704
44705         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44706         * elf/dl-fini.c (_dl_fini): Adjust caller.
44707         * elf/dl-close.c (_dl_close_worker): Likewise.
44708         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44709
44710 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44711
44712         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44713         "aux_cache->nlibs < 0".
44714
44715         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44716         in the reload-count case.
44717
44718 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44719
44720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44721         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44722         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44723         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44724         * sysdeps/x86_64/multiarch/strcat.S: New file.
44725         * sysdeps/x86_64/multiarch/strncat.S: New file.
44726         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44727         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44728         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44729         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44730         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44731         (USE_AS_STRCAT): Define.
44732         Add strcat and strncat support.
44733         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44734         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44735         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44736         * string/strncat.c: Update.
44737         (USE_AS_STRNCAT): Define.
44738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44739         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44740         and i7.
44741         * sysdeps/x86_64/multiarch/init-arch.h
44742         (bit_Prefer_PMINUB_for_stringop): New.
44743         (index_Prefer_PMINUB_for_stringop): Likewise.
44744         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44745         bit_Prefer_PMINUB_for_stringop.
44746
44747 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44748
44749         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44750         buffer64.
44751         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44752         of casting of buffer.
44753         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44754         buffer32 and buffer64.
44755         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44756         writes instead of casting of buffer.
44757         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44758         buffer32.
44759         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44760         casting of buffer.
44761
44762 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44763
44764         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44765
44766 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44767
44768         * nscd/nscd.c (termination_handler): Don't do anything for a database
44769         if it has not yet been initialized.
44770
44771 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44772
44773         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44774
44775 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44776
44777         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44778
44779 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44780
44781         * po/nl.po: Update from translation team.
44782         * po/sv.po: Likewise.
44783
44784 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44785
44786         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44787         now disallowed by GCC.
44788
44789         * configure.in (use-default-link): Default to yes if a test -shared
44790         link meets our qualifications.
44791         * configure: Regenerated.
44792
44793         * config.make.in (output-format): New variable.
44794         * configure.in: Check for ld --print-output-format support.
44795         * configure: Regenerated.
44796         * Makerules ($(common-objpfx)format.lds)
44797         [$(output-format) != unknown]: Just use $(output-format),
44798         instead of the linker-script munging.
44799
44800 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44801
44802         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44803         of $(common-objpfx)shlib.lds.
44804         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44805
44806         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44807         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44808
44809         * configure.in (-z relro check): Adjust test code to add a large
44810         writable data section after it.
44811         * configure: Regenerated.
44812
44813 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44814
44815         * configure.in (-z relro check): Fix test code to make the variable
44816         truly const.
44817         * configure: Regenerated.
44818
44819 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44820
44821         * nscd/nscd.h (struct traced_file): Define.
44822         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44823         elements.  Add traced_files.
44824         (inotify_fd): Declare.
44825         (register_traced_file): Declare.
44826         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44827         (inotify_fd): Export.
44828         (resolv_conf_descr): Remove.
44829         (nscd_init): Move inotify descriptor creation to main.
44830         Don't register files for notification here.
44831         (register_traced_file): New function.
44832         (invalidate_cache): Don't use reset_res to determine whether to call
44833         res_init, go through the list of registered files.
44834         (main_loop_poll): The inotify descriptors are now stored in the
44835         structures for the traced files.
44836         (main_loop_epoll): Likewise
44837         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44838         to __nss_disable_nscd.
44839         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44840         for a database anymore.  Check the records for all the registered
44841         files instead.
44842         * nss/Makefile (libnss_files-routines): Add files-init.
44843         (libnss_db-routines): Add db-init.
44844         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44845         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44846         * nss/nss_db/db-init.c: New file.
44847         * nss/nss_files/files-init.c: New file.
44848         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44849         __nss_lookup_function.
44850         (__nss_lookup_function): Call nss_load_library.
44851         (nss_load_all_libraries): New function.
44852         (__nss_disable_nscd): Take parameter with callback function for files
44853         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44854         used for the cached services.
44855         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44856         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44857         options for features to all the files in nscd.
44858
44859         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44860
44861 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44862
44863         * csu/elf-init.c (__libc_csu_init): Comment typo.
44864
44865 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44866
44867         * po/pl.po: Update from translation team.
44868         * po/ja.po: Likewise.
44869         * po/ru.po: Likewise.
44870         * po/ko.po: Likewise.
44871         * po/fr.po: Likewise.
44872
44873 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44874
44875         * configure.in (.ctors/.dtors header and trailer check):
44876         Use an empirical test on a built program.
44877         * configure: Regenerated.
44878
44879         * configure.in (-z relro check): Use an empirical test on a built DSO.
44880         Detect, but do not require, on ia64.
44881         * configure: Regenerated.
44882
44883         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44884         Update tests that use readelf to use $READELF instead.
44885         * configure: Regenerated.
44886
44887 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44888
44889         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44890         if the result is not used.
44891
44892 2011-07-05  Andreas Jaeger  <aj@suse.de>
44893
44894         [BZ#9696]
44895         * stdlib/tst-strtod.c: Add testcase.
44896
44897 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44898
44899         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44900         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44901         The latter has a higher limit.  Take additional parameter to pass to
44902         the new function.
44903         (__pathconf): Pass file to __statfs_link_max.
44904         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44905         __statfs_link_max.
44906         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44907         __statfs_link_max.
44908
44909         [BZ #12868]
44910         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44912         Handle Lustre.
44913         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44914         (__statfs_filesize_max): Likewise.
44915         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44916
44917 2011-07-05  Andreas Jaeger  <aj@suse.de>
44918
44919         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44920
44921 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44922
44923         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44924         `status' variable.
44925         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44926         Likewise.
44927
44928 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44929
44930         * Makefile (strop-tests): Add strncat.
44931         * string/test-strncat.c: New file.
44932
44933 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44934
44935         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44936
44937 2011-06-21  Andreas Jaeger  <aj@suse.de>
44938
44939         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44940         Copy rule from iconvdata/Makefile.
44941
44942 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44943
44944         [BZ #12922]
44945         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44946         but no long options are defined, just return 'W'.
44947
44948 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44949
44950         [BZ #9696]
44951         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44952
44953 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44954
44955         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44956         netgroups to read.
44957         (innetgr): Likewise.
44958
44959 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44960
44961         * config.make.in (install_root): Default to $(DESTDIR).
44962
44963 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44964
44965         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44966
44967 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44968
44969         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44970
44971         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44972         containing directory rather than embedding absolute directory names.
44973
44974         * scripts/check-local-headers.sh: Rewritten using awk.
44975         Match by word, not by line.  Print error messages for matches.
44976         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44977
44978         * Makerules [shlib-lds-flags empty]:
44979         ($(common-objpfx)libc_pic.opts): New target.
44980         ($(common-objpfx)libc_pic.os.clean): New target.
44981         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44982
44983         * config.make.in (OBJCOPY): New variable.
44984         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44985         * configure: Regenerated.
44986
44987         * config.make.in (use-default-link): New variable.
44988         * configure.in (use_default_link): Grok --with-default-link to set it.
44989         * configure: Regenerated.
44990         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44991         (shlib-lds, shlib-lds-flags): Define to empty.
44992
44993         * Makerules (shlib-lds): New variable.
44994         (shlib-lds-flags): New variable.
44995         (build-shlib, build-moduile, build-module-asneeded): Use it.
44996         ($(common-objpfx)libc.so): Use $(shlib-lds).
44997         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44998         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44999
45000         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45001         DT_FLAGS/DT_FLAGS_1 with zero flags.
45002
45003         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45004         linker script munging.
45005
45006 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45007
45008         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45009         as 128-bit value.
45010         * crypt/sha512.c (sha512_process_block): Perform total addition using
45011         128-bit if possible.
45012         (__sha512_finish_ctx): Likewise.
45013         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45014         as 64-bit value.
45015         * crypt/sha256.c (SWAP64): Define.
45016         (sha256_process_block): Perform total addition using 64-bit if
45017         possible.
45018         (__sha256_finish_ctx): Likewise.
45019
45020 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45021
45022         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45023         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45024         * nscd/hstcache.c (cache_addhst): Likewise.
45025         * nscd/grpcache.c (cache_addgr): Likewise.
45026         * nscd/aicache.c (addhstaiX): Likewise
45027         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45028
45029 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45030
45031         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45032         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45033         * nscd/hstcache.c (cache_addhst): Likewise.
45034         * nscd/grpcache.c (cache_addgr): Likewise.
45035         * nscd/aicache.c (addhstaiX): Likewise
45036
45037 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45038
45039         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45040         domain only when needed.
45041
45042 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45043
45044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45045         is always restored.
45046
45047 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45048
45049         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45050         are re-adding the entry.
45051         * nscd/servicescache.c (cache_addserv): Likewise.
45052
45053 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45054
45055         * sysdeps/generic/dl-irel.h: fix protection against multiple
45056         inclusions.
45057         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45058
45059 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45060
45061         [BZ #12935]
45062         * malloc/memusage.sh: Fix quoting in message.
45063         * debug/xtrace.sh: Likewise.
45064
45065         * configure.in: Remove support for --experimental-malloc option, make
45066         it the default.
45067         * config.make.in: Likewise.
45068         * malloc/Makefile: Likewise.
45069
45070 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45071
45072         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45073         two-byte characters.
45074
45075 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45076
45077         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45078         AC_CACHE_CHECK invocation.
45079         * configure: Regenerated.
45080
45081         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45082
45083 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45084
45085         [BZ #12350]
45086         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45087         bit from old_res_options.
45088
45089         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45090
45091         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45092         value type for setfct.
45093
45094 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45095
45096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45097         __gettimeofday instead of gettimeofday.
45098
45099 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45100
45101         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45102
45103 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45104
45105         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45106
45107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45108         info.
45109
45110 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45111
45112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45113         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45114         strcpy-sse2-unaligned strncpy-sse2-unaligned
45115         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45116         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45117         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45118         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45119         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45120         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45121         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45122         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45123         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45124         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45125         (STRCPY): Support SSE2 and SSSE3 versions.
45126
45127 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45128
45129         [BZ #12874]
45130         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45131         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45132         kernels which artificially limit size of requests.
45133
45134 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45135
45136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45137         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45138         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45139         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45140         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45141         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45142         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45143         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45144         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45146         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45147         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45148         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45149         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45150         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45152         Enable unaligned load optimization for Intel Core i3, i5 and i7
45153         processors.
45154         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45155         Define.
45156         (index_Fast_Unaligned_Load): Define.
45157         (HAS_FAST_UNALIGNED_LOAD): Define.
45158
45159 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45160
45161         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45162
45163 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45164
45165         [BZ #12907]
45166         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45167         until it is clear that the information is realy needed.
45168         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45169
45170 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45171
45172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45173
45174 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45175
45176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45177         /sys/devices/system/cpu/online if it is usable.
45178
45179         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45180         reading the information from the /proc filesystem to once a second.
45181
45182 2011-06-21  Andreas Jaeger  <aj@suse.de>
45183
45184         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45185         NULL after inclusion of kernel headers.
45186
45187 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45188
45189         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45190         calls to internal_setent.
45191
45192         [BZ #12885]
45193         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45194         addresses using gethostbyname4_r ignore IPv4 addresses.
45195
45196         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45197         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45198
45199         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45200
45201 2011-06-20  David S. Miller  <davem@davemloft.net>
45202
45203         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45204         inclusions.
45205         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45206
45207         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45208         (elf_irel): Use it.
45209         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45210         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45211         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45212         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45213         * sysdeps/x86_64/dl-irel.h: Likewise.
45214
45215         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45216         * elf/dl-sym.c: Likewise.
45217
45218 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45219
45220         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45221         need to dereference resplen2.
45222
45223 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45224
45225         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45226
45227 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45228
45229         * Makeconfig: Define vardbdir and inst_vardbdir.
45230         * nss/Makefile: Add rules to install db-Makefile.
45231
45232         * nss/nss_db/db-XXX.c: Cleanup.
45233
45234         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45235         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45236         GLIBC_PRIVATE.
45237         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45238         * nss/makedb.c: Implement -g option to specify that value strings
45239         are generated and should not be added to table iterated over for
45240         get*ent calls.
45241         * nss/nss_db/db-initgroups.c: New file.
45242
45243         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45244         interface.
45245
45246         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45247         (internal_getgrouplist): Adjust to name change.
45248         Update use_initgroups_entry if this is not the first call.
45249         * nss/databases.def: Add initgroups entry.
45250
45251         * nss/makedb.c (compute_tables): Check result of multiple hash table
45252         sizes to minimize maximum chain length.
45253
45254 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45255
45256         * Versions.def: Add entry for libnss_db.
45257         * shlib-versions: Likewise.
45258         * nss/Makefile: Add rules to build libnss_db.
45259         * nss/Versions: Add libnss_db information.  Organize libnss_files
45260         entries better.
45261         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45262         makedb progra.  Some minor improvements to generate smaller files.
45263         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45264         here from...
45265         * nss/makedb.c: ...here.
45266         Improve database format to be smaller and require less memory at
45267         runtime.
45268         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45269         db anymore.
45270         * nss/nss_db/db-netgrp.c: Likewise.
45271         * nss/nss_db/db-open.c: Likewise.
45272         * nss/nss_files/flies-XXX.x: Adjust comments.
45273         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45274         * nss/nss_files/files-grp.c: Likewise.
45275         * nss/nss_files/files-hosts.c: Likewise.
45276         * nss/nss_files/files-network.c: Likewise.
45277         * nss/nss_files/files-proto.c: Likewise.
45278         * nss/nss_files/files-pwd.c: Likewise.
45279         * nss/nss_files/files-rpc.c: Likewise.
45280         * nss/nss_files/files-service.c: Likewise.
45281         * nss/nss_files/files-sgrp.c: Likewise.
45282         * nss/nss_files/files-spwd.c: Likewise.
45283         * nss/nss_db/db-alias.c: Removed.
45284         * nss/nss_db/dummy-db.h: Removed.
45285
45286 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45287
45288         * nss/makedb.c: Rewritten to not use database library.
45289         * nss/Makefile: Update to build new makedb program.
45290
45291 2011-06-14  Andreas Jaeger  <aj@suse.de>
45292
45293         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45294         memset declaration.
45295
45296 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45297
45298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45299         tmpbuf.
45300
45301 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45302
45303         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45304         * elf/Makefile ($(objpfx)ld.so): Likewise.
45305
45306         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45307         Don't list ld.so twice in dependencies.
45308
45309         * posix/bug-regex31.c: Include <stdlib.h>.
45310
45311         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45312
45313         * nis/nss_compat/compat-spwd.c
45314         (getspent_next_nss_netgr): Remove unused variable.
45315         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45316
45317         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45318         nonmembers" output to use the right array.
45319
45320         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45321
45322         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45323
45324         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45325         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45326         * catgets/gencat.c (read_input_file): Likewise.
45327         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45328
45329         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45330         variable definition inside #if's controlling its use.
45331
45332         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45333
45334         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45335
45336         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45337
45338         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45339         unreachable code.
45340
45341         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45342
45343         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45344         * configure: Regenerated.
45345
45346         * Makerules: Revert last change.
45347         * elf/Makefile: Likewise.
45348
45349 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45350
45351         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45352         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45353         (reloc-link): Likewise.
45354
45355 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45356
45357         * elf/Makefile: Add rules to build pldd.
45358         * elf/pldd.c: New file.
45359         * elf/pldd-xx.c: New file.
45360
45361 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45362
45363         * version.h: Update for 2.15 development version.
45364
45365 2011-06-07  David S. Miller  <davem@davemloft.net>
45366
45367         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45368         ifuncs.
45369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45370         elf_machine_lazy_rel): Likewise.
45371         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45373         elf_machine_lazy_rel): Likewise.
45374         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45375         dl_hwcap via passed in argument.
45376         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45377         Likewise.
45378
45379 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45380
45381         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45382
45383 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45384
45385         [BZ #12849]
45386         * manual/fdl-1.1.texi: New file, verbatim from:
45387         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45388         * manual/lgpl-2.1.texi: New file, verbatim from:
45389         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45390         * manual/Makefile (licenses): New variable, list those new file names.
45391         (texis): Use it.
45392         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45393
45394         * manual/fdl.texi: File removed.
45395         * manual/lesser.texi: File removed.
45396         * manual/libc.texinfo (Copying, Documentation License):
45397         Use new @include file names, put @appendix directive before @include.
45398
45399 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45400
45401         [BZ #12841]
45402         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45403         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45404         (mq_open): Add __NTH.
45405
45406 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45407
45408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45409         Assume Intel Core i3/i5/i7 processor if AVX is available.
45410
45411 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45412
45413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45414         typo.
45415
45416 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45417
45418         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45419         memory.  Use alloca_account.  Fix memory leak when retrying.
45420
45421 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45422
45423         * version.h (RELEASE): Bump for 2.14 release.
45424         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45425
45426         * config.make.in (RANLIB): Remove entry.
45427
45428 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45429
45430         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45431         (libc.pot): Work around missing support for .ksh extension in xgettext.
45432
45433         [BZ #12684]
45434         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45435         if both request failed.
45436         (send_dg): In case of server errors clear resplen or *resplen2.
45437
45438         [BZ #12454]
45439         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45440         when there are multiple maps.
45441         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45442         (_dl_fini): Remove test here.
45443
45444         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45445
45446 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45447
45448         [BZ #12350]
45449         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45450         bit from old_res_options.
45451         (gaih_inet): Likewise.
45452
45453         [BZ #11099]
45454         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45455         as signed.
45456
45457         * resolv/res_init.c (res_setoptions): Make the code more compact.
45458
45459         [BZ #11558]
45460         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45461         set RES_USEVC.
45462
45463         [BZ #11634]
45464         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45465
45466         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45467
45468         [BZ #11781]
45469         * malloc/malloc.h: Declare malloc hook variables as volatile.
45470
45471         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45472         in last patch.
45473
45474         [BZ #11799]
45475         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45476         raise in the comment.
45477         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45478         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45479         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45480
45481 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45482
45483         [BZ #12811]
45484         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45485         grow the buffers more if it already has to be sufficient.
45486         (build_wcs_upper_buffer): Likewise.
45487         * posix/regexec.c (check_matching): Likewise.
45488         (clean_state_log_if_needed): Likewise.
45489         (extend_buffers): Don't enlarge buffers beyond size of the input
45490         buffer.
45491         Patches mostly by Emil Wojak <emil@wojak.eu>.
45492         * posix/bug-regex32.c: New file.
45493         * posix/Makefile (tests): Add bug-regex32.
45494
45495         * locale/findlocale.c (_nl_find_locale): Return right away if
45496         _nl_explode_name failed.
45497         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45498
45499         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45500
45501         * debug/xtrace.sh: Unify messages.
45502         * malloc/memusage.sh: Likewise.
45503
45504         [BZ #12813]
45505         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45506         time symbol from vDSO.  Substitute with vsyscall if not available.
45507         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45508         __vdso_time.
45509
45510         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45511         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45512         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45513         Add sendmmsg and internal_sendmmsg.
45514         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45515         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45516         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45517
45518         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45519         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45520         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45521
45522 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45523
45524         [BZ #12813]
45525         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45526         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45527         available.
45528         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45529         __vdso_getcpu.
45530
45531         [BZ #12814]
45532         * iconvdata/Makefile (tests): Add bug-iconv9.
45533         * iconvdata/bug-iconv9.c: New file.
45534
45535 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45536
45537         [BZ #12814]
45538         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45539
45540 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45541
45542         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45543         (struct user_regs_struct): Change intcs field back to cs.
45544
45545 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45546
45547         * po/ja.po: Update from translation team.
45548
45549 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45550
45551         [BZ #12795]
45552         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45553         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45554
45555 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45556
45557         * stdlib/longlong.h: Update from GCC.
45558
45559 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45560
45561         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45562         parameter name.
45563         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45564         Add parameter name.
45565         (__sysconf): Pass it down.
45566
45567 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45568
45569         [BZ #12671]
45570         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45571         some situations.
45572         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45573         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45574         add in in __libc_use_alloca calls.  Adjust callers.
45575         (glob): Use malloc in some situations.
45576
45577         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45578         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45579         pltexit.
45580
45581 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45582
45583         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45584         and CLOCK_BOOTTIME_ALARM.
45585
45586         [BZ #12782]
45587         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45588         is returned.
45589
45590         * string/_strerror.c (__strerror_r): Print negative errors as signed
45591         numbers.
45592
45593         [BZ #12777]
45594         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45595         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45596         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45597
45598         * configure.in: Fix typo in redirection and correct removal of test
45599         files in two cases.
45600
45601         [BZ #12788]
45602         * locale/setlocale.c (new_composite_name): Fix test to check for
45603         identical name of all categories.
45604
45605         [BZ #12792]
45606         * libio/filedoalloc.c (local_isatty): New function.
45607         (_IO_file_doallocate): Use local_isatty.
45608         * stdio-common/perror.c (perror): In case a new stream is used
45609         forward the stream error.
45610         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45611         error flag.
45612
45613 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45614
45615         [BZ #11869]
45616         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45617         alloca.
45618         * include/alloca.h (extend_alloca_account): Define.
45619
45620         [BZ #11857]
45621         * posix/regex.h: Fix comments with documentation of user-accessible
45622         fields after compilation and describe correct free'ing of pattern
45623         after re_compile_pattern.
45624         Patch by Reuben Thomas <rrt@sc3d.org>.
45625
45626 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45627
45628         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45629         and -mno-altivec to prevent the compiler from using Altivec and/or
45630         VSX instructions when the corresponding registers are not available.
45631
45632 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45633
45634         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45635
45636 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45637
45638         * libio/freopen.c (freopen): Use __dup2, not dup2.
45639         * libio/freopen64.c (freopen64): Likewise.
45640
45641 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45642
45643         [BZ #12775]
45644         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45645         * math/Makefile (tests): Add test-powl.
45646         (CFLAGS-test-powl.c): Define.
45647         * math/test-powl.c: New file.
45648
45649 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45650
45651         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45652
45653 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45654
45655         [BZ #11837]
45656         * iconvdata/gb18030.c: Update to GB18020-2005.
45657
45658 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45659
45660         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45661         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45662         Patch by Aharon Robbins <arnold@skeeve.com>.
45663
45664         [BZ #11892]
45665         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45666         on the stack.
45667
45668         [BZ #11895]
45669         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45670         through underflows.
45671
45672         [BZ #12766]
45673         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45674         point to strings before performing equality test for error_one_per_line
45675         mode.
45676
45677         [BZ #11697]
45678         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45679
45680         [BZ #11820]
45681         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45682         (struct user_fpregs_struct): Avoid __uint*_t types.
45683
45684         [BZ #6420]
45685         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45686         symbol info.  Use it instead of calling _dl_addr locally.
45687         (lock_and_info): New function.
45688         (tr_freehook): Call lock_and_info and pass symbol info as additional
45689         parameter to tr_where.
45690         (tr_mallochook): Likewise.
45691         (tr_reallochook): Likewise.
45692         (tr_memalignhook): Likewise.
45693
45694         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45695         used and couldn't be at all thread-safe.
45696
45697 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45698
45699         * libio/freopen.c (freopen): Don't close old file descriptor
45700         before the new one is opened.  Instead dup the new file descriptor
45701         to the old one after the new stream is created.
45702         * libio/freopen64.c (freopen64): Likewise.
45703         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45704         * libio/fileops.c (_IO_new_file_close_it): Handle new
45705         _IO_FLAGS2_NOCLOSE flag.
45706         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45707         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45708         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45709         _IO_FLAGS2_NOCLOSE flag.
45710         * include/unistd.h: Add hidden_proto for dup3.
45711         Define __have_dup3.
45712         * io/dup3.c: Define hidden symbol.
45713         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45714
45715         [BZ #7101]
45716         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45717         when an incomplete long option is used.
45718         * posix/tst-getopt_long1.c: New file.
45719         * posix/Makefile (tests): Add tst-getopt_long1.
45720
45721         [BZ #10138]
45722         * scripts/config.guess: Update from autoconf-2.68.
45723         * scripts/config.sub: Likewise.
45724
45725         [BZ #10157]
45726         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45727         tests into ...
45728         (has_cpuclock): ...this.  New function.
45729         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45730         macro here based on has_cpuclock code.
45731
45732         [BZ #10149]
45733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45734         First byte (not low byte) is now always NUL.
45735         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45736
45737         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45738         Use non-cancelable interfaces.
45739
45740         [BZ #9809]
45741         * locale/iso-639.def: Add entry for Sorani.
45742
45743         [BZ #11901]
45744         * include/stdlib.h: Move include protection to the right place.
45745         Define abort_msg_s.  Declare __abort_msg with it.
45746         * stdlib/abort.c (__abort_msg): Adjust type.
45747         * assert/assert.c (__assert_fail_base): New function.  Majority
45748         of code from __assert_fail.  Allocate memory for __abort_msg with
45749         mmap.
45750         (__assert_fail): Now call __assert_fail_base.
45751         * assert/assert-perr.c: Remove bulk of implementation.  Use
45752         __assert_fail_base.
45753         * include/assert.hL Declare __assert_fail_base.
45754         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45755         mmap.
45756         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45757
45758 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45759
45760         [BZ #11952]
45761         [BZ #12453]
45762         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45763         until all modules are registered in the DTV.
45764         * elf/Makefile: Add rules to build and run tst-tls19.
45765         * elf/tst-tls19.c: New file.
45766         * elf/tst-tls19mod1.c: New file.
45767         * elf/tst-tls19mod2.c: New file.
45768         * elf/tst-tls19mod3.c: New file.
45769         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45770
45771         [BZ #12083]
45772         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45773         correctly.
45774
45775         [BZ #12601]
45776         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45777         two-byte sequence errors.
45778         * iconvdata/Makefile (tests): Add bug-iconv8.
45779         * iconvdata/bug-iconv8.c: New file.
45780
45781         [BZ #12626]
45782         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45783         buf2 definition.
45784
45785         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45786
45787         [BZ #12432]
45788         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45789         (dummy_getcfa): New function.
45790         (init): Get _Unwind_GetCFA address, use dummy if not found.
45791         (backtrace_helper): In recursion check, also check whether CFA changes.
45792         (__backtrace): Completely initialize arg.
45793
45794         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45795         storing incomplete byte sequence in state object.  Avoid testing for
45796         guaranteed too small input if we know there is enough data available.
45797
45798 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45799
45800         * Makeconfig (+link-pie): Indent.
45801         * Rules (binaries-pie): Define if $(have-fpie) and
45802         $(build-shared).
45803         (binaries-shared): Also filter out $(binaries-pie).
45804         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45805         * nscd/Makefile (others-pie): Add nscd.
45806         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45807         ($(objpfx)nscd): Remove command override.
45808         * login/Makefile (others-pie): Add pt_chown.
45809         ($(objpfx)pt_chown): Remove command override.
45810         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45811         remove command overrides.
45812
45813 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45814
45815         * libio/tst_putwc.c: Fix error messages.
45816
45817         [BZ #12724]
45818         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45819         currently writing and seek to current position when not.
45820         * libio/Makefile (tests): Add bug-fclose1.
45821         * libio/bug-fclose1.c: New file.
45822
45823 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45824
45825         [BZ #12511]
45826         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45827         don't set DF_1_NODELETE here.
45828         (do_lookup_x): When entering new entry test for copy relocation
45829         and if necessary set DF_1_NODELETE flag.
45830         * elf/tst-unique4.cc: New file.
45831         * elf/tst-unique4.h: New file.
45832         * elf/tst-unique4lib.cc: New file.
45833         * elf/Makefile: Add rules to build and run tst-unique4.
45834         Patch by Piotr Bury <pbury@goahead.com>.
45835
45836 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45837
45838         [BZ #12052]
45839         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45840
45841         [BZ #12625]
45842         * misc/mntent_r.c (addmntent): Flush the stream after the output
45843
45844         [BZ #12393]
45845         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45846         (is_trusted_path_normalize): Skip initial colon.  Append slash
45847         to empty buffer.  Duplicate is_trusted_path code but allow
45848         constructed patch to be prefix.
45849         (is_dst): Allow $ORIGIN followed by /.
45850         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45851         Correct testing of result of is_trusted_path_normalize
45852         (decompose_rpath): Fix warning.
45853
45854 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45855
45856         [BZ #11257]
45857         * grp/initgroups.c (internal_getgrouplist): When we found the service
45858         list through the initgroups entry in nsswitch.conf do not always
45859         continue on a successful lookup.  Don't always use the
45860         __nss_group_database value if it is set.
45861         * nss/nsswitch.conf (initgroups): Change action for successful db
45862         lookup to continue for compatibility.
45863
45864 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45865
45866         [BZ #11532]
45867         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45868         and CP774 modules.
45869         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45870         and CP774 modules.
45871         * iconvdata/tst-tables.sh: Likewise.
45872         * iconvdata/cp770.c: New file.
45873         * iconvdata/cp771.c: New file.
45874         * iconvdata/cp772.c: New file.
45875         * iconvdata/cp773.c: New file.
45876         * iconvdata/cp774.c: New file.
45877         * iconvdata/testdata/CP770: New file.
45878         * iconvdata/testdata/CP770..UTF8: New file.
45879         * iconvdata/testdata/CP771: New file.
45880         * iconvdata/testdata/CP771..UTF8: New file.
45881         * iconvdata/testdata/CP772: New file.
45882         * iconvdata/testdata/CP772..UTF8: New file.
45883         * iconvdata/testdata/CP773: New file.
45884         * iconvdata/testdata/CP773..UTF8: New file.
45885         * iconvdata/testdata/CP774: New file.
45886         * iconvdata/testdata/CP774..UTF8: New file.
45887
45888         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45889         END CHARMAP line.
45890         * iconvdata/gen-8bit-gap.sh: Likewise.
45891         * iconvdata/gen-8bit.sh: Likewise.
45892
45893         * locale/iso-639.def: Add ary entry.
45894
45895         [BZ #11258]
45896         * locale/C-translit.h.in: Add U20A1 transliteration.
45897
45898         [BZ #12178]
45899         * locale/iso-639.def: Add wae entry.
45900         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45901
45902         [BZ #12545]
45903         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45904         for n.
45905
45906         [BZ #12711]
45907         * locale/C-translit.h.in: Add entry for U20B9.
45908         Patch by pravin.d.s@gmail.com.
45909
45910 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45911
45912         [BZ #12713]
45913         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45914         ENAMETOOLONG use generic getcwd.
45915         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45916         in rtld.  Use *stat64.
45917         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45918         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45919         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45920         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45921         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45922         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45923         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45924         __fstatat64 macros.
45925         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45926         * dirent/rewinddir.c: Add libc_hidden_def.
45927         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45928         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45929
45930         * include/dirent.h (__alloc_dir): Add flags parameter.
45931         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45932         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45933         __alloc_dir.
45934         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45935         from fdopendir if O_CLOEXEC is already set.
45936
45937 2011-03-15  Alan Modra  <amodra@gmail.com>
45938
45939         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45940         l_tls_firstbyte_offset non-zero.  Save padding offset in
45941         l_tls_firstbyte_offset for later use.
45942         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45943         freeing static tls block.
45944
45945 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45946
45947         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45948         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45949         being defined by the kernel headers.
45950
45951 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45952
45953         [BZ #12734]
45954         * resolv/resolv.h: Define RES_NOTLDQUERY.
45955         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45956         no-tld-query and set RES_NOTLDQUERY.
45957         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45958         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45959         modern BIND to search name as TLD unless forbidden.
45960
45961 2011-05-07  Petr Baudis  <pasky@suse.cz>
45962             Ulrich Drepper  <drepper@gmail.com>
45963
45964         [BZ #12393]
45965         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45966         (is_trusted_path): ...to here.
45967         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45968         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45969         using is_trusted_path_normalize() in setuid scripts.
45970
45971 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45972
45973         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45974         __BEGIN/__END_DECLS.
45975
45976 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45977
45978         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45979         NSS_STATUS_NOTFOUND if no record was found.
45980
45981 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45982
45983         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45984         (headers-not-in-tirpc): Remove rpc/netdb.h
45985         * resolv/netdb.h: Revert last change.
45986
45987 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45988
45989         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45990         circular dependency between libgcc.a and libc.a.
45991
45992 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45993
45994         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45995         * nis/Makefile: Don't install rpcsvc/*.
45996         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45997         instead of <rpc/types.h>.
45998         (MAXHOSTNAMELEN): Define.
45999
46000 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46001
46002         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46003
46004 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46005
46006         [BZ #12714]
46007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46008         gethostbyname4_r when IPv6 results are possible.
46009
46010 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46011
46012         [BZ #12723]
46013         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46014         _PC_PIPE_BUF handling.
46015
46016 2011-04-30  Bruno Haible  <bruno@clisp.org>
46017
46018         [BZ #12717]
46019         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46020         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46021         to 'int'.
46022         * inet/getnameinfo.c (getnameinfo): Likewise.
46023
46024 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46025
46026         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46027         to groups setting in database lookup.
46028         * nss/nsswitch.conf: Add initgroups entry.
46029
46030 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46031
46032         [BZ #12685]
46033         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46034         mode string.
46035         Patch by Eric Blake <eblake@redhat.com>.
46036
46037 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46038
46039         * sunrpc/Makefile (need-export-routines): Add svc_run.
46040         (routines): Remove svc_run.
46041         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46042         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46043         * sunrpc/svc_run.c (svc_run): Likewise.
46044         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46045
46046 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46047
46048         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46049         problem in reallocation in last patch.
46050
46051 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46052
46053         * sunrpc/Makefile: Move inclusion of Rules.
46054
46055 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46056
46057         * nss/nss_files/files-initgroups.c: New file.
46058         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46059         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46060         _nss_files_initgroups_dyn.
46061
46062 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46063
46064         * elf/elf.h (R_ARM_IRELATIVE): Define.
46065
46066 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46067
46068         * po/ru.po: Update from translation team.
46069
46070 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46071
46072         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46073         dependencies.
46074
46075 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46076
46077         [BZ #12653]
46078         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46079         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46080         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46083
46084 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46085
46086         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46087         differing bytes.
46088         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46089         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46090         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46091
46092 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46093
46094         [BZ #12420]
46095         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46096         storing it.
46097         * stdlib/bug-getcontext.c: New file.
46098         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46099
46100 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46101
46102         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46103         instructions into .machine "z9-109".
46104         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46105         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46106
46107 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46108
46109         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46110         between environment variables and auxiliary vector.
46111
46112 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46113
46114         * Makefile: Add rules to build linkobj/libc.so.
46115         * include/libc-symbols.h: Define libc_hidden_nolink.
46116         * include/rpc/auth.h: Mark functions which are to be hidden.
46117         * include/rpc/auth_des.h: Likewise.
46118         * include/rpc/auth_unix.h: Likewise.
46119         * include/rpc/clnt.h: Likewise.
46120         * include/rpc/des_crypt.h: Likewise.
46121         * include/rpc/key_prot.h: Likewise.
46122         * include/rpc/pmap_clnt.h: Likewise.
46123         * include/rpc/pmap_prot.h: Likewise.
46124         * include/rpc/pmap_rmt.h: Likewise.
46125         * include/rpc/rpc_msg.h: Likewise.
46126         * include/rpc/svc.h: Likewise.
46127         * include/rpc/svc_auth.h: Likewise.
46128         * include/rpc/xdr.h: Likewise.
46129         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46130         * nss/Makefile: Likewise.
46131         * sunrpc/Makefile: Don't install headers.  Build library with normal
46132         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46133         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46134         for the compat linking library.  Remove use of INTDEF/INTUSE.
46135         * sunrpc/auth_none.c: Likewise.
46136         * sunrpc/auth_unix.c: Likewise.
46137         * sunrpc/authdes_prot.c: Likewise.
46138         * sunrpc/authuxprot.c: Likewise.
46139         * sunrpc/clnt_gen.c: Likewise.
46140         * sunrpc/clnt_perr.c: Likewise.
46141         * sunrpc/clnt_raw.c: Likewise.
46142         * sunrpc/clnt_simp.c: Likewise.
46143         * sunrpc/clnt_tcp.c: Likewise.
46144         * sunrpc/clnt_udp.c: Likewise.
46145         * sunrpc/clnt_unix.c: Likewise.
46146         * sunrpc/des_crypt.c: Likewise.
46147         * sunrpc/des_soft.c: Likewise.
46148         * sunrpc/get_myaddr.c: Likewise.
46149         * sunrpc/key_call.c: Likewise.
46150         * sunrpc/key_prot.c: Likewise.
46151         * sunrpc/netname.c: Likewise.
46152         * sunrpc/pm_getmaps.c: Likewise.
46153         * sunrpc/pm_getport.c: Likewise.
46154         * sunrpc/pmap_clnt.c: Likewise.
46155         * sunrpc/pmap_prot.c: Likewise.
46156         * sunrpc/pmap_prot2.c: Likewise.
46157         * sunrpc/pmap_rmt.c: Likewise.
46158         * sunrpc/publickey.c: Likewise.
46159         * sunrpc/rpc_cmsg.c: Likewise.
46160         * sunrpc/rpc_common.c: Likewise.
46161         * sunrpc/rpc_dtable.c: Likewise.
46162         * sunrpc/rpc_prot.c: Likewise.
46163         * sunrpc/rpc_thread.c: Likewise.
46164         * sunrpc/rtime.c: Likewise.
46165         * sunrpc/svc.c: Likewise.
46166         * sunrpc/svc_auth.c: Likewise.
46167         * sunrpc/svc_authux.c: Likewise.
46168         * sunrpc/svc_raw.c: Likewise.
46169         * sunrpc/svc_run.c: Likewise.
46170         * sunrpc/svc_simple.c: Likewise.
46171         * sunrpc/svc_tcp.c: Likewise.
46172         * sunrpc/svc_udp.c: Likewise.
46173         * sunrpc/svc_unix.c: Likewise.
46174         * sunrpc/svcauth_des.c: Likewise.
46175         * sunrpc/xcrypt.c: Likewise.
46176         * sunrpc/xdr.c: Likewise.
46177         * sunrpc/xdr_array.c: Likewise.
46178         * sunrpc/xdr_float.c: Likewise.
46179         * sunrpc/xdr_intXX_t.c: Likewise.
46180         * sunrpc/xdr_mem.c: Likewise.
46181         * sunrpc/xdr_rec.c: Likewise.
46182         * sunrpc/xdr_ref.c: Likewise.
46183         * sunrpc/xdr_sizeof.c: Likewise.
46184         * sunrpc/xdr_stdio.c: Likewise.
46185
46186 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46187
46188         [BZ #12650]
46189         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46190         * sysdeps/ia64/dl-tls.h: Likewise.
46191         * sysdeps/powerpc/dl-tls.h: Likewise.
46192         * sysdeps/s390/dl-tls.h: Likewise.
46193         * sysdeps/sh/dl-tls.h: Likewise.
46194         * sysdeps/sparc/dl-tls.h: Likewise.
46195         * sysdeps/x86_64/dl-tls.h: Likewise.
46196         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46197
46198 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46199
46200         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46201         rpath element also skip the following colon.
46202         (expand_dynamic_string_token): Add is_path parameter and pass
46203         down to DL_DST_REQUIRED and _dl_dst_substitute.
46204         (decompose_rpath): Call expand_dynamic_string_token with
46205         non-zero is_path.  Ignore empty rpaths.
46206         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46207         with zero is_path.
46208
46209 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46210
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46212         Make cancelable.
46213
46214 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46215
46216         [BZ #12655]
46217         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46218         Patch by Filipe David Manana <fdmanana@apache.org>.
46219
46220 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46221
46222         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46223         Maintain aligned stack.
46224         (CHECK_RSP): Remove unused macro.
46225
46226 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46227
46228         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46229         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46230
46231 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46232
46233         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46234
46235         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46236
46237 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46238
46239         [BZ #12518]
46240         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46241         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46242         * sysdeps/x86_64/memmove.c: New file.
46243         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46244         (memcpy): Renamed to ...
46245         (__new_memcpy): This.
46246         (memcpy): Provide GLIBC_2_14 memcpy.
46247         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46248         (memcpy): Provide GLIBC_2_2_5 memcpy.
46249
46250 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46251
46252         [BZ #12631]
46253         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46254
46255 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46256
46257         * misc/syncfs.c: New file.
46258         * misc/Makefile (routines): Add syncfs.
46259         * posix/unistd.h: Declare syncfs.
46260         * sysdeps/unix/syscalls.list: Add syncfs.
46261
46262 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46263
46264         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46265         open_by_handle_at.
46266         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46267         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46269         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46271         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46272         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46273
46274 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46275
46276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46277         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46278         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46280         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46281         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46283
46284         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46285         sync_file_range.c with -fexceptions.
46286         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46287         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46288         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46289         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46290         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46291         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46292         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46293         sync_file_range as cancellation point
46294         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46295         now a wrapper around __call_sync_file_range with cancellation handling.
46296         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46297         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46298         function name to __call_sync_file_range.
46299         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46300         Add call_sync_file_range.
46301
46302 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46303
46304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46305         bits/timex.h.
46306
46307 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46308
46309         * iconv/iconv.h: Fix typo in comment.
46310         * io/fcntl.h: Likewise.
46311         * libio/stdio.h: Likewise.
46312         * posix/spawn.h: Likewise.
46313         * posix/unistd.h: Likewise.
46314         * stdlib/stdlib.h: Likewise.
46315         * time/time.h: Likewise.
46316         * wcsmbs/wchar.h: Likewise.
46317
46318         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46319         open_by_handle): Add.
46320         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46321         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46322         Augment a few comments.
46323         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46325         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46326         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46328         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46329         open_by_handle.
46330
46331         * io/fcntl.h (AT_EMPTY_PATH): Define.
46332
46333 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46334
46335         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46336         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46337         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46338         to...
46339         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46340         * Versions.def: Add GLIBC_2.14.
46341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46342         Export.
46343
46344 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46345
46346         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46347         round counter.
46348         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46349
46350 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46351
46352         [BZ #12597]
46353         * string/test-strncmp.c (do_page_test): New function.
46354         (check2): Likewise.
46355         (test_main): Call check2.
46356         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46357
46358 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46359
46360         [BZ #12587]
46361         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46362         Handle cache information in CPU leaf 4.
46363         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46364
46365 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46366
46367         [BZ #12583]
46368         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46369         character representation.
46370         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46371
46372 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46373
46374         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46375         END(__isnan) to END(__isnanf) to match function entry point/label
46376         EALIGN(__isnanf,...).
46377
46378 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46379
46380         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46381
46382 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46383
46384         [BZ #12510]
46385         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46386         copy from the symbol referenced in the relocation to initialize the
46387         used variable.
46388         Patch by Piotr Bury <pbury@goahead.com>.
46389         * elf/Makefile: Add rules to build and tst-unique3.
46390         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46391         * elf/tst-unique3.cc: New file.
46392         * elf/tst-unique3.h: New file.
46393         * elf/tst-unique3lib.cc: New file.
46394         * elf/tst-unique3lib2.cc: New file.
46395
46396         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46397
46398 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46399
46400         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46401         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46402         to _start.
46403
46404 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46405
46406         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46407         to-be-loaded object along a path to loader is ld.so.
46408
46409 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46410             Ulrich Drepper  <drepper@gmail.com>
46411
46412         * sysdeps/x86_64/memset.S: After aligning destination, code
46413         branches to different locations depending on the value of
46414         misalignment, when multiarch is enabled. Fix this.
46415
46416 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46417
46418         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46419         Set _x86_64_preferred_memory_instruction for AMD processsors.
46420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46421         Set bit_Prefer_SSE_for_memop for AMD processors.
46422
46423 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46424
46425         * libio/fmemopen.c (fmemopen): Optimize a bit.
46426
46427 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46428
46429         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46430
46431 2011-03-03  Roland McGrath  <roland@redhat.com>
46432
46433         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46434
46435 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46436
46437         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46438         __bzero_ultra1 instead of __memset_ultra1.
46439
46440 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46441             Ulrich Drepper  <drepper@gmail.com>
46442
46443         [BZ #12509]
46444         * include/link.h (struct link_map): Add l_orig_initfini.
46445         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46446         returning unsuccessfully.
46447         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46448         close of a file loaded at startup, restore the original l_initfini
46449         list.
46450         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46451         list, store the pointer.
46452         * elf/Makefile ($(objpfx)noload-mem): New rule.
46453         (noload-ENV): Define.
46454         (tests): Add $(objpfx)noload-mem.
46455         * elf/noload.c: Include <memcheck.h>.
46456         (main): Call mtrace.  Close all opened handles.
46457
46458 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46459
46460         [BZ #12454]
46461         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46462         dependencies are missing.
46463
46464 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46465
46466         Fix __if_freereq crash: Unlike the generic version which uses free,
46467         Hurd needs munmap.
46468         * sysdeps/mach/hurd/ifreq.h: New file.
46469
46470 2011-01-27  Petr Baudis  <pasky@suse.cz>
46471             Ulrich Drepper  <drepper@gmail.com>
46472
46473         [BZ 12445]#
46474         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46475         to extend_alloca().
46476         * stdio-common/bug23.c: New file.
46477         * stdio-common/Makefile (tests): Add bug23.
46478
46479 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46480             Ulrich Drepper  <drepper@gmail.com>
46481
46482         [BZ #12489]
46483         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46484         before performing relro protection.  At old place add assertion
46485         to make sure nothing changed.
46486
46487 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46488             Glauber de Oliveira Costa  <glommer@gmail.com>
46489
46490         * elf/elf.h: Add new ARM TLS relocs.
46491
46492 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46493
46494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46495         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46496         cast from r3.
46497         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46498         'tests' variable.
46499         * sysdeps/wordsize-64/tst-writev.c: New file.
46500
46501 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46502
46503         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46504         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46505         insns in _dl_start to prevent a TOC reference before relocs are
46506         resolved.
46507
46508 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46509
46510         [BZ #12469]
46511         * Makeconfig: Remove RANLIB definition.
46512         * Makerules: Don't use RANLIB.
46513         * aclocal.m4: Remove ranlib test.
46514         * configure.in: No need to check for ranlib.
46515         * elf/rtld-Rules: Don't use RANLIB.
46516
46517 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46518
46519         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46520         protection macro.
46521         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46522         inclusion protection macro.
46523
46524         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46525         SIGRTMIN and SIGRTMAX and print information in that case only when
46526         SIGRTMIN is defined.
46527
46528 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46529
46530         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46531         arginfo fn returning -1.
46532
46533         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46534         and thousands string is zero terminated.
46535
46536 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46537
46538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46539         sysdeps/unix/sysv/linux/bits/socket.h.
46540
46541 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46542
46543         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46544         (__CPU_COUNT): Remove old macros.
46545         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46546         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46547         (__CPU_ALLOC, __CPU_FREE): Add macros.
46548         (__sched_cpualloc, __sched_cpufree): Add declarations.
46549
46550 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46551
46552         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46553         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46554         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46555         (readdhstai): Return value of addhstaiX call.
46556         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46557         (addgrbyX): Return value returned by cache_addgr.
46558         (readdgrbyname): Return value returned by addgrbyX.
46559         (readdgrbygid): Likewise.
46560         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46561         (addpwbyX): Return value returned by cache_addpw.
46562         (readdpwbyname): Return value returned by addhstbyX.
46563         (readdpwbyuid): Likewise.
46564         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46565         (addservbyX): Return value returned by cache_addserv.
46566         (readdservbyname): Return value returned by addservbyX:
46567         (readdservbyport): Likewise.
46568         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46569         (addhstbyX): Return value returned by cache_addhst.
46570         (readdhstbyname): Return value returned by addhstbyX.
46571         (readdhstbyaddr): Likewise.
46572         (readdhstbynamev6): Likewise.
46573         (readdhstbyaddrv6): Likewise.
46574         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46575         (readdinitgroups): Return value returned by addinitgroupsX.
46576         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46577         (prune_cache): Keep track of timeout value of re-added entries.
46578         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46579         * nscd/nscd.h: Adjust prototypes of readd* functions.
46580
46581 2011-02-04  Roland McGrath  <roland@redhat.com>
46582
46583         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46584         (nis_stats): Likewise.
46585         * nis/nis_modify.c (nis_modify): Likewise.
46586         * nis/nis_remove.c (nis_remove): Likewise.
46587         * nis/nis_add.c (nis_add): Likewise.
46588
46589         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46590
46591         * posix/fnmatch_loop.c: Add some consts.
46592
46593         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46594
46595 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46596
46597         [BZ #12460]
46598         * config.make.in (config-cflags-novzeroupper): Define.
46599         * configure.in: Substitute libc_cv_cc_novzeroupper.
46600         * elf/Makefile (AVX-CFLAGS): Define.
46601         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46602         (CFLAGS-tst-auditmod4a.c): Likewise.
46603         (CFLAGS-tst-auditmod4b.c): Likewise.
46604         (CFLAGS-tst-auditmod6b.c): Likewise.
46605         (CFLAGS-tst-auditmod6c.c): Likewise.
46606         (CFLAGS-tst-auditmod7b.c): Likewise.
46607         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46608
46609 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46610
46611         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46612         function to the callback.
46613         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46614
46615 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46616
46617         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46618         of errno.
46619
46620 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46621
46622         [BZ #11724]
46623         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46624         of constructors.
46625         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46626         of destructors.
46627         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46628
46629         [BZ #11724]
46630         * elf/Makefile: Add rules to build and run new test.
46631         * elf/tst-initorder.c: New file.
46632         * elf/tst-initorder.exp: New file.
46633         * elf/tst-initordera1.c: New file.
46634         * elf/tst-initordera2.c: New file.
46635         * elf/tst-initordera3.c: New file.
46636         * elf/tst-initordera4.c: New file.
46637         * elf/tst-initorderb1.c: New file.
46638         * elf/tst-initorderb2.c: New file.
46639         * elf/tst-order-a1.c: New file.
46640         * elf/tst-order-a2.c: New file.
46641         * elf/tst-order-a3.c: New file.
46642         * elf/tst-order-a4.c: New file.
46643         * elf/tst-order-b1.c: New file.
46644         * elf/tst-order-b2.c: New file.
46645         * elf/tst-order-main.c: New file.
46646         New test case by George Gensure <werkt0@gmail.com>.
46647
46648 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46649
46650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46651         decoding ACE if AI_CANONIDN.
46652
46653 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46654
46655         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46656
46657 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46658
46659         * version.h (RELEASE): Bump for 2.13 release.
46660         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46661
46662         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46663
46664         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46665         MADV_NOHUGEPAGE.
46666         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46667         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46668         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46669         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46671         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46672
46673         * posix/getconf.c: Update copyright year.
46674         * catgets/gencat.c: Likewise.
46675         * csu/version.c: Likewise.
46676         * debug/catchsegv.sh: Likewise.
46677         * debug/xtrace.sh: Likewise.
46678         * elf/ldconfig.c: Likewise.
46679         * elf/ldd.bash.in: Likewise.
46680         * elf/sprof.c (print_version): Likewise.
46681         * iconv/iconv_prog.c: Likewise.
46682         * iconv/iconvconfig.c: Likewise.
46683         * locale/programs/locale.c: Likewise.
46684         * locale/programs/localedef.c: Likewise.
46685         * malloc/memusage.sh: Likewise.
46686         * malloc/mtrace.pl: Likewise.
46687         * nscd/nscd.c (print_version): Likewise.
46688         * nss/getent.c: Likewise.
46689
46690         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46691         PF_CAIF, and PF_ALG.
46692         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46693
46694 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46695
46696         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46697         (modules-names): Use them.
46698         (ifunc-test-modules, ifunc-pie-tests): Define.
46699         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46700         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46701         (test-extras): Likewise.
46702         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46703         $(compile-command.c).
46704         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46705         (all-built-dso): Define.
46706         (check-textrel.out, check-execstack.out): Depend on it.
46707
46708         * configure.in: Don't override --enable-multi-arch.
46709
46710 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46711
46712         [BZ #6812]
46713         * nscd/hstcache.c (tryagain): Define.
46714         (cache_addhst): Return tryagain not notfound for temporary errors.
46715         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46716         failed.
46717
46718 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46719
46720         [BZ #10563]
46721         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46722         to make the syscall.
46723         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46724
46725         [BZ #12378]
46726         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46727         and fall back to matching as normal character if the string ends before
46728         the matching ']' is found.  This is what POSIX requires.
46729         * posix/testfnm.c: Adjust test result.
46730         * posix/globtest.sh: Adjust test result.  Add new test.
46731         * posix/tst-fnmatch.input: Likewise.
46732         * posix/tst-fnmatch2.c: Add new test.
46733
46734 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46735
46736         * elf/Makefile (check-execstack): Revert last change.  Depend on
46737         check-execstack.h.
46738         (check-execstack.h): New target.
46739         (generated): Add check-execstack.h.
46740         * elf/check-execstack.c: Include "check-execstack.h".
46741         (main): Revert last change.
46742         (handle_file): Return zero if GNU_STACK is absent and
46743         DEFAULT_STACK_PERMS doesn't include PF_X.
46744
46745 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46746
46747         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46748         in child fails because the descriptor is already closed.
46749         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46750         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46751         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46752
46753         [BZ #12397]
46754         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46755         syscall.
46756
46757         [BZ #10484]
46758         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46759         temporary buffer used to handle multi lookups locally.
46760         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46761
46762 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46763
46764         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46765         loader is ld.so.
46766
46767 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46768
46769         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46770         alignment for SSE2.
46771
46772 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46773
46774         [BZ #12394]
46775         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46776         characters.  When rounding increased number of integer digits recompute
46777         number of groups.
46778         * stdio-common/tst-grouping.c: New file.
46779         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46780
46781 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46782
46783         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46784         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46785
46786         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46787         void.
46788         * bits/select.h: Likewise.
46789
46790 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46791
46792         * po/ja.po: Update from translation team.
46793
46794 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46795
46796         [BZ #11155]
46797         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46798         implementation just like for lxstat, fxstatat, et al.
46799
46800 2010-12-27  Jim Meyering  <meyering@redhat.com>
46801
46802         [BZ #12348]
46803         * posix/regexec.c (build_trtable): Return failure indication upon
46804         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46805
46806 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46807
46808         [BZ #12201]
46809         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46810         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46811         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46812         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46813
46814         [BZ #12207]
46815         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46816
46817         [BZ #12204]
46818         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46819         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46820
46821 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46822
46823         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46824         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46825         script has SORT_BY_INIT_PRIORITY.
46826         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46827         NO_CTORS_DTORS_SECTIONS is defined.
46828         * elf/soinit.c: Likewise.
46829         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46830         NO_CTORS_DTORS_SECTIONS is defined.
46831         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46832         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46833         * sysdeps/sh/init-first.c: Likewise.
46834         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46835
46836 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46837
46838         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46839         always use the slow path.
46840
46841 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46842
46843         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46844         similar rule which adds the sysdep directories to the header search in
46845         order to pick up the correct platform stackinfo.h.
46846         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46847         perform test if it is, otherwise return successfully without testing.
46848         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46849         DEFAULT_STACK_PERMS define in stackinfo.h.
46850         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46851         defined in stackinfo.h.
46852         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46853         DEFAULT_STACK_PERMS defined in stackinfo.h.
46854         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46855         * sysdeps/ia64/stackinfo.h: Likewise.
46856         * sysdeps/s390/stackinfo.h: Likewise.
46857         * sysdeps/sh/stackinfo.h: Likewise.
46858         * sysdeps/sparc/stackinfo.h: Likewise.
46859         * sysdeps/x86_64/stackinfo.h: Likewise.
46860         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46861         PF_X for powerpc64.  Retain PF_X for powerpc32.
46862
46863 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46864
46865         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46866         accurately.
46867         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46868         GETDENTS_64BIT_ALIGNED.
46869
46870 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46871
46872         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46873
46874 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46875
46876         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46877         _GNU_SOURCE.
46878
46879         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46880         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46881         Remove __restrict.
46882         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46883         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46884
46885 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46886
46887         [BZ #11655]
46888         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46889         are initialized.
46890
46891 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46892
46893         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46894
46895 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46896
46897         * po/it.po: Update from translation team.
46898
46899 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46900
46901         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46902         unused codes.
46903
46904 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46905
46906         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46907
46908 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46909
46910         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46911         specially.
46912         (gaih_getanswer_slice): Likewise.
46913
46914 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46915
46916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46917
46918 2010-05-31  Petr Baudis  <pasky@suse.cz>
46919
46920         [BZ #11149]
46921         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46922         silently even in the chroot mode.
46923
46924 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46925
46926         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46927         last patch a bit.  Pretty printing
46928
46929 2010-05-31  Petr Baudis <pasky@suse.cz>
46930
46931         [BZ #10085]
46932         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46933         initialization of skip_initgroups_dyn.
46934
46935 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46936
46937         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46938         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46939
46940 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46941
46942         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46943
46944 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46945
46946         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46947         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46948         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46949         ($(objpfx)tst-fnmatch-mem): New rule.
46950         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46951         * posix/tst-fnmatch.c (main): Call mtrace.
46952
46953 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46954
46955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46956         Support Intel processor model 6 and model 0x2c.
46957
46958 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46959
46960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46961           signed comparison.
46962
46963 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46964
46965         [BZ #12205]
46966         * string/test-strncasecmp.c (check_result): New function.
46967         (do_one_test): Use it.
46968         (check1): New function.
46969         (test_main): Use it.
46970         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46971         Support strcasecmp and strncasecmp.
46972
46973 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46974
46975         [BZ #12194]
46976         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46977         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46978
46979 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46980
46981         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46982         IFUNC support.
46983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46984         memset-x86-64.
46985         * sysdeps/x86_64/multiarch/bzero.S: New file.
46986         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46987         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46988         * sysdeps/x86_64/multiarch/memset.S: New file.
46989         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46991         Set bit_Prefer_SSE_for_memop for Intel processors.
46992         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46993         Define.
46994         (index_Prefer_SSE_for_memop): Define.
46995         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46996
46997 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46998
46999         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47000         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47001
47002 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47003
47004         [BZ #12191]
47005         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47006         (__x86_64_raw_data_cache_size_half): Likewise.
47007         (__x86_64_raw_shared_cache_size): Likewise.
47008         (__x86_64_raw_shared_cache_size_half): Likewise.
47009
47010         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47011         (__x86_64_raw_data_cache_size_half): Likewise.
47012         (__x86_64_raw_shared_cache_size): Likewise.
47013         (__x86_64_raw_shared_cache_size_half): Likewise.
47014         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47015         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47016         and __x86_64_raw_shared_cache_size_half.  Round
47017         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47018         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47019         to multiple of 256 bytes.
47020
47021 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47022
47023         [BZ #12167]
47024         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47025         of inacessible symlinks.  Verify result of symlink before returning it.
47026         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47027         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47028
47029 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47030
47031         * math/math.h (isinf): Fix typo in comment.
47032
47033 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47034
47035         * po/da.po: Update from translation team.
47036
47037 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47038
47039         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47040         is added to the list.
47041
47042 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47043             Ulrich Drepper  <drepper@gmail.com>
47044
47045         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47046         the global list here.  Move code to...
47047         (_dl_add_to_namespace_list): ...here.  New function.
47048         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47049         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47050         * elf/dl-load.c (lose): Don't remove the element from the list.
47051         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47052         (_dl_map_object): Likewise.
47053
47054 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47055
47056         [BZ #12159]
47057         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47058         into all bytes of SSE register.
47059         Patch by Richard Li <richardpku@gmail.com>.
47060
47061 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47062
47063         [BZ #12140]
47064         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47065         perturbing.
47066
47067 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47068
47069         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47070         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47071         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47072         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47074         submachine.
47075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47076
47077 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47078
47079         * include/dlfcn.h (__RTLD_SECURE): Define.
47080         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47081         mode & __RTLD_SECURE instead.
47082         (open_path): Rename preloaded parameter to secure.
47083         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47084         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47085         * elf/dl-deps.c (openaux): Likewise.
47086         * elf/rtld.c (struct map_args): Remove is_preloaded.
47087         (map_doit): Don't use it.
47088         (dl_main): Likewise.
47089         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47090         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47091
47092 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47093
47094         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47095         (sysd-rules-targets): Remove duplicates.
47096         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47097         rtld-%.$o dependency.
47098
47099 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47100
47101         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47102         _dl_map_object do it.
47103
47104 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47105
47106         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47107         fast fma builtins, define the macros in the C99 standard.
47108         (FP_FAST_FMAF): Likewise.
47109         (FP_FAST_FMAL): Likewise.
47110         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47111
47112         * bits/mathdef.h: Update copyright year.
47113         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47114
47115 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47116
47117         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47118         builtins, define the macros in the C99 standard.
47119         (FP_FAST_FMAF): Likewise.
47120         (FP_FAST_FMAL): Likewise.
47121         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47122         multiply/add.
47123         (FP_FAST_FMAF): Likewise.
47124
47125 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47126
47127         [BZ #3268]
47128         * math/libm-test.inc (fma_test): Some new testcases.
47129         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47130         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47131         y and infinite z.  Do multiplication by C already in long double.
47132         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47134         y and infinite z.  Do bitwise or of inexact bit into u.d.
47135         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47136         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47137         * sysdeps/i386/fpu/s_fma.S: Removed.
47138         * sysdeps/i386/fpu/s_fmal.S: Removed.
47139
47140 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47141
47142         [BZ #3268]
47143         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47145         computation is not scheduled after fetestexcept.  Fix value
47146         of minimum denormal long double.
47147
47148 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47149
47150         [BZ #3268]
47151         * math/libm-test.inc (fma_test): Add some more tests.
47152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47153         correctly.
47154
47155 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47156
47157         * scripts/data/localplt-s390-linux-gnu.data: New file.
47158         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47159
47160 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47161
47162         [BZ #3268]
47163         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47164         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47165         instead of dbl-64.
47166         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47167         inlines.
47168         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47170         if one of x and y is very large and the other is subnormal.
47171         * sysdeps/s390/fpu/s_fmaf.c: New file.
47172         * sysdeps/s390/fpu/s_fma.c: New file.
47173         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47174         * sysdeps/powerpc/fpu/s_fma.S: New file.
47175         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47176         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47177         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47178
47179 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47180
47181         [BZ #3268]
47182         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47183         fma tests.
47184         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47185         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47186         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47187         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47188         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47189         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47191
47192 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47193
47194         [BZ #12078]
47195         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47196         * posix/bug-regex31.input: Add test case.
47197
47198 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47199
47200         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47201         * posix/bug-regex31.input: New file.
47202
47203         [BZ #12078]
47204         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47205         (parse_sub_exp): Fix last change, use postorder.
47206
47207         * posix/bug-regex31.c: New file.
47208         * posix/Makefile: Add rules to build and run bug-regex31.
47209
47210         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47211
47212         [BZ #12078]
47213         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47214
47215         [BZ #12108]
47216         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47217         to have entries in sys_siglist.
47218
47219         [BZ #12093]
47220         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47221         be NULL.
47222
47223 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47224
47225         [BZ #3268]
47226         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47227         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47228         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47229         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47230         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47231         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47232         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47233         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47234         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47235         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47236         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47237         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47238         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47239         * math/ftestexcept.c (fetestexcept): Likewise.
47240         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47241         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47242         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47243         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47244         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47245         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47246         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47247
47248 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47249
47250         [BZ #12107]
47251         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47252         newline.
47253
47254 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47255
47256         * string/bug-strstr1.c: New file.
47257         * string/Makefile: Add rules to build and run bug-strstr1.
47258
47259 2010-10-05  Eric Blake  <eblake@redhat.com>
47260
47261         [BZ #12092]
47262         * string/str-two-way.h (two_way_long_needle): Always clear memory
47263         when skipping input due to the shift table.
47264
47265 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47266
47267         [BZ #12005]
47268         * malloc/mcheck.c: Handle large requests.
47269
47270         [BZ #12077]
47271         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47272         for strncmp and strncasecmp.
47273         * string/stratcliff.c: Add tests for strcmp and strncmp.
47274         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47275
47276 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47277
47278         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47279         __set_fpscr.
47280
47281 2010-09-30  Andreas Jaeger  <aj@suse.de>
47282
47283         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47284         (CGROUP_SUPER_MAGIC): Define.
47285         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47286         Handle btrfs and cgroup file systems.
47287         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47288         Likewise.
47289
47290 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47291
47292         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47293         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47294
47295 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47296
47297         [BZ #12067]
47298         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47299         trying to locate the ELF header.
47300
47301 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47302
47303         [BZ #11611]
47304         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47305         Mask out sign-bit copies when constructing f_fsid.
47306
47307 2010-09-24  Petr Baudis <pasky@suse.cz>
47308
47309         * debug/stack_chk_fail_local.c: Add missing licence exception.
47310         * debug/warning-nop.c: Likewise.
47311
47312 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47313
47314         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47315         implementing getdents64 using getdents syscall, set d_type if
47316         __ASSUME_GETDENTS32_D_TYPE.
47317
47318 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47319
47320         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47321         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47322
47323 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47324
47325         [BZ #12037]
47326         * posix/unistd.h: Undo change of feature selection for ftruncate from
47327         2010-01-11.
47328
47329 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47330
47331         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47332         detection.
47333
47334 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47335
47336         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47337         fanotify_mark.
47338         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47339
47340 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47341
47342         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47343         variables after CHECK_SP call.
47344         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47345
47346 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47347             Ulrich Drepper  <drepper@redhat.com>
47348
47349         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47350         re-relocationg ld.so.
47351         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47352         _dl_init_paths call.
47353         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47354         here anymore.
47355
47356 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47357
47358         * resolv/res_init.c (__res_vinit): Count the default server we added.
47359
47360 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47361             Ulrich Drepper  <drepper@redhat.com>
47362
47363         [BZ #11968]
47364         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47365         (____longjmp_chk): Use %ebx for saving value across system call.
47366         Add unwind info.
47367
47368 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47369
47370         * manual/Makefile: Don't mix pattern rules with normal rules.
47371
47372 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47373
47374         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47375         operation.
47376         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47377         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47378         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47379         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47381         Likewise.
47382
47383 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47384
47385         [BZ #11979]
47386         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47387         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47388
47389 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47390
47391         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47392         * sysdeps/x86_64/addmul_1.S: Likewise.
47393         * sysdeps/x86_64/lshift.S: Likewise.
47394         * sysdeps/x86_64/mul_1.S: Likewise.
47395         * sysdeps/x86_64/rshift.S: Likewise.
47396         * sysdeps/x86_64/sub_n.S: Likewise.
47397         * sysdeps/x86_64/submul_1.S: Likewise.
47398
47399 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47400
47401         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47402         Define __sched_param instead of SCHED_* and sched_param when
47403         <bits/sched.h> is included with __need_schedparam defined.
47404         * bits/sched.h [__need_schedparam]
47405         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47406         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47407         (__defined_schedparam): Define to 1.
47408         (__sched_param): New structure, identical to sched_param.
47409         (__need_schedparam): Undefine.
47410
47411 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47412
47413         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47414         (epoll_create1): Declare.
47415
47416         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47417
47418 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47419
47420         [BZ #7066]
47421         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47422         shifting retval into place.
47423
47424 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47425
47426         * nis/rpcsvc/nis.h: Update copyright notice.
47427         * nis/rpcsvc/nis.x: Likewise.
47428         * nis/rpcsvc/nis_callback.h: Likewise.
47429         * nis/rpcsvc/nis_callback.x: Likewise.
47430         * nis/rpcsvc/nis_object.x: Likewise.
47431         * nis/rpcsvc/nis_tags.h: Likewise.
47432         * nis/rpcsvc/yp.h: Likewise.
47433         * nis/rpcsvc/yp.x: Likewise.
47434         * nis/rpcsvc/ypupd.h: Likewise.
47435         * nis/yp_xdr.c: Likewise.
47436         * nis/ypupdate_xdr.c: Likewise.
47437
47438         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47439         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47440         (pmap_getport): Use __libc_rpc_getport.
47441         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47442         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47443         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47444
47445 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47446
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47448         fanotify_mark.
47449
47450 2010-08-27  Roland McGrath  <roland@redhat.com>
47451
47452         * sysdeps/i386/i686/multiarch/Makefile
47453         (CFLAGS-varshift.c): New variable.
47454
47455 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47456
47457         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47458         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47459
47460         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47461
47462         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47463
47464 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47465
47466         * sysdeps/x86_64/strlen.S: Unroll the loop.
47467         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47468         strlen-sse2 strlen-sse2-bsf.
47469         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47470         __strlen_no_bsf if bit_Slow_BSF is set.
47471         (__strlen_sse42): Removed.
47472         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47473         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47474
47475 2010-08-25  Roland McGrath  <roland@redhat.com>
47476
47477         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47478         * sysdeps/x86_64/multiarch/varshift.c: New file.
47479         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47480         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47481         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47482         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47483
47484 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47485
47486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47487         strlen-sse2 strlen-sse2-bsf.
47488         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47489         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47490         (__strlen_sse2): Removed.
47491         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47492         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47494         bit_Slow_BSF for Atom.
47495         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47496         (index_Slow_BSF): Define.
47497         (HAS_SLOW_BSF): Define.
47498
47499 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47500
47501         [BZ #10851]
47502         * resolv/res_init.c (__res_vinit): When no server address at all
47503         is given default to loopback.
47504
47505 2010-08-24  Roland McGrath  <roland@redhat.com>
47506
47507         * configure.in: Remove config-name.h generation.
47508         * configure: Regenerated.
47509         * config-name.in: File removed.
47510         * scripts/config-uname.sh: New file.
47511         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47512         ($(objdir)config-name.h): New target.
47513
47514         * sunrpc/rpc_parse.h: Avoid nested comment.
47515
47516 2010-08-24  Richard Henderson  <rth@redhat.com>
47517             Ulrich Drepper  <drepper@redhat.com>
47518             H.J. Lu  <hongjiu.lu@intel.com>
47519
47520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47522         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47523         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47524         _mm_alignr_epi8 with _mm_loadu_si128.
47525         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47526         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47527         (__m128i_shift_right): Removed.
47528         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47529         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47530         * sysdeps/x86_64/multiarch/varshift.h: New file.
47531         * sysdeps/x86_64/multiarch/varshift.S: New file.
47532
47533 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47534
47535         * configure.in: Move assembler checks to before sysdep dir checking.
47536
47537 2010-08-20  Petr Baudis  <pasky@suse.cz>
47538
47539         * LICENSES: Sync the sunrpc license.
47540
47541 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47542
47543         * sunrpc/auth_des.c: Update copyright notice once again.
47544         * sunrpc/auth_none.c: Likewise.
47545         * sunrpc/auth_unix.c: Likewise.
47546         * sunrpc/authdes_prot.c: Likewise.
47547         * sunrpc/authuxprot.c: Likewise.
47548         * sunrpc/bindrsvprt.c: Likewise.
47549         * sunrpc/clnt_gen.c: Likewise.
47550         * sunrpc/clnt_perr.c: Likewise.
47551         * sunrpc/clnt_raw.c: Likewise.
47552         * sunrpc/clnt_simp.c: Likewise.
47553         * sunrpc/clnt_tcp.c: Likewise.
47554         * sunrpc/clnt_udp.c: Likewise.
47555         * sunrpc/clnt_unix.c: Likewise.
47556         * sunrpc/des_crypt.c: Likewise.
47557         * sunrpc/des_soft.c: Likewise.
47558         * sunrpc/get_myaddr.c: Likewise.
47559         * sunrpc/getrpcport.c: Likewise.
47560         * sunrpc/key_call.c: Likewise.
47561         * sunrpc/key_prot.c: Likewise.
47562         * sunrpc/openchild.c: Likewise.
47563         * sunrpc/pm_getmaps.c: Likewise.
47564         * sunrpc/pm_getport.c: Likewise.
47565         * sunrpc/pmap_clnt.c: Likewise.
47566         * sunrpc/pmap_prot.c: Likewise.
47567         * sunrpc/pmap_prot2.c: Likewise.
47568         * sunrpc/pmap_rmt.c: Likewise.
47569         * sunrpc/rpc/auth.h: Likewise.
47570         * sunrpc/rpc/auth_unix.h: Likewise.
47571         * sunrpc/rpc/clnt.h: Likewise.
47572         * sunrpc/rpc/des_crypt.h: Likewise.
47573         * sunrpc/rpc/key_prot.h: Likewise.
47574         * sunrpc/rpc/netdb.h: Likewise.
47575         * sunrpc/rpc/pmap_clnt.h: Likewise.
47576         * sunrpc/rpc/pmap_prot.h: Likewise.
47577         * sunrpc/rpc/pmap_rmt.h: Likewise.
47578         * sunrpc/rpc/rpc.h: Likewise.
47579         * sunrpc/rpc/rpc_des.h: Likewise.
47580         * sunrpc/rpc/rpc_msg.h: Likewise.
47581         * sunrpc/rpc/svc.h: Likewise.
47582         * sunrpc/rpc/svc_auth.h: Likewise.
47583         * sunrpc/rpc/types.h: Likewise.
47584         * sunrpc/rpc/xdr.h: Likewise.
47585         * sunrpc/rpc_clntout.c: Likewise.
47586         * sunrpc/rpc_cmsg.c: Likewise.
47587         * sunrpc/rpc_common.c: Likewise.
47588         * sunrpc/rpc_cout.c: Likewise.
47589         * sunrpc/rpc_dtable.c: Likewise.
47590         * sunrpc/rpc_hout.c: Likewise.
47591         * sunrpc/rpc_main.c: Likewise.
47592         * sunrpc/rpc_parse.c: Likewise.
47593         * sunrpc/rpc_parse.h: Likewise.
47594         * sunrpc/rpc_prot.c: Likewise.
47595         * sunrpc/rpc_sample.c: Likewise.
47596         * sunrpc/rpc_scan.c: Likewise.
47597         * sunrpc/rpc_scan.h: Likewise.
47598         * sunrpc/rpc_svcout.c: Likewise.
47599         * sunrpc/rpc_tblout.c: Likewise.
47600         * sunrpc/rpc_util.c: Likewise.
47601         * sunrpc/rpc_util.h: Likewise.
47602         * sunrpc/rpcinfo.c: Likewise.
47603         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47604         * sunrpc/rpcsvc/key_prot.x: Likewise.
47605         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47606         * sunrpc/rpcsvc/mount.x: Likewise.
47607         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47608         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47609         * sunrpc/rpcsvc/rex.x: Likewise.
47610         * sunrpc/rpcsvc/rstat.x: Likewise.
47611         * sunrpc/rpcsvc/rusers.x: Likewise.
47612         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47613         * sunrpc/rpcsvc/spray.x: Likewise.
47614         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47615         * sunrpc/rtime.c: Likewise.
47616         * sunrpc/svc.c: Likewise.
47617         * sunrpc/svc_auth.c: Likewise.
47618         * sunrpc/svc_authux.c: Likewise.
47619         * sunrpc/svc_raw.c: Likewise.
47620         * sunrpc/svc_run.c: Likewise.
47621         * sunrpc/svc_simple.c: Likewise.
47622         * sunrpc/svc_tcp.c: Likewise.
47623         * sunrpc/svc_udp.c: Likewise.
47624         * sunrpc/svc_unix.c: Likewise.
47625         * sunrpc/svcauth_des.c: Likewise.
47626         * sunrpc/xcrypt.c: Likewise.
47627         * sunrpc/xdr.c: Likewise.
47628         * sunrpc/xdr_array.c: Likewise.
47629         * sunrpc/xdr_float.c: Likewise.
47630         * sunrpc/xdr_mem.c: Likewise.
47631         * sunrpc/xdr_rec.c: Likewise.
47632         * sunrpc/xdr_ref.c: Likewise.
47633         * sunrpc/xdr_sizeof.c: Likewise.
47634         * sunrpc/xdr_stdio.c: Likewise.
47635
47636         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47637         handling.
47638
47639 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47640
47641         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47642
47643 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47644
47645         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47646         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47647         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47648         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47649         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47650         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47651         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47652         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47653         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47654         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47655         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47656         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47657         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47658         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47659
47660 2010-07-26  Anton Blanchard  <anton@samba.org>
47661
47662         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47663         * malloc/arena.c (heap_trim): Likewise.
47664
47665 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47666
47667         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47668         here.  Not...
47669         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47670         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47671
47672 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47673
47674         * sysdeps/i386/elf/Makefile: New file.
47675
47676 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47677
47678         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47679         from fanotify_init.
47680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47682
47683 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47684
47685         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47686         of strncasecmp_l.
47687         * sysdeps/multiarch/strcmp.S: Likewise.
47688
47689 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47690
47691         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47692         strncase_l-nonascii.
47693         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47694         Add strncase_l-ssse3.
47695         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47696         * sysdeps/x86_64/strcmp.S: Likewise.
47697         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47698         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47699         * sysdeps/x86_64/strncase.S: New file.
47700         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47701         * sysdeps/x86_64/strncase_l.S: New file.
47702         * string/Makefile (strop-tests): Add strncasecmp.
47703         * string/test-strncasecmp.c: New file.
47704
47705         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47706         warning.
47707
47708         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47709         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47710
47711 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47712
47713         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47714
47715 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47716
47717         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47718         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47719         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47720
47721 2010-05-01  Alan Modra  <amodra@gmail.com>
47722
47723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47724         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47725         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47726         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47727         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47728         tidying.  Don't tail-call __sigjmp_save for static lib.
47729         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47730         save location.
47731         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47732         (CALL_MCOUNT): Add eh info, and nop after bl.
47733         (TAIL_CALL_SYSCALL_ERROR): New macro.
47734         (PSEUDO_RET): Use it.
47735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47736         Correct save location of integer regs and cr.
47737         (_dl_profile_resolve): Correct cr save location.  Delete nops
47738         after bl when SHARED.  Reduce cfi size a little by better
47739         placement of cfi directives.
47740         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47741         make a stack frame.  Instead use parm save area as a temp.
47742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47743         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47745         Don't make a stack frame for parent, use parm save area.
47746         Increase child stack frame to 112 bytes.  Don't save unused reg,
47747         and adjust reg usage.  Set up cfi on error recovery and
47748         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47750         (__makecontext): Add dummy nop after jump to exit.
47751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47752         Use correct parm save area and cr save, reduce stack frame.
47753         Correct cfi for possible PSEUDO_RET frame setup.
47754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47755         Branch to local label emitted by PSEUDO_RET rather than
47756         __syscall_error.
47757
47758 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47759
47760         [BZ #11904]
47761         * locale/programs/locale.c (print_assignment): New function.
47762         (show_locale_vars): Use it.
47763
47764 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47765
47766         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47767         field.
47768         (struct statfs64): Likewise.
47769         (_STATFS_F_FLAGS): Define.
47770         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47771         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47772         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47773         (ST_VALID): Define locally.
47774         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47775         __statvfs_getflags, use the provided value.
47776         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47777         __ASSUME_STATFS_F_FLAGS.
47778
47779         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47780
47781         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47782         Add sys/fanotify.h.
47783         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47784         fanotify_mask for GLIBC_2.13.
47785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47786         fanotify_init and fanotify_mark.
47787         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47788         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47789
47790         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47791         Add prlimit.
47792         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47793         prlimit64 for GLIBC_2.13.
47794         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47795         prlimit64.
47796         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47797         syscall.
47798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47799         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47800         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47801         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47803         add prlimit alias.
47804         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47805
47806         [BZ #11903]
47807         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47808         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47809
47810         * nss/Makefile: Add rules to build and run tst-nss-test1.
47811         * shlib-versions: Add entry for libnss_test1.
47812         * nss/nss_test1.c: New file.
47813         * nss/tst-nss-test1.c: New file.
47814
47815         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47816         (__nss_configure_lookup): Set appropriate entry in
47817         __nss_configure_lookup to true.
47818         * nss/nsswitch.h: Define enum with indeces of databases in
47819         databases and __nss_database_custom arrays.  Declare
47820         __nss_database_custom.
47821         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47822         to avoid using nscd when custom rules are installed.
47823         * nss/getXXbyYY_r.c: Likewise.
47824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47825
47826         * nss/nss_files/files-parse.c: Whitespace fixes.
47827
47828 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47829
47830         [BZ #11883]
47831         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47832         * posix/fnmatch_loop.c: Likewise.
47833
47834 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47835
47836         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47837         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47838         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47839         * Versions.def [GLIBC_2.13]: Add.
47840
47841 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47842
47843         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47844         Also fail if tpwd after pwuid call is NULL.
47845
47846 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47847
47848         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47849         when converting to ms.
47850
47851 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47852
47853         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47854         EOPNOTSUPP errors with ENOTTY.
47855         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47856         EOPNOTSUPP errors with ENOTTY.
47857
47858 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47859
47860         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47861         Add strcasecmp_l-ssse3.
47862         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47863         strcasecmp.
47864         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47865         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47866         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47867
47868 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47869
47870         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47871
47872         * string/Makefile (strop-tests): Add strcasecmp.
47873         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47874         strcasecmp_l-nonascii.
47875         (gen-as-const-headers): Add locale-defines.sym.
47876         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47877         * sysdeps/x86_64/strcasecmp.S: New file.
47878         * sysdeps/x86_64/strcasecmp_l.S: New file.
47879         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47880         * sysdeps/x86_64/locale-defines.sym: New file.
47881         * string/test-strcasecmp.c: New file.
47882
47883         * string/test-strcasestr.c: Test both ends of the range of characters.
47884         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47885
47886 2010-07-29  Roland McGrath  <roland@redhat.com>
47887
47888         [BZ #11856]
47889         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47890
47891 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47892
47893         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47894         for ld.so.
47895
47896 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47897
47898         * manual/memory.texi (Malloc Tunable Parameters): Document
47899         M_PERTURB.
47900
47901 2010-07-26  Roland McGrath  <roland@redhat.com>
47902
47903         [BZ #11840]
47904         * configure.in (-fgnu89-inline check): Set and substitute
47905         gnu89_inline, not libc_cv_gnu89_inline.
47906         * configure: Regenerated.
47907         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47908
47909 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47910
47911         * string/test-strnlen.c: New file.
47912         * string/Makefile (strop-tests): Add strnlen.
47913         * string/tester.c (test_strnlen): Add a few more test cases.
47914         * string/tst-strlen.c: Better error reporting.
47915
47916         * sysdeps/x86_64/strnlen.S: New file.
47917
47918 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47919
47920         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47921         lower-latency instructions.
47922
47923 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47924
47925         * string/test-strcasestr.c: New file.
47926         * string/test-strstr.c: New file.
47927         * string/Makefile (strop-tests): Add strstr and strcasestr.
47928         * string/str-two-way.h: Don't undefine MAX.
47929         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47930
47931 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47932
47933         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47934         strcasestr-nonascii.
47935         (CFLAGS-strcasestr-nonascii.c): Define.
47936         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47937         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47938         Remove unused attribute.
47939
47940 2010-07-20  Roland McGrath  <roland@redhat.com>
47941
47942         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47943         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47944         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47945         like LD_HWCAP_MASK can disable hwcaps.
47946
47947 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47948
47949         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47950
47951 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47952
47953         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47954         call in strcasestr.
47955         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47956         __strcasestr_sse42_nonascii.
47957         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47958         strcasestr-nonascii.c.
47959         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47960
47961 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47962
47963         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47964         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47966         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47967
47968 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47969
47970         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47971         fcntl.
47972
47973 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47974
47975         [BZ #11577]
47976         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47977         dl_signal_cerror.
47978
47979 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47980
47981         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47982         _PC_PIPE_BUF using F_GETPIPE_SZ.
47983
47984 2010-07-05  Roland McGrath  <roland@redhat.com>
47985
47986         * manual/arith.texi (Rounding Functions): Fix rint description
47987         implicit in round description.
47988
47989 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47990
47991         * elf/Makefile: Fix linking for a few tests to make recent linker
47992         happy.
47993
47994 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47995
47996         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47997         $(common-objpfx)libc_nonshared.a.
47998
47999 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48000
48001         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48002         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48003         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48004         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48005         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48006         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48007         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48008         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48023         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48024         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48025         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48026         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48027         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48028         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48029         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48030         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48031         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48032         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48033         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48034         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48049
48050 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48051
48052         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48053         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48054         * string/memmove.c (memmove): Renamed to ...
48055         (MEMMOVE): ...this.  Default to memmove.
48056         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48057         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48058         (END_CHK): Define.
48059         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48060         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48061         mempcpy-ssse3-back memmove-ssse3-back.
48062         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48063         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48064         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48065         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48066         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48067         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48068         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48069         * sysdeps/x86_64/multiarch/memmove.c: New file.
48070         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48071         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48072         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48073         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48074         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48075         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48076         Define.
48077         (index_Fast_Copy_Backward): Define.
48078         (HAS_ARCH_FEATURE): Define.
48079         (HAS_FAST_REP_STRING): Define.
48080         (HAS_FAST_COPY_BACKWARD): Define.
48081
48082 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48083
48084         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48085         Restore proper fallback handling.
48086
48087 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48088
48089         [BZ #11701]
48090         * posix/group_member.c (__group_member): Correct checking loop.
48091
48092         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48093         OOM in getpwuid_r correctly.  Return error number when the caller
48094         should return, otherwise -1.
48095         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48096         call returning > 0 value.
48097         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48098
48099 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48100
48101         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48102         libc_nonshared.a from targets in modules-names.
48103
48104 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48105
48106         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48107         requires it.
48108
48109 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48110
48111         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48112         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48114         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48115
48116 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48117
48118         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48119
48120 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48121
48122         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48123         and F_GETPIPE_SZ.
48124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48126         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48129         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48130
48131 2010-06-14  Roland McGrath  <roland@redhat.com>
48132
48133         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48134
48135 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48136
48137         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48138         __REDIRECT followed by __THROW.
48139         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48140         * posix/getopt.h (getopt): Likewise.
48141
48142 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48143
48144         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48145         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48146         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48147         in AT_FLAGS.
48148         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48149         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48150
48151 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48152
48153         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48154
48155 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48156
48157         [BZ #11640]
48158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48159         Properly check family and model.
48160
48161 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48162
48163         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48164
48165 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48166
48167         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48168
48169 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48170
48171         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48172         symbol reference.
48173
48174 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48175
48176         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48177         symbol reference.
48178
48179 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48180
48181         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48182         and internal_recvmmsg.
48183         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48184         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48185         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48186         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48187
48188         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48189         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48190         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48191
48192 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48193
48194         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48195
48196 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48197
48198         POWER7 optimizations.
48199         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48200         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48201
48202 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48203
48204         * version.h: Update for 2.13 development version.
48205
48206 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48207
48208         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48209         exceptions.  Return 0.
48210
48211 2010-05-07  Roland McGrath  <roland@redhat.com>
48212
48213         * elf/ldconfig.c (main): Add a const.
48214
48215 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48216
48217         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48218         (args_options): Add no-idn option.
48219         (ahosts_keys_int): Add idn_flags to ai_flags.
48220         (parse_option): Handle 'i' option to clear idn_flags.
48221
48222         * malloc/malloc.c (_int_free): Possible race in the most recently
48223         added check.  Only act on the data if no current modification
48224         happened.
48225
48226 See ChangeLog.17 for earlier changes.