Add missing #include <fpu_control.h> to ARM fesetenv/feupdateenv.
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4         * sysdeps/arm/feupdateenv.c: Likewise.
5
6         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7
8 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9
10         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11         trailing whitespace removed.
12         * scripts/config.guess: Update to version 2014-03-23.
13         * scripts/config.sub: Update to version 2014-05-01
14         * scripts/install-sh: Update to version 2013-12-25.23.
15         * scripts/move-if-change: Update from gnulib.
16
17 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18
19         * debug/memmove_chk.c: Remove pagecopy.h include.
20
21 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22
23         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
24         identical to gnulib mktime.
25
26 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27
28         * configure.ac: Do not test for machine being rs6000.  Do not test
29         for powerpc*-*soft.
30         * configure: Regenerated.
31
32         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33         test.
34         * configure: Regenerated.
35         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
36         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37         Remove configure test.
38         * sysdeps/arm/configure: Regenerated.
39         * sysdeps/nptl/configure.ac: Do not check
40         libc_cv_asm_cfi_directives.
41         * sysdeps/nptl/configure: Regenerated.
42         * sysdeps/x86_64/nptl/configure.ac: Remove file.
43         * sysdeps/x86_64/nptl/configure: Remove generated file.
44         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45         unconditional.
46         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47
48 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49
50         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
51         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
52         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
53         it is defined.
54
55         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
56         instead of whether it is defined.
57         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
58         * sysdeps/hppa/dl-machine.h: Likewise.
59         * sysdeps/ia64/dl-machine.h: Likewise.
60         * sysdeps/m68k/dl-machine.h: Likewise.
61         * sysdeps/microblaze/dl-machine.h: Likewise.
62         * sysdeps/mips/dl-machine.: Likewise.
63         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67         * sysdeps/sh/dl-machine.h: Likewise.
68         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70         * sysdeps/tile/dl-machine.h: Likewise.
71         * sysdeps/x86_64/dl-machine.h: Likewise.
72
73         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
74         code.
75         (verify_persistent_db): Likewise.
76
77 2014-06-26  Roland McGrath  <roland@hack.frob.com>
78
79         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
80         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
81         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
82         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
83         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84         Moved ...
85         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
86         ... here.
87         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
88         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
89         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
90         Identical file removed.
91         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
92         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
93         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
94         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
95         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
96         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
97         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
98         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
99         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
102         Moved ...
103         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
105         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
107         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
109         Moved ...
110         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
112         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
114         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
116         Identical file removed.
117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
118         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
120         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
122         Moved ...
123         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
124         ... here.
125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
126         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
128         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
130         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
134         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
136         Moved ...
137         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
139         Moved ...
140         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
142         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
144         Moved ...
145         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
148
149         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
150         folded into ...
151         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
152         * sysdeps/unix/sysv/linux/s390/Versions
153         (libpthread: GLIBC_2.19): New version set.
154         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
155         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
156         (librt: GLIBC_2.3.3): New version set.
157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
158         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
159         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
160         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
161         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
162         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
163         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
164         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
165         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
166         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
167         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
168         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
169         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
170         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
171         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
172         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
173         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
174         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
175         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
176         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
177         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
179         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
180         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
181         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
183         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
185         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
187         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
188         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
189         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
193         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
195         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
197         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
199         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
202
203         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
204         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
205         (__libc_vfork): Define the function under this name.
206         [!NOT_IN_libc] (__vfork): Make this an alias.
207         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
209         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
210         (__libc_vfork): Define the function under this name.
211         [!NOT_IN_libc] (__vfork): Make this an alias.
212         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
213         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
217         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
218
219         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
220         code that was previously under [RESET_PID].
221         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
222         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
224
225         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
226         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
227         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
228         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
230         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
231         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
232         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
233         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
234         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
235         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
236         Moved ...
237         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
238         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
240         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
242         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
244         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
245         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
246         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
247         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
248         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
249         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
250         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
251         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
252         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
253         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
254         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
255         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
256         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
257         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
258         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
259         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
260         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
261         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
262         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
263         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
265         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
266
267 2014-06-25  Roland McGrath  <roland@hack.frob.com>
268
269         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
270         that was previously under [RESET_PID].
271         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
272
273 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
274
275         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
276         not undefine and redefine.
277         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
278         [O_CLOEXEC]: Make code unconditional.
279         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
280         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
281         <kernel-features.h>.
282         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
283         conditional variable definition.
284         (shm_open) [O_CLOEXEC]: Make code unconditional.
285         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
286         code.
287
288         * configure.ac (USE_REGPARMS): Don't define here.
289         * configure: Regenerated.
290         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
291         * sysdeps/i386/configure: Regenerated.
292
293         * nptl/createthread.c: Don't include kernel-features.h.
294         * nptl/pthread_cancel.c: Likewise.
295         * nptl/pthread_condattr_setclock.c: Likewise.
296         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
297         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
298         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
299         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
300         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
301         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
302         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
305         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
306         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
307         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
308         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
309         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
310         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
311         * nscd/gai.c: Likewise.
312         * nss/nss_db/db-open.c: Likewise.
313         * sysdeps/generic/ldsodefs.h: Likewise.
314         * sysdeps/sh/nptl/tls.h: Likewise.
315         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
316         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
317         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
318         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
319         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
320         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
321         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
322         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
324         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
325         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
326         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
327         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
328         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
329         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
330         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
331         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
332         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
333         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
334         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
337         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
338         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
343         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
344         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
345         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
347         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
348         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
349         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
350         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
351         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
352         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
353         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
354         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
355         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
356         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
357         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
358         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
359         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
360         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
361         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
362         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
363         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
364         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
365         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
366         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
367         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
368         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
369         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
370         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
395         * sysdeps/unix/sysv/linux/pread.c: Likewise.
396         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
397         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
398         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
399         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
400         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
401         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
402         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
403         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
404         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
405         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
406         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
407         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
408         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
409         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
410         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
411         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
412         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
413         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
414         * sysdeps/unix/sysv/linux/system.c: Likewise.
415         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
416         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
417         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
418         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
419         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
420         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
421         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
422
423         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
424         * configure: Regenerated.
425         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
426
427         * configure.ac (base_machine): Do not set specially for particular
428         machines here.
429         * configure: Regenerated.
430         * sysdeps/powerpc/preconfigure: Move machine and base_machine
431         settings from configure.ac.
432         * sysdeps/i386/preconfigure: New file.
433         * sysdeps/s390/preconfigure: Likewise.
434         * sysdeps/sh/preconfigure: Likewise.
435         * sysdeps/sparc/preconfigure: Likewise.
436
437 2014-06-25  Roland McGrath  <roland@hack.frob.com>
438
439         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
440         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
441         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
442         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
443         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
444         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
445         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
446         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
447         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
448         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
449         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
450         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
451         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
452         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
453         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
456         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
457         * sysdeps/sparc/sparc64/Makefile: ... appended here.
458
459         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
460         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
461         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
462         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
463         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
464         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
465         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
466         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
467         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
468         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
469         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
470         * sysdeps/sparc/sparc32/sem_post.c: ... here.
471         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
472         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
473         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
474         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
475         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
476         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
477         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
478         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
480         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
482         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
484         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
489         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
490         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
492         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
494         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
496         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
497
498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
499         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
501         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
503         Moved ...
504         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
505         ... here.
506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
509         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
511         Moved ...
512         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
514         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
516         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
518         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
520         Moved ...
521         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
523         Moved ...
524         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
526         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
528         Moved ...
529         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
531         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
533         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
535         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
539         Moved ...
540         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
541         ... here.
542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
547         Moved ...
548         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
550         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
552         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
554         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
556         Moved ...
557         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
559         Moved ...
560         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
562         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
564         Moved ...
565         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
569         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
570
571 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
572
573         * timezone/checktab.awk: Update from tzcode 2014e.
574         * timezone/private.h: Likewise.
575         * timezone/tzfile.h: Likewise.
576         * timezone/zdump.c: Likewise.
577         * timezone/zic.c: Likewise.
578
579         * sysdeps/unix/sysv/linux/kernel-features.h
580         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
581         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
582         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
583         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
584         Remove conditional code.
585
586 2014-06-25  Will Newton  <will.newton@linaro.org>
587
588         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
589         (_dl_arm_cap_flags): Add HWCAP2 values.
590         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
591         (_DL_HWCAP_COUNT): Increase to 37.
592         (_DL_HWCAP_LAST): New define.
593         (_DL_HWCAP2_LAST): New define.
594         (_dl_procinfo): Add support for printing
595         AT_HWCAP2 entries.
596         (_dl_string_hwcap): Use _dl_hwcap_string.
597
598 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
599
600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
601
602 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
603
604         * README: Do not mention ports directory.
605
606         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
607         Remove macro.
608         * sysdeps/unix/sysv/linux/futimes.c: Do not include
609         <kernel-features.h>.
610         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
611         conditional variable definition.
612         (__futimes): Update comment.
613         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
614         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
615
616         [BZ #16560]
617         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
618         arguments close to 0.
619         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
620         Likewise.
621         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
622         Likewise.
623         * math/auto-libm-test-in: Add more tests of exp10.
624         * math/auto-libm-test-out: Regenerated.
625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
626
627         * sysdeps/unix/sysv/linux/kernel-features.h
628         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
629         * sysdeps/unix/sysv/linux/readv.c: Do not include
630         <kernel-features.h>.
631         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
632         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
633         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
634         unconditional.
635         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
636         conditional code.
637         * sysdeps/unix/sysv/linux/writev.c: Do not include
638         <kernel-features.h>.
639         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
640         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
641         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
642         unconditional.
643         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
644         conditional code.
645
646 2014-06-25  Will Newton  <will.newton@linaro.org>
647
648         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
649         comment changes throughout the file.  Remove checks
650         for HAVE_*_H definitions that are not required.
651         (__gen_tempname): Call abort if an unknown kind value is
652         passed.
653
654 2014-06-25  Andreas Schwab  <schwab@suse.de>
655
656         [BZ #17086]
657         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
658         scalbln, scalblnf, scalblnl in libc.
659
660 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
661
662         [BZ #17086]
663         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
664         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
665         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
666
667 2014-06-24  Roland McGrath  <roland@hack.frob.com>
668
669         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
670         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
671         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
672         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
673         Update #include.
674         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
675         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
676         Update #include.
677         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
678         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
679         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
680         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
681         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
682         * sysdeps/x86/bits/pthreadtypes.h: ... here.
683         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
684         * sysdeps/x86/bits/semaphore.h: ... here.
685         * sysdeps/x86/nptl/elide.h: Moved ...
686         * sysdeps/x86/elide.h: ... here.
687         * sysdeps/x86_64/nptl/Implies: File removed.
688         * sysdeps/i386/nptl/Implies: File removed.
689
690 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
691
692         [BZ #16539]
693         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
694         return the argument for normal arguments with exponent below -64.
695         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
696         Likewise.
697         * math/auto-libm-test-in: Add another test of expm1.
698         * math/auto-libm-test-out: Regenerated.
699
700         [BZ #16287]
701         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
702         calling __erfcl for arguments at least 16.
703         * math/auto-libm-test-in: Add more tests of erf.
704         * math/auto-libm-test-out: Regenerated.
705
706         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
707         individual architectures.
708         * sysdeps/unix/sysv/linux/configure: Regenerated.
709         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
710         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
711         * sysdeps/unix/sysv/linux/powerpc/configure.ac
712         (ldd_rewrite_script): Define variable.
713         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
715         file.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
717         generated file.
718         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
719         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
720         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
721         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
722         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
723         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
724         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
725         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
726
727 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
728
729         [BZ #17084]
730         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
731         Rename member __data.d to __data.__elision_data.
732
733 2014-06-24  Wilco  <wdijkstr@arm.com>
734
735         * NEWS: Add 16918 to fixed bug list.
736
737 2014-06-24  Wilco  <wdijkstr@arm.com>
738
739         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
740
741 2014-06-24  Wilco  <wdijkstr@arm.com>
742
743         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
744         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
745         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
746         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
747         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
748         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
749         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
750         Use _FPU_MASK_RM.
751
752 2014-06-24  Wilco  <wdijkstr@arm.com>
753
754         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
755
756 2014-06-24  Wilco  <wdijkstr@arm.com>
757
758         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
759         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
760         * sysdeps/arm/fesetround.c (fesetround): Remove space.
761         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
762
763 2014-06-24  Wilco  <wdijkstr@arm.com>
764
765         [BZ #16918]
766         * sysdeps/arm/feupdateenv.c (feupdateenv):
767         Rewrite to reduce FPSCR accesses and fix return value.
768
769 2014-06-24  Wilco  <wdijkstr@arm.com>
770
771         * sysdeps/arm/fclrexcpt.c (feclearexcept):
772         Optimize to avoid unnecessary FPSCR writes.
773         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
774         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
775         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
776         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
777
778 2014-06-24  Wilco  <wdijkstr@arm.com>
779
780         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
781         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
782         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
783         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
784         Call libc_fetestexcept_vfp.
785         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
786         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
787         __SOFTFP__ ifdef so that they can be built for softfp.
788
789 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
790
791         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
792         argument type signed char.
793
794         * Makerules (check-abi): Dump diff of symlist if the test
795         fails.
796
797 2014-06-23  Roland McGrath  <roland@hack.frob.com>
798
799         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
800         using abort.
801
802         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
803         Remove unused variable ST.
804
805 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
806
807         [BZ #16354]
808         [BZ #17061]
809         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
810         small arguments before calling __expm1.
811         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
812         small arguments before calling __expm1f.
813         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
814         small arguments before calling __expm1l.
815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
816         Likewise.
817         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
818         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
819         spurious underflow for some cosh tests.
820         * math/auto-libm-test-out: Regenerated.
821         * sysdeps/i386/fpu/libm-test-ulps: Update.
822
823         [BZ #17050]
824         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
825         (__ieee754_y1): Set errno if return value overflows.
826         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
827         (__ieee754_y1f): Set errno if return value overflows.
828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
829         (__ieee754_y1l): Set errno if return value overflows.
830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
831         (__ieee754_y1l): Set errno if return value overflows.
832         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
833         * math/auto-libm-test-out: Regenerated.
834
835         * math/gen-auto-libm-tests.c: Document use of
836         ignore-zero-inf-sign.
837         (input_flag_type): Add value flag_ignore_zero_inf_sign.
838         (input_flags): Add ignore-zero-inf-sign.
839         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
840         * math/gen-libm-test.pl (generate_testfile): Handle
841         ignore-zero-inf-sign.
842         * math/auto-libm-test-in: Mark some cpow tests with
843         ignore-zero-inf-sign and some with xfail-rounding.
844         * math/auto-libm-test-out: Regenerated.
845         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
846         * sysdeps/i386/fpu/libm-test-ulps: Update.
847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
848
849         [BZ #16315]
850         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
851         overflowing or underflowing operations take place with sign of
852         result.
853         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
854         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
855         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
856         (__ieee754_pow): Recompute overflowing and underflowing results in
857         original rounding mode.
858         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
859         (__powl_helper): Allow negative argument X and scale negated value
860         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
861         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
862         overflowing or underflowing operations take place with sign of
863         result.
864         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
865         Include <math.h>.
866         * math/auto-libm-test-in: Add more tests of pow.
867         * math/auto-libm-test-out: Regenerated.
868         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
869         (pow_tonearest_test_data): Remove.
870         (pow_test_tonearest): Likewise.
871         (pow_towardzero_test_data): Likewise.
872         (pow_test_towardzero): Likewise.
873         (pow_downward_test_data): Likewise.
874         (pow_test_downward): Likewise.
875         (pow_upward_test_data): Likewise.
876         (pow_test_upward): Likewise.
877         (main): Don't call removed functions.
878         * sysdeps/i386/fpu/libm-test-ulps: Update.
879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
881 2014-06-23  Roland McGrath  <roland@hack.frob.com>
882
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
884         Moved ...
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
887         Moved ...
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
890         Moved ...
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
893         Moved ...
894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
896         File removed.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
898         File removed.
899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
900         File removed.
901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
902         File removed.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
904         File removed.
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
906         File removed.
907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
908         File removed.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
910         File removed.
911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
912         File removed.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
914         File removed.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
916         File removed.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
918         File removed.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
920         Moved ...
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
923         Moved ...
924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
925         ... here.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
927         Moved ...
928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
930         Moved ...
931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
933         Moved ...
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
936         Moved ...
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
939         Moved ...
940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
942         Moved ...
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
945         Moved ...
946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
949         ... here.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
951         Moved ...
952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
954         Moved ...
955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
956         ... here.
957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
958         Moved ...
959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
960         ... here.
961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
962         Moved ...
963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
964         ... here.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
966         Moved ...
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
969         Moved ...
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
974         Moved ...
975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
976         ... here.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
978         Moved ...
979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
980         ... here.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
982         Moved ...
983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
985         Moved ...
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
988         Moved ...
989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
991         Moved ...
992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
994         Moved ...
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
996         ... here.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
998         Moved ...
999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1001         Moved ...
1002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1004         Moved ...
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1007         Moved ...
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1012         Moved ...
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1015         Moved ...
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1018         Moved ...
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1020         ... here.
1021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1022         Moved ...
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1024         ... here.
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1026         Moved ...
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1028         ... here.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1030         Moved ...
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1033         Moved ...
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1036         Moved ...
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1039         Moved ...
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1041         ... here.
1042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1043         Moved ...
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1045         ... here.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1047         Moved ...
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1049         ... here.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1054         Moved ...
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1056
1057 2014-06-23  Will Newton  <will.newton@linaro.org>
1058             Wilco  <wdijkstr@arm.com>
1059
1060         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1061         implementation.  Include get-rounding-mode.h.
1062         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1063         [!libc_feholdsetround_noex_ctx]: Define
1064         libc_feholdsetround_noex_ctx.
1065         [!libc_feholdsetround_noexf_ctx]: Define
1066         libc_feholdsetround_noexf_ctx.
1067         [!libc_feholdsetround_noexl_ctx]: Define
1068         libc_feholdsetround_noexl_ctx.
1069         (libc_feholdsetround_ctx): New function.
1070         (libc_feresetround_ctx): New function.
1071         (libc_feholdsetround_noex_ctx): New function.
1072         (libc_feresetround_noex_ctx): New function.
1073
1074 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1075
1076         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1077         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1078         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1079         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1080         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1081         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1082
1083         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1084         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1085         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1086         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1087         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1088         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1090         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1092         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1094         Moved ...
1095         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1096         ... here.
1097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1098         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1100         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1102         Moved ...
1103         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1109         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1111         Moved ...
1112         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1114         Moved ...
1115         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1117         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1119         Moved ...
1120         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1124         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1125         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1126         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1130         Moved ...
1131         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1132         ... here.
1133         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1134         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1136         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1138         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1140         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1142         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1144         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1146         Moved ...
1147         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1149         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1151         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1153         Moved ...
1154         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1156         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1157         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1158         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1159
1160         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1161         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1162         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1163         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1164         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1165         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1167         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1169         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1172         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1173         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1174         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1175         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1176         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1177         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1179         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1181         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1182         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1183         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1184         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1185         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1186         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1187         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1188
1189 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1190
1191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1192         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1193         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1194         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1195         (IPV6_PMTUDISC_INTERFACE): Likewise.
1196         (IPV6_PMTUDISC_OMIT): Likewise.
1197
1198 2014-06-23  Andreas Schwab  <schwab@suse.de>
1199
1200         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1201         Remove unused errout label.
1202
1203 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1204
1205         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1206         macro: hardware supports Vector Crypto instructions.
1207
1208 2014-06-23  Will Newton  <will.newton@linaro.org>
1209
1210         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1211         rather than __builtin_expect.
1212
1213         * elf/dl-lookup.c (undefined_msg): Remove variable.
1214         (_dl_lookup_symbol_x): Replace undefined_msg with string
1215         literal.
1216
1217         * elf/dl-lookup.c (do_lookup_unique): New function.
1218         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1219         to a separate function.
1220
1221 2014-06-23  Andreas Schwab  <schwab@suse.de>
1222
1223         [BZ #17079]
1224         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1225         before reading the next line.
1226
1227 2014-06-23  Will Newton  <will.newton@linaro.org>
1228
1229         * test-skeleton.c (signal_handler): Use printf and %m
1230         rather than perror.  Use printf rather than fprintf to
1231         stderr.  Use puts rather than fputs to stderr.
1232         (main): Likewise.
1233
1234 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1235
1236         * nscd/nscd.c (thread_info_t): Remove typedef.
1237         (thread_info): Remove variable.
1238
1239 2014-06-21  Allan McRae  <allan@archlinux.org>
1240
1241         * NEWS: Mention CVE-2014-4043.
1242
1243 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1244
1245         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1246         * nptl/smp.h: ... here.
1247
1248         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1249
1250         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1251         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1252         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1253         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1254
1255         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1256         * nptl/stack-aliasing.h: New file.
1257         * sysdeps/i386/i686/stack-aliasing.h: New file.
1258         * sysdeps/i386/i686/nptl/Makefile: File removed.
1259         * sysdeps/x86_64/stack-aliasing.h: New file.
1260         * sysdeps/x86_64/nptl/Makefile
1261         (CFLAGS-pthread_create.c): Variable removed.
1262
1263         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1264         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1265         old file.
1266         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1267         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1268         old file.
1269
1270 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1271
1272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1273         (__ASSUME_SIGFRAME_V2): Remove macro.
1274         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1275         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1276         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1277         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1278         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1279         Declare as function.  Remove conditional macro definitions.
1280         (__default_rt_sa_restorer): Likewise.
1281         (__default_sa_restorer_v1): Remove declaration.
1282         (__default_sa_restorer_v2): Likewise.
1283         (__default_rt_sa_restorer_v1): Likewise.
1284         (__default_rt_sa_restorer_v2): Likewise.
1285         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1286         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1287         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1288
1289 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1290
1291         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1292         (libpthread-routines): Add sysdep.
1293         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1294         * sysdeps/unix/sysv/linux/sparc/Versions
1295         (libpthread: GLIBC_2.3.3): New version set.
1296         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1297         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1298         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1299         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1300         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1301         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1302         Moved ...
1303         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1304         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1305         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1307         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1308         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1309         * sysdeps/sparc/nptl/sem_init.c: ... here.
1310         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1311         * sysdeps/sparc/nptl/sem_post.c: ... here.
1312         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1313         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1314         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1315         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1316         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1317         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1318         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1319         (libpthread-routines): Add cpu_relax.
1320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1321         File removed.
1322         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1323         (librt: GLIBC_2.3.3): New version set.
1324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1325         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1326         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1327         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1330         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1332         Moved ...
1333         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1335         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1337         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1339         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1341         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1343         Moved ...
1344         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1345         Update #include.
1346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1347         Moved ...
1348         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1349         Update #include.
1350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1351         Moved ...
1352         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1353         Update #include.
1354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1355         Moved ...
1356         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1357         Update #include.
1358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1359         Moved ...
1360         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1361         Update #include.
1362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1363         Moved ...
1364         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1365         Update #include.
1366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1367         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1373         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1375         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1377         Moved ...
1378         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1383
1384 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1385
1386         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1387         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1388         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1389         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1390         * nscd/nscd.c: Likewise.
1391         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1392         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1393         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1394         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1395
1396         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1397         <kernel-features.h>.
1398         (init_mq_netlink): Remove conditional have_sock_cloexec
1399         definitions.  Remove code conditional on have_sock_cloexec < 0.
1400         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1401         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1402         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1403         <kernel-features.h>.
1404         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1405         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1406
1407 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1408
1409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1410         Add tests for memset_chk and memset.
1411
1412         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1413         with AVX2_Usable.
1414
1415 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1416
1417         [BZ #16046]
1418         * elf/tst-dl-iter-static.c: New file.
1419         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1420
1421         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1422         error.
1423
1424 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1425
1426         * sysdeps/unix/sysv/linux/kernel-features.h
1427         (__ASSUME_F_GETOWN_EX): Remove macro.
1428         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1429         <kernel-features.h>.
1430         (miss_F_GETOWN_EX): Remove variable or macro.
1431         (do_fcntl): Do not check miss_F_GETOWN_EX.
1432         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1433
1434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1435         Remove macro.
1436         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1437         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1438         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1439
1440         * sysdeps/unix/sysv/linux/kernel-features.h
1441         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1442         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1443         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1444         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1445
1446 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1447
1448         [BZ #17075]
1449         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1450         Fix calculation of the symbol's value.
1451         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1452         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1453         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1454         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1455         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1456         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1457         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1458         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1459         (modules-names): Add `tst-armtlsdescmod',
1460         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1461         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1462         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1463         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1464         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1465         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1466         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1467         ($(objpfx)tst-armtlsdescloc): New dependency.
1468         ($(objpfx)tst-armtlsdescextnow): Likewise.
1469         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1470         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1471         TLS scheme support.
1472         * sysdeps/arm/configure: Regenerate.
1473
1474 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1475
1476         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1477         (__atfct_seterrno_2): Likewise.
1478         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1479         <kernel-features.h>.
1480         (__ASSUME_ATFCTS): Do not undefine and redefine.
1481         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1482         (__have_atfcts): Remove conditional definition.
1483         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1484         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1485         unreachable if [__ASSUME_ATFCTS].
1486         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1487         not undefine and redefine.
1488         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1489         <kernel-features.h>.
1490         (faccessat) [__NR_faccessat]: Make code unconditional.
1491         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1492         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1493         <kernel-features.h>.
1494         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1495         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1496         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1497         <kernel-features.h>.
1498         (fchownat) [__NR_fchownat]: Make code unconditional.
1499         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1500         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1501         <kernel-features.h>.
1502         (futimesat) [__NR_futimesat]: Make code unconditional.
1503         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1504         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1505         <kernel-features.h>.
1506         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1507         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1508         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1509         <kernel-features.h>.
1510         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1511         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1512         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1513         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1514         <kernel-features.h>.
1515         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1516         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1517         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1518         <kernel-features.h>.
1519         (linkat) [__NR_linkat]: Make code unconditional.
1520         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1521         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1522         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1523         <kernel-features.h>.
1524         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1525         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1526         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1527         <kernel-features.h>.
1528         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1529         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1530         * sysdeps/unix/sysv/linux/openat.c: Do not include
1531         <kernel-features.h>.
1532         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1533         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1534         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1535         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1536         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1537         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1538         <kernel-features.h>.
1539         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1540         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1541         result of INLINE_SYSCALL directly, not via int variable.
1542         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1543         <kernel-features.h>.
1544         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1545         (renameat) [__NR_renameat]: Make code unconditional.
1546         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1547         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1548         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1549         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1550         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1551         (__ASSUME_ATFCTS): Do not undefine and redefine.
1552         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1553         <kernel-features.h>.
1554         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1555         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1556         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1557         <kernel-features.h>.
1558         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1559         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1560         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1561         (__ASSUME_ATFCTS): Do not undefine and redefine.
1562         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1563         <kernel-features.h>.
1564         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1565         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1566         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1567         <kernel-features.h>.
1568         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1569         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1570
1571 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1572
1573         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1574
1575 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1576
1577         [BZ #17069]
1578         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1579         constructed tree before returning error.
1580         * posix/bug-regexp36.c: Expand test case.
1581
1582 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1583
1584         [BZ #6803]
1585         * math/libm-test.inc (scalbln_test_date):
1586         Add errno expectations.
1587         * math/w_scalblnf.c: New File.
1588         Add wrapper which checks for setting errno to ERANGE.
1589         Add weak_alias for corresponding scalbln function.
1590         * math/w_scalbln.c: Likewise.
1591         * math/w_scalblnl.c: Likewise.
1592         * math/Makefile (libm-calls): Add w_scalbln.
1593         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1594         Remove weak_alias for corresponding scalbln function.
1595         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1597         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1599         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1600         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1601         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1602         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1603         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1604         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1605         Remove long_double_symbol for scalblnl function in libm, libc.
1606         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1607         Add wrapper which checks for setting errno to ERANGE.
1608         Add long_double_symbol for scalblnl function in libm, libc.
1609         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1610         Remove long_double_symbol for scalblnl in libm.
1611         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1612         Add wrapper which checks for setting errno to ERANGE.
1613         Add long_double_symbol for scalblnl function in libm.
1614         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1615         Do not use wrapper because of own implementation.
1616
1617 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1618
1619         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1620         3 bytes for __pad1 for x32.
1621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1622
1623 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1624             H.J. Lu  <hongjiu.lu@intel.com>
1625
1626         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1627         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1628         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1629         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1630         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1631
1632 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1633
1634         [BZ #17069]
1635         * posix/regcomp.c (parse_expression): Deallocate partially
1636         constructed tree before returning error.
1637         * posix/Makefile.c (tests): Add bug-regex36.
1638         (generated): Add bug-regex36.mtrace.
1639         (tests-special): Add $(objpfx)bug-regex36-mem.out
1640         (bug-regex36-ENV): New variable.
1641         ($(objpfx)bug-regex36-mem.out): New rule.
1642         * posix/bug-regex36.c: New file.
1643
1644 2014-06-19  Will Newton  <will.newton@linaro.org>
1645
1646         * malloc/malloc.c (systrim): If extra is zero then return
1647         early.
1648
1649 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1650
1651         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1652
1653 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1654
1655         * sysdeps/aarch64/strchr.S: New file.
1656
1657 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1658
1659         [BZ #17022]
1660         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1661         from arguments -2 or below.
1662         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1663         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1664
1665 2014-06-18  Andreas Schwab  <schwab@suse.de>
1666
1667         [BZ #17062]
1668         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1669         of a bracket expr not to run off the end of the string.
1670         * posix/Makefile (tests): Add tst-fnmatch3.
1671         * posix/tst-fnmatch3.c: New file.
1672
1673 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1674
1675         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1676         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1677         [$(cross-compiling) = no]: Likewise.
1678         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1679         [$(cross-compiling) = no]: Likewise.
1680
1681 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1682
1683         [BZ #17031]
1684         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1685         double, adjusted for any remainder from the high double.
1686         * math/libm-test.inc (nearbyint): Add tests.
1687         (rint): Likewise.
1688
1689 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1690
1691         * nptl/sysdeps/powerpc/Makefile: Moved ...
1692         * sysdeps/powerpc/nptl/Makefile: ... here.
1693         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1694         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1695         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1696         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1697         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1698         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1699         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1700         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1701         * nptl/sysdeps/powerpc/tls.h: Moved ...
1702         * sysdeps/powerpc/nptl/tls.h: ... here.
1703
1704 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1705
1706         [BZ #16681]
1707         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1708         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1709         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1710         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1711         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1712         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1713         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1714         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1715         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1716
1717 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1718
1719         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1720
1721 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1722
1723         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1724         defined operator.
1725
1726         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1727         $TIMEOUTFACTOR.
1728
1729 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1730
1731         [BZ #17058]
1732         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1733         non-executed part of the test.
1734
1735 2014-06-16  Andreas Schwab  <schwab@suse.de>
1736
1737         * string/bits/string2.h (strdup, strndup): Update feature guard.
1738
1739 2014-06-14  David S. Miller  <davem@davemloft.net>
1740
1741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1742
1743 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1744
1745         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1746         that was previously under [RESET_PID].
1747         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1748
1749         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1750         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1751         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1752         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1753         (__libc_vfork): New strong alias.
1754         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1755
1756 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1757
1758         * sysdeps/generic/elide.h: New file.
1759
1760 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1761
1762         * Makefile (installed-headers): Adjust path of pthread.h header.
1763
1764 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1765
1766         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1767         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1768         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1769         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1770
1771         * nptl/sysdeps/s390/Makefile: Moved ...
1772         * sysdeps/s390/nptl/Makefile: ... here.
1773         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1774         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1775         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1776         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1777         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1778         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1779         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1780         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1781         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1782         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1783         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1784         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1785         * nptl/sysdeps/s390/tls.h: Moved ...
1786         * sysdeps/s390/nptl/tls.h: ... here.
1787
1788         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1789         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1790
1791 2014-06-13  David S. Miller  <davem@davemloft.net>
1792
1793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1796         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1800         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1801         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1802         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1803         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1804         Remove RESET_PID cpp guards.
1805         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1806         Remove RESET_PID cpp guards.
1807         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1808
1809 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1810
1811         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1812         __sp to uintptr_t.
1813
1814 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1815
1816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1831         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1836
1837         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1838         (pthread_rwlock_rdlock): Add elision.
1839         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1840         (pthread_rwlock_wrlock): Add elision.
1841         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1842         (pthread_rwlock_trywrlock): Add elision.
1843         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1844         (pthread_rwlock_tryrdlock): Add elision.
1845         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1846         (pthread_rwlock_tryrdlock): Add elision unlock.
1847         * nptl/sysdeps/pthread/pthread.h:
1848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1849         (PTHREAD_RWLOCK_INITIALIZER,
1850         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1851         Handle new elision field.
1852         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1853         * sysdeps/arm/nptl/bits/pthreadtypes.h
1854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1855         * sysdeps/sh/nptl/bits/pthreadtypes.h
1856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1857         * sysdeps/tile/nptl/bits/pthreadtypes.h
1858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1859         * sysdeps/a/nptl/bits/pthreadtypes.h
1860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1861         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1863         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1865         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1867         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1869         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1871         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1873         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1875         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1877         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1878         (elision_init): Set try_xbegin to zero when no RTM.
1879         * sysdeps/x86/nptl/bits/pthreadtypes.h
1880         (pthread_rwlock_t): Change __pad1 to __rwelision.
1881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1882
1883 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1884
1885         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1886         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1887         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1888         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1889
1890 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1891
1892         [BZ #16996]
1893         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1894         that the cached result has been set before returning it.
1895
1896 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1897
1898         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1899         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1900         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1901         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1903         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1904
1905         * nptl/sysdeps/sparc/Makefile: Moved ...
1906         * sysdeps/sparc/nptl/Makefile: ... here.
1907         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1908         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1909         * nptl/sysdeps/sparc/tls.h: Moved ...
1910         * sysdeps/sparc/nptl/tls.h: ... here.
1911         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1912         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1913         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1914         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1915         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1916         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1917         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1918         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1919         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1920         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1921         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1922         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1923         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1924         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1925         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1926         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1927         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1929         Update #include.
1930         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1932         Update #include.
1933         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1935         Update #include.
1936         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1937         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1938         Update #include.
1939
1940         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1941
1942         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1943         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1944
1945         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1946         (struct list_links): Type removed.
1947         (struct thread_node, struct timer_node): Replace struct list_links
1948         with struct list_head.
1949         (list_unlink_ip): Likewise.
1950         * sysdeps/pthread/timer_routines.c
1951         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1952         (list_append, list_insbefore): Likewise.
1953         (list_init): Function removed.
1954         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1955         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1956         * sysdeps/pthread/Makefile: ... here, new file.
1957
1958         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1959         * sysdeps/nptl/Implies: ... here.
1960         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1961         * nptl/sysdeps/pthread/list.h: Moved ...
1962         * include/list.h: ... here.
1963         * nptl/sysdeps/pthread/createthread.c: Moved ...
1964         * nptl/createthread.c: ... here.
1965         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1966         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1967         * nptl/pt-longjmp.c: ... here.
1968         * nptl/sysdeps/pthread/Makefile: Moved ...
1969         * sysdeps/nptl/Makefile: ... here.
1970         * nptl/sysdeps/pthread/Subdirs: Moved ...
1971         * sysdeps/nptl/Subdirs: ... here.
1972         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1973         * sysdeps/nptl/aio_misc.h: ... here.
1974         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1975         * sysdeps/nptl/bits/libc-lock.h: ... here.
1976         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1977         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1978         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1979         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1980         * nptl/sysdeps/pthread/configure: Moved ...
1981         * sysdeps/nptl/configure: ... here.
1982         * nptl/sysdeps/pthread/configure.ac: Moved ...
1983         * sysdeps/nptl/configure.ac: ... here.
1984         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1985         * sysdeps/nptl/gai_misc.h: ... here.
1986         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1987         * sysdeps/nptl/librt-cancellation.c: ... here.
1988         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1989         * sysdeps/nptl/malloc-machine.h: ... here.
1990         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1991         * sysdeps/nptl/pthread-functions.h: ... here.
1992         * nptl/sysdeps/pthread/pthread.h: Moved ...
1993         * sysdeps/nptl/pthread.h: ... here.
1994         * nptl/sysdeps/pthread/setxid.h: Moved ...
1995         * sysdeps/nptl/setxid.h: ... here.
1996         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1997         * sysdeps/nptl/sigfillset.c: ... here.
1998         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1999         * sysdeps/nptl/tcb-offsets.h: ... here.
2000         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2001         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2002         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2003         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2004         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2005         * sysdeps/pthread/allocalim.h: ... here.
2006         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2007         * sysdeps/pthread/bits/sigthread.h: ... here.
2008         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2009         * sysdeps/pthread/flockfile.c: ... here.
2010         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2011         * sysdeps/pthread/ftrylockfile.c: ... here.
2012         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2013         * sysdeps/pthread/funlockfile.c: ... here.
2014         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2015         * sysdeps/pthread/posix-timer.h: ... here.
2016         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2017         * sysdeps/pthread/timer_create.c: ... here.
2018         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2019         * sysdeps/pthread/timer_delete.c: ... here.
2020         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2021         * sysdeps/pthread/timer_getoverr.c: ... here.
2022         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2023         * sysdeps/pthread/timer_gettime.c: ... here.
2024         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2025         * sysdeps/pthread/timer_routines.c: ... here.
2026         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2027         * sysdeps/pthread/timer_settime.c: ... here.
2028         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2029         * sysdeps/pthread/tst-timer.c: ... here.
2030         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2031         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2032
2033         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2034         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2035
2036         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2037         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2038         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2039         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2040         Update #include target.
2041         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2042         * sysdeps/i386/i686/nptl/Makefile: ... here.
2043         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2044         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2045         Update #include target.
2046         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2047         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2048         * nptl/sysdeps/i386/Makefile: Moved ...
2049         * sysdeps/i386/nptl/Makefile: ... here.
2050         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2051         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2052         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2053         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2054         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2055         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2056         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2057         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2058         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2059         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2060         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2061         * nptl/sysdeps/i386/tls.h: Moved ...
2062         * sysdeps/i386/nptl/tls.h: ... here.
2063
2064         * sysdeps/sh/Makefile [$(subdir) = csu]
2065         (gen-as-const-headers): Add tcb-offsets.sym.
2066         * nptl/sysdeps/sh/Makefile: File removed.
2067         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2068         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2069         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2070         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2071         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2072         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2073         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2074         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2075         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2076         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2077         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2078         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2079         * nptl/sysdeps/sh/tls.h: Moved ...
2080         * sysdeps/sh/nptl/tls.h: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2082         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2083         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2084         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2085         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2086         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2088         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2090         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2091         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2092         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2094         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2096         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2098         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2100         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2102         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2106         Moved ...
2107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2109         Moved ...
2110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2116         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2118         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2119         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2120         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2121         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2122         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2123         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2124         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2125         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2126         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2127         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2128         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2129
2130 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2131
2132         * posix/spawn_faction_addopen.c: Include string.h.
2133
2134 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2135
2136         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2137         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2138         * nptl/sysdeps/x86_64/Makefile: Moved ...
2139         * sysdeps/x86_64/nptl/Makefile: ... here.
2140         * nptl/sysdeps/x86_64/configure: Moved ...
2141         * sysdeps/x86_64/nptl/configure: ... here.
2142         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2143         * sysdeps/x86_64/nptl/configure.ac: ... here.
2144         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2145         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2146         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2147         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2148         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2149         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2150         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2151         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2152         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2153         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2154         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2155         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2156         * nptl/sysdeps/x86_64/tls.h: Moved ...
2157         * sysdeps/x86_64/nptl/tls.h: ... here.
2158         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2159         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2160         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2161         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2162
2163         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2164
2165 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2166
2167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2168
2169 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2170
2171         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2172         type.
2173         [POSIX] (off_t): Likewise.
2174         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2175         [POSIX] (S_ISBLK): Require macro.
2176         [POSIX] (S_ISCHR): Likewise.
2177         [POSIX] (S_ISDIR): Likewise.
2178         [POSIX] (S_ISFIFO): Likewise.
2179         [POSIX] (S_ISREG): Likewise.
2180         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2181         optional-macro.
2182         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2183         type.
2184         [POSIX] (time_t): Likewise.
2185         [POSIX] (timer_t): Likewise.
2186
2187 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2188
2189         [BZ #17048]
2190         * posix/spawn_int.h (struct __spawn_action): Make the path string
2191         non-const to support deallocation.
2192         * posix/spawn_faction_addopen.c
2193         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2194         * posix/spawn_faction_destroy.c
2195         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2196         path in all spawn_do_open actions.
2197         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2198         posix_spawn_file_actions_addopen.
2199
2200 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2201
2202         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2203         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2204         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2205         conditional code always true.
2206         (__libc_vfork): New alias.
2207
2208 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2209
2210         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2211         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2212
2213         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2214
2215         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2216         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2217
2218         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2219         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2220
2221         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2222         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2223
2224 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2225
2226         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2227         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2228         multiarch strcmp for PPC64.
2229         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2230         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2232         multiarch optimizations.
2233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2234         (__libc_ifunc_impl_list): Likewise.
2235
2236 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2237
2238         * benchtests/scripts/validate_benchout.py: New script.
2239         * benchtests/Makefile (bench-func): Call it.
2240         * benchtests/scripts/benchout.schema.json: New file.
2241
2242 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2243
2244         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2245         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2246         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2247         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2248         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2249         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2250         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2251         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2252         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2253         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2254         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2255         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2256         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2257         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2258         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2259         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2261         Moved ...
2262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2263         ... here.
2264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2265         Moved ...
2266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2268         Moved ...
2269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2270         ... here.
2271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2272         Moved ...
2273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2274         ... here.
2275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2276         Moved ...
2277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2279         Moved ...
2280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2281         ... here.
2282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2283         Moved ...
2284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2285         ... here.
2286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2287         Moved ...
2288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2290         Moved ...
2291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2292         ... here.
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2294         Moved ...
2295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2296         ... here.
2297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2298         Moved ...
2299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2300         ... here.
2301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2305         Moved ...
2306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2307         ... here.
2308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2309         Moved ...
2310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2311         ... here.
2312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2313         Moved ...
2314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2315         ... here.
2316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2317         Moved ...
2318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2320         Moved ...
2321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2322         ... here.
2323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2326         ... here.
2327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2328         Moved ...
2329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2331         Moved ...
2332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2333         ... here.
2334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2335         Moved ...
2336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2338         Moved ...
2339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2341         Moved ...
2342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2343         ... here.
2344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2347         ... here.
2348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2349         Moved ...
2350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2351         ... here.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2358         ... here.
2359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2360         Moved ...
2361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2362         ... here.
2363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2364         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2368         Moved ...
2369         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2370         ... here.
2371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2372         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2374         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2380         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2387         Moved ...
2388         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2390         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2392         Moved ...
2393         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2395         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2396         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2397         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2398         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2399         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2400
2401 2014-06-10  Wilco  <wdijkstr@arm.com>
2402
2403         * math/test-fenv-return.c: New file.
2404         * math/Makefile: Add new test test-fenv-return.
2405
2406 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2407
2408         [BZ #17042]
2409         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2410         when x - 1 is zero.
2411         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2412         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2413         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2414         0.0L for an argument of 1.0L.
2415         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2416         Likewise.
2417         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2418         value when x - 1 is zero.
2419         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2420         * sysdeps/i386/fpu/libm-test-ulps: Update.
2421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2422
2423 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2424
2425         [BZ #15119]
2426         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2427
2428 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2429
2430         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2431         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2432
2433 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2434
2435         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2436         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2437
2438         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2439         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2440
2441         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2442         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2443
2444         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2445         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2446
2447         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2448         if not already defined.
2449         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2450         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2451         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2452         (TLS_INIT_TP): Use it.
2453         (TLS_DEFINE_INIT_TP): New macro.
2454         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2455
2456 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2457
2458         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2459         constant.
2460         [POSIX] (IXANY): Likewise.
2461         [POSIX] (OLCUC): Likewise.
2462         [POSIX || POSIX2008] (CBAUD): Do not allow.
2463         [POSIX || POSIX2008] (DEFECHO): Likewise.
2464         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2465         [POSIX || POSIX2008] (ECHOKE): Likewise.
2466         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2467         [POSIX || POSIX2008] (EXTA): Likewise.
2468         [POSIX || POSIX2008] (EXTB): Likewise.
2469         [POSIX || POSIX2008] (FLUSHO): Likewise.
2470         [POSIX || POSIX2008] (LOBLK): Likewise.
2471         [POSIX || POSIX2008] (PENDIN): Likewise.
2472         [POSIX || POSIX2008] (SWTCH): Likewise.
2473         [POSIX || POSIX2008] (VDISCARD): Likewise.
2474         [POSIX || POSIX2008] (VDSUSP): Likewise.
2475         [POSIX || POSIX2008] (VLNEXT): Likewise.
2476         [POSIX || POSIX2008] (VREPRINT): Likewise.
2477         [POSIX || POSIX2008] (VSTATUS): Likewise.
2478         [POSIX || POSIX2008] (VWERASE): Likewise.
2479         (B*): Change to B[0123456789]*.
2480         * conform/data/time.h-data [POSIX || UNIX98]
2481         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2482         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2483         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2484         [POSIX] (tm_*): Do not allow.
2485
2486 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2487
2488         * Makefile (install): Don't set LANGUAGE.
2489         * Makefile.in (install): Likewise.
2490         * assert/Makefile (test-assert-ENV): Remove variable.
2491         (test-assert-perr-ENV): Likewise.
2492         * elf/Makefile (neededtest4-ENV): Likewise.
2493         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2494         [$(cross-compiling) = no]: Don't set LANGUAGE.
2495         * io/ftwtest-sh (LANG): Remove variable.
2496         * libio/Makefile (tst-widetext-ENV): Likewise.
2497         * manual/install.texi (Running make install): Don't refer to
2498         environment settings for make install.
2499         * INSTALL: Regenerated.
2500         * nptl/tst-tls6.sh: Don't set LANG.
2501         * posix/globtest.sh (LANG): Remove variable.
2502         * string/Makefile (tester-ENV): Likewise.
2503         (inl-tester-ENV): Likewise.
2504         (noinl-tester-ENV): Likewise.
2505         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2506         [$(cross-compiling) = no]: Don't set LANGUAGE.
2507         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2508         without explicit environment settings.
2509
2510 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2511
2512         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2513         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2514         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2515         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2516
2517 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2518
2519         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2520         other files in the crypt directory.
2521         * crypt/crypt.c: Remove duplicate includes.
2522         * crypt/crypt-entry.c: Likewise.
2523         * crypt/crypt_util.c: Likewise.
2524
2525 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2526
2527         * Makeconfig (run-program-env): New variable.
2528         (run-program-prefix-before-env): Likewise.
2529         (run-program-prefix-after-env): Likewise.
2530         (run-program-prefix): Define in terms of new variables.
2531         (built-program-cmd-before-env): New variable.
2532         (built-program-cmd-after-env): Likewise.
2533         (built-program-cmd): Define in terms of new variables.
2534         (test-program-prefix-before-env): New variable.
2535         (test-program-prefix-after-env): Likewise.
2536         (test-program-prefix): Define in terms of new variables.
2537         (test-program-cmd-before-env): New variable.
2538         (test-program-cmd-after-env): Likewise.
2539         (test-program-cmd): Define in terms of new variables.
2540         * Rules (make-test-out): Use $(run-program-env).
2541         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2542         (help): Do not mention environment variables.  Mention
2543         --timeoutfactor option.
2544         (timeoutfactor): New variable.
2545         (blacklist_exports): Remove function.
2546         (exports): Remove variable.
2547         (command): Do not include ${exports}.
2548         * manual/install.texi (Configuring and compiling): Do not mention
2549         test wrappers preserving environment variables.  Mention that last
2550         assignment to a variable must take precedence.
2551         * INSTALL: Regenerated.
2552         * benchtests/Makefile (run-bench): Use $(run-program-env).
2553         * catgets/Makefile ($(objpfx)test1.cat): Use
2554         $(built-program-cmd-before-env), $(run-program-env) and
2555         $(built-program-cmd-after-env).
2556         ($(objpfx)test2.cat): Do not specify environment variables
2557         explicitly.
2558         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2559         $(run-program-env) and $(built-program-cmd-after-env).
2560         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2561         $(run-program-env) and $(test-program-cmd-after-env).
2562         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2563         explicitly.
2564         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2565         run_program_env and test_program_cmd_after_env arguments.
2566         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2567         * elf/tst-pathopt.sh: Use run_program_env argument.
2568         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2569         $(test-wrapper-env) and $(run-program-env).
2570         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2571         run_program_env arguments.
2572         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2573         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2574         $(test-program-prefix-before-env), $(run-program-env) and
2575         $(test-program-prefix-after-env).
2576         ($(objpfx)tst-gettext2.out): Likewise.
2577         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2578         run_program_env and test_program_prefix_after_env arguments.
2579         * intl/tst-gettext2.sh: Likewise.
2580         * intl/tst-gettext4.sh: Do not set environment variables
2581         explicitly.
2582         * intl/tst-gettext6.sh: Likewise.
2583         * intl/tst-translit.sh: Likewise.
2584         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2585         $(test-program-prefix-before-env), $(run-program-env) and
2586         $(test-program-prefix-after-env).
2587         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2588         run_program_env and test_program_prefix_after_env arguments.
2589         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2590         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2591         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2592         explicitly with each use of ${test_wrapper_env}.
2593         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2594         $(test-program-prefix-before-env), $(run-program-env) and
2595         $(test-program-prefix-after-env).
2596         * posix/tst-getconf.sh: Do not set environment variables
2597         explicitly.
2598         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2599         run_program_env and test_program_prefix_after_env arguments.
2600         * stdio-common/tst-printf.sh: Do not set environment variables
2601         explicitly.
2602         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2603         $(test-program-prefix-before-env), $(run-program-env) and
2604         $(test-program-prefix-after-env).
2605         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2606         run_program_env and test_program_prefix_after_env arguments.
2607         Split $test calls into $test_pre and $test.
2608         * timezone/Makefile (build-testdata): Use
2609         $(built-program-cmd-before-env), $(run-program-env) and
2610         $(built-program-cmd-after-env).
2611
2612 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2613
2614         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2615         strlen for non SHARED builds.
2616
2617 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2618
2619         * nptl/allocatestack.c (check_list): Inlined function...
2620         (__reclaim_stacks): ... here.
2621
2622 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2623
2624         [BZ #15698]
2625         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2626         memory overrun.
2627
2628 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2629
2630         * Rules (make-test-out): Include
2631         LOCPATH=$(common-objpfx)localedata in default environment.
2632         * debug/Makefile (tst-chk1-ENV): Remove variable.
2633         (tst-chk2-ENV): Likewise.
2634         (tst-chk3-ENV): Likewise.
2635         (tst-chk4-ENV): Likewise.
2636         (tst-chk5-ENV): Likewise.
2637         (tst-chk6-ENV): Likewise.
2638         (tst-lfschk1-ENV): Likewise.
2639         (tst-lfschk2-ENV): Likewise.
2640         (tst-lfschk3-ENV): Likewise.
2641         (tst-lfschk4-ENV): Likewise.
2642         (tst-lfschk5-ENV): Likewise.
2643         (tst-lfschk6-ENV): Likewise.
2644         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2645         (tst-iconv7-ENV): Likewise.
2646         * intl/Makefile (LOCPATH-ENV): Likewise.
2647         (tst-codeset-ENV): Likewise.
2648         (tst-gettext3-ENV): Likewise.
2649         (tst-gettext5-ENV): Likewise.
2650         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2651         (tst-fopenloc-ENV): Likewise.
2652         (tst-fgetws-ENV): Remove variable.
2653         (tst-ungetwc1-ENV): Likewise.
2654         (tst-ungetwc2-ENV): Likewise.
2655         (bug-ungetwc2-ENV): Likewise.
2656         (tst-swscanf-ENV): Likewise.
2657         (bug-ftell-ENV): Likewise.
2658         (tst-fgetwc-ENV): Likewise.
2659         (tst-fseek-ENV): Likewise.
2660         (tst-ftell-partial-wide-ENV): Likewise.
2661         (tst-ftell-active-handler-ENV): Likewise.
2662         (tst-ftell-append-ENV): Likewise.
2663         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2664         (tst-regexloc-ENV): Likewise.
2665         (bug-regex1-ENV): Likewise.
2666         (tst-regex-ENV): Likewise.
2667         (tst-regex2-ENV): Likewise.
2668         (bug-regex5-ENV): Likewise.
2669         (bug-regex6-ENV): Likewise.
2670         (bug-regex17-ENV): Likewise.
2671         (bug-regex18-ENV): Likewise.
2672         (bug-regex19-ENV): Likewise.
2673         (bug-regex20-ENV): Likewise.
2674         (bug-regex22-ENV): Likewise.
2675         (bug-regex23-ENV): Likewise.
2676         (bug-regex25-ENV): Likewise.
2677         (bug-regex26-ENV): Likewise.
2678         (bug-regex30-ENV): Likewise.
2679         (bug-regex32-ENV): Likewise.
2680         (bug-regex33-ENV): Likewise.
2681         (bug-regex34-ENV): Likewise.
2682         (bug-regex35-ENV): Likewise.
2683         (tst-rxspencer-ENV): Likewise.
2684         (tst-rxspencer-no-utf8-ENV): Likewise.
2685         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2686         (tst-sscanf-ENV): Likewise.
2687         (tst-swprintf-ENV): Likewise.
2688         (tst-swscanf-ENV): Likewise.
2689         (test-vfprintf-ENV): Likewise.
2690         (scanf13-ENV): Likewise.
2691         (bug14-ENV): Likewise.
2692         (tst-grouping-ENV): Likewise.
2693         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2694         (tst-strtod3-ENV): Likewise.
2695         (tst-strtod4-ENV): Likewise.
2696         (tst-strtod5-ENV): Likewise.
2697         (testmb2-ENV): Likewise./
2698         * string/Makefile (tst-strxfrm-ENV): Likewise.
2699         (tst-strxfrm2-ENV): Likewise.
2700         (bug-strcoll1-ENV): Likewise.
2701         (test-strcasecmp-ENV): Likewise.
2702         (test-strncasecmp-ENV): Likewise.
2703         * time/Makefile (tst-strptime-ENV): Likewise.
2704         (tst-ftime_l-ENV): Likewise.
2705         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2706         (tst-mbrtowc-ENV): Likewise.
2707         (tst-wcrtomb-ENV): Likewise.
2708         (tst-mbrtowc2-ENV): Likewise.
2709         (tst-c16c32-1-ENV): Likewise.
2710         (tst-mbsnrtowcs-ENV): Likewise.
2711
2712 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2713
2714         * manual/resource.texi (How to get information about the memory
2715         subsystem?): Fix typo.
2716         Reported by Peon de la Parra Ivan <peon@keba.com>
2717
2718 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2719
2720         [BZ #16882]
2721         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2722         (pthread_spin_lock): Branch out of spin loop to proper location.
2723         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2724         (pthread_spin_lock): Likewise.
2725
2726         * nptl/tst-spin4.c: New test.
2727         * nptl/Makefile (tests): Add tst-spin4.
2728
2729 2014-06-03  Andreas Schwab  <schwab@suse.de>
2730
2731         [BZ #15946]
2732         * resolv/res_send.c (send_dg): Reload file descriptor after
2733         calling reopen.
2734
2735 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2736
2737         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2738
2739 2014-06-03  Richard Henderson  <rth@redhat.com>
2740
2741         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2742         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2743         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2744         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2745         in the SAVE_PID block.
2746         (__libc_vfork): New alias.
2747         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2748
2749         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2750         child in registers, not on the stack.  Remove RESET_PID conditionals.
2751         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2752
2753 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2754
2755         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2756
2757 2014-06-03  Wilco  <wdijkstr@arm.com>
2758
2759         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2760         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2761         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2762         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2763         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2764         Likewise.
2765
2766 2014-06-03  Wilco  <wdijkstr@arm.com>
2767
2768         * sysdeps/aarch64/fpu/math_private.h
2769         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2770         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2771         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2772         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2773         Fix declarations.
2774
2775 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2776
2777         * crypt/crypt-private.h: Include ufc-crypt.h.
2778         (__b64_from_24bit): Declare extern.
2779         * crypt/crypt_util.c(__b64_from_24bit): New function.
2780         (b64t): New static const variable.
2781         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2782         (b64t): Remove variable.
2783         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2784         * crypt/sha256-crypt.c: Include crypt-private.h.
2785         (b64t): Remove variable.
2786         (__sha256_crypt_r): Remove b64_from_24bit and replace
2787         with __b64_from_24bit.
2788         * crypt/sha512-crypt.c: Likewise.
2789
2790 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2791
2792         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2793         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2794         Label the code __libc_vfork rather than __vfork.
2795         [!NOT_IN_libc] (vfork): Define as weak alias.
2796         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2797         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2798         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2799
2800 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2801
2802         * malloc/malloc.c (malloc_info): Fix format specifier for
2803         n_mmaps.
2804
2805 2014-06-02  Wilco  <wdijkstr@arm.com>
2806
2807         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2808         FPCR write.
2809
2810 2014-06-02  Wilco  <wdijkstr@arm.com>
2811
2812         [BZ #17009]
2813         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2814         Rewrite to reduce FPCR/FPSR accesses.
2815
2816 2014-06-01  David S. Miller  <davem@davemloft.net>
2817
2818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2819
2820 2014-05-31  David S. Miller  <davem@davemloft.net>
2821
2822         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2823         to occur in round to nearest mode when |x| >= 2.0
2824
2825 2014-05-30  Richard Henderson  <rth@twiddle.net>
2826
2827         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2828         (PSEUDO_RET_NOERRNO): Remove.
2829         (ret): Don't redefine.
2830         (ret_NOERRNO): Define in terms of ret.
2831         (ret_ERRVAL): Likewise.
2832
2833         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2834         use of PSEUDO_RET; perform the error check directly.
2835
2836 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2837
2838         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2839         with __int128_t.
2840
2841 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2842
2843         * malloc/malloc (malloc_info): Fix formatting.
2844
2845 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846             Roland McGrath  <roland@hack.frob.com>
2847
2848         * malloc/malloc (malloc_info): Also print mmapped statistics.
2849
2850 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2851
2852         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2853         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2854
2855 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2856
2857         * malloc/malloc.c (malloc_info): Inline mi_arena.
2858
2859 2014-05-29  Richard Henderson  <rth@twiddle.net>
2860
2861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2862         Remove comma before expanding ASM_ARGS_##nr.
2863         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2864         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2865         of ASM_ARGS_##nr.
2866         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2867         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2868         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2869         (ASM_ARGS_1): Add leading comma.
2870
2871         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2872         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2873         to __errno_location.
2874         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2875         Remove the expected plt for __errno_location.
2876
2877         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2878         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2879         call to __read_tp.
2880
2881         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2882         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2883         it and break it down.
2884         (DOCARGS_0, DOCARGS_1): Do nothing.
2885         (DOCARGS_2): Update to store into the new stack frame.
2886         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2887         (UNDOCARGS_1): Update to restore from the new stack frame.
2888         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2889         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2890
2891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2892         (SINGLE_THREAD_P): New parameter for result regno.
2893         (PSEUDO): Update to match; use cbz instead of beq.
2894
2895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2896         Use ENTRY to define the _nocancel entry point.  Share the syscall
2897         and syscall error check paths with the cancel path.
2898         (PSEUDO_END): New.
2899
2900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2901         whitespace; tabs before and after asm mnemonics.
2902
2903 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2904
2905         [BZ #15132]
2906         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2907         Call fstat64 or stat64 internally, depending on arguments passed.
2908         Replace stat buffer argument with file descriptor argument.
2909         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2910         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2911         Pass fd to __internal_statvfs instead of calling fstat64.
2912         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2913         Pass fd to __internal_statvfs64 instead of calling fstat64.
2914         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2915         Pass -1 to __internal_statvfs instead of calling stat64.
2916         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2917         Pass -1 to __internal_statvfs64 instead of calling stat64.
2918
2919 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2920
2921         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2922         that was previously under [RESET_PID].
2923         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2924
2925         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2926         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2927
2928 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2929
2930         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2931
2932         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2933         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2934
2935 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2936
2937         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2938
2939 2014-05-27  Andreas Schwab  <schwab@suse.de>
2940
2941         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2942         TLS_INIT_TP macro.
2943         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2944         * elf/rtld.c (init_tls, dl_main): Likewise.
2945         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2946         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2947         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2948         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2949         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2950         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2951         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2952         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2953         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2954         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2955         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2956         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2957         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2958         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2959         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2960         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2961         * sysdeps/generic/tls.h: Update description.
2962
2963 2014-05-27  Will Newton  <will.newton@linaro.org>
2964
2965         [BZ #16990]
2966         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2967         and restore r2 rather than just restoring.
2968
2969 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2970
2971         [BZ #16724]
2972         * libio/tst-ftell-append.c: New test case.
2973         * libio/Makefile (tests): Add test case.
2974         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2975         append mode.
2976         * libio/wfileops.c (do_ftell_wide): Likewise.
2977
2978 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2979
2980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2981
2982         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2983         ...
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2986         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2987         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2988         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2989         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2990         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2995         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2996         Moved ...
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2998         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2999         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3000         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3001         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3002         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3003         ...
3004         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3005         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3006         Moved ...
3007         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3008         here.
3009         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3010         ...
3011         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3012         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3013         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3014
3015         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3016         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3017         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3018         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3019
3020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3021         merge into ...
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3024         ...
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3027         ...
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3030         Moved ...
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3032         here.
3033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3034         Moved ...
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3037         Moved ...
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3039
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3041         conditional [RESET_PID].
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3044         removed.
3045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3046         removed.
3047
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3049         <tcb-offsets.h>.
3050         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3051         (__libc_vfork): New strong alias.
3052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3053         removed.
3054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3055         Removed.
3056
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3058         <tcb-offsets.h>.
3059         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3060         (__libc_vfork): New strong alias.
3061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3062         removed.
3063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3064         removed.
3065
3066 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3067
3068         * malloc/malloc.c (mi_arena): New function.
3069         (malloc_info): Remove nested function mi_arena. Call non-nosted
3070         function mi_arena.
3071
3072 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3073
3074         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3075         by insrwi.
3076         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3077         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3078         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3079         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3080         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3081         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3082         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3083
3084 2014-05-26  Andreas Schwab  <schwab@suse.de>
3085
3086         [BZ #16984]
3087         * locale/programs/repertoire.c (repertoire_read): Add slash
3088         between I18NPATH element and file name.
3089         * locale/programs/locfile.c (locfile_read): Likewise.
3090
3091 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3092
3093         * nptl/pthread_mutexattr_settype.c
3094         (__pthread_mutexattr_settype):
3095         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3096
3097 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3098
3099         * nptl/tst-mutex5 (do_test):
3100         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3101
3102 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3103
3104         * benchtests/README: Document 'init' directive.
3105         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3106         BENCH_INIT.
3107         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3108         (parse_file): Recognize 'init' directive.
3109
3110 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3111
3112         [BZ #16796]
3113         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3114         alignment of struct pthread.
3115
3116 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3117
3118         [BZ #16878]
3119         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3120         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3121         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3122         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3123
3124 2014-05-25  Richard Henderson  <rth@twiddle.net>
3125
3126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3127         (SINGLE_THREAD_P_PIC): Remove.
3128         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3129         (SINGLE_THREAD_P_PIC): Remove.
3130
3131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3132         branch to syscall error ...
3133         (PSEUDO): ... here.
3134         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3135         from __local_syscall_error to .Lsyscall_error.
3136         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3137         (SYSCALL_ERROR): Update label name.
3138
3139         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3140         Do not use DOARGS/UNDOARGS.
3141         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3142         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3143         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3144         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3145         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3146
3147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3148         block comment.
3149
3150         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3151         define if !NOT_IN_libc.
3152         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3153         define with non-default symbol versions.
3154
3155 2014-05-23  Richard Henderson  <rth@twiddle.net>
3156
3157         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3158         (vfork, __vfork): Define via compat_symbol.
3159
3160         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3161         [!HAVE_IFUNC] (vfork_compat): Remove.
3162         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3163
3164 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3165
3166         [BZ #16978]
3167         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3168         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3169         variable.
3170
3171 2014-05-23  Richard Henderson  <rth@twiddle.net>
3172
3173         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3174         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3175         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3176         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3177
3178         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3179         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3180         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3181         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3182         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3183         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3185         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3186         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3187         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3188         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3189         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3190         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3191         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3195         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3197         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3198         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3199         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3200         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3201         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3202         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3204         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3205         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3206         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3207         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3209         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3210         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3211         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3212         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3213         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3215         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3217         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3218         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3219         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3220         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3221         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3222         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3223         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3224         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3225         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3227         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3229         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3231         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3233         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3234
3235         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3236         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3237         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3238         before exiting on error.
3239         (__libc_vfork): New strong alias.
3240         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3241         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3242
3243         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3244         that was previously under [RESET_PID].
3245         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3246
3247         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3248
3249 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3250
3251         [BZ #16977]
3252         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3253         value when x - 1 is zero.
3254         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3255         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3256         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3257         0.0L for an argument of 1.0L.
3258         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3259         Likewise.
3260         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3261         value when x - 1 is zero.
3262         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3263         * sysdeps/i386/fpu/libm-test-ulps: Update.
3264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3265
3266 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3267
3268         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3269         alphasort and versionsort.
3270
3271 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3272
3273         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3274         macro.
3275         [copysignf]: Likewise.
3276
3277 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3278
3279         * crypt/md5-crypt.c: Fix formatting.
3280
3281 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3282
3283         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3284         (b64_from_24bit): New function.
3285
3286 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3287
3288         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3289         libc_hidden_builtin_def to ifunc.
3290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3291         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3292
3293 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3294
3295         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3296         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3297
3298 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3299
3300         * nscd/Depend (linuxthreads): Remove.
3301         (nptl): Add.
3302         * resolv/Depend (linuxthreads): Remove.
3303         * rt/Depend (linuxthreads): Remove.
3304
3305         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3306         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3307         $(common-objpfx)elf/.
3308         (link-libc-before-gnulib): Likewise.
3309         (elfobjdir): Remove variable.
3310         * Makefile (install): Use $(elf-objpfx) instead of
3311         $(common-objpfx)elf/.
3312         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3313         $(elfobjdir)/.
3314         (link-libc-deps): Likewise.
3315         ($(common-objpfx)libc.so): Likewise.
3316         ($(common-objpfx)linkobj/libc.so): Likewise.
3317         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3318         instead of $(common-objpfx)elf/.
3319         (symbolic-link-list): Likewise.
3320         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3321         [$(cross-compiling) = no]: Likewise.
3322         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3323         $(elfobjdir)/.
3324         (static-gnulib-arch): Likewise.
3325         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3326         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3327         $(common-objpfx)elf/.
3328
3329 2014-05-21  Richard Henderson  <rth@redhat.com>
3330
3331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3332         (SINGLE_THREAD_P): Use the correct width load.  Fold
3333         into the ldr offset.
3334
3335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3336         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3337
3338 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3339
3340         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3341         (libgcc_s_resume): Use __attribute_used__.
3342         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3343         Likewise.
3344
3345 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3346
3347         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3348         optimization when used with float constants.
3349
3350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3351
3352 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3353
3354         [BZ #16915]
3355         * locale/nl_langinfo_l.c: Make direct reference to every
3356         _nl_current_CATEGORY symbol.
3357         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3358         (tests-static): Add tst-langinfo-static.
3359         (tests-special): Add tst-langinfo-static.out.
3360         ($(objpfx)tst-langinfo.out): Redirect output.
3361         ($(objpfx)tst-langinfo-static.out): New.
3362         * localedata/tst-langinfo.sh: Send output to stdout.
3363         * localedata/tst-langinfo-static.c: New file.
3364
3365         [BZ #16965]
3366         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3367         when the shift amount is modulo the limb size.
3368
3369 2014-05-20  Richard Henderson  <rth@redhat.com>
3370
3371         [BZ #16967]
3372         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3373         Change type of sa_flags from unsigned int to int.
3374
3375         [BZ #16966]
3376         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3377
3378         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3379
3380 2014-05-20  Will Newton  <will.newton@linaro.org>
3381
3382         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3383         Test the return value of the system call in the nocancel case.
3384
3385 2014-05-20  Will Newton  <will.newton@linaro.org>
3386             Yvan Roux  <yvan.roux@linaro.org>
3387
3388         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3389         #include of asm/ptrace.h.
3390         (PTRACE_GET_THREAD_AREA): Remove #undef.
3391         (PTRACE_GETHBPREGS): Likewise.
3392         (PTRACE_SETHBPREGS): Likewise.
3393         (struct user_regs_struct): New structure.
3394         (struct user_fpsimd_struct): New structure.
3395         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3396         #include of asm/ptrace.h and second #include of sys/user.h.
3397         (PTRACE_GET_THREAD_AREA): Remove #undef.
3398         (PTRACE_GETHBPREGS): Likewise.
3399         (PTRACE_SETHBPREGS): Likewise.
3400         (ELF_NGREG): Use new struct user_regs_struct.
3401         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3402
3403 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3404
3405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3407
3408 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3409
3410         [BZ #16958]
3411         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3412         membar to avoid block loads/stores to overlap previous stores.
3413
3414 2014-05-17  Richard Henderson  <rth@redhat.com>
3415
3416         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3417         Create the __##syscall_name##_nocancel entry point.
3418         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3419         Remove; let the sysdep-cancel.h code create it.
3420
3421 2014-05-17  David S. Miller  <davem@davemloft.net>
3422
3423         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3424         Protect with __USE_GNU.
3425         (TIOCSET_TEMPT): Likewise.
3426         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3427         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3428         these are already provided in bits/ioctl-types.h
3429
3430 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3431
3432         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3433         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3434
3435         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3436         Use wait4 regardless of [__NR_waitpid].
3437
3438 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3439
3440         PR libgcc/60166
3441         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3442         (_FP_NANSIGN_Q): Set the quiet bit.
3443
3444 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3445
3446         * benchtests/Makefile
3447         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3448         not $(common-objpfx)math/libm.so.
3449         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3450         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3451         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3452         $(common-objpfx)dlfcn/libdl.so.
3453         ($(objpfx)tst-audit8): Depend on $(libm), not
3454         $(common-objpfx)math/libm.so.
3455         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3456         not $(common-objpfx)dlfcn/libdl.so.
3457         * math/Makefile
3458         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3459         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3460         [$(build-shared) = yes].
3461         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3462         $(common-objpfx)nptl/libpthread.so.
3463         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3464         $(common-objpfx)math/libm.so$(libm.so-version) or
3465         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3466         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3467         $(common-objpfx)dlfcn/libdl.so.
3468         * setjmp/Makefile (link-libm): Remove variable.
3469         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3470         * stdio-common/Makefile (link-libm): Remove variable.
3471         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3472         * stdlib/Makefile (link-libm): Remove variable.
3473         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3474         ($(objpfx)tst-strtod-round): Likewise.
3475         ($(objpfx)tst-tininess): Likewise.
3476         ($(objpfx)tst-strtod-underflow): Likewise.
3477         ($(objpfx)tst-strtod6): Likewise.
3478         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3479         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3480         $(common-objpfx)dlfcn/libdl.so.
3481
3482 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3483
3484         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3485         BSD terminal modes definitions.
3486
3487 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3488
3489         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3490         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3491
3492         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3493         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3494         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3495         Don't do #include_next.
3496         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3497         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3498         Don't do #include_next.
3499         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3500         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3501         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3502         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3503
3504 2014-05-16  Allan McRae  <allan@archlinux.org>
3505
3506         * po/sv.po: Update Swedish translation from translation project.
3507
3508         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3509         in sed expression.
3510
3511 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3512
3513         [BZ #16917]
3514         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3515         errno if the TIOCGPTN ioctl fails with an error different than
3516         EINVAL.
3517         * login/tst-ptsname.c: New file.
3518         * login/Makefile (tests): Add tst-ptsname.
3519
3520         [BZ #16943]
3521         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3522         and prlimit64.
3523
3524 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3525
3526         [BZ #16849]
3527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3528         herrno to return EAI_AGAIN.
3529
3530 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3531
3532         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3533         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3534         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3535         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3537         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3539         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3541         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3542         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3543         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3544         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3545         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3546         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3549         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3550         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3551         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3552         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3553         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3554         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3555         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3556         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3557         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3558         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3559         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3560         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3561         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3563         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3565         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3570         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3572         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3574         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3576         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3578         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3580         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3582         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3584         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3586         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3588         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3590         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3592         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3594         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3596         Moved ...
3597         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3609         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3611         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3613         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3617         Moved ...
3618         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3620         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3621
3622         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3623         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3624         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3625         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3626         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3628         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3630         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3631         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3632         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3633         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3634         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3635         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3636         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3637         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3638         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3639         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3640         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3642         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3643         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3644         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3645         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3646         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3648         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3651         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3652         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3653
3654         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3655         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3656
3657         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3658         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3659         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3660         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3661         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3663         Moved ...
3664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3671         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3672         Moved ...
3673         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3674         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3675         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3677         Moved ...
3678         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3680         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3683         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3684         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3689         Moved ...
3690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3691         ... here.
3692         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3693         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3694         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3695         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3697         Moved ...
3698         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3699         ... here.
3700         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3701         Moved ...
3702         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3704         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3706         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3708         Moved ...
3709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3711         Moved ...
3712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3714         Moved ...
3715         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3716         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3717         Moved ...
3718         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3719         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3720         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3722         Moved ...
3723         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3724         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3725         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3727         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3728         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3729         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3731         Moved ...
3732         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3734         Moved ...
3735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3736         ... here.
3737         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3738         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3739         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3740         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3742         Moved ...
3743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3744         ... here.
3745         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3748         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3749         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3750         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3751         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3752         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3753         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3754         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3755         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3757         Moved ...
3758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3759         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3760         Moved ...
3761         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3768         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3769         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3770         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3771         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3773         Moved ...
3774         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3775         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3776         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3779         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3780         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3782         Moved ...
3783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3785         Moved ...
3786         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3787         ... here.
3788         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3789         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3791         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3793         Moved ...
3794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3795         ... here.
3796         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3797         Moved ...
3798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3799         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3800         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3801         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3802         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3803         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3804         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3806         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3808         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3809
3810         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3811         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3812
3813         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3814         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3815
3816         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3817         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3818         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3819         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3820         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3821         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3822         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3823         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3824         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3825         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3826         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3827         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3829         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3830         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3832         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3834         Moved ...
3835         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3844         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3848         Moved ...
3849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3851         Moved ...
3852         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3858         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3859         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3860         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3861         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3862         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3863         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3864         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3866         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3867         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3868         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3869
3870         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3871         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3872         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3873         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3874         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3875
3876         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3877         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3879         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3880         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3881         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3882         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3883         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3884         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3885         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3886
3887         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3889
3890         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3891         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3892         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3893         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3894         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3895         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3896         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3897         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3898         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3899         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3900         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3901         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3903         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3905         Update #include.
3906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3907         Likewise.
3908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3909         Likewise.
3910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3911         Likewise.
3912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3913         Likewise.
3914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3915         Likewise.
3916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3917         Likewise.
3918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3919         Likewise.
3920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3921         Likewise.
3922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3923         Likewise.
3924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3930         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3932         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3939
3940         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3941         that was previously under [RESET_PID].
3942         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3943         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3944         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3945
3946         * sysdeps/i386/nptl/Implies: New file.
3947         * sysdeps/x86_64/nptl/Implies: New file.
3948         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3949         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3951         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3952
3953         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3954         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3955         (__libc_vfork): New strong alias.
3956         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3957         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3958
3959         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3960         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3961         (__libc_vfork): New strong alias.
3962         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3963         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3964
3965         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3966         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3967         (__libc_vfork): New strong alias.
3968         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3969         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3970         * nptl/pt-vfork.c: New file.
3971         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3972         (libpthread: GLIBC_2.20): New version set (empty).
3973
3974 2014-05-14  Will Newton  <will.newton@linaro.org>
3975
3976         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3977         rather than #if.
3978
3979 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3980
3981         [BZ #16564]
3982         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3983         arguments with exponent 65 or above.
3984         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3985         arguments 0x1p113L or above.
3986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3987         to arguments 0x1p107L or above.
3988         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3989         positive arguments with exponent 65 or above.
3990         * math/auto-libm-test-in: Add more tests of log1p.
3991         * math/auto-libm-test-out: Regenerated.
3992
3993         [BZ #16928]
3994         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3995         non-finite arguments is +0.
3996         * math/s_cacosf.c (__cacosf): Likewise.
3997         * math/s_cacosl.c (__cacosl): Likewise.
3998         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3999         * sysdeps/i386/fpu/libm-test-ulps: Update.
4000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001
4002         [BZ #16927]
4003         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4004         value.
4005         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4006         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4007         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4008         for explicit high bit of mantissa when testing for argument equal
4009         to 1.
4010         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4011         * sysdeps/i386/fpu/libm-test-ulps: Update.
4012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013
4014         [BZ #16516]
4015         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4016         (__erf): Scale by 16 instead of 8 in potentially underflowing
4017         case.  Ensure exception if result actually underflows.
4018         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4019         (__erff): Scale by 16 instead of 8 in potentially underflowing
4020         case.  Ensure exception if result actually underflows.
4021         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4022         (efx8): Remove variable.
4023         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4024         case.  Ensure exception if result actually underflows.
4025         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4026         (efx8): Remove variable.
4027         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4028         case.  Ensure exception if result actually underflows.
4029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4030         (efx8): Remove variable.
4031         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4032         case.  Ensure exception if result actually underflows.
4033         * math/auto-libm-test-in: Add more tests of erf.
4034         * math/auto-libm-test-out: Regenerated.
4035
4036 2014-05-14  Andreas Schwab  <schwab@suse.de>
4037
4038         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4039         Remove code conditionalized on USE___THREAD.
4040
4041         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4042         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4043         not definedness.
4044
4045 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4046
4047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4048         Define unconditionally.
4049         (__ASSUME_O_CLOEXEC): Likewise.
4050         (__ASSUME_SOCK_CLOEXEC): Likewise.
4051         (__ASSUME_IN_NONBLOCK): Likewise.
4052         (__ASSUME_PIPE2): Likewise.
4053         (__ASSUME_EVENTFD2): Likewise.
4054         (__ASSUME_SIGNALFD4): Likewise.
4055         (__ASSUME_DUP3): Likewise.
4056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4057         (__ASSUME_DUP3): Do not define.
4058         (__ASSUME_EVENTFD2): Likewise.
4059         (__ASSUME_IN_NONBLOCK): Likewise.
4060         (__ASSUME_O_CLOEXEC): Likewise.
4061         (__ASSUME_PIPE2): Likewise.
4062         (__ASSUME_SIGNALFD4): Likewise.
4063         (__ASSUME_SOCK_CLOEXEC): Likewise.
4064         (__ASSUME_UTIMES): Undefine.
4065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4066         (__ASSUME_UTIMES): Do not define.
4067         (__ASSUME_O_CLOEXEC): Likewise.
4068         (__ASSUME_SOCK_CLOEXEC): Likewise.
4069         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4070         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4071         0x020621].
4072         (__ASSUME_PIPE2): Likewise.
4073         (__ASSUME_EVENTFD2): Likewise.
4074         (__ASSUME_SIGNALFD4): Likewise.
4075         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4076         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4077         Do not define.
4078         (__ASSUME_EVENTFD2): Likewise.
4079         (__ASSUME_SIGNALFD4): Likewise.
4080         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4081         (__ASSUME_32BITUIDS): Likewise.
4082         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4083         (__ASSUME_IPC64): Likewise.
4084         (__ASSUME_ST_INO_64_BIT): Likewise.
4085         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4086         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4087         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4088         (__ASSUME_UTIMES): Do not define.
4089         (__ASSUME_PSELECT): Likewise.
4090         (__ASSUME_PPOLL): Likewise.
4091         (__ASSUME_O_CLOEXEC): Likewise.
4092         (__ASSUME_SOCK_CLOEXEC): Likewise.
4093         (__ASSUME_IN_NONBLOCK): Likewise.
4094         (__ASSUME_PIPE2): Likewise.
4095         (__ASSUME_EVENTFD2): Likewise.
4096         (__ASSUME_SIGNALFD4): Likewise.
4097         (__ASSUME_DUP3): Likewise.
4098         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4099         (__ASSUME_UTIMES): Likewise.
4100         (__ASSUME_O_CLOEXEC): Likewise.
4101         (__ASSUME_SOCK_CLOEXEC): Likewise.
4102         (__ASSUME_IN_NONBLOCK): Likewise.
4103         (__ASSUME_PIPE2): Likewise.
4104         (__ASSUME_EVENTFD2): Likewise.
4105         (__ASSUME_SIGNALFD4): Likewise.
4106         (__ASSUME_DUP3): Likewise.
4107         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4108         (__ASSUME_UTIMES): Likewise.
4109         (__ASSUME_O_CLOEXEC): Likewise.
4110         (__ASSUME_SOCK_CLOEXEC): Likewise.
4111         (__ASSUME_IN_NONBLOCK): Likewise.
4112         (__ASSUME_PIPE2): Likewise.
4113         (__ASSUME_EVENTFD2): Likewise.
4114         (__ASSUME_SIGNALFD4): Likewise.
4115         (__ASSUME_DUP3): Likewise.
4116         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4117         Likewise.
4118         (__ASSUME_UTIMES): Likewise.
4119         (__ASSUME_EVENTFD2): Likewise.
4120         (__ASSUME_SIGNALFD4): Likewise.
4121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4122         (__ASSUME_O_CLOEXEC): Likewise.
4123         (__ASSUME_SOCK_CLOEXEC): Likewise.
4124         (__ASSUME_IN_NONBLOCK): Likewise.
4125         (__ASSUME_PIPE2): Likewise.
4126         (__ASSUME_EVENTFD2): Likewise.
4127         (__ASSUME_SIGNALFD4): Likewise.
4128         (__ASSUME_DUP3): Likewise.
4129         (__ASSUME_UTIMES): Undefine.
4130
4131         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4132         feclearexcept.  Remove symbol versioning code.
4133         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4134         symbol versioning code.
4135         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4136         symbol versioning code.
4137         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4138         feupdateenv.  Remove symbol versioning code.
4139         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4140         fegetexceptflag.  Remove symbol versioning code.
4141         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4142         fesetexceptflag.  Remove symbol versioning code.
4143         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4144         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4145         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4146         (__posix_fadvise64_l32): Remove prototype.
4147         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4148         code.
4149
4150 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4151
4152         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4153         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4154         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4155         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4156
4157 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4158
4159         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4160         current working directory
4161
4162 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4163
4164         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4165         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4166         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4167         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4168         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4169         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4170         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4171         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4172         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4177         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4178         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4179         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4180         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4181         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4182         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4183         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4184         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4185         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4186         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4187         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4188         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4189         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4190         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4191         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4192         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4193         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4195         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4197         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4198         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4199         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4200         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4201         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4202         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4203         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4204         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4205         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4206
4207         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4208         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4209
4210         * sysdeps/unix/sysv/linux/arm/Makefile
4211         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4212         Add rt-aeabi_unwind_cpp_pr1.
4213         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4214         Add nptl-aeabi_unwind_cpp_pr1.
4215         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4216         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4217         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4218         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4219         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4220         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4221
4222         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4223         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4224         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4225         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4226
4227         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4228         Deconditionalize the code that was previously under [RESET_PID].
4229         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4230
4231         * sysdeps/generic/exit-thread.h: New file.
4232         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4233         * include/unistd.h (__exit_thread): Remove declaration.
4234         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4235         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4236         * csu/libc-start.c: Include <exit-thread.h>.
4237         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4238         * nptl/pthread_create.c: Include <exit-thread.h>.
4239         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4240         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4241         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4242         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4243         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4244         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4245         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4246         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4247         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4248         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4249         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4250         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4251         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4252         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4253         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4254         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4255         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4256
4257 2014-05-13  Andreas Schwab  <schwab@suse.de>
4258
4259         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4260
4261 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4262
4263         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4264         (__ASSUME_UTIMES): Do not condition on kernel version.
4265         (__ASSUME_PSELECT): Define unconditionally.
4266         (__ASSUME_PPOLL): Likewise.
4267         (__ASSUME_ATFCTS): Likewise.
4268         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4269         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4270         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4271         (__ASSUME_UTIMENSAT): Define unconditionally.
4272         (__ASSUME_PRIVATE_FUTEX): Likewise.
4273         (__ASSUME_FALLOCATE): Likewise.
4274         (__ASSUME_O_CLOEXEC): Likewise.
4275         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4276         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4277         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4278         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4279         (__ASSUME_IN_NONBLOCK): Likewise.
4280         (__ASSUME_PIPE2): Likewise.
4281         (__ASSUME_EVENTFD2): Likewise.
4282         (__ASSUME_SIGNALFD4): Likewise.
4283         (__ASSUME_DUP3): Likewise.
4284         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4285         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4286         (__ASSUME_AT_RANDOM): Likewise.
4287         (__ASSUME_PREADV): Likewise.
4288         (__ASSUME_PWRITEV): Likewise.
4289         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4290         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4291         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4292         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4293         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4295         (__ASSUME_O_CLOEXEC): Define unconditionally.
4296         (__ASSUME_PSELECT): Do not undefine conditionally.
4297         (__ASSUME_PPOLL): Likewise.
4298         (__ASSUME_ATFCTS): Likewise.
4299         (__ASSUME_SET_ROBUST_LIST): Likewise.
4300         (__ASSUME_UTIMENSAT): Likewise.
4301         (__ASSUME_FDATASYNC): Define unconditionally.
4302         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4303         (__ASSUME_SIGFRAME_V2): Likewise.
4304         )__ASSUME_EVENTFD2): Likewise.
4305         (__ASSUME_SIGNALFD4): Likewise.
4306         (__ASSUME_PSELECT): Do not undefine conditionally.
4307         (__ASSUME_PPOLL): Likewise.
4308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4309         (__ASSUME_PSELECT): Define unconditionally.
4310         (__ASSUME_PPOLL): Likewise.
4311         (__ASSUME_O_CLOEXEC): Likewise.
4312         (__ASSUME_SOCK_CLOEXEC): Likewise.
4313         (__ASSUME_IN_NONBLOCK): Likewise.
4314         (__ASSUME_PIPE2): Likewise.
4315         (__ASSUME_EVENTFD2): Likewise.
4316         (__ASSUME_SIGNALFD4): Likewise.
4317         (__ASSUME_DUP3): Likewise.
4318         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4319         (__ASSUME_O_CLOEXEC): Likewise.
4320         (__ASSUME_SOCK_CLOEXEC): Likewise.
4321         (__ASSUME_IN_NONBLOCK): Likewise.
4322         (__ASSUME_PIPE2): Likewise.
4323         (__ASSUME_EVENTFD2): Likewise.
4324         (__ASSUME_SIGNALFD4): Likewise.
4325         (__ASSUME_DUP3): Likewise.
4326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4327         (__ASSUME_EVENTFD2): Likewise.
4328         (__ASSUME_SIGNALFD4): Likewise.
4329         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4330
4331 2014-05-12  Andreas Schwab  <schwab@suse.de>
4332
4333         [BZ #16932]
4334         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4335         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4336         than maximum RPC packet size.
4337         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4338         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4339         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4340         (_nss_nis_getservbyport_r): Likewise.
4341
4342 2014-05-12  Will Newton  <will.newton@linaro.org>
4343
4344         * malloc/Makefile (tests): Add tst-mallopt.
4345         * malloc/tst-mallopt.c: New file.
4346
4347 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4348
4349         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4350         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4351
4352 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4353
4354         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4355         (tst-tlsmod6.so): Likewise.
4356
4357 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4358
4359         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4360
4361 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4362
4363         [BZ #16064]
4364         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4365         and <dl-procinfo.h>.
4366         (__fegetenv): Save SSE state in envp->__eip if supported.
4367         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4368         envp->__eip if supported.
4369         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4370         and <dl-procinfo.h>.
4371         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4372         __data_offset and __data_selector in environment to 0.  Set SSE
4373         state if supported.
4374         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4375         test-fenv-sse.
4376         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4377         -mfpmath=sse.
4378         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4379
4380 2014-05-09  Will Newton  <will.newton@linaro.org>
4381
4382         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4383         and libc_relro_required for ARM.
4384         * sysdeps/arm/preconfigure: Regenerate.
4385
4386 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4387             Stefan Liebler  <stli@linux.vnet.ibm.com>
4388
4389         * config.make.in (enable-lock-elision): New Makefile variable.
4390         * configure.ac: Likewise.
4391         * configure: Regenerate.
4392         * sysdeps/s390/configure.ac:
4393         Add check for gcc transactions support.
4394         * sysdeps/s390/configure: Regenerate.
4395         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4396         Build elision files if enabled.
4397         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4398         Add lock elision support for s390.
4399         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4400         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4401         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4403         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4404         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4405         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4406         Likewise.
4407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4408         Likewise.
4409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4410         Likewise.
4411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4412         Likewise.
4413         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4414         (__lll_timedlock_elision, __lll_lock_elision)
4415         (__lll_unlock_elision, __lll_trylock_elision)
4416         (lll_timedlock_elision, lll_lock_elision)
4417         (lll_unlock_elision, lll_trylock_elision): Add.
4418         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4419         (pthread_mutex_t): Add lock elision support for s390.
4420
4421 2014-05-14  Wilco  <wdijkstr@arm.com>
4422
4423         * sysdeps/arm/fclrexcpt.c: Cleanup.
4424         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4425         * sysdeps/arm/feenablxcpt.c: Cleanup.
4426         * sysdeps/arm/fegetenv.c: Cleanup.
4427         * sysdeps/arm/fegetexcept.c: Cleanup.
4428         * sysdeps/arm/fegetround.c: Cleanup.
4429         * sysdeps/arm/feholdexcpt.c: Cleanup.
4430         * sysdeps/arm/fesetenv.c: Cleanup.
4431         * sysdeps/arm/fesetround.c: Cleanup.
4432         * sysdeps/arm/feupdateenv.c: Cleanup.
4433         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4434         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4435         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4436         * sysdeps/arm/ftestexcept.c: Cleanup.
4437         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4438         * sysdeps/arm/setfpucw.c: Cleanup.
4439
4440 2014-05-09  Will Newton  <will.newton@linaro.org>
4441
4442         * sysdeps/arm/armv7/strcmp.S: New file.
4443         * NEWS: Mention addition of ARMv7 optimized strcmp.
4444
4445 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4446
4447         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4448         look for %.ac rather than %.in.
4449
4450         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4451         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4452         * sysdeps/mach/hurd/configure: Regenerated.
4453         * sysdeps/unix/sysv/linux/configure: Regenerated.
4454
4455         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4456
4457 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4458
4459         [BZ# 16922]
4460         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4461         (LONG_SUB): Ditto.
4462         (PTR_SUB): Ditto.
4463
4464 2014-05-07  Andreas Schwab  <schwab@suse.de>
4465
4466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4467         when skipping over non-matching result from nscd.
4468
4469 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4470
4471         [BZ #16876]
4472         * nptl/sockperf.c (client): Check socket return value.
4473
4474         [BZ #16877]
4475         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4476         nscd security class.
4477
4478 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4479
4480         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4481         * sysdeps/arm/unwind.h: ... here.
4482
4483 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4484
4485         [BZ# 16916]
4486         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4487         Define.
4488
4489 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4490
4491         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4492         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4493         multiarch strncpy for PPC64.
4494         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4495         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4497         multiarch optimizations.
4498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4499         (__libc_ifunc_impl_list): Likewise.
4500         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4502         multiarch stpncpy for PPC64.
4503         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4504         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4505
4506 2014-05-06  Andreas Schwab  <schwab@suse.de>
4507
4508         [BZ #16912]
4509         * gmon/mcount.c (_MCOUNT_DECL): Use
4510         atomic_compare_and_exchange_bool_acq instead of
4511         catomic_compare_and_exchange_bool_acq.
4512
4513 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4514
4515         * elf/Makefile (others, install-bin): Remove pldd.
4516         (pldd-modules): Variable removed.
4517         ($(objpfx)pldd): Target removed.
4518         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4519         (others, install-bin): Append pldd here.
4520         ($(objpfx)pldd): New target.
4521
4522         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4523         to 0, so the first #if test emitted later doesn't see it undefined.
4524         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4525         * sysdeps/gnu/errlist.c: Regenerated.
4526
4527 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4528
4529         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4530         [libc_hidden_builtin_def]: Define to empty value.
4531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4532         [libc_hidden_builtin_def]: Likewise.
4533         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4534         [libc_hidden_builtin_def]: Likewise.
4535         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4536         [libc_hidden_builtin_def]: Likewise.
4537         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4538         __redirect_memcpy and define ifunc as default hidden symbol.
4539         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4540         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4541
4542 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4543
4544         * locale/iso-4217.def: Reintroduce XDR currency.
4545
4546 2014-05-04  Allan McRae  <allan@archlinux.org>
4547
4548         * po/eo.po: Update Esperanto translation from translation project.
4549
4550 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4551
4552         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4553         and FEATURE_INDEX_MAX to 1.
4554         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4555
4556 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4557
4558         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4559         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4560         * iconvdata/big5.c (ONE_DIRECTION): Define.
4561         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4562         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4563         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4564         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4565         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4566         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4567         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4568         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4569         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4570         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4571         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4572         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4573         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4574         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4575         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4576         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4577         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4578         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4579         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4580         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4581         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4582         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4583         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4584         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4585         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4586         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4587         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4588         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4589         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4590         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4591         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4592         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4593         * iconvdata/johab.c (ONE_DIRECTION): Define.
4594         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4595         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4596         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4597         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4598         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4599         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4600         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4601         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4602         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4603         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4604
4605 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4606
4607         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4608         (_IO_JUMPS_OFFSET): Define to 0.
4609
4610         * nptl/sysdeps/pthread/bits/libc-lock.h
4611         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4612         (__libc_lock_define_initialized_recursive): Always define using
4613         initializer.  Modern compilers treat uninitialized (implicit zero) and
4614         explicit zero initializers the same (i.e. put the datum in bss).
4615
4616 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4617
4618         * nscd/nscd-client.h: Include <string.h>.
4619
4620 2014-05-01  David S. Miller  <davem@davemloft.net>
4621
4622         [BZ #16885]
4623         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4624         multiple zero bytes exist at the end of a string.
4625         Reported by Aurelien Jarno <aurelien@aurel32.net>
4626
4627         * string/test-strcmp.c (check): Add explicit test for situations where
4628         there are multiple zero bytes after the first.
4629
4630 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4631
4632         [BZ #16890]
4633         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4634         when compiling wprintf.
4635         * stdio-common/tstdiomisc.c (t3): New function.
4636         (main): Call it.
4637
4638 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4639
4640         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4641         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4642         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4643         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4644
4645 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4646
4647         * stdlib/longlong.h: Updated from GCC.
4648
4649 2014-05-01  Will Newton  <will.newton@linaro.org>
4650             Bernard Ogden  <bernie.ogden@linaro.org>
4651
4652         * NEWS: Update fixed bug list.
4653
4654         [BZ #15119]
4655         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4656
4657 2014-04-30  David S. Miller  <davem@davemloft.net>
4658
4659         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4660         (libc_feholdexcept_setround_sparc_ctx): New function.
4661         (libc_fesetenv_sparc_ctx): Likewise.
4662         (libc_feupdateenv_sparc_ctx): Likewise.
4663         (libc_feholdsetround_sparc_ctx): Likewise.
4664         (libc_feholdexcept_setround_ctx): Define.
4665         (libc_feholdexcept_setroundf_ctx): Likewise.
4666         (libc_feholdexcept_setroundl_ctx): Likewise.
4667         (libc_fesetenv_ctx): Likewise.
4668         (libc_fesetenvf_ctx): Likewise.
4669         (libc_fesetenvl_ctx): Likewise.
4670         (libc_feupdateenv_ctx): Likewise.
4671         (libc_feupdateenvf_ctx): Likewise.
4672         (libc_feupdateenvl_ctx): Likewise.
4673         (libc_feresetround_ctx): Likewise.
4674         (libc_feresetroundf_ctx): Likewise.
4675         (libc_feresetroundl_ctx): Likewise.
4676         (libc_feholdsetround_ctx): Likewise.
4677         (libc_feholdsetroundf_ctx): Likewise.
4678         (libc_feholdsetroundl_ctx): Likewise.
4679
4680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4681         with __USE_GNU instead of XOPEN cpp guards.
4682
4683         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4684         0.
4685
4686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4687         with XOPEN cpp guards.
4688
4689 2014-04-30  Julian Brown  <julian@codesourcery.com>
4690
4691         [BZ #16888]
4692         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4693         handling.
4694
4695 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4696
4697         [BZ #9894]
4698         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4699         Change to 2.6.32.
4700         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4701         * sysdeps/unix/sysv/linux/configure: Regenerated.
4702         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4703         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4704         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4705         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4706         * README: Update reference to required Linux kernel version.
4707         * manual/install.texi (Linux): Update reference to required Linux
4708         kernel headers version.
4709         * INSTALL: Regenerated.
4710
4711         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4712         header inclusion.
4713         [POSIX] (limits.h): Likewise.
4714         [POSIX] (math.h): Likewise.
4715         [POSIX] (sys/wait.h): Likewise.
4716         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4717         function.
4718         [POSIX] (stddef.h): Do not allow header inclusion.
4719
4720 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721
4722         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4723
4724 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4725
4726         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4727         Return immediately after lll_futex_wake.
4728
4729 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4730
4731         [BZ #16791]
4732         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4733         structure.
4734         (datahead_init_pos): Call datahead_init_common early.
4735         (datahead_init_neg): Likewise.
4736
4737         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4738         datahead_init_neg): New functions.
4739         * nscd/aicache.c (addhstaiX): Use them.
4740         * nscd/grpcache.c (cache_addgr): Likewise.
4741         * nscd/hstcache.c (cache_addhst): Likewise.
4742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4743         * nscd/netgroupcache.c (do_notfound): Likewise.
4744         (addgetnetgrentX): Likewise.
4745         (addinnetgrX): Likewise.
4746         * nscd/pwdcache.c (cache_addpw): Likewise.
4747         * nscd/servicescache.c (cache_addserv): Likewise.
4748
4749 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4750             Atsushi Onoe  <atsushi@onoe.org>
4751
4752         [BZ #14308]
4753         [BZ #12994]
4754         [BZ #13651]
4755         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4756         one response is valid.
4757         * resolv/res_send.c (send_dg): Check for validity of other
4758         response if the current response is a referral.
4759
4760 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4761
4762         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4763
4764 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4765
4766         [BZ #16823]
4767         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4768         Always divide by positive zero when computing -Inf result.
4769         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4770         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4771
4772 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4773
4774         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4775         FPSCR if value do not change.
4776         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4777         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4778         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4779         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4780         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4781         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4782         function.
4783
4784 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4785
4786         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4787         * sysdeps/unix/sysv/linux/hppa: Move directory from
4788         ports/systeps/unix/sysv/linux/hppa.
4789         * README: Update listing for hppa-*-linux-gnu.
4790
4791 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4792
4793         [BZ #16754]
4794         * manual/stdio.texi (Hook functions): Fix types of stream hook
4795         functions.
4796         [BZ #16854]
4797         * socket/sys/socket.h: Fix typo in comment.
4798
4799 2014-04-28  Wilco  <wdijkstr@arm.com>
4800
4801         * sysdeps/arm/fenv_private.h: New file.
4802         * sysdeps/arm/math_private.h: New file.
4803         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4804
4805 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4806
4807         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4808         with __int128_t.
4809         (La_x86_64_retval): Likewise.
4810
4811 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4812
4813         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4814         fpsr if value didn't change.
4815         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4816         to fpcr if value didn't change.
4817         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4818         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4819         fpsr or fpcr if value didn't change.
4820         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4821         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4822         fpcr if value didn't change.
4823         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4824         to fpsr if value didn't change.
4825
4826 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4827
4828         * nptl/tst-sem3.c: Use test-skeleton.c
4829         (main): Rename to do_test.  Use return instead of
4830         exit.
4831         * nptl/tst-sem4.c: Use test-skeleton.c
4832         (main): Rename to do_test.
4833
4834 2014-04-22  David S. Miller  <davem@davemloft.net>
4835
4836         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4837         (struct sigaction): New struct member __glibc_reserved0, change
4838         type of sa_flags to int.
4839
4840 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4841
4842         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4843         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4844
4845 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4846
4847         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4848         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4849
4850 2014-04-22  Will Newton  <will.newton@linaro.org>
4851             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4852
4853         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4854         (__longjmp): Add longjmp and longjmp_target SystemTap
4855         probes.
4856         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4857         (__sigsetjmp): Add setjmp SystemTap probe.
4858
4859 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4860
4861         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4862         match manual order.
4863
4864 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4865
4866         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4867
4868         * sysdeps/powerpc/fpu/fenv_private.h
4869         (libc_feholdexcept_setroundl_ctx): Define to
4870         libc_feholdexcept_setround_ppc_ctx.
4871         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4872         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4873         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4874         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4875
4876 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4877
4878         * sysdeps/aarch64/math-tests.h: New file.
4879
4880 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4881
4882         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4883         New.
4884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4885         Check and set bit_AVX2_Usable.
4886         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4887         macro.
4888         (bit_AVX2): Likewise.
4889         (index_AVX2_Usable): Likewise.
4890         (CPUID_AVX2): Likewise.
4891         (HAS_AVX2): Likewise.
4892
4893 2014-04-17  Will Newton  <will.newton@linaro.org>
4894
4895         * manual/setjmp.texi (System V contexts): Add note that
4896         calling setcontext on a context created by a call to a
4897         signal handler is undefined.  Update text to note that
4898         setcontext from a signal handler is possible but not
4899         recommended.
4900
4901         [BZ #16629]
4902         * stdlib/tst-setcontext.c: Include signal.h.
4903         (main): Check that the signal stack before and
4904         after swapcontext is the same.
4905
4906         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4907         Re-implement to restore registers in user code and avoid
4908         rt_sigreturn system call.
4909
4910 2014-04-17  Wilco  <wdijkstr@arm.com>
4911
4912         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4913         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4914         * math/test-fenv.c: Skip exception trap tests on targets which only
4915         support non-stop mode.
4916
4917 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4918             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4919
4920         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4921         (libc_feholdsetround_aarch64_ctx)
4922         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4923         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4924         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4925         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4926         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4927         (libc_feresetround_noexl_ctx): Define.
4928
4929 2014-04-16  Richard Henderson  <rth@redhat.com>
4930
4931         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4932
4933         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4934         unwind tables.
4935
4936         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4937         const from the non-libc, non-ldso copy.
4938
4939         * sysdeps/alpha/libm-test-ulps: Regenerate.
4940
4941 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4942             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4943
4944         * sysdeps/aarch64/fpu/math_private.h: New file.
4945
4946 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4947
4948         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4949
4950 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4951
4952         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4953         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4955         Intel MPX bound registers before _dl_profile_fixup.
4956         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4957         registers after _dl_profile_fixup.  Save and restore bound
4958         registers bnd0/bnd1 when calling _dl_call_pltexit.
4959         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4960         (LR_BND_OFFSET): Likewise.
4961         (LRV_BND0_OFFSET): Likewise.
4962         (LRV_BND1_OFFSET): Likewise.
4963
4964 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4965
4966         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4967         to...
4968         * sysdeps/mach/hurd/i386/tls.h: ... here.
4969         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4970         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4971         fields.
4972
4973 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4974
4975         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4976
4977 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4978
4979         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4980
4981 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4982
4983         [BZ #14770]
4984         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4985         * sysdeps/s390/configure: Regenerate.
4986
4987         [BZ #16824]
4988         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4989         Set round-to-nearest internally to reduce error accumulation.
4990
4991 2014-04-16  Alan Modra  <amodra@gmail.com>
4992
4993         [BZ #16740]
4994         [BZ #16619]
4995         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4996         * math/libm-test.inc (frexp_test_data): Add tests.
4997         * NEWS: Update fixed bug list.
4998
4999 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5000
5001         * benchtests/Makefile: Depend on libraries in build directory.
5002         (bench-math): Separate out math tests.
5003         (bench-pthread): Separate out pthread tests.
5004         (bench): Include math and pthread tests.
5005
5006 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5007
5008         [BZ #16831]
5009         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5010         _dl_debug_initialize.
5011
5012         * configure.ac: Remove SELinux header check.
5013         * configure: Regenerate.
5014         * nscd/selinux.c (perms): Array of const char* to permission names.
5015         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5016         default policy. Call string_to_security_class and string_to_av_perm to
5017         translate strings. Enforce default policy and call avs_has_perm with
5018         results of translated strings.
5019
5020 2014-04-13  David S. Miller  <davem@davemloft.net>
5021
5022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5023
5024 2014-04-12  Allan McRae  <allan@archlinux.org>
5025
5026         [BZ #16838]
5027         * manual/string.texi (Collation Functions): Fix qsort argument
5028         order in example.
5029         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5030
5031 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5032
5033         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5034         Make the test a no-op if there are no exceptions defined.
5035
5036 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5037
5038         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5039         enable-hardcoded-path-in-tests
5040
5041 2014-04-11  Will Newton  <will.newton@linaro.org>
5042
5043         * benchtests/Makefile (extra-objs): Add json-lib.o.
5044         (bench-func): Tidy up JSON output.
5045         * benchtests/bench-skeleton.c: Include json-lib.h.
5046         (main): Use JSON library functions to do output of
5047         benchmark results.
5048         * benchtests/bench-timing-type.c (main): Output the
5049         timing type simply, leaving formatting to the user.
5050         * benchtests/json-lib.c: New file.
5051         * benchtests/json-lib.h: Likewise.
5052
5053 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5054
5055         [BZ #15215]
5056         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5057         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5058         memory barriers.  Add comments.
5059         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5060         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5061         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5062         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5063         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5064         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5065
5066 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5067
5068         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5069         * sysdeps/s390/s390-64/configure.ac: ... this ...
5070         * sysdeps/s390/configure.ac: ... to here.
5071         * sysdeps/s390/s390-32/configure: Delete file.
5072         * sysdeps/s390/s390-64/configure: Delete file.
5073         * sysdeps/s390/configure: Regenerate.
5074
5075 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5076
5077         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5078
5079 2014-04-11  Will Newton  <will.newton@linaro.org>
5080
5081         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5082         to zero if it is not defined elsewhere.  (mtrim): Test
5083         the value of MALLOC_DEBUG with #if rather than #ifdef.
5084
5085 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5086
5087         * benchtests/pthread_once-inputs: New file.
5088         * benchtests/pthread_once-source.c: New file.
5089         * benchtests/README: Update documentation.
5090
5091 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5092             H.J. Lu  <hongjiu.lu@intel.com>
5093
5094         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5095         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5096         * sysdeps/x86_64/configure: Regenerated.
5097         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5098         macro.
5099         (REGISTER_SAVE_RAX): Likewise.
5100         (REGISTER_SAVE_RCX): Likewise.
5101         (REGISTER_SAVE_RDX): Likewise.
5102         (REGISTER_SAVE_RSI): Likewise.
5103         (REGISTER_SAVE_RDI): Likewise.
5104         (REGISTER_SAVE_R8): Likewise.
5105         (REGISTER_SAVE_R9): Likewise.
5106         (REGISTER_SAVE_BND0): Likewise.
5107         (REGISTER_SAVE_BND1): Likewise.
5108         (REGISTER_SAVE_BND2): Likewise.
5109         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5110         bound registers when calling _dl_fixup.
5111
5112 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5113
5114         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5115         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5116         of its definition.
5117         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5118         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5119         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5120         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5121         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5122         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5123         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5124
5125 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5126
5127         [BZ #15514]
5128         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5129         pathconf(_PC_NAME_MAX).
5130
5131 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5132
5133         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5134         Remove macro usage.
5135         (__PTHREAD_SPINS): Move definition to ...
5136         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5137         (__PTHREAD_SPINS): ... here.
5138         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5139         (__PTHREAD_SPIN): Likewise.
5140         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5141         (__PTHREAD_SPIN): Likewise.
5142         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5143         (__PTHREAD_SPIN): Likewise.
5144         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5145         (__PTHREAD_SPIN): Likewise.
5146         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5147         (__PTHREAD_SPIN): Likewise.
5148         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5149         (__PTHREAD_SPIN): Likewise.
5150         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5151         (__PTHREAD_SPIN): Likewise.
5152         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5153         (__PTHREAD_SPIN): Likewise.
5154         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5155         (__PTHREAD_SPIN): Likewise.
5156         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5157         (__PTHREAD_SPIN): Likewise.
5158         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5159         (__PTHREAD_SPIN): Likewise.
5160         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5161         (__PTHREAD_SPIN): Likewise.
5162
5163         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5164         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5165         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5166         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5167         imply folder.
5168         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5169         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5170         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5171         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5172         correct imply path.
5173         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5174         strlen symbol for non multi-arch builds.
5175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5176         missing hidden_def and weak_alias.
5177
5178 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5179
5180         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5181
5182 2014-04-07  Will Newton  <will.newton@linaro.org>
5183
5184         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5185         and contents.  [!_LIBC] Remove #ifndef and contents.
5186         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5187         * string/memccpy.c (__memccpy): Use ANSI prototype.
5188         * string/memfrob.c (memfrob): Likewise.
5189         * string/strcoll.c (STRCOLL): Likewise.
5190         * string/strlen.c (strlen): Likewise.
5191         * string/strtok.c (STRTOK): Likewise.
5192         * string/strcat.c: Remove unused #include of memcopy.h.
5193         (strcat): Use ANSI prototype.
5194         * string/strchr.c: Remove unused #include of memcopy.h.
5195         (strchr): Use ANSI prototype.
5196         * string/strcmp.c: Remove unused #include of memcopy.h.
5197         (strcmp): Use ANSI prototype.
5198         * string/strcpy.c: Remove unused #include of memcopy.h.
5199         (strcpy): Use ANSI prototype.
5200
5201 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5202
5203         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5204         * config.make.in (config-extra-cppflags): Set it from
5205         libc_extra_cppflags.
5206         * configure.ac (libc_extra_cflags): Make it accumulate over
5207         configure fragments.
5208         (libc_extra_cppflags): New flag.
5209         * configure. Regenerate.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5211         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5212         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5214
5215         [BZ #16815]
5216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5217         result for FE_DOWNWARD rounding mode.
5218         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5219         Likewise.
5220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5221
5222 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5223
5224         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5225         in function argument name.
5226
5227 2014-04-03  David Svoboda  <svoboda@cert.org>
5228
5229         [BZ #5666]
5230         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5231         explicitly.
5232
5233 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5234
5235         * elf/dl-unmap-segments.h: New file.
5236         * sysdeps/generic/ldsodefs.h
5237         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5238         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5239         * elf/dl-fptr.c: Likewise.
5240         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5241         * sysdeps/aarch64/tlsdesc.c: Likewise.
5242         * sysdeps/arm/tlsdesc.c: Likewise.
5243         * sysdeps/i386/tlsdesc.c: Likewise.
5244         * sysdeps/tile/dl-runtime.c: Likewise.
5245         * sysdeps/x86_64/tlsdesc.c: Likewise.
5246         * elf/dl-load.h: New file.
5247         * elf/dl-load.c: Include it.
5248         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5249         Macros moved to dl-load.h.
5250         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5251         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5252         Use _dl_unmap_segments in place of __munmap.
5253         Break out segment-mapping loop into ...
5254         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5255
5256 2014-04-03  Will Newton  <will.newton@linaro.org>
5257
5258         * elf/dl-lookup.c (do_lookup_x): Remove comment
5259         referring to nested function and move variable
5260         declarations down to before first use.
5261
5262 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5263
5264         [BZ #16799]
5265         [BZ #16800]
5266         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5267         with 0 numerator.
5268         * math/s_catanf.c (__catanf): Likewise.
5269         * math/s_catanh.c (__catanh): Likewise.
5270         * math/s_catanhf.c (__catanhf): Likewise.
5271         * math/s_catanhl.c (__catanhl): Likewise.
5272         * math/s_catanl.c (__catanl): Likewise.
5273         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5274         by positive zero when computing -Inf result.
5275         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5276         (catanh_test): Likewise.
5277         * sysdeps/i386/fpu/libm-test-ulps: Update.
5278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5279
5280         [BZ #16789]
5281         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5282         instead of using underflowing value in computing result.
5283         * math/s_clog10.c (__clog10): Likewise.
5284         * math/s_clog10f.c (__clog10f): Likewise.
5285         * math/s_clog10l.c (__clog10l): Likewise.
5286         * math/s_clogf.c (__clogf): Likewise.
5287         * math/s_clogl.c (__clogl): Likewise.
5288         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5289         (clog10_test): Likewise.
5290         * sysdeps/i386/fpu/libm-test-ulps: Update.
5291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292
5293 2014-04-02  Alan Modra  <amodra@gmail.com>
5294
5295         [BZ #16739]
5296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5297         output when value is near a power of two.  Use int64_t for lx and
5298         remove casts.  Use decimal rather than hex exponent constants.
5299         Don't use long double multiplication when double will suffice.
5300         * math/libm-test.inc (nextafter_test_data): Add tests.
5301         * NEWS: Add 16739 and 16786 to bug list.
5302
5303         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5304
5305         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5306
5307 2014-04-01  Will Newton  <will.newton@linaro.org>
5308
5309         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5310         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5311
5312 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5313
5314         [BZ #13347]
5315         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5316         * nptl/tst-setuid2.c: New file.
5317         * nptl/Makefile (xtests): Add tst-setuid2.
5318
5319 2014-04-01  Alan Modra  <amodra@gmail.com>
5320
5321         [BZ #16786]
5322         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5323
5324 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5325
5326         [BZ #6803]
5327         [BZ #6804]
5328         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5329         set errno as appropriate.
5330         * math/w_scalbf.c (__scalbf): Likewise.
5331         * math/w_scalbl.c (__scalbl): Likewise.
5332         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5333         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5334         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5335         Add more NaN tests.
5336
5337         [BZ #16349]
5338         * math/w_atan2.c: Include <errno.h>.
5339         (__atan2): Set errno for result underflowing to zero.
5340         * math/w_atan2f.c: Include <errno.h>.
5341         (__atan2f): Set errno for result underflowing to zero.
5342         * math/w_atan2l.c: Include <errno.h>.
5343         (__atan2l): Set errno for result underflowing to zero.
5344         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5345         tests.
5346         * math/auto-libm-test-out: Regenerated.
5347
5348 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5349
5350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5351         Encode instruction correctly in little endian.
5352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5353         Likewise.
5354         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5355         Likewise.
5356         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5357         Likewise.
5358         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5359         Likewise.
5360
5361 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5362
5363         [BZ #9894]
5364         * sysdeps/unix/sysv/linux/kernel-features.h
5365         [__sparc__ && !__arch64__ && !__sparc_v9__]
5366         (__ASSUME_SET_ROBUST_LIST): Do not define.
5367         [__sparc__ && !__arch64__ && !__sparc_v9__]
5368         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5369         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5372         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5373         (__ASSUME_REQUEUE_PI): Likewise.
5374         (__ASSUME_SET_ROBUST_LIST): Likewise.
5375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5376         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5377         Undefine.
5378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5379         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5380         Likewise.
5381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5382         Likewise.
5383         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5384         Likewise.
5385         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5386         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5387         Undefine.
5388         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5389         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5390         Likewise.
5391
5392         [BZ #16648]
5393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5394         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5395         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5396
5397 2014-03-31  Will Newton  <will.newton@linaro.org>
5398
5399         * benchtests/Makefile (bench): Add ffs and ffsll to list
5400         of tests.
5401         * benchtests/ffs-inputs: New file.
5402         * benchtests/ffsll-inputs: Likewise.
5403
5404 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5405
5406         [BZ #16770]
5407         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5408         too large before casting to int.
5409         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5410         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5411         * math/libm-test.inc (scalb_test_data): Add more tests.
5412
5413 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5414
5415         * benchtests/Makefile (DETAILED_OPT): New make option.
5416         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5417         set.
5418         * benchtests/bench-skeleton.c: Include stdbool.h.
5419         (main): Store and print timings per input.
5420         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5421         member to each argument value.
5422         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5423         (_print_arg_data): Initialize per-input timing to 0.
5424
5425         * benchtests/Makefile (timing-type): New binary.
5426         (bench-clean): Also remove bench-timing-type.
5427         (bench): New target for timing-type.
5428         (bench-func): Print output in JSON format.
5429         * benchtests/bench-skeleton.c (main): Print output in JSON
5430         format.
5431         * benchtests/bench-timing-type.c: New file.
5432         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5433         (TIMING_PRINT_STATS): Remove.
5434         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5435         name separately.
5436
5437         * benchtests/bench-modf.c: Remove.
5438         * benchtests/modf-inputs: New inputs file.
5439
5440 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5441
5442         [BZ #16362]
5443         * math/s_clog10.c (M_PI_LOG10E): New macro.
5444         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5445         imaginary parts are 0.
5446         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5447         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5448         imaginary parts are 0.
5449         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5450         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5451         imaginary parts are 0.
5452         * math/libm-test.inc (clog10_test_data): Update expected results
5453         for when real and imaginary parts are 0.
5454
5455 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5456
5457         * elf/dl-load.c: Finish conversion of __builtin_expect into
5458         __glibc_{un}likely.
5459
5460 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5461
5462         [BZ #16348]
5463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5464         1+x for argument with exponent below -67.
5465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5466         Likewise.
5467         * math/auto-libm-test-in: Add more tests of exp.
5468         * math/auto-libm-test-out: Regenerated.
5469
5470 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5471
5472         [BZ #16759]
5473         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5474         (nscd_getnetgrent): Use it.
5475
5476         [BZ #16760]
5477         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5478         of stpcpy.
5479
5480 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5481
5482         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5483         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5484         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5485         (lll_robust_unlock): Remove out of line section. Use cfi
5486         intrinsics.
5487         (LLL_STUB_UNWIND_INFO*): Remove.
5488         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5489         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5490         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5491         (lll_robust_unlock): Remove out of line section. Use cfi
5492         intrinsics.
5493         (LLL_STUB_UNWIND_INFO*): Remove.
5494
5495 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5496
5497         [BZ #16758]
5498         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5499         blank values.
5500
5501 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5502
5503         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5504
5505 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5506
5507         [BZ #16198]
5508         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5509         fnstenv.
5510         * math/test-fenv-preserve.c: New file.
5511         * math/Makefile (tests): Add test-fenv-preserve.
5512
5513 2014-03-26  Will Newton <will.newton@linaro.org>
5514
5515         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5516
5517 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5518
5519         * scripts/versionlist.awk: Partition the version sets and emit all
5520         GLIBC_* (sorted) before all others (sorted).
5521
5522 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5523
5524         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5525         GLIBC_2.2.5 version.
5526
5527 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5528
5529         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5530         calls.
5531
5532         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5533         previous change.
5534
5535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5536
5537 2014-03-25  Andreas Schwab  <schwab@suse.de>
5538
5539         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5540         label to be used after in6ailist is initialized.
5541
5542 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5543
5544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5545         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5546
5547 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5548
5549         [BZ #16357]
5550         [BZ #16599]
5551         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5552         min_plus_half.
5553         (fp_formats): Update initializers.
5554         (init_fp_formats): Initialize new field.
5555         (output_for_one_input_case): Allow underflow for results up to
5556         min_plus_half.
5557         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5558         * math/auto-libm-test-in: Don't mark some underflows from asin and
5559         atanh as spurious.
5560         * math/auto-libm-test-out: Regenerated.
5561         * sysdeps/i386/fpu/libm-test-ulps: Update.
5562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563
5564 2014-03-25  Andreas Schwab  <schwab@suse.de>
5565
5566         * libio/Makefile (tst-ftell-partial-wide-ENV)
5567         (tst-ftell-active-handler-ENV): Define.
5568
5569 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5570
5571         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5572
5573 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5574
5575         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5576
5577 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5578
5579         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5580         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5581         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5582
5583 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5584
5585         [BZ #16634]
5586         * elf/dl-load.c (open_verify): Add mode parameter.
5587         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5588         (open_path): Change from boolean 'secure' to complete flag 'mode'
5589         (_dl_map_object): Adjust.
5590         * elf/Makefile (tests): Add tst-dlopen-aout.
5591         * elf/tst-dlopen-aout.c: New test.
5592
5593 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5594
5595         [BZ #16714]
5596         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5597         (struct stat): Rename member pad0 to __glibc_reserved0.
5598
5599         [BZ #16712]
5600         * sysdeps/s390/s390-32/bits/wordsize.h
5601         (__WORDSIZE32_SIZE_ULONG): New define.
5602         * sysdeps/s390/s390-64/bits/wordsize.h
5603         (__WORDSIZE32_SIZE_ULONG): Likewise.
5604         * sysdeps/generic/stdint.h (SIZE_MAX):
5605         Define as UL if __WORDSIZE32_SIZE_ULONG.
5606
5607         [BZ #16713]
5608         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5609         (__glibc_reserved0): New variable.
5610         (sa_flags): Change type to int.
5611
5612         * posix/Makefile (before-compile): Use += before-compile instead
5613         of a :=.
5614
5615         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5616         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5617
5618 2014-03-20  Andreas Schwab  <schwab@suse.de>
5619
5620         [BZ #16743]
5621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5622         non-matching result from nscd.
5623
5624 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5625
5626         * scripts/bench.py: Moved to ...
5627         * benchtests/scripts/bench.py: ... here.
5628         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5629
5630 2014-03-24  Andreas Schwab  <schwab@suse.de>
5631
5632         [BZ #16002]
5633         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5634         alloca_account and account alloca use for struct in6ailist.
5635
5636 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5637
5638         [BZ #16284]
5639         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5640         rounding mode to recompute results that overflow to infinity or
5641         underflow to zero.
5642         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5643         bug 16284.
5644         * math/auto-libm-test-out: Regenerated.
5645         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5646         (ccosh_test): Likewise.
5647         (csin_test_data): Use plus_oflow.
5648         (csin_test): Use ALL_RM_TEST.
5649         (csinh_test_data): Use plus_oflow.
5650         (csinh_test): Use ALL_RM_TEST.
5651         * sysdeps/i386/fpu/libm-test-ulps: Update.
5652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5653
5654 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5655
5656         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5657         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5658         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5659
5660         [BZ #16731]
5661         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5662         when x - 1 is zero.
5663         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5664         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5665         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5667         argument is 1.
5668         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5669         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5670         zero.
5671         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5672         * sysdeps/i386/fpu/libm-test-ulps: Update.
5673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5674
5675 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5676
5677         * scripts/bench.pl: Remove file.
5678         * scripts/bench.py: New benchmark script.
5679         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5680         * benchtests/README: Mention python dependency.
5681         * scripts/pylintrc: New file.
5682         * scripts/pylint: New file.
5683
5684         * bits/mathdef.h: Use #ifdef instead of #if.
5685         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5686         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5687         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5688         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5689         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5690         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5691
5692 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5693             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5694
5695         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5697         and strpbrk-ppc64 objects.
5698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5699         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5700         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5701         multiarch strpbrk for POWER7.
5702         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5703         multiarch strpbrk for PPC64.
5704         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5705         ifunc selector.
5706         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5707         strpbrk for POWER7.
5708
5709 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5710
5711         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5712         (atan_test): Likewise.
5713         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5714         (atanh_test): Use ALL_RM_TEST.
5715         (atan2_test_data): Likewise.
5716         (cabs_test): Likewise.
5717         (cacosh_test): Likewise.
5718         (carg_test): Likewise.
5719         (casin_test): Likewise.
5720         (casinh_test): Likewise.
5721         (cbrt_test): Likewise.
5722         (csqrt_test): Likewise.
5723         (erf_test): Likewise.
5724         (erfc_test): Likewise.
5725         (pow10_test): Likewise.
5726         (exp2_test): Likewise.
5727         (hypot_test): Likewise.
5728         (j0_test): Likewise.
5729         (j1_test): Likewise.
5730         (lgamma_test): Likewise.
5731         (gamma_test): Likewise.
5732         (sincos_test): Likewise.
5733         (tanh_test): Likewise.
5734         (y0_test): Likewise.
5735         (y1_test): Likewise.
5736         * sysdeps/i386/fpu/libm-test-ulps: Update.
5737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5738
5739 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5740
5741         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5743         and strcspn-ppc64 objects.
5744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5745         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5746         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5747         multiarch strcspn for POWER7.
5748         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5749         multiarch strcspn for PPC64.
5750         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5751         ifunc selector.
5752         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5753         strcspn for POWER7.
5754
5755 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5756
5757         * math/gen-libm-test.pl (generate_testfile): Expect only function
5758         name as argument to AUTO_TESTS_* and pass results for all rounding
5759         modes to parse_args.
5760         (parse_auto_input): Separate inputs of automatic tests from
5761         outputs before storing in %auto_tests.
5762         * math/libm-test.inc (acos_test_data): Update call to
5763         AUTO_TESTS_f_f.
5764         (acos_test): Use ALL_RM_TEST.
5765         (acos_tonearest_test_data): Remove.
5766         (acos_test_tonearest): Likewise.
5767         (acos_towardzero_test_data): Likewise.
5768         (acos_test_towardzero): Likewise.
5769         (acos_downward_test_data): Likewise.
5770         (acos_test_downward): Likewise.
5771         (acos_upward_test_data): Likewise.
5772         (acos_test_upward): Likewise.
5773         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5774         (asin_test_data): Likewise.
5775         (asin_test): Use ALL_RM_TEST.
5776         (asin_tonearest_test_data): Remove.
5777         (asin_test_tonearest): Likewise.
5778         (asin_towardzero_test_data): Likewise.
5779         (asin_test_towardzero): Likewise.
5780         (asin_downward_test_data): Likewise.
5781         (asin_test_downward): Likewise.
5782         (asin_upward_test_data): Likewise.
5783         (asin_test_upward): Likewise.
5784         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5785         (atan_test_data): Likewise.
5786         (atanh_test_data): Likewise.
5787         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5788         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5789         (carg_test_data): Likewise.
5790         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5791         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5792         (ccosh_test_data): Likewise.
5793         (cexp_test_data): Likewise.
5794         (clog_test_data): Likewise.
5795         (clog10_test_data): Likewise.
5796         (cos_test_data): Update call to AUTO_TESTS_f_f.
5797         (cos_test): Use ALL_RM_TEST.
5798         (cos_tonearest_test_data): Remove.
5799         (cos_test_tonearest): Likewise.
5800         (cos_towardzero_test_data): Likewise.
5801         (cos_test_towardzero): Likewise.
5802         (cos_downward_test_data): Likewise.
5803         (cos_test_downward): Likewise.
5804         (cos_upward_test_data): Likewise.
5805         (cos_test_upward): Likewise.
5806         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5807         (cosh_test): Use ALL_RM_TEST.
5808         (cosh_tonearest_test_data): Remove.
5809         (cosh_test_tonearest): Likewise.
5810         (cosh_towardzero_test_data): Likewise.
5811         (cosh_test_towardzero): Likewise.
5812         (cosh_downward_test_data): Likewise.
5813         (cosh_test_downward): Likewise.
5814         (cosh_upward_test_data): Likewise.
5815         (cosh_test_upward): Likewise.
5816         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5817         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5818         (ctan_test_data): Likewise.
5819         (ctan_test): Use ALL_RM_TEST.
5820         (ctan_tonearest_test_data): Remove.
5821         (ctan_test_tonearest): Likewise.
5822         (ctan_towardzero_test_data): Likewise.
5823         (ctan_test_towardzero): Likewise.
5824         (ctan_downward_test_data): Likewise.
5825         (ctan_test_downward): Likewise.
5826         (ctan_upward_test_data): Likewise.
5827         (ctan_test_upward): Likewise.
5828         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5829         (ctanh_test): Use ALL_RM_TEST.
5830         (ctanh_tonearest_test_data): Remove.
5831         (ctanh_test_tonearest): Likewise.
5832         (ctanh_towardzero_test_data): Likewise.
5833         (ctanh_test_towardzero): Likewise.
5834         (ctanh_downward_test_data): Likewise.
5835         (ctanh_test_downward): Likewise.
5836         (ctanh_upward_test_data): Likewise.
5837         (ctanh_test_upward): Likewise.
5838         (erf_test_data): Update call to AUTO_TESTS_f_f.
5839         (erfc_test_data): Likewise.
5840         (exp_test_data): Likewise.
5841         (exp_test): Use ALL_RM_TEST.
5842         (exp_tonearest_test_data): Remove.
5843         (exp_test_tonearest): Likewise.
5844         (exp_towardzero_test_data): Likewise.
5845         (exp_test_towardzero): Likewise.
5846         (exp_downward_test_data): Likewise.
5847         (exp_test_downward): Likewise.
5848         (exp_upward_test_data): Likewise.
5849         (exp_test_upward): Likewise.
5850         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5851         (exp10_test): Use ALL_RM_TEST.
5852         (exp10_tonearest_test_data): Remove.
5853         (exp10_test_tonearest): Likewise.
5854         (exp10_towardzero_test_data): Likewise.
5855         (exp10_test_towardzero): Likewise.
5856         (exp10_downward_test_data): Likewise.
5857         (exp10_test_downward): Likewise.
5858         (exp10_upward_test_data): Likewise.
5859         (exp10_test_upward): Likewise.
5860         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5861         (expm1_test_data): Likewise.
5862         (expm1_test): Use ALL_RM_TEST.
5863         (expm1_tonearest_test_data): Remove.
5864         (expm1_test_tonearest): Likewise.
5865         (expm1_towardzero_test_data): Likewise.
5866         (expm1_test_towardzero): Likewise.
5867         (expm1_downward_test_data): Likewise.
5868         (expm1_test_downward): Likewise.
5869         (expm1_upward_test_data): Likewise.
5870         (expm1_test_upward): Likewise.
5871         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5872         (fma_test): Use ALL_RM_TEST.
5873         (fma_towardzero_test_data): Remove.
5874         (fma_test_towardzero): Likewise.
5875         (fma_downward_test_data): Likewise.
5876         (fma_test_downward): Likewise.
5877         (fma_upward_test_data): Likewise.
5878         (fma_test_upward): Likewise.
5879         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5880         (j0_test_data): Update call to AUTO_TESTS_f_f.
5881         (j1_test_data): Likewise.
5882         (jn_test_data): Update call to AUTO_TESTS_if_f.
5883         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5884         (log_test_data): Update call to AUTO_TESTS_f_f.
5885         (log10_test_data): Likewise.
5886         (log1p_test_data): Likewise.
5887         (log2_test_data): Likewise.
5888         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5889         (pow_tonearest_test_data): Likewise.
5890         (sin_test_data): Update call to AUTO_TESTS_f_f.
5891         (sin_test): Use ALL_RM_TEST.
5892         (sin_tonearest_test_data): Remove.
5893         (sin_test_tonearest): Likewise.
5894         (sin_towardzero_test_data): Likewise.
5895         (sin_test_towardzero): Likewise.
5896         (sin_downward_test_data): Likewise.
5897         (sin_test_downward): Likewise.
5898         (sin_upward_test_data): Likewise.
5899         (sin_test_upward): Likewise.
5900         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5901         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5902         (sinh_test): Use ALL_RM_TEST.
5903         (sinh_tonearest_test_data): Remove.
5904         (sinh_test_tonearest): Likewise.
5905         (sinh_towardzero_test_data): Likewise.
5906         (sinh_test_towardzero): Likewise.
5907         (sinh_downward_test_data): Likewise.
5908         (sinh_test_downward): Likewise.
5909         (sinh_upward_test_data): Likewise.
5910         (sinh_test_upward): Likewise.
5911         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5912         (sqrt_test): Use ALL_RM_TEST.
5913         (sqrt_tonearest_test_data): Remove.
5914         (sqrt_test_tonearest): Likewise.
5915         (sqrt_towardzero_test_data): Likewise.
5916         (sqrt_test_towardzero): Likewise.
5917         (sqrt_downward_test_data): Likewise.
5918         (sqrt_test_downward): Likewise.
5919         (sqrt_upward_test_data): Likewise.
5920         (sqrt_test_upward): Likewise.
5921         (tan_test_data): Update call to AUTO_TESTS_f_f.
5922         (tan_test): Use ALL_RM_TEST.
5923         (tan_tonearest_test_data): Remove.
5924         (tan_test_tonearest): Likewise.
5925         (tan_towardzero_test_data): Likewise.
5926         (tan_test_towardzero): Likewise.
5927         (tan_downward_test_data): Likewise.
5928         (tan_test_downward): Likewise.
5929         (tan_upward_test_data): Likewise.
5930         (tan_test_upward): Likewise.
5931         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5932         (tgamma_test_data): Likewise.
5933         (y0_test_data): Likewise.
5934         (y1_test_data): Likewise.
5935         (yn_test_data): Update call to AUTO_TESTS_if_f.
5936         (main): Do not call removed functions.
5937
5938 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5939
5940         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5941         (ldexp_test_data): Remove.
5942         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5943         scalbn_test_data.
5944         (scalb_test): Use ALL_RM_TEST.
5945
5946 2014-03-19  Andreas Schwab  <schwab@suse.de>
5947
5948         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5949
5950 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5951
5952         [BZ #16649]
5953         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5954         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5955         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5956         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5957         (__ASSUME_PREADV): Undefine.
5958         (__ASSUME_PWRITEV): Likewise.
5959
5960 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5961
5962         * bits/mman-linux.h: Add comment about non-Linux use.
5963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5964         bits/mman-linux.h resting place.
5965
5966         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5967         * bits/mman-linux.h: ... here.
5968
5969 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5970
5971         * conform/conformtest.pl: Add standard definition when calling C
5972         preprocessor on data files.
5973         (checknamespace): Remove unused variable.
5974
5975 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5976
5977         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5978         minus_oflow, plus_uflow and minus_uflow in expected results.
5979         * math/libm-test.inc (scalbn_test_data): Add more tests of
5980         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5981         minus_uflow.
5982         (scalbn_test): Use ALL_RM_TEST.
5983         (scalbln_test_data): Add more tests of negative arguments.  Use
5984         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5985         (scalbln_test): Use ALL_RM_TEST.
5986
5987 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5988
5989         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5990
5991 2014-03-18  Will Newton  <will.newton@linaro.org>
5992
5993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5994         inaccurate comment.
5995
5996 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5997
5998         * Makerules [!subdir] (check-abi): Exit with error status if a
5999         test failed.
6000
6001 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6002
6003         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6004         for rint.  Include results for all rounding modes.
6005         (nearbyint_test): Use ALL_RM_TEST.
6006         (rint_test_data): Include all tests used for nearbyint.
6007
6008 2014-03-17  Will Newton  <will.newton@linaro.org>
6009
6010         * nptl/sysdeps/pthread/pthread.h: Revert previous
6011         change.
6012
6013         * sysdeps/generic/ldsodefs.h: Revert previous
6014         change.
6015
6016         * libio/genops.c: Revert previous change.
6017         * libio/libioP.h: Likewise.
6018         * stdio-common/vfprintf.c: Likewise.
6019
6020         * sysdeps/generic/math_private.h: Revert previous
6021         change.
6022
6023         * sysdeps/generic/math_private.h: Check whether
6024         HAVE_RM_CTX is defined with #ifdef rather
6025         than #if.
6026
6027         * argp/argp-fmtstream.h: Check whether
6028         __STRICT_ANSI__ is defined with #ifdef rather
6029         than #if.
6030         * argp/argp.h: Likewise.
6031
6032         * libio/genops.c: Check whether
6033         _IO_JUMPS_OFFSET is defined with #ifdef rather
6034         than #if.
6035         * libio/libioP.h: Likewise.
6036         * stdio-common/vfprintf.c: Likewise.
6037
6038         * sysdeps/generic/ldsodefs.h: Check whether
6039         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6040         than #if.
6041
6042         * nptl/sysdeps/pthread/pthread.h: Check
6043         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6044         its value.
6045
6046 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6047
6048         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6049         setting O_APPEND.
6050         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6051         test case.
6052
6053         [BZ #16680]
6054         * libio/fileops.c (_IO_file_open): Seek to end of file but
6055         don't cache the offset.
6056         (get_file_offset): Remove function.
6057         (do_ftell): Use cached offset when available.
6058         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6059         don't cache the offset.
6060         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6061         case.
6062         (do_one_test): Call it.
6063         (do_ftell_test): Fix up expected old offset for a+ mode.
6064         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6065         available.
6066
6067         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6068         up test status with function return status.
6069         (do_write_test): Likewise.
6070         (do_append_test): Likewise.
6071
6072         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6073         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6074         Remove.
6075
6076 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6077
6078         * math/gen-libm-test.pl (parse_args): Handle results specified for
6079         each rounding mode separately.
6080         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6081         tests and results from lrint_tonearest_test_data,
6082         lrint_towardzero_test_data, lrint_downward_test_data and
6083         lrint_upward_test_data.
6084         (lrint_test): Use ALL_RM_TEST.
6085         (lrint_tonearest_test_data): Remove.
6086         (lrint_test_tonearest): Likewise.
6087         (lrint_towardzero_test_data): Likewise.
6088         (lrint_test_towardzero): Likewise.
6089         (lrint_downward_test_data): Likewise.
6090         (lrint_test_downward): Likewise.
6091         (lrint_upward_test_data): Likewise.
6092         (lrint_test_upward): Likewise.
6093         (llrint_test_data): Merge in per-rounding-mode tests and results
6094         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6095         llrint_downward_test_data and llrint_upward_test_data.
6096         (llrint_test): Use ALL_RM_TEST.
6097         (llrint_tonearest_test_data): Remove.
6098         (llrint_test_tonearest): Likewise.
6099         (llrint_towardzero_test_data): Likewise.
6100         (llrint_test_towardzero): Likewise.
6101         (llrint_downward_test_data): Likewise.
6102         (llrint_test_downward): Likewise.
6103         (llrint_upward_test_data): Likewise.
6104         (llrint_test_upward): Likewise.
6105         (rint_test_data): Merge in per-rounding-mode tests and results
6106         from rint_tonearest_test_data, rint_towardzero_test_data,
6107         rint_downward_test_data and rint_upward_test_data.  Add
6108         per-rounding-mode results for tests not in those arrays.
6109         (rint_test): Use ALL_RM_TEST.
6110         (rint_tonearest_test_data): Remove.
6111         (rint_test_tonearest): Likewise.
6112         (rint_towardzero_test_data): Likewise.
6113         (rint_test_towardzero): Likewise.
6114         (rint_downward_test_data): Likewise.
6115         (rint_test_downward): Likewise.
6116         (rint_upward_test_data): Likewise.
6117         (rint_test_upward): Likewise.
6118         (main): Don't call removed functions.
6119
6120 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6121
6122         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6123         "Compiled on ..." crapola.  It is anti-useful.
6124
6125 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6126
6127         * scripts/evaluate-test.sh: Handle fourth argument to determine
6128         whether test run should stop on failure.
6129         * Makeconfig (stop-on-test-failure): New variable.
6130         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6131         $(stop-on-test-failure).
6132         * Makefile (tests): Give a summary of results from testing and
6133         exit with failure status if they include an ERROR or FAIL.
6134         (xtests): Likewise.
6135         * manual/install.texi (Configuring and compiling): Mention
6136         stop-on-test-failure=y.
6137         * INSTALL: Regenerated.
6138
6139 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6140
6141         * scripts/versionlist.awk: New file.
6142         * Makerules [$(build-shared) = yes]
6143         (postclean-generated): Add Versions.def, not Versions.def.v and
6144         Versions.def.v.i.
6145         ($(common-objpfx)Versions.def.v.i): Target removed.
6146         ($(common-objpfx)Versions.def): New target.
6147         ($(common-objpfx)Versions.all): Depend on that rather that
6148         $(common-objpfx)Versions.def.v.
6149         * Versions.def: File removed.
6150
6151         * Makeconfig (+gccwarn): Add -Wundef.
6152         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6153         a dl-sysdep.h breaking its contract.
6154         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6155         * include/stackinfo.h: New file.
6156         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6157         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6158         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6159         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6160         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6161         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6162         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6163         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6164         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6165         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6166         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6167         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6168         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6169         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6170         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6171
6172 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173
6174         [BZ #16707]
6175         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6176         implementation.
6177         * math/libm-test.inc (round_test_data): Add more tests.
6178
6179         [BZ #16706]
6180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6181         implementation.
6182         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6183
6184         [BZ #16701]
6185         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6186         implementation.
6187         * math/libm-test.inc (ceil_test_data): Add more tests.
6188
6189         * math/libm-test.inc (trunc_test_data): Add more tests related to
6190         BZ#16414.
6191
6192 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6193
6194         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6195         with #if rather than #ifdef.
6196         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6197
6198 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6199
6200         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6201         first.  Disable AVX-512 GCC support if assembler doesn't support
6202         it.
6203         * sysdeps/x86_64/configure: Regenerated.
6204
6205 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6206
6207         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6208         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6209         (__old_pthread_attr_setstack): Likewise.
6210         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6211         [!_STACK_GROWS_DOWN]: Likewise.
6212
6213 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6214
6215         * config.make.in (have-bash2): Delete.
6216         * configure.ac (libc_cv_have_bash2): Delete.
6217         * configure: Regenerate.
6218         * elf/Makefile (common-ldd-rewrite): Rename to ...
6219         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6220         (sh-ldd-rewrite): Delete.
6221         (bash-ldd-rewrite): Delete.
6222         (have-bash2): Delete checks.
6223         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6224         ldd-rewrite.
6225
6226         * config.make.in (have-ksh): Delete.
6227         (KSH): Delete.
6228         * configure.ac (libc_cv_have_ksh): Delete.
6229         * configure: Regenerate.
6230
6231         * elf/Makefile: Delete $(have-ksh) check.
6232         ($(objpfx)sotruss): Change KSH to BASH.
6233         * elf/sotruss.ksh: Rename to ...
6234         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6235         function style to match POSIX.  Drop ksh vim mode setting.
6236
6237         * manual/time.texi (Specifying the Time Zone with TZ): Change
6238         Tuesday to Thursday.
6239
6240         * debug/tst-longjmp_chk2.c: Update header comment.
6241         (stackoverflow_handler): Add comment.  Call assert on pass value.
6242
6243 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6244
6245         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6246         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6247         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6248         (La_x86_64_vector): Add zmm.
6249         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6250         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6251         ($(objpfx)tst-audit10): New target.
6252         ($(objpfx)tst-audit10.out): Likewise.
6253         (tst-audit10-ENV): New.
6254         (AVX512-CFLAGS): Likewise.
6255         (CFLAGS-tst-audit10.c): Likewise.
6256         (CFLAGS-tst-auditmod10a.c): Likewise.
6257         (CFLAGS-tst-auditmod10b.c): Likewise.
6258         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6259         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6260         * sysdeps/x86_64/configure: Regenerated.
6261         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6262         AVX-512 zmm register support.
6263         (_dl_x86_64_save_sse): Likewise.
6264         (_dl_x86_64_restore_sse): Likewise.
6265         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6266         size vector registers.
6267         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6268         (ZMM_SIZE): Likewise.
6269         * sysdeps/x86_64/tst-audit10.c: New file.
6270         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6271         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6272
6273 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6274
6275         * configure.ac (HAVE_EHDR_START): New check.
6276         * configure: Regenerated.
6277         * config.h.in (HAVE_EHDR_START): New #undef.
6278         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6279         assuming the lowest-addressed segment maps the start of the file.
6280
6281 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6282
6283         * INSTALL: Regenerated.
6284
6285 2014-03-13  Will Newton  <will.newton@linaro.org>
6286
6287         * manual/setjmp.texi (System V contexts): Improve
6288         clarity and grammar of documentation.
6289
6290 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6291
6292         [BZ #16381]
6293         * elf/Makefile (tests): Add tst-pie2.
6294         (tests-pie): Add tst-pie2.
6295         * elf/tst-pie2.c: New file.
6296         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6297         for ET_EXEC.
6298         * elf/rtld.c (map_doit): Load executable as lt_executable.
6299         (dl_main): Likewise.
6300
6301 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6302
6303         [BZ #16642]
6304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6305         (__ASSUME_PSELECT): Undefine.
6306
6307 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6308
6309         [BZ #16689]
6310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6311         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6312         static build.
6313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6314         selector for static builds.
6315
6316 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6317
6318         [BZ #16695]
6319         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6320         key in the buffer.
6321
6322 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6323
6324         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6325         IFUNC selector for static builds.
6326
6327 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6328
6329         * sysdeps/mips/math_private.h [__mips_hard_float]
6330         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6331         libc_feresetround_mips_ctx.
6332         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6333         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6334         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6335
6336         [BZ #16677]
6337         * math/s_nextafter.c (__nextafter): Do not return value from
6338         overflowing computation.
6339         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6340         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6342         Likewise.
6343         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6344         Likewise.
6345         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6346         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6347
6348 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6349
6350         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6351         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6352         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6353         the new mov targetting sp.
6354
6355 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6356
6357         [BZ #16683]
6358         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6359         Define it for static builds as well.
6360         (NO_BZERO_IMPL): Likewise.
6361
6362 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6363
6364         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6365         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6366         multiarch strspn for PPC64.
6367         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6368         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6370         (__libc_ifunc_impl_list): Likewise.
6371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6372         multiarch optimizations
6373         * string/strspn.c (strspn): Using macro to redefine symbol name.
6374
6375 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6376             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6377
6378         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6379         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6380         multiarch strncat for PPC64.
6381         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6382         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6384         (__libc_ifunc_impl_list): Likewise.
6385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6386         multiarch optimizations
6387
6388 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6389
6390         [BZ #16639]
6391         * nscd/nscd.service: Make service type forking.
6392
6393 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6394
6395         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6396         sign in non default rounding modes.
6397         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6398
6399 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6400
6401         * math/libm-test.inc (ALL_RM_TEST): New macro.
6402         (ceil_test): Use ALL_RM_TEST.
6403         (cimag_test): Likewise.
6404         (conj_test): Likewise.
6405         (copysign_test): Likewise.
6406         (cproj_test): Likewise.
6407         (creal_test): Likewise.
6408         (fabs_test): Likewise.
6409         (floor_test): Likewise.
6410         (fmax_test): Likewise.
6411         (fmin_test): Likewise.
6412         (fmod_test): Likewise.
6413         (fpclassify_test): Likewise.
6414         (frexp_test): Likewise.
6415         (ilogb_test): Likewise.
6416         (isfinite_test): Likewise.
6417         (finite_test): Likewise.
6418         (isgreater_test): Likewise.
6419         (isgreaterequal_test): Likewise.
6420         (isinf_test): Likewise.
6421         (isless_test): Likewise.
6422         (islessequal_test): Likewise.
6423         (islessgreater_test): Likewise.
6424         (isnan_test): Likewise.
6425         (isnormal_test): Likewise.
6426         (issignaling_test): Likewise.
6427         (isunordered_test): Likewise.
6428         (logb_test): Likewise.
6429         (logb_downward_test_data): Remove.
6430         (logb_test_downward): Likewise.
6431         (lround_test): Use ALL_RM_TEST.
6432         (llround_test): Likewise.
6433         (modf_test): Likewise.
6434         (nexttoward_test): Likewise.
6435         (remainder_test): Likewise.
6436         (drem_test): Likewise.
6437         (remainder_tonearest_test_data): Likewise.
6438         (remainder_test_tonearest): Likewise.
6439         (drem_test_tonearest): Likewise.
6440         (remainder_towardzero_test_data): Likewise.
6441         (remainder_test_towardzero): Likewise.
6442         (drem_test_towardzero): Likewise.
6443         (remainder_downward_test_data): Likewise.
6444         (remainder_test_downward): Likewise.
6445         (drem_test_downward): Likewise.
6446         (remainder_upward_test_data): Likewise.
6447         (remainder_test_upward): Likewise.
6448         (drem_test_upward): Likewise.
6449         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6450         (round_test): Use ALL_RM_TEST.
6451         (signbit_test): Likewise.
6452         (trunc_test): Likewise.
6453         (significand_test): Likewise.
6454         (main): Don't call removed functions.
6455
6456 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6457
6458         [BZ #16674]
6459         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6460         || __USE_XOPEN2K8].
6461         (ILL_ILLOPN): Likewise.
6462         (ILL_ILLADR): Likewise.
6463         (ILL_ILLTRP): Likewise.
6464         (ILL_PRVOPC): Likewise.
6465         (ILL_PRVREG): Likewise.
6466         (ILL_COPROC): Likewise.
6467         (ILL_BADSTK): Likewise.
6468         (FPE_INTDIV): Likewise.
6469         (FPE_INTOVF): Likewise.
6470         (FPE_FLTDIV): Likewise.
6471         (FPE_FLTOVF): Likewise.
6472         (FPE_FLTUND): Likewise.
6473         (FPE_FLTRES): Likewise.
6474         (FPE_FLTINV): Likewise.
6475         (FPE_FLTSUB): Likewise.
6476         (SEGV_MAPERR): Likewise.
6477         (SEGV_ACCERR): Likewise.
6478         (BUS_ADRALN): Likewise.
6479         (BUS_ADRERR): Likewise.
6480         (BUS_OBJERR): Likewise.
6481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6482         (TRAP_TRACE): Likewise.
6483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6484         __USE_XOPEN2K8].
6485         (CLD_KILLED): Likewise.
6486         (CLD_DUMPED): Likewise.
6487         (CLD_TRAPPED): Likewise.
6488         (CLD_STOPPED): Likewise.
6489         (CLD_CONTINUED): Likewise.
6490         (POLL_IN): Likewise.
6491         (POLL_OUT): Likewise.
6492         (POLL_MSG): Likewise.
6493         (POLL_ERR): Likewise.
6494         (POLL_PRI): Likewise.
6495         (POLL_HUP): Likewise.
6496         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6497         Likewise.
6498         (ILL_ILLOPN): Likewise.
6499         (ILL_ILLADR): Likewise.
6500         (ILL_ILLTRP): Likewise.
6501         (ILL_PRVOPC): Likewise.
6502         (ILL_PRVREG): Likewise.
6503         (ILL_COPROC): Likewise.
6504         (ILL_BADSTK): Likewise.
6505         (FPE_INTDIV): Likewise.
6506         (FPE_INTOVF): Likewise.
6507         (FPE_FLTDIV): Likewise.
6508         (FPE_FLTOVF): Likewise.
6509         (FPE_FLTUND): Likewise.
6510         (FPE_FLTRES): Likewise.
6511         (FPE_FLTINV): Likewise.
6512         (FPE_FLTSUB): Likewise.
6513         (SEGV_MAPERR): Likewise.
6514         (SEGV_ACCERR): Likewise.
6515         (BUS_ADRALN): Likewise.
6516         (BUS_ADRERR): Likewise.
6517         (BUS_OBJERR): Likewise.
6518         (BUS_MCEERR_AR): Likewise.
6519         (BUS_MCEERR_AO): Likewise.
6520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6521         (TRAP_TRACE): Likewise.
6522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6523         __USE_XOPEN2K8].
6524         (CLD_KILLED): Likewise.
6525         (CLD_DUMPED): Likewise.
6526         (CLD_TRAPPED): Likewise.
6527         (CLD_STOPPED): Likewise.
6528         (CLD_CONTINUED): Likewise.
6529         (POLL_IN): Likewise.
6530         (POLL_OUT): Likewise.
6531         (POLL_MSG): Likewise.
6532         (POLL_ERR): Likewise.
6533         (POLL_PRI): Likewise.
6534         (POLL_HUP): Likewise.
6535         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6536         (ILL_ILLOPN): Likewise.
6537         (ILL_ILLADR): Likewise.
6538         (ILL_ILLTRP): Likewise.
6539         (ILL_PRVOPC): Likewise.
6540         (ILL_PRVREG): Likewise.
6541         (ILL_COPROC): Likewise.
6542         (ILL_BADSTK): Likewise.
6543         (FPE_INTDIV): Likewise.
6544         (FPE_INTOVF): Likewise.
6545         (FPE_FLTDIV): Likewise.
6546         (FPE_FLTOVF): Likewise.
6547         (FPE_FLTUND): Likewise.
6548         (FPE_FLTRES): Likewise.
6549         (FPE_FLTINV): Likewise.
6550         (FPE_FLTSUB): Likewise.
6551         (SEGV_MAPERR): Likewise.
6552         (SEGV_ACCERR): Likewise.
6553         (BUS_ADRALN): Likewise.
6554         (BUS_ADRERR): Likewise.
6555         (BUS_OBJERR): Likewise.
6556         (BUS_MCEERR_AR): Likewise.
6557         (BUS_MCEERR_AO): Likewise.
6558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6559         (TRAP_TRACE): Likewise.
6560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6561         __USE_XOPEN2K8].
6562         (CLD_KILLED): Likewise.
6563         (CLD_DUMPED): Likewise.
6564         (CLD_TRAPPED): Likewise.
6565         (CLD_STOPPED): Likewise.
6566         (CLD_CONTINUED): Likewise.
6567         (POLL_IN): Likewise.
6568         (POLL_OUT): Likewise.
6569         (POLL_MSG): Likewise.
6570         (POLL_ERR): Likewise.
6571         (POLL_PRI): Likewise.
6572         (POLL_HUP): Likewise.
6573         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6574         Likewise.
6575         (ILL_ILLOPN): Likewise.
6576         (ILL_ILLADR): Likewise.
6577         (ILL_ILLTRP): Likewise.
6578         (ILL_PRVOPC): Likewise.
6579         (ILL_PRVREG): Likewise.
6580         (ILL_COPROC): Likewise.
6581         (ILL_BADSTK): Likewise.
6582         (ILL_BADIADDR): Likewise.
6583         (ILL_BREAK): Likewise.
6584         (FPE_INTDIV): Likewise.
6585         (FPE_INTOVF): Likewise.
6586         (FPE_FLTDIV): Likewise.
6587         (FPE_FLTOVF): Likewise.
6588         (FPE_FLTUND): Likewise.
6589         (FPE_FLTRES): Likewise.
6590         (FPE_FLTINV): Likewise.
6591         (FPE_FLTSUB): Likewise.
6592         (FPE_DECOVF): Likewise.
6593         (FPE_DECDIV): Likewise.
6594         (FPE_DECERR): Likewise.
6595         (FPE_INVASC): Likewise.
6596         (FPE_INVDEC): Likewise.
6597         (SEGV_MAPERR): Likewise.
6598         (SEGV_ACCERR): Likewise.
6599         (SEGV_PSTKOVF): Likewise.
6600         (BUS_ADRALN): Likewise.
6601         (BUS_ADRERR): Likewise.
6602         (BUS_OBJERR): Likewise.
6603         (BUS_MCEERR_AR): Likewise.
6604         (BUS_MCEERR_AO): Likewise.
6605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6606         (TRAP_TRACE): Likewise.
6607         (TRAP_BRANCH): Likewise.
6608         (TRAP_HWBKPT): Likewise.
6609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6610         __USE_XOPEN2K8].
6611         (CLD_KILLED): Likewise.
6612         (CLD_DUMPED): Likewise.
6613         (CLD_TRAPPED): Likewise.
6614         (CLD_STOPPED): Likewise.
6615         (CLD_CONTINUED): Likewise.
6616         (POLL_IN): Likewise.
6617         (POLL_OUT): Likewise.
6618         (POLL_MSG): Likewise.
6619         (POLL_ERR): Likewise.
6620         (POLL_PRI): Likewise.
6621         (POLL_HUP): Likewise.
6622         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6623         (ILL_ILLOPN): Likewise.
6624         (ILL_ILLADR): Likewise.
6625         (ILL_ILLTRP): Likewise.
6626         (ILL_PRVOPC): Likewise.
6627         (ILL_PRVREG): Likewise.
6628         (ILL_COPROC): Likewise.
6629         (ILL_BADSTK): Likewise.
6630         (FPE_INTDIV): Likewise.
6631         (FPE_INTOVF): Likewise.
6632         (FPE_FLTDIV): Likewise.
6633         (FPE_FLTOVF): Likewise.
6634         (FPE_FLTUND): Likewise.
6635         (FPE_FLTRES): Likewise.
6636         (FPE_FLTINV): Likewise.
6637         (FPE_FLTSUB): Likewise.
6638         (SEGV_MAPERR): Likewise.
6639         (SEGV_ACCERR): Likewise.
6640         (BUS_ADRALN): Likewise.
6641         (BUS_ADRERR): Likewise.
6642         (BUS_OBJERR): Likewise.
6643         (BUS_MCEERR_AR): Likewise.
6644         (BUS_MCEERR_AO): Likewise.
6645         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6646         (TRAP_TRACE): Likewise.
6647         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6648         __USE_XOPEN2K8].
6649         (CLD_KILLED): Likewise.
6650         (CLD_DUMPED): Likewise.
6651         (CLD_TRAPPED): Likewise.
6652         (CLD_STOPPED): Likewise.
6653         (CLD_CONTINUED): Likewise.
6654         (POLL_IN): Likewise.
6655         (POLL_OUT): Likewise.
6656         (POLL_MSG): Likewise.
6657         (POLL_ERR): Likewise.
6658         (POLL_PRI): Likewise.
6659         (POLL_HUP): Likewise.
6660         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6661         (ILL_ILLOPN): Likewise.
6662         (ILL_ILLADR): Likewise.
6663         (ILL_ILLTRP): Likewise.
6664         (ILL_PRVOPC): Likewise.
6665         (ILL_PRVREG): Likewise.
6666         (ILL_COPROC): Likewise.
6667         (ILL_BADSTK): Likewise.
6668         (FPE_INTDIV): Likewise.
6669         (FPE_INTOVF): Likewise.
6670         (FPE_FLTDIV): Likewise.
6671         (FPE_FLTOVF): Likewise.
6672         (FPE_FLTUND): Likewise.
6673         (FPE_FLTRES): Likewise.
6674         (FPE_FLTINV): Likewise.
6675         (FPE_FLTSUB): Likewise.
6676         (SEGV_MAPERR): Likewise.
6677         (SEGV_ACCERR): Likewise.
6678         (BUS_ADRALN): Likewise.
6679         (BUS_ADRERR): Likewise.
6680         (BUS_OBJERR): Likewise.
6681         (BUS_MCEERR_AR): Likewise.
6682         (BUS_MCEERR_AO): Likewise.
6683         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6684         (TRAP_TRACE): Likewise.
6685         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6686         __USE_XOPEN2K8].
6687         (CLD_KILLED): Likewise.
6688         (CLD_DUMPED): Likewise.
6689         (CLD_TRAPPED): Likewise.
6690         (CLD_STOPPED): Likewise.
6691         (CLD_CONTINUED): Likewise.
6692         (POLL_IN): Likewise.
6693         (POLL_OUT): Likewise.
6694         (POLL_MSG): Likewise.
6695         (POLL_ERR): Likewise.
6696         (POLL_PRI): Likewise.
6697         (POLL_HUP): Likewise.
6698         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6699         (ILL_ILLOPN): Likewise.
6700         (ILL_ILLADR): Likewise.
6701         (ILL_ILLTRP): Likewise.
6702         (ILL_PRVOPC): Likewise.
6703         (ILL_PRVREG): Likewise.
6704         (ILL_COPROC): Likewise.
6705         (ILL_BADSTK): Likewise.
6706         (FPE_INTDIV): Likewise.
6707         (FPE_INTOVF): Likewise.
6708         (FPE_FLTDIV): Likewise.
6709         (FPE_FLTOVF): Likewise.
6710         (FPE_FLTUND): Likewise.
6711         (FPE_FLTRES): Likewise.
6712         (FPE_FLTINV): Likewise.
6713         (FPE_FLTSUB): Likewise.
6714         (SEGV_MAPERR): Likewise.
6715         (SEGV_ACCERR): Likewise.
6716         (BUS_ADRALN): Likewise.
6717         (BUS_ADRERR): Likewise.
6718         (BUS_OBJERR): Likewise.
6719         (BUS_MCEERR_AR): Likewise.
6720         (BUS_MCEERR_AO): Likewise.
6721         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6722         (TRAP_TRACE): Likewise.
6723         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6724         __USE_XOPEN2K8].
6725         (CLD_KILLED): Likewise.
6726         (CLD_DUMPED): Likewise.
6727         (CLD_TRAPPED): Likewise.
6728         (CLD_STOPPED): Likewise.
6729         (CLD_CONTINUED): Likewise.
6730         (POLL_IN): Likewise.
6731         (POLL_OUT): Likewise.
6732         (POLL_MSG): Likewise.
6733         (POLL_ERR): Likewise.
6734         (POLL_PRI): Likewise.
6735         (POLL_HUP): Likewise.
6736         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6737         (ILL_ILLOPN): Likewise.
6738         (ILL_ILLADR): Likewise.
6739         (ILL_ILLTRP): Likewise.
6740         (ILL_PRVOPC): Likewise.
6741         (ILL_PRVREG): Likewise.
6742         (ILL_COPROC): Likewise.
6743         (ILL_BADSTK): Likewise.
6744         (ILL_DBLFLT): Likewise.
6745         (ILL_HARDWALL): Likewise.
6746         (FPE_INTDIV): Likewise.
6747         (FPE_INTOVF): Likewise.
6748         (FPE_FLTDIV): Likewise.
6749         (FPE_FLTOVF): Likewise.
6750         (FPE_FLTUND): Likewise.
6751         (FPE_FLTRES): Likewise.
6752         (FPE_FLTINV): Likewise.
6753         (FPE_FLTSUB): Likewise.
6754         (SEGV_MAPERR): Likewise.
6755         (SEGV_ACCERR): Likewise.
6756         (BUS_ADRALN): Likewise.
6757         (BUS_ADRERR): Likewise.
6758         (BUS_OBJERR): Likewise.
6759         (BUS_MCEERR_AR): Likewise.
6760         (BUS_MCEERR_AO): Likewise.
6761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6762         (TRAP_TRACE): Likewise.
6763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6764         __USE_XOPEN2K8].
6765         (CLD_KILLED): Likewise.
6766         (CLD_DUMPED): Likewise.
6767         (CLD_TRAPPED): Likewise.
6768         (CLD_STOPPED): Likewise.
6769         (CLD_CONTINUED): Likewise.
6770         (POLL_IN): Likewise.
6771         (POLL_OUT): Likewise.
6772         (POLL_MSG): Likewise.
6773         (POLL_ERR): Likewise.
6774         (POLL_PRI): Likewise.
6775         (POLL_HUP): Likewise.
6776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6777         (ILL_ILLOPN): Likewise.
6778         (ILL_ILLADR): Likewise.
6779         (ILL_ILLTRP): Likewise.
6780         (ILL_PRVOPC): Likewise.
6781         (ILL_PRVREG): Likewise.
6782         (ILL_COPROC): Likewise.
6783         (ILL_BADSTK): Likewise.
6784         (FPE_INTDIV): Likewise.
6785         (FPE_INTOVF): Likewise.
6786         (FPE_FLTDIV): Likewise.
6787         (FPE_FLTOVF): Likewise.
6788         (FPE_FLTUND): Likewise.
6789         (FPE_FLTRES): Likewise.
6790         (FPE_FLTINV): Likewise.
6791         (FPE_FLTSUB): Likewise.
6792         (SEGV_MAPERR): Likewise.
6793         (SEGV_ACCERR): Likewise.
6794         (BUS_ADRALN): Likewise.
6795         (BUS_ADRERR): Likewise.
6796         (BUS_OBJERR): Likewise.
6797         (BUS_MCEERR_AR): Likewise.
6798         (BUS_MCEERR_AO): Likewise.
6799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6800         (TRAP_TRACE): Likewise.
6801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6802         __USE_XOPEN2K8].
6803         (CLD_KILLED): Likewise.
6804         (CLD_DUMPED): Likewise.
6805         (CLD_TRAPPED): Likewise.
6806         (CLD_STOPPED): Likewise.
6807         (CLD_CONTINUED): Likewise.
6808         (POLL_IN): Likewise.
6809         (POLL_OUT): Likewise.
6810         (POLL_MSG): Likewise.
6811         (POLL_ERR): Likewise.
6812         (POLL_PRI): Likewise.
6813         (POLL_HUP): Likewise.
6814         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6815         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6816
6817         [BZ #16670]
6818         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6819         before #include of <time.h>.
6820         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6821         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6822         (test-xfail-UNIX98/sched.h/conform): Likewise.
6823
6824 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6825
6826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6827         error absence of trapping exception support.
6828         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6829
6830 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6831
6832         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6833         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6834         * timezone/Makefile (testdata): Move definition above include of
6835         Rules.
6836         (test-zones): New variable.
6837         (tests-special): Add zone files.
6838         (build-testdata): Use $(evaluate-test).
6839
6840         * elf/Makefile (tests-special): Rename tests to end with .out.
6841         ($(objpfx)noload-mem): Likewise.
6842         ($(objpfx)tst-leaks1-mem): Likewise.
6843         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6844         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6845         $(objpfx)test-iconvconfig.out.
6846         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6847         set -e inside subshell and redirect output to file.
6848         * iconvdata/Makefile (generated): Rename tests to end with .out.
6849         Correct type.
6850         (tests-special): Rename tests to end with .out.
6851         ($(objpfx)mtrace-tst-loading): Likewise.
6852         * intl/Makefile (generated): Likewise.
6853         (tests-special): Likewise.
6854         ($(objpfx)mtrace-tst-gettext): Likewise.
6855         * misc/Makefile (generated): Likewise.
6856         (tests-special): Likewise.
6857         ($(objpfx)tst-error1-mem): Likewise.
6858         * nptl/Makefile (tests-special): Likewise.
6859         ($(objpfx)tst-stack3-mem): Likewise.
6860         (generated): Likewise.
6861         * posix/Makefile (generated): Likewise.
6862         (tests-special): Likewise.
6863         (xtests-special): Likewise.
6864         ($(objpfx)tst-fnmatch-mem): Likewise.
6865         ($(objpfx)bug-regex2-mem): Likewise.
6866         ($(objpfx)bug-regex14-mem): Likewise.
6867         ($(objpfx)bug-regex21-mem): Likewise.
6868         ($(objpfx)bug-regex31-mem): Likewise.
6869         ($(objpfx)tst-vfork3-mem): Likewise.
6870         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6871         ($(objpfx)tst-pcre-mem): Likewise.
6872         ($(objpfx)tst-boost-mem): Likewise.
6873         ($(objpfx)bug-ga2-mem): Likewise.
6874         ($(objpfx)bug-glob2-mem): Likewise.
6875         * resolv/Makefile (generate): Likewise.
6876         (tests-special): Likewise.
6877         (xtests-special): Likewise.
6878         (generated): Likewise.
6879         ($(objpfx)mtrace-tst-leaks): Likewise.
6880         ($(objpfx)mtrace-tst-leaks2): Likewise.
6881
6882         * scripts/merge-test-results.sh: New file.
6883         * Makefile (tests-special-notdir): New variable.
6884         (tests): Run merge-test-results.sh.
6885         (xtests): Likewise.
6886         * Rules (tests-special-notdir): New variable.
6887         (xtests-special-notdir): Likewise.
6888         (tests): Run merge-test-results.sh
6889         (xtests): Likewise.
6890
6891         * Makeconfig (test-xfail-name): New variable.
6892         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6893         compute variable name for expected failures.
6894         * conform/Makefile (conformtest-headers-data): New variable.
6895         (conformtest-standards): Likewise.
6896         (conformtest-headers-ISO): Likewise.
6897         (conformtest-headers-ISO99): Likewise.
6898         (conformtest-headers-ISO11): Likewise.
6899         (conformtest-headers-POSIX): Likewise.
6900         (conformtest-headers-XPG3): Likewise.
6901         (conformtest-headers-XPG4): Likewise.
6902         (conformtest-headers-UNIX98): Likewise.
6903         (conformtest-headers-XOPEN2K): Likewise.
6904         (conformtest-headers-POSIX2008): Likewise.
6905         (conformtest-headers-XOPEN2K8): Likewise.
6906         (conformtest-header-list-base): Likewise.
6907         (conformtest-header-list-tests): Likewise.
6908         (conformtest-header-base): Likewise.
6909         (conformtest-header-tests): Likewise.
6910         (tests-special): Add $(conformtest-header-list-tests).  If
6911         [$(fast-check) && !$(cross-compiling)], add
6912         $(conformtest-header-tests) instead of
6913         $(objpfx)run-conformtest.out.
6914         (generated): Add $(conformtest-header-list-base).  If
6915         [$(fast-check) && !$(cross-compiling)], add
6916         $(conformtest-header-base).  Remove previous setting.
6917         ($(conformtest-header-list-tests)): New target.
6918         (test-xfail-run-conformtest): Remove variable.
6919         ($(objpfx)run-conformtest.out): Remove target.
6920         (test-xfail-ISO11/complex.h/conform): New variable.
6921         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6922         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6923         (test-xfail-XPG3/varargs.h/conform): Likewise.
6924         (test-xfail-XPG4/varargs.h/conform): Likewise.
6925         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6926         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6927         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6928         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6929         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6930         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6931         (test-xfail-XPG3/ftw.h/conform): Likewise.
6932         (test-xfail-XPG3/grp.h/conform): Likewise.
6933         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6934         (test-xfail-XPG3/limits.h/conform): Likewise.
6935         (test-xfail-XPG3/pwd.h/conform): Likewise.
6936         (test-xfail-XPG3/search.h/conform): Likewise.
6937         (test-xfail-XPG3/signal.h/conform): Likewise.
6938         (test-xfail-XPG3/stdio.h/conform): Likewise.
6939         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6940         (test-xfail-XPG3/string.h/conform): Likewise.
6941         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6942         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6943         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6944         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6945         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6946         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6947         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6948         (test-xfail-XPG3/termios.h/conform): Likewise.
6949         (test-xfail-XPG3/time.h/conform): Likewise.
6950         (test-xfail-XPG3/unistd.h/conform): Likewise.
6951         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6952         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6953         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6954         (test-xfail-XPG4/netdb.h/conform): Likewise.
6955         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6956         (test-xfail-XPG4/signal.h/conform): Likewise.
6957         (test-xfail-XPG4/stdio.h/conform): Likewise.
6958         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6959         (test-xfail-XPG4/stropts.h/conform): Likewise.
6960         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6961         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6962         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6963         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6964         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6965         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6966         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6967         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6968         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6969         (test-xfail-XPG4/termios.h/conform): Likewise.
6970         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6971         (test-xfail-XPG4/unistd.h/conform): Likewise.
6972         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6973         (test-xfail-POSIX/sched.h/conform): Likewise.
6974         (test-xfail-POSIX/signal.h/conform): Likewise.
6975         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6976         (test-xfail-POSIX/tar.h/conform): Likewise.
6977         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6978         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6979         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6980         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6981         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6982         (test-xfail-UNIX98/sched.h/conform): Likewise.
6983         (test-xfail-UNIX98/signal.h/conform): Likewise.
6984         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6985         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6986         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6987         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6988         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6989         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6990         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6991         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6992         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6993         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6994         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6995         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6996         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6997         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6998         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6999         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7000         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7001         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7002         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7003         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7004         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7005         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7006         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7007         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7008         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7009         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7010         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7011         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7012         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7013         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7014         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7015         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7016         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7017         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7018         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7019         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7020         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7021         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7022         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7023         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7024         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7025         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7026         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7027         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7028         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7029         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7030         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7031         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7032         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7033         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7034         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7035         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7036         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7037         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7038         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7039         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7040         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7041         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7042         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7043         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7044         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7045         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7046         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7047         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7048         (conformtest-cc-flags): Likewise.
7049         ($(conformtest-header-tests): New target.
7050         * conform/check-header-lists.sh: New file.
7051         * conform/run-conformtest.sh: Remove.
7052
7053         * conform/conformtest.pl: Allow ' and \ in values given for
7054         constants.
7055         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7056         inclusion.
7057         [POSIX] (sys/types.h): Likewise.
7058         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7059         inclusion.
7060         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7061         inclusion.
7062         * conform/data/signal.h-data (SIGIO): Remove expectation.
7063         [XPG3] (SIGBUS): Do not expect.
7064         [POSIX || XPG3] (SIGPOLL): Likewise.
7065         [POSIX || XPG3] (SIGPROF): Likewise.
7066         [POSIX || XPG3] (SIGSYS): Likewise.
7067         [XPG3] (SIGTRAP): Likewise.
7068         [POSIX || XPG3] (SIGURG): Likewise.
7069         [POSIX || XPG3] (SIGVTALRM): Likewise.
7070         [POSIX || XPG3] (SIGXCPU): Likewise.
7071         [POSIX || XPG3] (SIGXFSZ): Likewise.
7072         [POSIX] (SA_SIGINFO): Expect.
7073         [XPG3] (siginfo_t): Do not expect type or contents.
7074         [POSIX] (si_pid): Do not expect element.
7075         [POSIX] (si_uid): Likewise.
7076         [POSIX] (si_addr): Likewise.
7077         [POSIX] (si_status): Likewise.
7078         [POSIX] (si_band): Likewise.
7079         [XPG4] (si_value): Likewise.
7080         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7081         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7082         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7083         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7084         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7085         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7086         [POSIX || XPG3] (ILL_COPROC): Likewise.
7087         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7088         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7089         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7090         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7091         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7092         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7093         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7094         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7095         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7096         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7097         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7098         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7099         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7100         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7101         [POSIX || XPG3] (CLD_EXITED): Likewise.
7102         [POSIX || XPG3] (CLD_KILLED): Likewise.
7103         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7104         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7105         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7106         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7107         [POSIX || XPG3] (POLL_IN): Likewise.
7108         [POSIX || XPG3] (POLL_OUT): Likewise.
7109         [POSIX || XPG3] (POLL_MSG): Likewise.
7110         [POSIX || XPG3] (POLL_ERR): Likewise.
7111         [POSIX || XPG3] (POLL_PRI): Likewise.
7112         [POSIX || XPG3] (POLL_HUP): Likewise.
7113         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7114         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7115         (SIG*): Do not allow.
7116         [XPG3] (si_*): Likewise.
7117         [XPG3] (SI_*): Likewise.
7118         [XPG3 || XPG4] (sigev_*): Likewise.
7119         [XPG3 || XPG4] (SIGEV_*): Likewise.
7120         [XPG3 || XPG4] (sival_*): Likewise.
7121         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7122         [POSIX || XPG3] (BUS_*): Likewise.
7123         [POSIX || XPG3] (CLD_*): Likewise.
7124         [POSIX || XPG3] (FPE_*): Likewise.
7125         [POSIX || XPG3] (ILL_*): Likewise.
7126         [POSIX || XPG3] (POLL_*): Likewise.
7127         [POSIX || XPG3] (SEGV_*): Likewise.
7128         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7129         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7130         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7131         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7132         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7133         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7134         Specify type and value.
7135         (TVERSLEN): Likewise.
7136         (REGTYPE): Likewise.
7137         (AREGTYPE): Likewise.
7138         (LNKTYPE): Likewise.
7139         (SYMTYPE): Likewise.
7140         (CHRTYPE): Likewise.
7141         (BLKTYPE): Likewise.
7142         (DIRTYPE): Likewise.
7143         (FIFOTYPE): Likewise.
7144         (CONTTYPE): Likewise.
7145         (TSUID): Likewise.
7146         (TSGID): Likewise.
7147         (TSVTX): Likewise.
7148         (TUREAD): Likewise.
7149         (TUWRITE): Likewise.
7150         (TUEXEC): Likewise.
7151         (TGREAD): Likewise.
7152         (TGWRITE): Likewise.
7153         (TGEXEC): Likewise.
7154         (TOREAD): Likewise.
7155         (TOWRITE): Likewise.
7156         (TOEXEC): Likewise.
7157         [POSIX] (TSVTX): Expect constant.
7158
7159 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7160
7161         * Makefile (tests): Change dependencies to ....
7162         (tests-special): ... additions to this variable.
7163         (tests): Depend on $(tests-special).
7164         * Makerules (check-abi-list): New variable.
7165         (check-abi): Depend on $(check-abi-list).
7166         [$(subdir) = elf] (tests-special): Add
7167         $(objpfx)check-abi-libc.out.
7168         [$(build-shared) = yes && subdir] (tests-special): Add
7169         $(check-abi-list).
7170         [$(build-shared) = yes && subdir] (tests): Do not depend on
7171         check-abi.
7172         * Rules (tests): Depend on $(tests-special).
7173         (xtests): Depend on $(xtests-special).
7174         * catgets/Makefile (tests): Change dependencies to ....
7175         (tests-special): ... additions to this variable.
7176         * conform/Makefile (tests): Change dependencies to ....
7177         (tests-special): ... additions to this variable.
7178         * elf/Makefile (tests): Change dependencies to ....
7179         (tests-special): ... additions to this variable.
7180         * grp/Makefile (tests): Change dependencies to ....
7181         (tests-special): ... additions to this variable.
7182         * iconv/Makefile (xtests): Change dependencies to ....
7183         (xtests-special): ... additions to this variable.
7184         * iconvdata/Makefile (tests): Change dependencies to ....
7185         (tests-special): ... additions to this variable.
7186         * intl/Makefile (tests): Change dependencies to ....
7187         (tests-special): ... additions to this variable.  Also add
7188         $(objpfx)tst-gettext.out.
7189         * io/Makefile (tests): Change dependencies to ....
7190         (tests-special): ... additions to this variable.
7191         * libio/Makefile (tests): Change dependencies to ....
7192         (tests-special): ... additions to this variable.
7193         * malloc/Makefile (tests): Change dependencies to ....
7194         (tests-special): ... additions to this variable.
7195         * misc/Makefile (tests): Change dependencies to ....
7196         (tests-special): ... additions to this variable.
7197         * nptl/Makefile (tests): Change dependencies to ....
7198         (tests-special): ... additions to this variable.
7199         * nptl_db/Makefile (tests): Change dependencies to ....
7200         (tests-special): ... additions to this variable.
7201         * posix/Makefile (tests): Change dependencies to ....
7202         (tests-special): ... additions to this variable.
7203         (xtests): Change dependencies to ....
7204         (xtests-special): ... additions to this variable.
7205         * resolv/Makefile (tests): Change dependencies to ....
7206         (tests-special): ... additions to this variable.
7207         (xtests): Change dependencies to ....
7208         (xtests-special): ... additions to this variable.
7209         * stdio-common/Makefile (tests): Change dependencies to ....
7210         (tests-special): ... additions to this variable.
7211         (do-tst-unbputc): Remove target.
7212         (do-tst-printf): Likewise.
7213         * stdlib/Makefile (tests): Change dependencies to ....
7214         (tests-special): ... additions to this variable.
7215         * string/Makefile (tests): Change dependencies to ....
7216         (tests-special): ... additions to this variable.
7217         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7218         (tests-special): ... additions to this variable.
7219
7220         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7221         whole file.
7222         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7223         whole file.
7224         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7225         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7226
7227         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7228         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7229         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7230         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7231         * conform/data/libgen.h-data [XPG3]: Likewise.
7232         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7233         * conform/data/ndbm.h-data [XPG3]: Likewise.
7234         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7235         * conform/data/netdb.h-data [XPG3]: Likewise.
7236         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7237         * conform/data/poll.h-data [XPG3]: Likewise.
7238         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7239         * conform/data/strings.h-data [XPG3]: Likewise.
7240         * conform/data/stropts.h-data [XPG3]: Likewise.
7241         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7242         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7243         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7244         Likewise.
7245         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7246         * conform/data/sys/time.h-data [XPG3]: Likewise.
7247         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7248         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7249         * conform/data/sys/un.h-data [XPG3]: Likewise.
7250         * conform/data/syslog.h-data [XPG3]: Likewise.
7251         * conform/data/ucontext.h-data [XPG3]: Likewise.
7252         * conform/data/utmpx.h-data [XPG3]: Likewise.
7253         * conform/data/varargs.h-data [UNIX98]: Enable file.
7254
7255         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7256
7257         * math/libm-test.inc (struct test_f_f_data): Move expected results
7258         into structure for each rounding mode.
7259         (struct test_ff_f_data): Likewise.
7260         (struct test_ff_f_data_nexttoward): Likewise.
7261         (struct test_fi_f_data): Likewise.
7262         (struct test_fl_f_data): Likewise.
7263         (struct test_if_f_data): Likewise.
7264         (struct test_fff_f_data): Likewise.
7265         (struct test_c_f_data): Likewise.
7266         (struct test_f_f1_data): Likewise.
7267         (struct test_fF_f1_data): Likewise.
7268         (struct test_ffI_f1_data): Likewise.
7269         (struct test_c_c_data): Likewise.
7270         (struct test_cc_c_data): Likewise.
7271         (struct test_f_i_data): Likewise.
7272         (struct test_ff_i_data): Likewise.
7273         (struct test_f_l_data): Likewise.
7274         (struct test_f_L_data): Likewise.
7275         (struct test_fFF_11_data): Likewise.
7276         (RM_): New macro.
7277         (RM_FE_DOWNWARD): Likewise.
7278         (RM_FE_TONEAREST): Likewise.
7279         (RM_FE_TOWARDZERO): Likewise.
7280         (RM_FE_UPWARD): Likewise.
7281         (RUN_TEST_LOOP_f_f): Update references to expected results.
7282         (RUN_TEST_LOOP_2_f): Likewise.
7283         (RUN_TEST_LOOP_fff_f): Likewise.
7284         (RUN_TEST_LOOP_c_f): Likewise.
7285         (RUN_TEST_LOOP_f_f1): Likewise.
7286         (RUN_TEST_LOOP_fF_f1): Likewise.
7287         (RUN_TEST_LOOP_fI_f1): Likewise.
7288         (RUN_TEST_LOOP_ffI_f1): Likewise.
7289         (RUN_TEST_LOOP_c_c): Likewise.
7290         (RUN_TEST_LOOP_cc_c): Likewise.
7291         (RUN_TEST_LOOP_f_i): Likewise.
7292         (RUN_TEST_LOOP_f_i_tg): Likewise.
7293         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7294         (RUN_TEST_LOOP_f_b): Likewise.
7295         (RUN_TEST_LOOP_f_b_tg): Likewise.
7296         (RUN_TEST_LOOP_f_l): Likewise.
7297         (RUN_TEST_LOOP_f_L): Likewise.
7298         (RUN_TEST_LOOP_fFF_11): Likewise.
7299         * math/gen-libm-test.pl (parse_args): Output four copies of
7300         expected results for each test.
7301
7302         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7303         (__ASSUME_UTIMES): Remove.
7304         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7305         (__ASSUME_UTIMES): Likewise.
7306
7307         * math/gen-auto-libm-tests.c: Update comment on output format.
7308         (output_for_one_input_case): Generate before-rounding and
7309         after-rounding information as conditions on output flags not
7310         floating-point format.
7311         * math/auto-libm-test-out: Regenerated.
7312         * math/gen-libm-test.pl (cond_value): New function.
7313         (or_cond_value): Use cond_value.
7314         (generate_testfile): Handle conditional exceptions.
7315
7316 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7317
7318         * math/libm-test.inc (max_valid_error): New variable.
7319         (init_max_error): Take new argument specifying whether function
7320         results are exactly determined.  Set max_valid_error and bound
7321         other variables for errors based on this argument.
7322         (set_max_error): Do not record results above max_valid_error.
7323         (check_float_internal): Only accept errors of up to 0.5ulps if
7324         also at most max_valid_error.
7325         (START): Take new argument EXACT and pass it to init_max_error.
7326         (acos_test): Update call to START.
7327         (acos_test_tonearest): Likewise.
7328         (acos_test_towardzero): Likewise.
7329         (acos_test_downward): Likewise.
7330         (acos_test_upward): Likewise.
7331         (acosh_test): Likewise.
7332         (asin_test): Likewise.
7333         (asin_test_tonearest): Likewise.
7334         (asin_test_towardzero): Likewise.
7335         (asin_test_downward): Likewise.
7336         (asin_test_upward): Likewise.
7337         (asinh_test): Likewise.
7338         (atan_test): Likewise.
7339         (atanh_test): Likewise.
7340         (atan2_test): Likewise.
7341         (cabs_test): Likewise.
7342         (cacos_test): Likewise.
7343         (cacosh_test): Likewise.
7344         (carg_test): Likewise.
7345         (casin_test): Likewise.
7346         (casinh_test): Likewise.
7347         (catan_test): Likewise.
7348         (catanh_test): Likewise.
7349         (cbrt_test): Likewise.
7350         (ccos_test): Likewise.
7351         (ccosh_test): Likewise.
7352         (ceil_test): Likewise.
7353         (cexp_test): Likewise.
7354         (cimag_test): Likewise.
7355         (clog_test): Likewise.
7356         (clog10_test): Likewise.
7357         (conj_test): Likewise.
7358         (copysign_test): Likewise.
7359         (cos_test): Likewise.
7360         (cos_test_tonearest): Likewise.
7361         (cos_test_towardzero): Likewise.
7362         (cos_test_downward): Likewise.
7363         (cos_test_upward): Likewise.
7364         (cosh_test): Likewise.
7365         (cosh_test_tonearest): Likewise.
7366         (cosh_test_towardzero): Likewise.
7367         (cosh_test_downward): Likewise.
7368         (cosh_test_upward): Likewise.
7369         (cpow_test): Likewise.
7370         (cproj_test): Likewise.
7371         (creal_test): Likewise.
7372         (csin_test): Likewise.
7373         (csinh_test): Likewise.
7374         (csqrt_test): Likewise.
7375         (ctan_test): Likewise.
7376         (ctan_test_tonearest): Likewise.
7377         (ctan_test_towardzero): Likewise.
7378         (ctan_test_downward): Likewise.
7379         (ctan_test_upward): Likewise.
7380         (ctanh_test): Likewise.
7381         (ctanh_test_tonearest): Likewise.
7382         (ctanh_test_towardzero): Likewise.
7383         (ctanh_test_downward): Likewise.
7384         (ctanh_test_upward): Likewise.
7385         (erf_test): Likewise.
7386         (erfc_test): Likewise.
7387         (exp_test): Likewise.
7388         (exp_test_tonearest): Likewise.
7389         (exp_test_towardzero): Likewise.
7390         (exp_test_downward): Likewise.
7391         (exp_test_upward): Likewise.
7392         (exp10_test): Likewise.
7393         (exp10_test_tonearest): Likewise.
7394         (exp10_test_towardzero): Likewise.
7395         (exp10_test_downward): Likewise.
7396         (exp10_test_upward): Likewise.
7397         (pow10_test): Likewise.
7398         (exp2_test): Likewise.
7399         (expm1_test): Likewise.
7400         (expm1_test_tonearest): Likewise.
7401         (expm1_test_towardzero): Likewise.
7402         (expm1_test_downward): Likewise.
7403         (expm1_test_upward): Likewise.
7404         (fabs_test): Likewise.
7405         (fdim_test): Likewise.
7406         (floor_test): Likewise.
7407         (fma_test): Likewise.
7408         (fma_test_towardzero): Likewise.
7409         (fma_test_downward): Likewise.
7410         (fma_test_upward): Likewise.
7411         (fmax_test): Likewise.
7412         (fmin_test): Likewise.
7413         (fmod_test): Likewise.
7414         (fpclassify_test): Likewise.
7415         (frexp_test): Likewise.
7416         (hypot_test): Likewise.
7417         (ilogb_test): Likewise.
7418         (isfinite_test): Likewise.
7419         (finite_test): Likewise.
7420         (isgreater_test): Likewise.
7421         (isgreaterequal_test): Likewise.
7422         (isinf_test): Likewise.
7423         (isless_test): Likewise.
7424         (islessequal_test): Likewise.
7425         (islessgreater_test): Likewise.
7426         (isnan_test): Likewise.
7427         (isnormal_test): Likewise.
7428         (issignaling_test): Likewise.
7429         (isunordered_test): Likewise.
7430         (j0_test): Likewise.
7431         (j1_test): Likewise.
7432         (jn_test): Likewise.
7433         (ldexp_test): Likewise.
7434         (lgamma_test): Likewise.
7435         (gamma_test): Likewise.
7436         (lrint_test): Likewise.
7437         (lrint_test_tonearest): Likewise.
7438         (lrint_test_towardzero): Likewise.
7439         (lrint_test_downward): Likewise.
7440         (lrint_test_upward): Likewise.
7441         (llrint_test): Likewise.
7442         (llrint_test_tonearest): Likewise.
7443         (llrint_test_towardzero): Likewise.
7444         (llrint_test_downward): Likewise.
7445         (llrint_test_upward): Likewise.
7446         (log_test): Likewise.
7447         (log10_test): Likewise.
7448         (log1p_test): Likewise.
7449         (log2_test): Likewise.
7450         (logb_test): Likewise.
7451         (logb_test_downward): Likewise.
7452         (lround_test): Likewise.
7453         (llround_test): Likewise.
7454         (modf_test): Likewise.
7455         (nearbyint_test): Likewise.
7456         (nextafter_test): Likewise.
7457         (nexttoward_test): Likewise.
7458         (pow_test): Likewise.
7459         (pow_test_tonearest): Likewise.
7460         (pow_test_towardzero): Likewise.
7461         (pow_test_downward): Likewise.
7462         (pow_test_upward): Likewise.
7463         (remainder_test): Likewise.
7464         (drem_test): Likewise.
7465         (remainder_test_tonearest): Likewise.
7466         (drem_test_tonearest): Likewise.
7467         (remainder_test_towardzero): Likewise.
7468         (drem_test_towardzero): Likewise.
7469         (remainder_test_downward): Likewise.
7470         (drem_test_downward): Likewise.
7471         (remainder_test_upward): Likewise.
7472         (drem_test_upward): Likewise.
7473         (remquo_test): Likewise.
7474         (rint_test): Likewise.
7475         (rint_test_tonearest): Likewise.
7476         (rint_test_towardzero): Likewise.
7477         (rint_test_downward): Likewise.
7478         (rint_test_upward): Likewise.
7479         (round_test): Likewise.
7480         (scalb_test): Likewise.
7481         (scalbn_test): Likewise.
7482         (scalbln_test): Likewise.
7483         (signbit_test): Likewise.
7484         (sin_test): Likewise.
7485         (sin_test_tonearest): Likewise.
7486         (sin_test_towardzero): Likewise.
7487         (sin_test_downward): Likewise.
7488         (sin_test_upward): Likewise.
7489         (sincos_test): Likewise.
7490         (sinh_test): Likewise.
7491         (sinh_test_tonearest): Likewise.
7492         (sinh_test_towardzero): Likewise.
7493         (sinh_test_downward): Likewise.
7494         (sinh_test_upward): Likewise.
7495         (sqrt_test): Likewise.
7496         (sqrt_test_tonearest): Likewise.
7497         (sqrt_test_towardzero): Likewise.
7498         (sqrt_test_downward): Likewise.
7499         (sqrt_test_upward): Likewise.
7500         (tan_test): Likewise.
7501         (tan_test_tonearest): Likewise.
7502         (tan_test_towardzero): Likewise.
7503         (tan_test_downward): Likewise.
7504         (tan_test_upward): Likewise.
7505         (tanh_test): Likewise.
7506         (tgamma_test): Likewise.
7507         (trunc_test): Likewise.
7508         (y0_test): Likewise.
7509         (y1_test): Likewise.
7510         (yn_test): Likewise.
7511         (significand_test): Likewise.
7512
7513         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7514         individual tests in comment.
7515         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7516         (prev_max_error): New variable.
7517         (prev_real_max_error): Likewise.
7518         (prev_imag_max_error): Likewise.
7519         (compare_ulp_data): Don't refer to test names in comment.
7520         (find_test_ulps): Remove function.
7521         (find_function_ulps): Likewise.
7522         (find_complex_function_ulps): Likewise.
7523         (init_max_error): Take function name as argument.  Look up ulps
7524         for that function.
7525         (print_ulps): Remove function.
7526         (print_max_error): Use prev_max_error instead of calling
7527         find_function_ulps.
7528         (print_complex_max_error): Use prev_real_max_error and
7529         prev_imag_max_error instead of calling find_complex_function_ulps.
7530         (check_float_internal): Take max_ulp parameter instead of calling
7531         find_test_ulps.  Don't call print_ulps.
7532         (check_float): Update call to check_float_internal.
7533         (check_complex): Update calls to check_float_internal.
7534         (START): Pass argument to init_max_error.
7535         * math/gen-libm-test.pl (%results): Don't include "kind"
7536         information.
7537         (parse_ulps): Don't handle ulps of individual tests.
7538         (print_ulps_file): Likewise.
7539         (output_ulps): Likewise.
7540         * math/README.libm-test: Update.
7541         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7542         individual tests.
7543         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7544         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7545         * sysdeps/arm/libm-test-ulps: Likewise.
7546         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7547         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7548         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7549         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7550         * sysdeps/microblaze/libm-test-ulps: Likewise.
7551         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7552         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7553         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7554         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7555         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7556         * sysdeps/sh/libm-test-ulps: Likewise.
7557         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7558         * sysdeps/tile/libm-test-ulps: Likewise.
7559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7560
7561 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7562
7563         * math/libm-test.inc (print_complex_max_error): Check separately
7564         whether real and imaginary errors are within allowed range and
7565         pass 0 to print_complex_function_ulps instead of value within
7566         allowed range.
7567
7568 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7569
7570         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7571         formatting.
7572         (get_handles_fopen): Likewise.
7573         (do_write_test): Likewise.
7574
7575         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7576
7577         * libio/fileops.c (do_ftell): Use cached offset when
7578         available.
7579         * libio/iofwide.c (do_ftell_wide): Likewise.
7580         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7581         _IO_file_attach.
7582         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7583
7584         [BZ #16532]
7585         * libio/libioP.h (get_file_offset): New function.
7586         * libio/fileops.c (get_file_offset): Likewise.
7587         (do_ftell): Likewise.
7588         (_IO_new_file_seekoff): Split out ftell logic.
7589         * libio/wfileops.c (do_ftell_wide): Likewise.
7590         (_IO_wfile_seekoff): Split out ftell logic.
7591         * libio/tst-ftell-active-handler.c: New test case.
7592         * libio/Makefile (tests): Add it.
7593
7594 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7595
7596         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7597         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7598
7599 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7600
7601         [BZ #16639]
7602         * nscd/connections.c (nscd_init): Call do_exit.
7603         (start_threads): Call do_exit and notify_parent.
7604         (begin_drop_privileges): Call do_exit.
7605         (finish_drop_privileges): Likewise.
7606         * nscd/selinux.c (preserve_capabilities): Likewise.
7607         (install_real_capabilities): Likewise.
7608         (nscd_selinux_enabled): Likewise.
7609         (avc_create_thread): Likewise.
7610         (avc_alloc_lock): Likewise.
7611         (nscd_avc_init): Likewise.
7612         * nscd/nscd.c (parent_fd): New static variable.
7613         (main): Create a pipe between parent and child processes.
7614         Skip closing parent_fd.
7615         (monitor_child): New function.
7616         (do_exit): Likewise.
7617         (notify_parent): Likewise.
7618         * nscd/nscd.h (notify_parent): Likewise.
7619         (do_exit): Likewise.
7620
7621 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7622
7623         * malloc/malloc.c (__libc_calloc): Revert last change.
7624
7625 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7626
7627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7628
7629 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7630
7631         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7633         implementation.
7634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7635         (__libc_ifunc_impl_list): Likewise.
7636         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7637         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7638         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7639         * string/strrchr.c: Define STRRCHR.
7640
7641 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7642
7643         * benchtest/bench-strtok.c (simple_strtok): Delete.
7644         (strtok_string): Use as benchmark.
7645         * string/strtok (STRTOK): New macro.
7646
7647 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7648
7649         * manual/threads.texi: Add header and standard comments to all
7650         functions.
7651
7652         * elf/dl-lookup.c (check_match): New function.
7653         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7654         (do_lookup_x): Remove nested function check_match. Use non-nested
7655         function check_match.
7656
7657 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7658
7659         * csu/Makefile (generated, before-compile): Use += rather than =.
7660         * catgets/Makefile (generated, generated-dirs): Likewise.
7661         * debug/Makefile (generated): Likewise.
7662         * dlfcn/Makefile (generated): Likewise.
7663         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7664         * iconvdata/Makefile (before-compile, generated): Likewise.
7665         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7666         * libio/Makefile (generated): Likewise.
7667         * malloc/Makefile (generated): Likewise.
7668         * manual/Makefile (generated, generated-dirs): Likewise.
7669         * misc/Makefile (generated): Likewise.
7670         * posix/Makefile (generated): Likewise.
7671         * resolv/Makefile (generated): Likewise.
7672         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7673         * timezone/Makefile (generated, generated-dirs): Likewise.
7674
7675         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7676
7677 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7678
7679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7680         power8 implementation.
7681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7682         file: POWER8 llround ifunc implementation.
7683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7684         (__lllround): Add POWER8 implementation.
7685         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7686         POWER8 llround implementation.
7687
7688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7689         power8 implementation.
7690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7691         file: POWER8 llrint ifunc implementation.
7692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7693         Add POWER8 implementation.
7694         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7695         POWER8 llrint implementation.
7696
7697         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7698         power8 implementation.
7699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7700         file: POWER8 finite ifunc implementation.
7701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7702         Add POWER8 implementation.
7703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7704         Likewise.
7705         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7706         POWER8 finite implementation.
7707         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7708
7709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7710         power8 implementation.
7711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7712         file: POWER8 isinf ifunc implementation.
7713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7714         POWER8 implementation.
7715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7716         Likewise.
7717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7718         isinf implementation.
7719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7720
7721         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7722         (INIT_ARCH): Add hwcap2 initialization.
7723         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7724         power8 implementation.
7725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7726         file: POWER8 isnan ifunc implementation.
7727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7728         POWER8 implementation.
7729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7730         Likewise.
7731         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7732         isnan implementation.
7733         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7734
7735 2014-02-27  Joey Ye  <joey.ye@arm.com>
7736
7737         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7738         (_FP_NANFRAC_Q): Set to zero.
7739
7740 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7741
7742         [BZ #16623]
7743         * math/auto-libm-test-in: New test inputs.
7744         * math/auto-libm-test-out: Regenerate.
7745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7746         and DA.
7747         (__cos): Likewise.
7748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7749
7750 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7751
7752         * scripts/evaluate-test.sh: Take new argument indicating whether
7753         failure is expected.
7754         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7755         indicating whether failure is expected.
7756         * conform/Makefile (test-xfail-run-conformtest): New variable.
7757         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7758         level.
7759         * posix/Makefile (test-xfail-annexc): New variable.
7760         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7761
7762 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7763
7764         * argp/Makefile: Include Makeconfig immediately after defining
7765         subdir.
7766         * assert/Makefile: Likewise.
7767         * benchtests/Makefile: Likewise.
7768         * catgets/Makefile: Likewise.
7769         * conform/Makefile: Likewise.
7770         * crypt/Makefile: Likewise.
7771         * csu/Makefile: Likewise.
7772         (all): Remove target.
7773         * ctype/Makefile: Include Makeconfig immediately after defining
7774         subdir.
7775         * debug/Makefile: Likewise.
7776         * dirent/Makefile: Likewise.
7777         * dlfcn/Makefile: Likewise.
7778         * gmon/Makefile: Likewise.
7779         * gnulib/Makefile: Likewise.
7780         * grp/Makefile: Likewise.
7781         * gshadow/Makefile: Likewise.
7782         * hesiod/Makefile: Likewise.
7783         * hurd/Makefile: Likewise.
7784         (all): Remove target.
7785         * iconvdata/Makefile: Include Makeconfig immediately after
7786         defining subdir.
7787         * inet/Makefile: Likewise.
7788         * intl/Makefile: Likewise.
7789         * io/Makefile: Likewise.
7790         * libio/Makefile: Likewise.
7791         (all): Remove target.
7792         * locale/Makefile: Include Makeconfig immediately after defining
7793         subdir.
7794         * login/Makefile: Likewise.
7795         * mach/Makefile: Likewise.
7796         (all): Remove target.
7797         * malloc/Makefile: Include Makeconfig immediately after defining
7798         subdir.
7799         (all): Remove target.
7800         * manual/Makefile: Include Makeconfig immediately after defining
7801         subdir.
7802         * math/Makefile: Likewise.
7803         * misc/Makefile: Likewise.
7804         * nis/Makefile: Likewise.
7805         * nss/Makefile: Likewise.
7806         * po/Makefile: Likewise.
7807         (all): Remove target.
7808         * posix/Makefile: Include Makeconfig immediately after defining
7809         subdir.
7810         * pwd/Makefile: Likewise.
7811         * resolv/Makefile: Likewise.
7812         * resource/Makefile: Likewise.
7813         * rt/Makefile: Likewise.
7814         * setjmp/Makefile: Likewise.
7815         * shadow/Makefile: Likewise.
7816         * signal/Makefile: Likewise.
7817         * socket/Makefile: Likewise.
7818         * soft-fp/Makefile: Likewise.
7819         * stdio-common/Makefile: Likewise.
7820         * stdlib/Makefile: Likewise.
7821         * streams/Makefile: Likewise.
7822         * string/Makefile: Likewise.
7823         * sunrpc/Makefile: Likewise.
7824         (all): Remove target.
7825         * sysvipc/Makefile: Include Makeconfig immediately after defining
7826         subdir.
7827         * termios/Makefile: Likewise.
7828         * time/Makefile: Likewise.
7829         * timezone/Makefile: Likewise.
7830         (all): Remove target.
7831         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7832         subdir.
7833         * wctype/Makefile: Likewise.
7834
7835 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7836
7837         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7838         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7839         (libc_feholdexcept_setround_mips): Ditto.
7840         (libc_feholdsetround): New.
7841         (libc_feholdsetroundf): New.
7842         (libc_feholdsetroundl): New.
7843         (libc_feupdateenv_test_mips): New.
7844         (libc_feupdateenv_test): New.
7845         (libc_feupdateenv_testf): New.
7846         (libc_feupdateenv_testl): New.
7847         (libc_feresetround): New.
7848         (libc_feresetroundf): New.
7849         (libc_feresetroundl): New.
7850         (libc_fetestexcept_mips): New.
7851         (libc_fetestexcept): New.
7852         (libc_fetestexceptf): New.
7853         (libc_fetestexceptl): New.
7854         (HAVE_RM_CTX): New.
7855         (libc_feholdexcept_setround_mips_ctx): New.
7856         (libc_feholdexcept_setround_ctx): New.
7857         (libc_feholdexcept_setroundf_ctx): New.
7858         (libc_feholdexcept_setroundl_ctx): New.
7859         (libc_fesetenv_mips_ctx): New.
7860         (libc_fesetenv_ctx): New.
7861         (libc_fesetenv_ctxf): New.
7862         (libc_fesetenv_ctxl): New.
7863         (libc_feupdateenv_mips_ctx): New.
7864         (libc_feupdateenv_ctx): New.
7865         (libc_feupdateenvf_ctx): New.
7866         (libc_feupdateenvl_ctx): New.
7867         (libc_feholdsetround_mips_ctx): New.
7868         (libc_feholdsetround_ctx): New.
7869         (libc_feholdsetroundf_ctx): New.
7870         (libc_feholdsetroundl_ctx): New.
7871         (libc_feresetround_mips_ctx): New.
7872         (libc_feresetround_ctx): New.
7873         (libc_feresetroundf_ctx): New.
7874         (libc_feresetroundl_ctx): New.
7875
7876 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7877
7878         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7879
7880         * manual/ipc.texi: New file.
7881         * manual/Makefile (chapters): Add ipc.
7882         * manual/job.texi: Add "Inter-Process Communication" to next.
7883         * manual/process.texi: Add "Inter-Process Communication" to prev.
7884
7885 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7886
7887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7888
7889 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7890
7891         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7892
7893         * manual/arith.texi: Fix spaces after sentences.
7894         * manual/charset.texi: Likewise.
7895         * manual/errno.texi: Likewise.
7896         * manual/install.texi: Likewise.
7897         * manual/llio.texi: Likewise.
7898         * manual/locale.texi: Likewise.
7899         * manual/maint.texi: Likewise.
7900         * manual/math.texi: Likewise.
7901         * manual/memory.texi: Likewise.
7902         * manual/message.texi: Likewise.
7903         * manual/probes.texi: Likewise.
7904         * manual/resource.texi: Likewise.
7905         * manual/signal.texi: Likewise.
7906         * manual/socket.texi: Likewise.
7907         * manual/stdio.texi: Likewise.
7908         * manual/string.texi: Likewise.
7909         * manual/time.texi: Likewise.
7910         * manual/users.texi: Likewise.
7911
7912 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7913
7914         [BZ #16632]
7915         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7916         _DEFAULT_SOURCE is defined.
7917
7918 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7919             Carlos O'Donell  <carlos@redhat.com>
7920
7921         [BZ #16613]
7922         * elf/dl-tls.c (_dl_count_modids): New function.
7923         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7924         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7925         audit library and increment generation counter.
7926         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7927         * elf/tst-audit9.c: New file.
7928         * elf/tst-auditmod9a.c: New file.
7929         * elf/tst-auditmod9b.c: New file.
7930         * elf/Makefile: Add rules to build and run tst-audit9.
7931
7932 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7933
7934         [BZ #15347]
7935         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7936
7937 2014-02-25  Will Newton  <will.newton@linaro.org>
7938
7939         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7940         (__longjmp): Restore sp and lr before restoring callee
7941         saved registers.  Add longjmp and longjmp_target
7942         SystemTap probe point.
7943         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7944         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7945         Define to zero to match jmpbuf layout.
7946         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7947         (__sigsetjmp): Save sp and lr before saving callee
7948         saved registers.  Add setjmp SystemTap probe point.
7949
7950 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7951
7952         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7953
7954 2014-02-24  Andreas Schwab  <schwab@suse.de>
7955
7956         [BZ #15804]
7957         * elf/pldd.c (wait_for_ptrace_stop): New function.
7958         (main): Call it after attaching.
7959
7960 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7961
7962         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7963         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7964         Versions files is now verboten.
7965         * hurd/Versions (libc: GLIBC_2.0):
7966         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7967         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7968         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7969         * mach/Versions: Likewise.
7970
7971         * csu/Versions: Remove unused %include.
7972         * resolv/Versions: Likewise.
7973
7974 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7975
7976         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7977         ($(objpfx)check-local-headers.out): Likewise.
7978         ($(objpfx)begin-end-check.out): Likewise.
7979         * Makerules (check-abi-%.out): Likewise.
7980         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7981         ($(objpfx)test2.cat): Likewise.
7982         ($(objpfx)de/libc.cat): Likewise.
7983         ($(objpfx)test-gencat.out): Likewise.
7984         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7985         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7986         ($(objpfx)noload-mem): Likewise.
7987         ($(objpfx)tst-pathopt.out): Likewise.
7988         ($(objpfx)tst-rtld-load-self.out): Likewise.
7989         ($(objpfx)tst-array1-cmp.out): Likewise.
7990         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7991         ($(objpfx)tst-array2-cmp.out): Likewise.
7992         ($(objpfx)tst-array3-cmp.out): Likewise.
7993         ($(objpfx)tst-array4-cmp.out): Likewise.
7994         ($(objpfx)tst-array5-cmp.out): Likewise.
7995         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7996         ($(objpfx)check-textrel.out): Likewise.
7997         ($(objpfx)check-execstack.out): Likewise.
7998         ($(objpfx)check-localplt.out): Likewise.
7999         ($(objpfx)order2-cmp.out): Likewise.
8000         ($(objpfx)tst-leaks1-mem): Likewise.
8001         ($(objpfx)tst-leaks1-static-mem): Likewise.
8002         ($(objpfx)tst-initorder-cmp.out): Likewise.
8003         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8004         ($(objpfx)tst-unused-dep.out): Likewise.
8005         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8006         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8007         * iconv/Makefile (test-iconvconfig): Likewise.
8008         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8009         ($(objpfx)iconv-test.out): Likewise.
8010         ($(objpfx)tst-tables.out): Likewise.
8011         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8012         ($(objpfx)tst-gettext.out): Likewise.
8013         ($(objpfx)tst-translit.out): Likewise.
8014         ($(objpfx)tst-gettext2.out): Likewise.
8015         ($(objpfx)tst-gettext4.out): Likewise.
8016         ($(objpfx)tst-gettext6.out): Likewise.
8017         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8018         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8019         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8020         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8021         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8022         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8023         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8024         ($(objpfx)wordexp-tst.out): Likewise.
8025         ($(objpfx)annexc.out): Likewise.
8026         ($(objpfx)tst-fnmatch-mem): Likewise.
8027         ($(objpfx)bug-regex2-mem): Likewise.
8028         ($(objpfx)bug-regex14-mem): Likewise.
8029         ($(objpfx)bug-regex21-mem): Likewise.
8030         ($(objpfx)bug-regex31-mem): Likewise.
8031         ($(objpfx)tst-vfork3-mem): Likewise.
8032         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8033         ($(objpfx)tst-pcre-mem): Likewise.
8034         ($(objpfx)tst-boost-mem): Likewise.
8035         ($(objpfx)tst-getconf.out): Likewise.
8036         ($(objpfx)bug-ga2-mem): Likewise.
8037         ($(objpfx)bug-glob2-mem): Likewise.
8038         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8039         ($(objpfx)mtrace-tst-leaks2): Likewise.
8040         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8041         ($(objpfx)tst-printf.out): Likewise.
8042         ($(objpfx)tst-setvbuf1.out): Likewise.
8043         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8044         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8045         ($(objpfx)tst-fmtmsg.out): Likewise.
8046         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8047         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8048
8049         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8050         * bits/sigaction.h [__USE_MISC]: Likewise.
8051         * bits/waitstatus.h: Update #endif comments.
8052         * ctype/ctype.h: Likewise.
8053         * dirent/dirent.h: Likewise.
8054         [__USE_MISC]: Remove redundant conditionals.
8055         * grp/grp.h: Update #endif comments.
8056         [__USE_GNU]: Remove redundant conditionals.
8057         [__USE_MISC]: Likewise.
8058         * inet/netinet/in.h [__USE_GNU]: Likewise.
8059         * io/sys/stat.h [__USE_MISC]: Likewise.
8060         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8061         * libio/bits/stdio.h: Update #endif comments.
8062         [__USE_MISC]: Remove redundant conditionals.
8063         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8064         * libio/stdio.h: Update #endif comments.
8065         [__USE_MISC]: Remove redundant conditionals.
8066         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8067         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8068         * math/math.h: Update #else and #endif comments.
8069         [__USE_MISC]: Remove redundant conditionals.
8070         * misc/sys/uio.h: Update #endif comments.
8071         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8072         * posix/glob.h [__USE_MISC]: Likewise.
8073         * posix/sys/types.h: Update #endif comments.
8074         [__USE_MISC]: Remove redundant conditionals.
8075         * posix/sys/wait.h: Update #endif comments.
8076         [__USE_MISC]: Remove redundant conditionals.
8077         * posix/unistd.h: Update #endif comments.
8078         [__USE_MISC]: Remove redundant conditionals.
8079         * pwd/pwd.h [__USE_GNU]: Likewise.
8080         [__USE_MISC]: Likewise.
8081         * resolv/netdb.h [__USE_GNU]: Likewise.
8082         * signal/signal.h: Update #endif comments.
8083         [__USE_MISC]: Remove redundant conditionals.
8084         * stdlib/stdlib.h: Update #else and #endif comments.
8085         [__USE_MISC]: Remove redundant conditionals.
8086         [__USE_GNU]: Likewise.
8087         * string/bits/string2.h [__USE_MISC]: Likewise.
8088         * string/string.h: Update #endif comments.
8089         [__USE_MISC]: Remove redundant conditionals.
8090         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8091         Likewise.
8092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8093         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8094         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8095         Likewise.
8096         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8097         Likewise.
8098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8099         comments.
8100         [__USE_MISC]: Remove redundant conditionals.
8101         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8102         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8103         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8104         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8105         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8109         Likewise.
8110         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8111         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8112         Likewise.
8113         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8116         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8119         Likewise.
8120         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8121         * sysdeps/x86/bits/string.h: Update #endif comments.
8122         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8123         conditionals.
8124         * time/sys/time.h: Update #endif comments.
8125         * time/time.h: Likewise.
8126         [__USE_MISC]: Remove redundant conditionals.
8127
8128 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8129
8130         [BZ #16600]
8131         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8132
8133 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8134
8135         * Versions.def (librt): Add GLIBC_2.17.
8136
8137 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8138
8139         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8140         synonym for _SYS_AUXV_H to allow direct inclusion.
8141         * sysdeps/sparc/bits/hwcap.h: Likewise.
8142         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8143         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8144         * sysdeps/sparc/sysdep.h: Likewise.
8145
8146 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8147
8148         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8149
8150 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8151
8152         * benchtests/bench-strrchr.c: Print length instead of position.
8153
8154 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8155
8156         [BZ #16611]
8157         * sysdeps/unix/sysv/linux/kernel-features.h
8158         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8159         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8160         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8161         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8162         Likewise.
8163         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8164         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8165         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8166         (__ASSUME_SENDMMSG): Define instead of using previous
8167         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8168         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8169         (__ASSUME_SENDMMSG_SYSCALL): Define.
8170         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8171         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8174         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8177         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8178         Likewise.
8179         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8180         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8181         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8182         [__ASSUME_SENDMMSG]: Change conditionals to
8183         [__ASSUME_SENDMMSG_SOCKETCALL].
8184         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8186         Define.
8187         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8188         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8189         Likewise.
8190         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8191         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8192         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8193         [!__ASSUME_SENDMMSG]: Change conditional to
8194         [!__ASSUME_SENDMMSG_SOCKETCALL].
8195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8196         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8197         Define.
8198
8199         [BZ #16610]
8200         * sysdeps/unix/sysv/linux/kernel-features.h
8201         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8202         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8203         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8204         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8205         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8206         [__i386__ || __sparc__]
8207         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8208         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8209         (__ASSUME_RECVMMSG): Define instead of using previous
8210         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8211         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8212         (__ASSUME_RECVMMSG_SYSCALL): Define.
8213         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8214         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8215         Likewise.
8216         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8217         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8218         Likewise.
8219         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8220         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8221         Likewise.
8222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8223         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8224         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8225         [__ASSUME_RECVMMSG]: Change condition to
8226         [__ASSUME_RECVMMSG_SOCKETCALL].
8227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8229         Define.
8230         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8231         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8235         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8236         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8237         [!__ASSUME_RECVMMSG]: Change condition to
8238         [!__ASSUME_RECVMMSG_SOCKETCALL].
8239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8240         (__ASSUME_RECVMMSG_SYSCALL): Define.
8241
8242         [BZ #16609]
8243         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8244         __powerpc__ || __s390__ || __sh__ || __sparc__]
8245         (__ASSUME_SOCKETCALL): Define.
8246         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8247         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8248         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8249         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8250         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8251         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8252         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8253         (__ASSUME_ACCEPT4): Define instead of using previous
8254         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8255         __powerpc__ || __sparc__ || __s390__)] condition.
8256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8257         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8258         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8259         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8260         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8261         [!__ASSUME_ACCEPT4]: Change condition to
8262         [!__ASSUME_ACCEPT4_SOCKETCALL].
8263         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8264         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8265         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8267         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8268         __ASSUME_ACCEPT4_SYSCALL.
8269         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8270         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8271         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8272         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8273         __ASSUME_ACCEPT4_SYSCALL.
8274         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8275         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8276         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8277         [__ASSUME_ACCEPT4]: Change condition to
8278         [__ASSUME_ACCEPT4_SOCKETCALL].
8279         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8280         (__ASSUME_SOCKETCALL): Define.
8281         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8283         (__ASSUME_SOCKETCALL): Define.
8284         (__ASSUME_ACCEPT4): Remove.
8285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8286         Define.
8287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8288         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8289         Likewise.
8290         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8291         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8292
8293         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8294         macro.
8295         (HWCAP_ARM_LPAE): Likewise.
8296         (HWCAP_ARM_EVTSTRM): Likewise.
8297         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8298         Add vpfd32, lpae and evtstrm.
8299         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8300         Increase to 22.
8301
8302 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8303
8304         * math/auto-libm-test-in: Add tests of clog10.
8305         * math/auto-libm-test-out: Regenerated.
8306         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8307         * sysdeps/i386/fpu/libm-test-ulps: Update.
8308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309
8310 2014-02-18  Andreas Schwab  <schwab@suse.de>
8311
8312         [BZ #16574]
8313         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8314         Store non-zero if the second buffer was newly allocated.
8315         (send_dg): Likewise.
8316         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8317         to send_vc and send_dg.
8318         (res_nsend): Pass NULL for ansp2_malloced.
8319         * resolv/res_query.c (__libc_res_nquery): Add parameter
8320         answerp2_malloced and pass it down to __libc_res_nsend.
8321         (res_nquery): Pass additional NULL to __libc_res_nquery.
8322         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8323         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8324         second answer buffer if answerp2_malloced was set.
8325         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8326         (__libc_res_nquerydomain): Add parameter
8327         answerp2_malloced and pass it down to __libc_res_nquery.
8328         (res_nquerydomain): Pass additional NULL to
8329         __libc_res_nquerydomain.
8330         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8331         additional NULL to __libc_res_nsend and __libc_res_nquery.
8332         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8333         additional NULL to __libc_res_nsearch.
8334         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8335         parameter of __libc_res_nsearch to check for separately allocated
8336         second buffer.
8337         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8338         __libc_res_nquery.
8339         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8340         additional NULL to __libc_res_nquery.
8341         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8342         __libc_res_nsearch.
8343         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8344         * include/resolv.h: Update prototypes of __libc_res_nquery,
8345         __libc_res_nsearch, __libc_res_nsend.
8346
8347 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8348
8349         * math/auto-libm-test-in: Add tests of fma.
8350         * math/auto-libm-test-out: Regenerated.
8351         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8352         (fma_towardzero_test_data): Likewise.
8353         (fma_downward_test_data): Likewise.
8354         (fma_upward_test_data): Likewise.
8355         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8356         mpc_mode.
8357         (rounding_modes): Add values for new field.
8358         (func_calc_method): Add value mpfr_fff_f.
8359         (func_calc_desc): Add mpfr_fff_f union field.
8360         (test_function): Add field exact_args.
8361         (FUNC): Add macro argument EXACT_ARGS.
8362         (FUNC_mpfr_f_f): Update call to FUNC.
8363         (FUNC_mpfr_f_f): Likewise.
8364         (FUNC_mpfr_ff_f): Likewise.
8365         (FUNC_mpfr_if_f): Likewise.
8366         (FUNC_mpc_c_f): Likewise.
8367         (FUNC_mpc_c_c): Likewise.
8368         (test_functions): Add fma.  Update calls to FUNC.
8369         (handle_input_arg): Add argument exact_args.
8370         (add_test): Update call to handle_input_arg.
8371         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8372         (output_for_one_input_case): Update call to calc_generic_results.
8373         Recalculate exact zero results in each rounding mode.
8374
8375         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8376         non-negative before setting low bit.
8377         * math/auto-libm-test-in: Mark one asin test possibly having
8378         spurious underflow.
8379         * math/auto-libm-test-out: Regenerated.
8380         * sysdeps/i386/fpu/libm-test-ulps: Update.
8381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8382
8383 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8384
8385         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8386         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8387         ports/sysdeps/unix/sysv/linux/microblaze.
8388         * README: Add missing listing for microblaze*-*-linux-gnu.
8389
8390 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8391
8392         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8393         * sysdeps/unix/sysv/linux/ia64: Move directory from
8394         ports/sysdeps/unix/sysv/linux/ia64.
8395         * README: Update listing for ia64-*-linux-gnu.
8396
8397 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8398             Joseph Myers  <joseph@codesourcery.com>
8399
8400         * Makeconfig (test-name): New variable.
8401         (evaluate-test): Likewise.
8402         * Makerules (do-test-clean): Remove .test-result files.
8403         (common-mostlyclean): Likewise.
8404         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8405         * scripts/evaluate-test.sh: New file.
8406
8407 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8408
8409         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8410         separate $(objpfx)tst-fopenloc-cmp.out and
8411         $(objpfx)tst-fopenloc-mem.out targets.
8412         (tests): Update dependencies.
8413         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8414         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8415         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8416         (tst-rxspencer-no-utf8-ARGS): New variable.
8417         (tst-rxspencer-no-utf8-ENV): Likewise.
8418         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8419         instead of $(objpfx)tst-rxspencer-mem.
8420         ($(objpfx)tst-rxspencer-mem): Change target to
8421         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8422         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8423         * posix/tst-rxspencer-no-utf8.c: New file.
8424
8425         * elf/Makefile ($(objpfx)order.out): Remove rule.
8426         [$(run-built-tests) = yes] (tests): Depend on
8427         $(objpfx)order-cmp.out.
8428         ($(objpfx)order-cmp.out): New rule.
8429         [$(run-built-tests) = yes] (tests): Depend on
8430         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8431         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8432         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8433         $(objpfx)tst-array5-static-cmp.out.
8434         ($(objpfx)tst-array1.out): Remove rule.
8435         ($(objpfx)tst-array1-cmp.out): New rule.
8436         ($(objpfx)tst-array1-static.out): Remove rule.
8437         ($(objpfx)tst-array1-static-cmp.out): New rule.
8438         ($(objpfx)tst-array2.out): Remove rule.
8439         ($(objpfx)tst-array2-cmp.out): New rule.
8440         ($(objpfx)tst-array3.out): Remove rule.
8441         ($(objpfx)tst-array3-cmp.out): New rule.
8442         ($(objpfx)tst-array4.out): Remove rule.
8443         ($(objpfx)tst-array4-cmp.out): New rule.
8444         ($(objpfx)tst-array5.out): Remove rule.
8445         ($(objpfx)tst-array5-cmp.out): New rule.
8446         ($(objpfx)tst-array5-static.out): Remove rule.
8447         ($(objpfx)tst-array5-static-cmp.out): New rule.
8448         [$(run-built-tests) = yes] (tests): Depend on
8449         $(objpfx)order2-cmp.out.
8450         ($(objpfx)order2.out): Remove rule.
8451         ($(objpfx)order2-cmp.out): New rule.
8452         ($(objpfx)tst-initorder.out): Remove rule.
8453         [$(run-built-tests) = yes] (tests): Depend on
8454         $(objpfx)tst-initorder-cmp.out.
8455         ($(objpfx)tst-initorder-cmp.out): New rule.
8456         ($(objpfx)tst-initorder2.out): Remove rule.
8457         [$(run-built-tests) = yes] (tests): Depend on
8458         $(objpfx)tst-initorder2-cmp.out.
8459         ($(objpfx)tst-initorder2-cmp.out): New rule.
8460         [$(run-built-tests) = yes] (tests): Depend on
8461         $(objpfx)tst-unused-dep-cmp.out.
8462         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8463         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8464         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8465         on $(objpfx)tst-setvbuf1-cmp.out.
8466         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8467         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8468         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8469         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8470         ($(objpfx)tst-svc.out): Remove rule.
8471         ($(objpfx)tst-svc-cmp.out): New rule.
8472
8473 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8474
8475         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8476         * ctype/ctype.h [__USE_MISC]: Likewise.
8477         * dirent/dirent.h [__USE_MISC]: Likewise.
8478         * grp/grp.h [__USE_MISC]: Likewise.
8479         * io/fcntl.h [__USE_MISC]: Likewise.
8480         * io/sys/stat.h [__USE_MISC]: Likewise.
8481         * libio/stdio.h [__USE_MISC]: Likewise.
8482         * posix/unistd.h [__USE_MISC]: Likewise.
8483         * pwd/pwd.h [__USE_MISC]: Likewise.
8484         * stdlib.h [__USE_MISC]: Likewise.
8485         * string/bits/string2.h [__USE_MISC]: Likewise.
8486         * string/string.h [__USE_MISC]: Likewise.
8487         * time/time.h [__USE_MISC]: Likewise.
8488
8489 2014-02-13  Andreas Schwab  <schwab@suse.de>
8490
8491         [BZ #16574]
8492         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8493         second answer buffer if it was separately allocated.
8494
8495 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8496
8497         * sysdeps/mips/math-tests.h: Include <features.h>.
8498         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8499         (ROUNDING_TESTS_long_double): Do not define.
8500         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8501         (EXCEPTION_TESTS_long_double): Likewise.
8502         * sysdeps/mips/mips64/libm-test-ulps: Update.
8503
8504         * include/features.h (__USE_BSD): Remove macro definitions.
8505         (__USE_SVID): Likewise.
8506         (_BSD_SOURCE): Likewise.
8507         (_SVID_SOURCE): Likewise.
8508         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8509         from definition of _DEFAULT_SOURCE.
8510         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8511         [_DEFAULT_SOURCE].
8512         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8513         * bits/mman.h [__USE_BSD]: Likewise.
8514         * bits/termios.h [__USE_BSD]: Likewise.
8515         * bits/waitstatus.h [__USE_BSD]: Likewise.
8516         * ctype/ctype.h [__USE_SVID]: Likewise.
8517         * dirent/dirent.h [__USE_BSD]: Likewise.
8518         * grp/grp.h [__USE_SVID]: Likewise.
8519         [__USE_BSD]: Likewise.
8520         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8521         * io/fcntl.h [__USE_BSD]: Likewise.
8522         * io/ftw.h [__USE_BSD]: Likewise.
8523         * io/sys/stat.h [__USE_BSD]: Likewise.
8524         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8525         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8526         * libio/stdio.h [__USE_SVID]: Likewise.
8527         [__USE_BSD]: Likewise.
8528         * math/math.h [__USE_SVID]: Likewise.
8529         [__USE_BSD]: Likewise.
8530         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8531         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8532         * misc/search.h [__USE_SVID]: Likewise.
8533         * misc/sys/mman.h [__USE_BSD]: Likewise.
8534         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8535         * misc/sys/uio.h [__USE_BSD]: Likewise.
8536         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8537         * posix/glob.h [__USE_BSD]: Likewise.
8538         * posix/regex.h [__USE_BSD]: Likewise.
8539         * posix/sys/types.h [__USE_BSD]: Likewise.
8540         [__USE_SVID]: Likewise.
8541         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8542         * posix/sys/wait.h [__USE_BSD]: Likewise.
8543         [__USE_SVID]: Likewise.
8544         * posix/unistd.h [__USE_BSD]: Likewise.
8545         [__USE_SVID]: Likewise.
8546         * pwd/pwd.h [__USE_SVID]: Likewise.
8547         * resolv/netdb.h [__USE_BSD]: Likewise.
8548         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8549         * signal/signal.h [__USE_BSD]: Likewise.
8550         [__USE_SVID]: Likewise.
8551         * socket/sys/socket.h [__USE_BSD]: Likewise.
8552         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8553         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8554         [__USE_SVID]: Likewise.
8555         * string/bits/string2.h [__USE_BSD]: Likewise.
8556         [__USE_SVID]: Likewise.
8557         * string/bits/string3.h [__USE_BSD]: Likewise.
8558         * string/endian.h [__USE_BSD]: Likewise.
8559         * string/string.h [__USE_SVID]: Likewise.
8560         [__USE_BSD]: Likewise.
8561         * string/strings.h [__USE_BSD]: Likewise.
8562         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8563         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8564         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8565         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8566         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8568         Likewise.
8569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8570         Likewise.
8571         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8575         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8576         Likewise.
8577         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8578         Likewise.
8579         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8580         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8582         Likewise.
8583         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8584         Likewise.
8585         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8586         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8587         * termios/termios.h [__USE_BSD]: Likewise.
8588         * time/sys/time.h [__USE_BSD]: Likewise.
8589         * time/time.h [__USE_BSD]: Likewise.
8590         [__USE_SVID]: Likewise.
8591
8592         * Makefile (subdir_targets): Remove subdir_lint.out.
8593
8594         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8595         (do-tst-printf): Likewise.
8596         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8597         $(objpfx)tst-printf.out.
8598
8599         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8600
8601         * Makerules (check-abi-%): Change target to
8602         $(objpfx)check-abi-%.out.
8603         (check-abi target): Update dependencies.
8604         (check-abi-pattern variable): Redirect output of diff to $@.
8605         (check-abi variable): Likewise.
8606         * elf/Makefile (check-abi): Update dependencies.
8607
8608         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8609         unused.
8610         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8611         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8612         subnormal range.
8613         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8614         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8615         value has largest subnormal exponent.
8616         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8617         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8618         * sysdeps/aarch64/soft-fp/sfp-machine.h
8619         (_FP_TININESS_AFTER_ROUNDING): New macro.
8620         * sysdeps/alpha/soft-fp/sfp-machine.h
8621         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8623         Likewise.
8624         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8625         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8626         * sysdeps/mips/soft-fp/sfp-machine.h
8627         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8628         * sysdeps/powerpc/soft-fp/sfp-machine.h
8629         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8630         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8631         Likewise.
8632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8633         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8636         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8637         Likewise.
8638
8639 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8640
8641         [BZ #16545]
8642         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8643         model 1.
8644
8645 2014-02-12  Richard Henderson  <rth@redhat.com>
8646
8647         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8648         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8649         * sysdeps/unix/sysv/linux/alpha: Move directory from
8650         ports/sysdeps/unix/sysv/linux/alpha.
8651         * README: Update listing for alpha-*-linux-gnu.
8652
8653 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8654
8655         * include/features.h: Update comment documenting feature test
8656         macros.
8657         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8658         _DEFAULT_SOURCE.
8659         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8660         (_SVID_SOURCE): Likewise.
8661         (_DEFAULT_SOURCE): Update description of default features.
8662         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8663         with _GNU_SOURCE.
8664         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8665         (S_ISVTX): Likewise.
8666         * manual/math.texi (Mathematical Constants): Likewise.
8667         * manual/signal.texi (Interrupted Primitives): Likewise.
8668         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8669         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8670         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8671         Don't refer to _SVID_SOURCE in warning text.
8672
8673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8674
8675         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8676         already defined.
8677         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8678         * sysdeps/mips/dl-lookup.c: Remove.
8679         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8680
8681 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8682
8683         [BZ #16447]
8684         * math/auto-libm-test-in: Add testcase for expl.
8685         * math/auto-libm-test-out: Regenerate.
8686         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8687         calculation of unsafe.
8688         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8689
8690 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8691
8692         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8693         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8694         ports/sysdeps/unix/sysv/linux/aarch64.
8695         * README: Update listing for aarch64*-*-linux-gnu.
8696
8697 2014-02-11  Will Newton  <will.newton@linaro.org>
8698
8699         * manual/probes.texi (Mathematical Function Probes): Use
8700         "triggered" instead of "hit".
8701
8702         * manual/probes.texi (Internal Probes): Add documentation
8703         of setjmp, longjmp and longjmp_target probes.
8704
8705         * include/stap-probe.h: Add comment about probe argument
8706         format.
8707
8708         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8709         definition.  (tr_where, tr_freehook, tr_mallochook,
8710         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8711
8712 2014-02-11  David S. Miller  <davem@davemloft.net>
8713
8714         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8715         processing int_tests.
8716
8717 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8718
8719         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8720         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8721         * sysdeps/unix/sysv/linux/mips: Move directory from
8722         ports/sysdeps/unix/sysv/linux/mips.
8723         * README: Update listing for mips-*-linux-gnu and
8724         mips64-*-linux-gnu.
8725
8726 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8727
8728         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8729         * sysdeps/unix/sysv/linux/m68k: Move directory from
8730         ports/sysdeps/unix/sysv/linux/m68k.
8731         * README: Update listing for m68k-*-linux-gnu.
8732
8733 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8734
8735         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8736         * sysdeps/unix/sysv/linux/generic: Move directory from
8737         ports/sysdeps/unix/sysv/linux/generic.
8738         * sysdeps/unix/sysv/linux/tile: Move directory from
8739         ports/sysdeps/unix/sysv/linux/tile.
8740         * README: Update listing for tile*-*-linux-gnu.
8741
8742 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8743
8744         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8745         __builtin_expect.
8746         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8747         * catgets/open_catalog.c (__open_catalog): Likewise.
8748         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8749         * debug/confstr_chk.c: Likewise.
8750         * debug/fread_chk.c (__fread_chk): Likewise.
8751         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8752         * debug/getgroups_chk.c: Likewise.
8753         * debug/mbsnrtowcs_chk.c: Likewise.
8754         * debug/mbsrtowcs_chk.c: Likewise.
8755         * debug/mbstowcs_chk.c: Likewise.
8756         * debug/memcpy_chk.c: Likewise.
8757         * debug/memmove_chk.c: Likewise.
8758         * debug/mempcpy_chk.c: Likewise.
8759         * debug/memset_chk.c: Likewise.
8760         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8761         * debug/strcat_chk.c (__strcat_chk): Likewise.
8762         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8763         * debug/strncat_chk.c (__strncat_chk): Likewise.
8764         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8765         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8766         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8767         * debug/wcpncpy_chk.c: Likewise.
8768         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8769         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8770         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8771         * debug/wcsncpy_chk.c: Likewise.
8772         * debug/wcsnrtombs_chk.c: Likewise.
8773         * debug/wcsrtombs_chk.c: Likewise.
8774         * debug/wcstombs_chk.c: Likewise.
8775         * debug/wmemcpy_chk.c: Likewise.
8776         * debug/wmemmove_chk.c: Likewise.
8777         * debug/wmempcpy_chk.c: Likewise.
8778         * debug/wmemset_chk.c: Likewise.
8779         * dirent/scandirat.c (SCANDIRAT): Likewise.
8780         * dlfcn/dladdr1.c (dladdr1): Likewise.
8781         * dlfcn/dladdr.c (dladdr): Likewise.
8782         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8783         * dlfcn/dlerror.c (__dlerror): Likewise.
8784         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8785         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8786         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8787         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8788         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8789         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8790         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8791         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8792         Likewise.
8793         * elf/dl-conflict.c: Likewise.
8794         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8795         * elf/dl-dst.h: Likewise.
8796         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8797         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8799         * elf/dl-init.c (call_init, _dl_init): Likewise.
8800         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8801         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8802         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8803         Likewise.
8804         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8805         Likewise.
8806         * elf/dl-minimal.c (__libc_memalign): Likewise.
8807         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8808         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8809         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8810         * elf/dl-sym.c (do_sym): Likewise.
8811         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8812         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8813         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8814         * elf/dl-writev.h (_dl_writev): Likewise.
8815         * elf/ldconfig.c (search_dir): Likewise.
8816         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8817         (dl_main): Likewise.
8818         * elf/setup-vdso.h (setup_vdso): Likewise.
8819         * grp/compat-initgroups.c (compat_call): Likewise.
8820         * grp/fgetgrent.c (fgetgrent): Likewise.
8821         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8822         * grp/putgrent.c (putgrent): Likewise.
8823         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8824         Likewise.
8825         * hurd/hurdinit.c: Likewise.
8826         * iconvdata/8bit-gap.c (struct): Likewise.
8827         * iconvdata/ansi_x3.110.c : Likewise.
8828         * iconvdata/big5.c : Likewise.
8829         * iconvdata/big5hkscs.c : Likewise.
8830         * iconvdata/cp1255.c: Likewise.
8831         * iconvdata/cp1258.c : Likewise.
8832         * iconvdata/cp932.c : Likewise.
8833         * iconvdata/euc-cn.c: Likewise.
8834         * iconvdata/euc-jisx0213.c : Likewise.
8835         * iconvdata/euc-jp.c: Likewise.
8836         * iconvdata/euc-jp-ms.c : Likewise.
8837         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8838         * iconvdata/gb18030.c : Likewise.
8839         * iconvdata/gbbig5.c (const): Likewise.
8840         * iconvdata/gbgbk.c: Likewise.
8841         * iconvdata/gbk.c : Likewise.
8842         * iconvdata/ibm1364.c : Likewise.
8843         * iconvdata/ibm930.c : Likewise.
8844         * iconvdata/ibm932.c: Likewise.
8845         * iconvdata/ibm933.c : Likewise.
8846         * iconvdata/ibm935.c : Likewise.
8847         * iconvdata/ibm937.c : Likewise.
8848         * iconvdata/ibm939.c : Likewise.
8849         * iconvdata/ibm943.c: Likewise.
8850         * iconvdata/iso_11548-1.c: Likewise.
8851         * iconvdata/iso-2022-cn.c : Likewise.
8852         * iconvdata/iso-2022-cn-ext.c : Likewise.
8853         * iconvdata/iso-2022-jp-3.c: Likewise.
8854         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8855         * iconvdata/iso-2022-kr.c : Likewise.
8856         * iconvdata/iso646.c (gconv_end): Likewise.
8857         * iconvdata/iso_6937-2.c : Likewise.
8858         * iconvdata/iso_6937.c : Likewise.
8859         * iconvdata/iso8859-1.c: Likewise.
8860         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8861         * iconvdata/shift_jisx0213.c : Likewise.
8862         * iconvdata/sjis.c : Likewise.
8863         * iconvdata/t.61.c : Likewise.
8864         * iconvdata/tcvn5712-1.c : Likewise.
8865         * iconvdata/tscii.c: Likewise.
8866         * iconvdata/uhc.c : Likewise.
8867         * iconvdata/unicode.c (gconv_end): Likewise.
8868         * iconvdata/utf-16.c (gconv_end): Likewise.
8869         * iconvdata/utf-32.c (gconv_end): Likewise.
8870         * iconvdata/utf-7.c (base64): Likewise.
8871         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8872         * iconv/gconv_close.c (__gconv_close): Likewise.
8873         * iconv/gconv_open.c (__gconv_open): Likewise.
8874         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8875         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8876         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8877         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8878         (ucs4le_internal_loop_single): Likewise.
8879         * iconv/iconv.c (iconv): Likewise.
8880         * iconv/iconv_close.c: Likewise.
8881         * iconv/loop.c (SINGLE): Likewise.
8882         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8883         * include/atomic.h: Likewise.
8884         * inet/inet6_option.c (option_alloc): Likewise.
8885         * intl/bindtextdom.c (set_binding_values): Likewise.
8886         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8887         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8888         * intl/localealias.c (read_alias_file): Likewise.
8889         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8890         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8891         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8892         * libio/fmemopen.c (fmemopen): Likewise.
8893         * libio/iofgets.c (_IO_fgets): Likewise.
8894         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8895         * libio/iofgetws.c (fgetws): Likewise.
8896         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8897         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8898         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8899         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8900         * locale/findlocale.c (_nl_find_locale): Likewise.
8901         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8902         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8903         Likewise.
8904         * locale/setlocale.c (setlocale): Likewise.
8905         * login/programs/pt_chown.c (main): Likewise.
8906         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8907         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8908         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8909         (mmap, mmap64, mremap, munmap): Likewise.
8910         * math/e_exp2l.c: Likewise.
8911         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8912         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8913         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8914         * math/s_catan.c (__catan): Likewise.
8915         * math/s_catanf.c (__catanf): Likewise.
8916         * math/s_catanh.c (__catanh): Likewise.
8917         * math/s_catanhf.c (__catanhf): Likewise.
8918         * math/s_catanhl.c (__catanhl): Likewise.
8919         * math/s_catanl.c (__catanl): Likewise.
8920         * math/s_ccosh.c (__ccosh): Likewise.
8921         * math/s_ccoshf.c (__ccoshf): Likewise.
8922         * math/s_ccoshl.c (__ccoshl): Likewise.
8923         * math/s_cexp.c (__cexp): Likewise.
8924         * math/s_cexpf.c (__cexpf): Likewise.
8925         * math/s_cexpl.c (__cexpl): Likewise.
8926         * math/s_clog10.c (__clog10): Likewise.
8927         * math/s_clog10f.c (__clog10f): Likewise.
8928         * math/s_clog10l.c (__clog10l): Likewise.
8929         * math/s_clog.c (__clog): Likewise.
8930         * math/s_clogf.c (__clogf): Likewise.
8931         * math/s_clogl.c (__clogl): Likewise.
8932         * math/s_csin.c (__csin): Likewise.
8933         * math/s_csinf.c (__csinf): Likewise.
8934         * math/s_csinh.c (__csinh): Likewise.
8935         * math/s_csinhf.c (__csinhf): Likewise.
8936         * math/s_csinhl.c (__csinhl): Likewise.
8937         * math/s_csinl.c (__csinl): Likewise.
8938         * math/s_csqrt.c (__csqrt): Likewise.
8939         * math/s_csqrtf.c (__csqrtf): Likewise.
8940         * math/s_csqrtl.c (__csqrtl): Likewise.
8941         * math/s_ctan.c (__ctan): Likewise.
8942         * math/s_ctanf.c (__ctanf): Likewise.
8943         * math/s_ctanh.c (__ctanh): Likewise.
8944         * math/s_ctanhf.c (__ctanhf): Likewise.
8945         * math/s_ctanhl.c (__ctanhl): Likewise.
8946         * math/s_ctanl.c (__ctanl): Likewise.
8947         * math/w_pow.c: Likewise.
8948         * math/w_powf.c: Likewise.
8949         * math/w_powl.c: Likewise.
8950         * math/w_scalb.c (sysv_scalb): Likewise.
8951         * math/w_scalbf.c (sysv_scalbf): Likewise.
8952         * math/w_scalbl.c (sysv_scalbl): Likewise.
8953         * misc/error.c (error_tail): Likewise.
8954         * misc/pselect.c (__pselect): Likewise.
8955         * nis/nis_callback.c (__nis_create_callback): Likewise.
8956         * nis/nis_call.c (__nisfind_server): Likewise.
8957         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8958         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8959         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8960         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8961         * nis/nis_lookup.c (nis_lookup): Likewise.
8962         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8963         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8964         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8965         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8966         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8967         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8968         * nis/nss_compat/compat-initgroups.c (add_group)
8969         (internal_getgrent_r): Likewise.
8970         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8971         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8972         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8973         (internal_getspnam_r): Likewise.
8974         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8975         (_nss_nis_getaliasbyname_r): Likewise.
8976         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8977         (_nss_nis_getntohost_r): Likewise.
8978         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8979         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8980         (_nss_nis_getgrgid_r): Likewise.
8981         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8982         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8983         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8984         (_nss_nis_gethostbyname4_r): Likewise.
8985         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8986         (initgroups_netid): Likewise.
8987         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8988         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8989         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8990         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8991         (_nss_nis_getprotobynumber_r): Likewise.
8992         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8993         (_nss_nis_getsecretkey): Likewise.
8994         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8995         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8996         (_nss_nis_getpwuid_r): Likewise.
8997         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8998         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8999         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9000         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9001         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9002         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9003         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9004         Likewise.
9005         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9006         (_nss_nisplus_getntohost_r): Likewise.
9007         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9008         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9009         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9010         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9011         Likewise.
9012         * nis/nss_nisplus/nisplus-initgroups.c
9013         (_nss_nisplus_initgroups_dyn): Likewise.
9014         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9015         (_nss_nisplus_getnetbyaddr_r): Likewise.
9016         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9017         (_nss_nisplus_getprotobynumber_r): Likewise.
9018         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9019         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9020         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9021         Likewise.
9022         * nis/nss_nisplus/nisplus-service.c
9023         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9024         (_nss_nisplus_getservbyport_r): Likewise.
9025         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9026         (_nss_nisplus_getspnam_r): Likewise.
9027         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9028         Likewise.
9029         * nscd/aicache.c (addhstaiX): Likewise.
9030         * nscd/cache.c (cache_search, prune_cache): Likewise.
9031         * nscd/connections.c (register_traced_file, send_ro_fd)
9032         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9033         (main_loop_epoll): Likewise.
9034         * nscd/grpcache.c (addgrbyX): Likewise.
9035         * nscd/hstcache.c (addhstbyX): Likewise.
9036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9037         * nscd/mem.c (gc, mempool_alloc): Likewise.
9038         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9039         (addinnetgrX): Likewise.
9040         * nscd/nscd-client.h (__nscd_acquire_maplock)
9041         (__nscd_drop_map_ref): Likewise.
9042         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9043         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9044         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9045         Likewise.
9046         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9047         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9048         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9049         (__nscd_get_map_ref): Likewise.
9050         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9051         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9052         Likewise.
9053         * nscd/pwdcache.c (addpwbyX): Likewise.
9054         * nscd/selinux.c (preserve_capabilities): Likewise.
9055         * nscd/servicescache.c (addservbyX): Likewise.
9056         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9057         * posix/fnmatch.c (fnmatch): Likewise.
9058         * posix/getopt.c (_getopt_internal_r): Likewise.
9059         * posix/glob.c (glob, glob_in_dir): Likewise.
9060         * posix/wordexp.c (exec_comm_child): Likewise.
9061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9062         (getanswer_r, gaih_getanswer_slice): Likewise.
9063         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9064         * resolv/res_init.c: Likewise.
9065         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9066         * resolv/res_query.c (__libc_res_nquery): Likewise.
9067         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9068         Likewise.
9069         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9070         * stdio-common/perror.c (perror): Likewise.
9071         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9072         * stdio-common/tmpnam.c (tmpnam): Likewise.
9073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9074         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9075         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9076         Likewise.
9077         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9078         * stdlib/putenv.c (putenv): Likewise.
9079         * stdlib/setenv.c (__add_to_environ): Likewise.
9080         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9081         * stdlib/strtol_l.c (INTERNAL): Likewise.
9082         * string/memmem.c (memmem): Likewise.
9083         * string/strerror.c (strerror): Likewise.
9084         * string/strnlen.c (__strnlen): Likewise.
9085         * string/test-memmem.c (simple_memmem): Likewise.
9086         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9087         * sunrpc/pm_getport.c (__get_socket): Likewise.
9088         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9089         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9090         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9091         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9092         Likewise.
9093         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9094         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9095         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9096         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9098         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9099         Likewise.
9100         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9101         Likewise.
9102         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9103         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9105         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9106         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9108         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9109         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9110         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9111         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9112         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9113         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9114         Likewise.
9115         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9116         Likewise.
9117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9118         Likewise.
9119         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9121         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9123         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9126         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9127         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9128         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9129         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9130         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9132         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9135         Likewise.
9136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9137         Likewise.
9138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9139         Likewise.
9140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9141         Likewise.
9142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9144         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9145         Likewise.
9146         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9147         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9148         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9149         * sysdeps/posix/sleep.c: Likewise.
9150         * sysdeps/posix/tempname.c: Likewise.
9151         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9153         Likewise.
9154         * sysdeps/powerpc/powerpc32/dl-machine.h
9155         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9156         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9158         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9159         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9160         Likewise.
9161         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9162         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9163         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9164         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9165         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9166         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9167         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9168         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9172         (elf_machine_lazy_rel): Likewise.
9173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9175         (elf_machine_lazy_rel): Likewise.
9176         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9177         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9178         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9179         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9180         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9181         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9182         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9186         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9187         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9188         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9189         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9191         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9192         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9195         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9196         Likewise.
9197         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9198         (__posix_fallocate64_l64): Likewise.
9199         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9200         (posix_fallocate): Likewise.
9201         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9202         Likewise.
9203         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9204         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9205         (getifaddrs_internal): Likewise.
9206         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9207         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9208         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9209         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9210         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9211         (__posix_fallocate64_l64): Likewise.
9212         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9213         Likewise.
9214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9215         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9216         (__get_clockfreq): Likewise.
9217         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9218         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9219         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9222         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9223         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9225         Likewise.
9226         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9227         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9228         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9229         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9230         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9231         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9232         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9235         (posix_fallocate): Likewise.
9236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9237         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9238         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9239         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9240         (elf_machine_rela, elf_machine_rela_relative)
9241         (elf_machine_lazy_rel): Likewise.
9242         * time/asctime.c (asctime_internal): Likewise.
9243         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9244         * time/tzset.c (__tzset_parse_tz): Likewise.
9245         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9246         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9247         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9248         * wcsmbs/wcsmbsload.h: Likewise.
9249
9250         [BZ #15894]
9251         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9252
9253         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9254         (arena_get2): Remove THREAD_STATS conditionals.
9255         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9256         (__malloc_stats, int): Likewise.
9257
9258 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9259
9260         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9261         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9262
9263         * manual/setjmp.texi: Fix typos/grammar errors.
9264
9265         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9266         Only return early when n is <= 0.  Delete unused return statement.
9267
9268         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9269         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9270         * debug/tst-longjmp_chk3.c: New file.
9271
9272         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9273         (test_main): Replace code with set_fortify_handler call.
9274         * debug/test-strcpy_chk.c: Likewise.
9275         * debug/tst-chk1.c: Likewise.
9276         * debug/tst-longjmp_chk.c: Likewise.
9277         * test-skeleton.c: Include fcntl.h & paths.h
9278         (set_fortify_handler): Define.
9279
9280         * debug/tst-longjmp_chk.c: Add header comment and include
9281         ../test-skeleton.c.
9282         (do_test): Mark static.
9283         (TEST_FUNCTION): Define.
9284
9285         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9286         (IP_PMTUDISC_INTERFACE): Likewise.
9287         (IP_MULTICAST_IF): Likewise.
9288         (IP_MULTICAST_TTL): Likewise.
9289         (IP_MULTICAST_LOOP): Likewise.
9290         (IP_ADD_MEMBERSHIP): Likewise.
9291         (IP_DROP_MEMBERSHIP): Likewise.
9292         (IP_UNBLOCK_SOURCE): Likewise.
9293         (IP_BLOCK_SOURCE): Likewise.
9294         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9295         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9296         (IP_MSFILTER): Likewise.
9297         (MCAST_JOIN_GROUP): Likewise.
9298         (MCAST_BLOCK_SOURCE): Likewise.
9299         (MCAST_UNBLOCK_SOURCE): Likewise.
9300         (MCAST_LEAVE_GROUP): Likewise.
9301         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9302         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9303         (MCAST_MSFILTER): Likewise.
9304         (IP_MULTICAST_ALL): Likewise.
9305         (IP_UNICAST_IF): Likewise.
9306
9307         * timezone/Makefile: Delete $(have-ksh) check.
9308         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9309         * timezone/tzselect.ksh: Add +x mode bits.
9310
9311         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9312         (ANON_INODE_FS_MAGIC): Likewise.
9313         (BDEVFS_MAGIC): Likewise.
9314         (BINFMTFS_MAGIC): Likewise.
9315         (BTRFS_TEST_MAGIC): Likewise.
9316         (CRAMFS_MAGIC_WEND): Likewise.
9317         (DEBUGFS_MAGIC): Likewise.
9318         (ECRYPTFS_SUPER_MAGIC): Likewise.
9319         (EXT3_SUPER_MAGIC): Likewise.
9320         (EXT4_SUPER_MAGIC): Likewise.
9321         (FUTEXFS_SUPER_MAGIC): Likewise.
9322         (HOSTFS_SUPER_MAGIC): Likewise.
9323         (HUGETLBFS_MAGIC): Likewise.
9324         (MINIX3_SUPER_MAGIC): Likewise.
9325         (MTD_INODE_FS_MAGIC): Likewise.
9326         (NILFS_SUPER_MAGIC): Likewise.
9327         (OPENPROM_SUPER_MAGIC): Likewise.
9328         (PIPEFS_MAGIC): Likewise.
9329         (PSTOREFS_MAGIC): Likewise.
9330         (QNX6_SUPER_MAGIC): Likewise.
9331         (RAMFS_MAGIC): Likewise.
9332         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9333         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9334         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9335         (SECURITYFS_MAGIC): Likewise.
9336         (SELINUX_MAGIC): Likewise.
9337         (SMACK_MAGIC): Likewise.
9338         (SOCKFS_MAGIC): Likewise.
9339         (SQUASHFS_MAGIC): Likewise.
9340         (STACK_END_MAGIC): Likewise.
9341         (TMPFS_MAGIC): Likewise.
9342         (USBDEVICE_SUPER_MAGIC): Likewise.
9343         (V9FS_MAGIC): Likewise.
9344         (XENFS_SUPER_MAGIC): Likewise.
9345         (CRAMFS_MAGIC): Fix typo in comment.
9346         (EXT2_SUPER_MAGIC): Update comment.
9347         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9348
9349 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9350
9351         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9352         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9353         * sysdeps/unix/sysv/linux/arm: Move directory from
9354         ports/sysdeps/unix/sysv/linux/arm.
9355         * README: Update listing for arm-*-linux-gnueabi.
9356
9357         * README: Remove mention of am33.
9358
9359 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9360
9361         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9362         than the comma operator, to avoid "rhs of comma has no effect"
9363         compiler warnings.
9364         (__sigfillset, __sigandset, __sigorset): Likewise.
9365         * include/signal.h (__sigemptyset): Likewise.
9366         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9367
9368 2014-02-07  Allan McRae  <allan@archlinux.org>
9369
9370         * version.h (RELEASE): Set to "development".
9371         (VERSION): Set to "2.19.90"
9372         * NEWS: Add 2.20 section.
9373
9374 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9375
9376         [BZ #16529]
9377         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9378
9379 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9380
9381         * manual/contrib.texi: Update entry for Carlos O'Donell,
9382         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9383
9384 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9385
9386         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9387
9388         * sysdeps/unix/sysv/linux/kernel-features.h
9389         [__LINUX_KERNEL_VERSION >= 0x020621]
9390         (__ASSUME_PROC_PID_TASK_COMM): Define.
9391
9392 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9393
9394         [BZ #16398]
9395         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9396         conversion when destination buffer does not have enough space.
9397         * libio/tst-ftell-partial-wide.c: New test case.
9398         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9399
9400         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9401         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9402         Leonard and Allan McRae.
9403
9404 2014-02-04  David S. Miller  <davem@davemloft.net>
9405
9406         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9407         32-bit.
9408
9409 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9410
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9412         New file
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9414         New file
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9416         New file.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9418         New file.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9420         New file.
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9422         New file.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9424         New file.
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9426         New file.
9427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9428         New file.
9429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9430         New file.
9431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9432         New file.
9433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9434         New file.
9435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9436         New file.
9437
9438 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9439
9440         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9441         * shlib-versions: Likewise.
9442
9443 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9445
9446         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9447         (abilist-pattern): New variable, set to %-le.abilist.
9448
9449         * Makerules (abilist-pattern): New variable.
9450         (vpath): Use $(abilist-pattern) in place of %.abilist.
9451         (check-abi-% pattern rule): Likewise.
9452         (check-abi, update-abi): Likewise.
9453
9454 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9455
9456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9457
9458 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9459
9460         * manual/startup.texi: Add next, previous, and top entries for
9461         the `Program Arguments' and `Environment Variables' nodes.
9462
9463 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9464
9465         * manual/macros.texi: Add comments before MTASC-safety macros.
9466
9467         * manual/users.texi: Document MTASC-safety properties.
9468
9469         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9470         (pthread_getspecific, pthread_setspecific): Format with
9471         @deftypefun, and add @safety note.
9472         * manual/signal.texi: Move comments that analyze the above
9473         functions to their home place.
9474
9475 2014-02-03  Allan McRae  <allan@archlinux.org>
9476
9477         * po/sl.po: Update Slovenian translation from translation project.
9478
9479 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9480
9481         * manual/time.texi (timegm): Add missing blank after @c.
9482         Reported by Joseph Myers <joseph@codesourcery.com>.
9483
9484 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9485
9486         * manual/check-safety.sh: New.
9487         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9488
9489         * manual/terminal.texi: Document MTASC-safety properties.
9490
9491         * manual/filesys.texi: Document MTASC-safety properties.
9492
9493         * manual/errno.texi: Document MTASC-safety properties.
9494
9495         * manual/intro.texi: Document safety identifiers and
9496         conditionals.
9497
9498         * manual/string.texi (wcstok): Fix prototype.
9499         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9500
9501         * manual/time.texi: Document MTASC-safety properties.
9502
9503         * manual/string.texi: Document MTASC-safety properties.
9504
9505         * manual/threads.texi: Document MTASC-safety properties.
9506
9507         * manual/stdio.texi: Document MTASC-safety properties.
9508
9509         * manual/syslog.texi: Document MTASC-safety properties.
9510
9511         * manual/sysinfo.texi: Document MTASC-safety properties.
9512
9513         * manual/startup.texi: Document MTASC-safety properties.
9514
9515         * manual/socket.texi: Document MTASC-safety properties.
9516
9517         * manual/signal.texi: Document MTASC-safety properties.
9518
9519 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9520
9521         * manual/setjmp.texi: Document MTASC-safety properties.
9522
9523         * manual/search.texi: Document MTASC-safety properties.
9524
9525         * manual/resource.texi: Document MTASC-safety properties.
9526
9527         * manual/process.texi: Document MTASC-safety properties.
9528
9529         * manual/platform.texi: Document MTASC-safety properties.
9530
9531         * manual/pipe.texi: Document MTASC-safety properties.
9532
9533         * manual/pattern.texi: Document MTASC-safety properties.
9534
9535         * manual/message.texi: Document MTASC-safety properties.
9536
9537         [BZ #12751]
9538         * manual/memory.texi: Document MTASC-safety properties.
9539
9540         * manual/math.texi: Document MTASC-safety properties.
9541
9542         * manual/locale.texi: Document MTASC-safety properties.
9543
9544         * manual/llio.texi: Document MTASC-safety properties.
9545
9546         * manual/libdl.texi: New.
9547
9548         * manual/lang.texi: Document MTASC-safety properties.
9549
9550         * manual/job.texi: Document MTASC-safety properties.
9551
9552         * manual/getopt.texi: Document MTASC-safety properties.
9553
9554         * manual/ctype.texi: Document MTASC-safety properties.
9555
9556 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9557
9558         [BZ #16046]
9559         * csu/libc-tls.c (static_map): Remove variable.
9560         (__libc_setup_tls): Use main executable's link map for TLS data.
9561         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9562         casing for LM_ID_BASE and GL(dl_nns).
9563         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9564         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9565         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9566         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9567         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9568         member.
9569         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9570         l_phnum members.
9571
9572 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9573
9574         * manual/debug.texi: Document MTASC-safety properties.
9575
9576 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9577
9578         [BZ #16510]
9579         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9580         of __x86_64__ when disabling x87 inline functions.
9581
9582 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9583
9584         * manual/charset.texi: Document MTASC-safety properties.
9585
9586         * manual/crypt.texi: Document MTASC-safety properties.
9587
9588         * manual/conf.texi: Document MTASC-safety properties.
9589
9590         * manual/arith.texi: Document MTASC-safety properties.
9591
9592         * manual/argp.texi: Document MTASC-safety properties.
9593
9594         * manual/macros.texi: Introduce macros to document multi
9595         thread, asynchronous signal and asynchronous cancellation
9596         safety properties.
9597         * manual/intro.texi: Introduce the properties themselves.
9598
9599 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9600
9601         * sysdeps/sh/sh4/Makefile: New file.
9602
9603 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9604
9605         * math/gen-libm-test.pl ($srcdir): New variable.
9606         ($auto_input): Use it.
9607
9608 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9609
9610         [BZ #16506]
9611         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9612         access beyond array bounds when parsing netgroups file.
9613
9614         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9615         the old buffer before realloc.
9616
9617 2014-01-27  Allan McRae  <allan@archlinux.org>
9618
9619         * po/fr.po: Update French translation from translation project.
9620
9621 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9622
9623         * sysdeps/sh/libm-test-ulps: Regenerate.
9624
9625 2014-01-24  David S. Miller  <davem@davemloft.net>
9626
9627         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9628
9629 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9630
9631         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9632         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9633
9634 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9635
9636         [BZ #16474]
9637         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9638         string pointers after reallocation.
9639
9640 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9641
9642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9643         __SH4A__ instead of __SH_FPU_ANY__.
9644
9645 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9646
9647         * sysdeps/sh/fpu_control.h: New file.
9648         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9649         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9650         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9651         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9652         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9653         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9654         * sysdeps/sh/sys/ucontext.h: Remove.
9655         * sysdeps/sh/sys: Remove directory.
9656
9657 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9658
9659         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9660         s390/sys/ucontext.h.
9661         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9663
9664 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9665
9666         [BZ #15605]
9667         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9668
9669 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9670
9671         [BZ#16431]
9672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9673         Adjust the vDSO correctly for internal calls.
9674         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9675
9676 2014-01-20  Allan McRae  <allan@archlinux.org>
9677
9678         * po/ca.po: Update Catalan translation from translation project.
9679
9680 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9681
9682         * sysdeps/s390/sotruss-lib.c: New file.
9683
9684 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9685
9686         [BZ#16430]
9687         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9688         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9689         local calls issues by not having a PLT stub required for IFUNC calls.
9690         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9691
9692 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9693
9694         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9695         * math/test-fpucw-static.c: Likewise.
9696
9697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9698
9699         [BZ #16453]
9700         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9701
9702 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9703
9704         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9705         implementation for powerpc.
9706
9707 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9708
9709         [BZ #14782]
9710         * sysdeps/posix/system.c (__libc_system): Do not enable
9711         asynchronous cancellation.
9712
9713 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9714
9715         [BZ #16427]
9716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9717         handling only for numbers special also in the IEEE case.
9718
9719 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9720
9721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9722
9723 2014-01-11  Allan McRae  <allan@archlinux.org>
9724
9725         * po/bg.po: Update Bulgarian translation from translation project.
9726
9727         * po/de.po: Update German translation from translation project.
9728
9729 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9730
9731         * sysdeps/generic/gcc-compat.h: New file.
9732
9733 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9734
9735         * benchtests/asin-inputs: Correct slow inputs.
9736         * benchtests/acos-inputs: Likewise.
9737
9738 2014-01-10  Allan McRae  <allan@archlinux.org>
9739
9740         * po:sv.po: Update Swedish translation from translation project.
9741
9742         * po/vi.po: Update Vietnamese translation from translation project.
9743
9744         * po/eo.po: Update Esperanto translation from translation project.
9745
9746         * po/cs.po: Update Czech translation from translation project.
9747
9748         * po/nl.po: Update Dutch translation from translation project.
9749
9750         * po/pl.po: Update Polish translation from translation project.
9751
9752         * po/ru.po: Update Russian translation from translation project.
9753
9754         * po/uk.po: Update Ukrainian translation from translation project.
9755
9756 2014-01-08  Brooks Moses  <bmoses@google.com>
9757
9758         * elf/dl-load.c: Fix comment typo.
9759
9760 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9761
9762         * po/header.pot: Rename to...
9763         * po/pot.header: ... this.
9764         * po/Makefile: Use pot.header.
9765
9766 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9767             Maxim Kuvyrkov  <maxim@kugelworks.com>
9768
9769         [BZ #16394]
9770         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9771         SRC and DEST against LEN.
9772
9773 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9774
9775         [BZ #16414]
9776         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9777         implementation.
9778         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9779
9780 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9781
9782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9783
9784 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9785
9786         [BZ #16408]
9787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9788         for large positive arguments.
9789
9790 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9791
9792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9793
9794         * math/auto-libm-test-in: Mark various tests with
9795         xfail-rounding:ldbl-128ibm.
9796         * math/auto-libm-test-out: Regenerated.
9797
9798         [BZ #16407]
9799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9800         Increase overflow threshold.
9801
9802 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9803
9804         [BZ #14286]
9805         * stdio-common/vfprintf.c: Check for integer overflow.
9806
9807 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9808
9809         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9810         the first argument and return value of __tls_get_addr_internal.
9811
9812 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9813
9814         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9815         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9816
9817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9818
9819         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9820         * sysdeps/s390/rtld-global-offsets.sym: New file.
9821         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9822         GLIBC_2.19 symbol.
9823         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9825         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9826         ... this.
9827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9828         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9829         ... this.
9830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9831         Regenerate.
9832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9833         Regenerate.
9834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9835         halfs of GPRs for high_gprs contexts.
9836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9837         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9838         field.
9839         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9840         uc_flags field.
9841         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9842         64 bit versions:
9843         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9844         for high GPRs (uc_high_gprs) and for future extensions
9845         (__reserved).
9846         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9847         for future extensions (__reserved).
9848         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9849         64 bit versions:
9850         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9851         SC_HIGHGPRS offset definition.
9852         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9853         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9854
9855         * Versions.def: Add GLIBC_2.19 for libpthread.
9856         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9857         siglongjmp for libpthread with GLIBC_2.19 symver.
9858         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9859         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9860         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9861         * sysdeps/s390/__longjmp.c: New file.
9862         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9863         * sysdeps/s390/longjmp.c: New file.
9864         * sysdeps/s390/setjmp.S: New file.
9865         * sysdeps/s390/sigjmp.S: New file.
9866         * sysdeps/s390/v1-longjmp.c: New file.
9867         * sysdeps/s390/v1-setjmp.h: New file.
9868         * sysdeps/s390/v1-sigjmp.c: New file.
9869         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9870         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9871         GLIBC_2.19 version.
9872         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9873         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9874         versioned symbols for ____longjmp_chk.
9875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9878         Regenerate.
9879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9880         Regenerate.
9881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9882         Regenerate.
9883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9884         Regenerate.
9885         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9886         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9887         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9888         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9889         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9890         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9891         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9892         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9893         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9894         * sysdeps/s390/rtld-__longjmp.c: New file.
9895         * sysdeps/s390/rtld-setjmp.S: New file.
9896
9897 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9898
9899         [BZ #16400]
9900         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9901         Return -__logl (x) for small positive arguments without evaluating
9902         a polynomial.
9903
9904 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9905
9906         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9907         Rename to ...
9908         (__ptrace_peeksiginfo_args): ... this.
9909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9912
9913 2014-01-06  Allan McRae  <allan@archlinux.org>
9914
9915         * inet/netinet/in.h: Fix typo in comment.
9916
9917 2014-01-05  Andreas Jaeger  <aj@suse.de>
9918
9919         * sysdeps/i386/fpu/libm-test-ulps: Update.
9920
9921 2014-01-05  Allan McRae  <allan@archlinux.org>
9922
9923         * po/libc.pot: Regenerated.
9924
9925         * malloc/memusagestat.c: Fix gettext call formatting.
9926
9927 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9928
9929         * nscd/nscd.c: Improve usage() output.
9930
9931 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9932
9933         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9934         * sysdeps/unix/sysv/linux/configure: Regenerated.
9935         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9937
9938 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9939
9940         [BZ #16390]
9941         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9942         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9943
9944 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9945
9946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9947         extra tokens at end of #undef directive.
9948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9949         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9951
9952 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9953
9954         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9955
9956         * math/auto-libm-test-in: Mark various tests with
9957         xfail-rounding:ldbl-128ibm.
9958         * math/auto-libm-test-out: Regenerated.
9959
9960 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9961
9962         [BZ #16386]
9963         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9964         numbers with subnormal high part when calculating exponent.
9965
9966         [BZ #16385]
9967         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9968         fabs.
9969
9970         [BZ #16384]
9971         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9972         M_LN2l.
9973         (__ieee754_acoshl): Use __log1pl not __log1p.
9974
9975 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9976
9977         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9978         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9979         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9980         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9981         (reused_arena, arena_get2): Convert to GNU style.
9982         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9983         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9984         (memalign_check, __malloc_set_state): Likewise.
9985         * malloc/mallocbug.c (main): Likewise.
9986         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9987         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9988         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9989         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9990         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9991         (__posix_memalign, malloc_info): Likewise.
9992         * malloc/malloc.h: Likewise.
9993         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9994         (mallochook, memalignhook, reallochook, mabort): Likewise.
9995         * malloc/mcheck.h: Likewise.
9996         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9997         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9998         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9999         * malloc/morecore.c (__default_morecore): Likewise.
10000         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10001         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10002         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10003         (print_and_abort): Likewise.
10004         * malloc/obstack.h: Likewise.
10005         * malloc/set-freeres.c (__libc_freeres): Likewise.
10006         * malloc/tst-mallocstate.c (main): Likewise.
10007         * malloc/tst-mtrace.c (main): Likewise.
10008         * malloc/tst-realloc.c (do_test): Likewise.
10009
10010 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10011
10012         [BZ #16366]
10013         * nscd/netgroupcache.c (do_notfound): New function.
10014         (addgetnetgrentX): Use it.
10015
10016         [BZ # 16365]
10017         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10018         NSS_STATUS_NOTFOUND.
10019
10020 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10021
10022         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10024
10025 2014-01-01  Allan McRae  <allan@archlinux.org>
10026
10027         * scripts/update-copyrights: Update configure input file suffix.
10028
10029         * NEWS: Update copyright year.
10030         * catgets/gencat.c: Likewise.
10031         * csu/version.c: Likewise.
10032         * debug/catchsegv.sh: Likewise.
10033         * debug/pcprofiledump.c: Likewise.
10034         * debug/xtrace.sh: Likewise.
10035         * elf/ldconfig.c: Likewise.
10036         * elf/ldd.bash.in: Likewise.
10037         * elf/pldd.c: Likewise.
10038         * elf/sotruss.ksh: Likewise.
10039         * elf/sprof.c: Likewise.
10040         * iconv/iconv_prog.c: Likewise.
10041         * iconv/iconvconfig.c: Likewise.
10042         * locale/programs/locale.c: Likewise.
10043         * locale/programs/localedef.c: Likewise.
10044         * login/programs/pt_chown.c: Likewise.
10045         * malloc/memusage.sh: Likewise.
10046         * malloc/memusagestat.c: Likewise.
10047         * malloc/mtrace.pl: Likewise.
10048         * manual/libc.texinfo: Likewise.
10049         * nscd/nscd.c: Likewise.
10050         * nss/getent.c: Likewise.
10051         * nss/makedb.c: Likewise.
10052         * posix/getconf.c: Likewise.
10053         * scripts/test-installation.pl: Likewise.
10054
10055         * All files with FSF copyright notices: Update copyright dates
10056         using scripts/update-copyrights.
10057         * intl/plural.c: Regenerated.
10058         * locale/programs/charmap-kw.h: Likewise.
10059         * locale/programs/locfile-kw.h: Likewise.
10060
10061 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10062
10063         * sysdeps/unix/sysv/linux/configure: Regenerated.
10064         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10065         the linux/fanotify.h header.
10066         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10067         HAVE_LINUX_FANOTIFY_H is defined.
10068
10069 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10070
10071         * benchtests/cos-inputs: New inputs.
10072         * benchtests/sin-inputs: Likewise.
10073
10074         * benchtests/atan-inputs: New inputs. Fix name of multiple
10075         precision fallback inputs.
10076
10077         * benchtests/atanh-inputs: New inputs.
10078         * benchtests/tanh-inputs: Likewise.
10079
10080         * benchtests/acosh-inputs: New inputs.
10081         * benchtests/asinh-inputs: Likewise.
10082
10083         * benchtests/cosh-inputs: New inputs.
10084         * benchtests/sinh-inputs: Likewise.
10085
10086         * benchtests/acos-inputs: Add more inputs.
10087         * benchtests/asin-inputs: Likewise.
10088
10089 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10090
10091         [BZ #16375]
10092         * manual/arith.texi: Fix spelling.
10093         * manual/charset.texi: Likewise.
10094         * manual/errno.texi: Likewise.
10095         * manual/filesys.texi: Likewise.
10096         * manual/lang.texi: Likewise.
10097         * manual/llio.texi: Likewise.
10098         * manual/locale.texi: Likewise.
10099         * manual/message.texi: Likewise.
10100         * manual/resource.texi: Likewise.
10101         * manual/search.texi: Likewise.
10102         * manual/setjmp.texi: Likewise.
10103         * manual/stdio.texi: Likewise.
10104         * manual/string.texi: Likewise.
10105         * manual/sysinfo.texi: Likewise.
10106         * manual/time.texi: Likewise.
10107
10108 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10109
10110         * po/sl.po: New file.
10111
10112 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10113
10114         * .gitignore: Add core/.gdbinit/.gdb_history.
10115
10116 2013-12-27  Allan McRae  <allan@archlinux.org>
10117
10118         [BZ #16369]
10119         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10120         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10121
10122 2013-12-24  Brooks Moses  <bmoses@google.com>
10123
10124         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10125         all compilers that claim C++98 compliance, not just GCC.
10126         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10127         Likewise.
10128
10129 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10130
10131         * NEWS: Restore accidentally deleted bug-fix entries.
10132
10133 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10134             Ondřej Bílka  <neleai@seznam.cz>
10135
10136         [BZ #15073]
10137         * malloc/malloc.c (_int_free): Perform sanity check only if we
10138         have_lock.
10139
10140 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10141
10142         [BZ #12986]
10143         * manual/stdio.texi (String Input Conversions): Clarify that character
10144         classes are not supported.
10145
10146 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10147
10148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10149
10150 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10151
10152         [BZ #16337]
10153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10154         Calculate results for small negative arguments directly rather
10155         than using reflection formula with special underflow handling.
10156
10157         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10158         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10159         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10160         (fchflags): Likewise.
10161         (revoke): Likewise.
10162         (setlogin): Likewise.
10163         (sigaltstack): Likewise.
10164         (wait4): Likewise.
10165         (sigblock): Remove.
10166         (sigsetmask): Likewise.
10167         (wait3): Likewise.
10168         (waitpid): Likewise.
10169         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10170         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10171         file.
10172         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10173         * sysdeps/unix/bsd/Makefile: ... here.
10174         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10175         * sysdeps/unix/bsd/Versions: ... here.
10176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10177         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10178         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10179         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10180         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10181         * sysdeps/unix/bsd/sigblock.c: ... here.
10182         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10183         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10184         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10185         * sysdeps/unix/bsd/sigvec.c: ... here.
10186         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10187         * sysdeps/unix/bsd/tcdrain.c: ... here.
10188         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10189         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10190         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10191         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10192         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10193         * sysdeps/unix/bsd/wait.c: ... here.
10194         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10195         * sysdeps/unix/bsd/wait3.c: ... here.
10196         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10197         * sysdeps/unix/bsd/waitpid.c: ... here.
10198
10199 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10200
10201         [BZ #16356]
10202         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10203         round-to-nearest for [!USE_AS_EXPM1L].
10204         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10205         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10206         more tests of exp and exp10.  Expect some exp10 tests to miss
10207         exceptions or fail in directed rounding modes.
10208         * math/auto-libm-test-out: Regenerated.
10209         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10210         (exp10_test_tonearest): New function.
10211         (exp10_towardzero_test_data): New array.
10212         (exp10_test_towardzero): New function.
10213         (exp10_downward_test_data): New array.
10214         (exp10_test_downward): New function.
10215         (exp10_upward_test_data): New array.
10216         (exp10_test_upward): New function.
10217         (main): Call the new functions.
10218         * sysdeps/i386/fpu/libm-test-ulps: Update.
10219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220
10221 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10222
10223         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10224         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10225         * math/auto-libm-test-out: Regenerated.
10226         * math/libm-test.inc (acosh_test_data): Add more tests.
10227         (atanh_test_data): Likewise.
10228         (ceil_test_data): Likewise.
10229         (copysign_test_data): Likewise.
10230         * sysdeps/i386/fpu/libm-test-ulps: Update.
10231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10232
10233         * timezone/checktab.awk: Update from tzcode 2013i.
10234         * timezone/private.h: Likewise.
10235         * timezone/scheck.c: Likewise.
10236         * timezone/tzfile.h: Likewise.
10237         * timezone/tzselect.ksh: Likewise.
10238         * timezone/zdump.c: Likewise.
10239         * timezone/zic.c: Likewise.
10240
10241         * math/auto-libm-test-in: Add tests of cpow.
10242         * math/auto-libm-test-out: Regenerated.
10243         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10244         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10245         mpc_cc_c.
10246         (func_calc_desc): Add mpc_cc_c union field.
10247         (test_functions): Add cpow.
10248         (special_fill_2pi): New function.
10249         (special_real_inputs): Add 2pi.
10250         (calc_generic_results): Handle mpc_cc_c.
10251         * sysdeps/i386/fpu/libm-test-ulps: Update.
10252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253
10254         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10255         csqrt, ctan and ctanh.
10256         * math/auto-libm-test-out: Regenerated.
10257         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10258         (TEST_COND_x86): Likewise.
10259         (ccos_test_data): Use AUTO_TESTS_c_c.
10260         (ccosh_test_data): Likewise.
10261         (cexp_test_data): Likewise.
10262         (clog_test_data): Likewise.
10263         (csqrt_test_data): Likewise.
10264         (ctan_test_data): Likewise.
10265         (ctan_tonearest_test_data): Likewise.
10266         (ctan_towardzero_test_data): Likewise.
10267         (ctan_downward_test_data): Likewise.
10268         (ctan_upward_test_data): Likewise.
10269         (ctanh_test_data): Likewise.
10270         (ctanh_tonearest_test_data): Likewise.
10271         (ctanh_towardzero_test_data): Likewise.
10272         (ctanh_downward_test_data): Likewise.
10273         (ctanh_upward_test_data): Likewise.
10274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10275         mpc_c_c.
10276         (func_calc_desc): Add mpc_c_c union field.
10277         (FUNC_mpc_c_c): New macro.
10278         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10279         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10280         ctanh.
10281         (special_fill_min_subnorm_p120): New function.
10282         (special_real_inputs): Add min_subnorm_p120.
10283         (calc_generic_results): Handle mpc_c_c.
10284         * sysdeps/i386/fpu/libm-test-ulps: Update.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10286
10287 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10288
10289         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10290         (do_sin_slow): New functions.
10291         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10292         (cslow2, csloww1, csloww2): Use the new functions.
10293
10294         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10295         Use M to change sign of result instead of X.  Assume X is
10296         positive.
10297         (csloww1): Likewise.
10298         (__sin): Adjust.
10299         (__cos): Adjust.
10300
10301         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10302         arguments A and DA.
10303         (__sin): Adjust.
10304         (__cos): Likewise.
10305
10306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10307         (__cos): Likewise.
10308         (sloww1): Don't adjust sign of DX.
10309         (csloww1): Likewise.
10310         (sloww2): Use X directly and don't adjust sign of DX.
10311         (csloww2): Likewise.
10312
10313 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10314
10315         * math/auto-libm-test-in: Add tests of cabs and carg.
10316         * math/auto-libm-test-out: Regenerated.
10317         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10318         (carg_test_data): Likewise.
10319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10320         mpc_c_f.
10321         (func_calc_desc): Add mpc_c_f union field.
10322         (test_functions): Add cabs and carg.
10323         (calc_generic_results): Handle mpc_c_f.
10324
10325         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10326         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10327         as a macro and a compat symbol.
10328         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10330         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10331         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10332         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10333         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10334         not use .hidden.
10335         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10336         Likewise.
10337         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10338         Likewise.
10339         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10340         Likewise.
10341         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10342         Likewise.
10343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10344         Likewise.
10345         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10346         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10347         from GLIBC_2.3.2.
10348
10349 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10350
10351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10352
10353 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10354
10355         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10356         trailing whitespace removed.
10357         * scripts/config.guess: Update to version 2013-11-29.
10358         * scripts/config.sub: Update to version 2013-10-01.
10359
10360         * math/auto-libm-test-in: Add tests of sincos.
10361         * math/auto-libm-test-out: Regenerated.
10362         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10364         mpfr_f_11.
10365         (func_calc_desc): Add mpfr_f_11 union field.
10366         (test_functions): Add sincos.
10367         (calc_generic_results): Handle mpfr_f_11.
10368         * sysdeps/i386/fpu/libm-test-ulps: Update.
10369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10370
10371 2013-12-19  Andreas Schwab  <schwab@suse.de>
10372
10373         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10374         CALL_MCOUNT.
10375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10376         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10377         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10378
10379 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10380
10381         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10382         * sysdeps/i386/fpu/libm-test-ulps: Update.
10383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10384
10385         [BZ #16293]
10386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10387         round-to-nearest mode when using frndint.
10388         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10391         Likewise.
10392         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10393         sinh test to fail.
10394         * math/auto-libm-test-out: Regenerated.
10395         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10396         (TEST_COND_x86): Likewise.
10397         (expm1_tonearest_test_data): New array.
10398         (expm1_test_tonearest): New function.
10399         (expm1_towardzero_test_data): New array.
10400         (expm1_test_towardzero): New function.
10401         (expm1_downward_test_data): New array.
10402         (expm1_test_downward): New function.
10403         (expm1_upward_test_data): New array.
10404         (expm1_test_upward): New function.
10405         (main): Run the new test functions.
10406         * sysdeps/i386/fpu/libm-test-ulps: Update.
10407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10408
10409         * include/features.h: Update comment documenting feature test
10410         macros.  Mention _DEFAULT_SOURCE in comment.
10411         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10412         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10413         _BSD_SOURCE and _SVID_SOURCE.
10414         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10415         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10416         !_SVID_SOURCE]: Likewise.
10417         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10418         (__USE_POSIX_IMPLICITLY): Define.
10419         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10420         (_POSIX_SOURCE): Undefine and redefine.
10421         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10422         (_POSIX_C_SOURCE): Likewise.
10423         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10424         (Feature Test Macros): Update documentation of default features.
10425
10426 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10427
10428         * benchtests/Makefile: Add bench-strtok.
10429         * benchtests/bench-strtok.c: New file: strtok benchtest.
10430
10431 2013-12-19  Allan McRae  <allan@archlinux.org>
10432
10433         * manual/install.texi: Suppress menu for plain text output.
10434         * INSTALL: Regenerated.
10435
10436 2013-12-18  Brooks Moses  <bmoses@google.com>
10437
10438         [BZ #15846]
10439         * misc/getauxval.c: Include errno.h.
10440         (__getauxval): Set errno to ENOENT if the requested type is not
10441         found.
10442         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10443         don't declare with __attribute_const__.
10444         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10445         * manual/startup.texi: Document that getauxval sets errno.
10446
10447 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10448
10449         * math/auto-libm-test-in: Add tests of jn and yn.
10450         * math/auto-libm-test-out: Regenerated.
10451         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10452         (yn_test_data): Likewise.
10453         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10454         mpfr_if_f.
10455         (func_calc_desc): Add mpfr_if_f union field.
10456         (FUNC_mpfr_if_f): New macro.
10457         (test_functions): Add jn and yn.
10458         (calc_generic_results): Assert type of second input for
10459         mpfr_ff_f.  Handle mpfr_if_f.
10460         (output_for_one_input_case): Disable all checking for arguments
10461         fitting floating-point types in case of an integer argument.
10462         * sysdeps/i386/fpu/libm-test-ulps: Update.
10463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464
10465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10466         Don't expect fegetround reference in libm.so.
10467
10468 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10469
10470         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10471         $(config-cflags-nofma).
10472
10473 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10474
10475         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10476         * math/auto-libm-test-out: Regenerated.
10477
10478         [BZ #16338]
10479         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10480         to determine exponent and adjust argument to have exponent of -1.
10481         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10482         log2.
10483         * math/auto-libm-test-out: Regenerated.
10484         * sysdeps/i386/fpu/libm-test-ulps: Update.
10485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10486
10487 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10488
10489         * manual/probes.texi: Remove cases when per-thread arenas are
10490         disabled.
10491
10492 2013-12-18  Andreas Schwab  <schwab@suse.de>
10493
10494         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10495         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10496         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10497         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10498         * sysdeps/i386/i686/multiarch/Makefile: Update.
10499         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10500
10501 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10502
10503         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10504         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10505
10506 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10507
10508         [BZ #15968]
10509         Support TZ transition times < 00:00:00.
10510         This is needed for version-3 tz-format files; it supports time
10511         stamps past 2037 for America/Godthab (the only entry in the tz
10512         database for which this change is relevant).
10513         * manual/time.texi (TZ Variable): Document transition times
10514         from -167:59:59 through -00:00:01.
10515         * time/tzset.c (tz_rule): Time of day is now signed.
10516         (__tzset_parse_tz): Parse negative time of day.
10517
10518         Document TZ transition times >= 25:00:00.
10519         * manual/time.texi (TZ Variable): Document transition times from
10520         25:00:00 through 167:59:59.  These are already supported, and this
10521         support will help with version-3 tz-format files.
10522
10523         * manual/time.texi (TZ Variable): Modernize North America example
10524         to reflect current (i.e., 2007-and-later) daylight saving rules.
10525
10526         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10527
10528 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10529
10530         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10531         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10534         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10535         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10536         * sysdeps/unix/bsd/clock.c: Likewise.
10537         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10538         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10539         * sysdeps/unix/bsd/init-posix.c: Likewise.
10540         * sysdeps/unix/bsd/poll.c: Likewise.
10541         * sysdeps/unix/bsd/ptsname.c: Likewise.
10542         * sysdeps/unix/bsd/seekdir.c: Likewise.
10543         * sysdeps/unix/bsd/setegid.c: Likewise.
10544         * sysdeps/unix/bsd/seteuid.c: Likewise.
10545         * sysdeps/unix/bsd/setgid.c: Likewise.
10546         * sysdeps/unix/bsd/setrgid.c: Likewise.
10547         * sysdeps/unix/bsd/setruid.c: Likewise.
10548         * sysdeps/unix/bsd/setsid.c: Likewise.
10549         * sysdeps/unix/bsd/setuid.c: Likewise.
10550         * sysdeps/unix/bsd/sigaction.c: Likewise.
10551         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10552         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10553         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10554         * sysdeps/unix/bsd/telldir.c: Likewise.
10555         * sysdeps/unix/bsd/times.c: Likewise.
10556         * sysdeps/unix/bsd/usleep.c: Likewise.
10557
10558         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10559         ($(objpfx)libbsd-compat.a): Remove rule.
10560
10561         * include/features.h (__FAVOR_BSD): Do not define.
10562         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10563         features conflicting with POSIX.
10564         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10565         (_BSD_SOURCE): Remove description of not being a subset of other
10566         feature test macros.
10567         * manual/job.texi (getpgrp): Do not document BSD version.
10568         (getpgid): Do not document by reference to BSD getpgrp.
10569         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10570         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10571         * signal/signal.h [__FAVOR_BSD]: Likewise.
10572         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10573         instead of making contents conditional on [__FAVOR_BSD].
10574         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10575
10576 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10577
10578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10579
10580 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10581
10582         [BZ #16314]
10583         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10584         values below 2**-450, not 2**-500.
10585         * math/auto-libm-test-in: Don't allow spurious underflow from
10586         hypot.
10587         * math/auto-libm-test-out: Regenerated.
10588
10589         [BZ #16316]
10590         [BZ #16330]
10591         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10592         values of ha and hb and sort them after adjusting subnormal
10593         arguments.
10594         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10595         Likewise.
10596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10597         values of ea and eb and sort them after adjusting subnormal
10598         arguments.
10599         * math/auto-libm-test-in: Do not expect some hypot tests of
10600         subnormals to fail.  Add more hypot tests.
10601         * math/auto-libm-test-out: Regenerated.
10602
10603 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10604
10605         [BZ #13304]
10606         * sysdeps/sh/s_fma.c: New file.
10607         * sysdeps/sh/s_fmaf.c: New file.
10608         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10609         version.
10610         * sysdeps/sh/Implies: Add sh/soft-fp.
10611
10612 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10613
10614         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10615         level of indirection to members `objname', `errstring', `malloced'.
10616         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10617         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10618         it as the __longjmp argument (just pass 1 instead).
10619         (_dl_catch_error): Initialize C with argument pointers and address of
10620         volatile local ERRCODE rather than copying values out of C at return.
10621
10622 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10623
10624         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10625         * math/auto-libm-test-out: Regenerated.
10626         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10627         (hypot_test_data): Likewise.
10628         (pow_test_data): Likewise.
10629         (pow_tonearest_test_data): Likewise.
10630         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10631         mpfr_ff_f.
10632         (func_calc_desc): Add mpfr_ff_f union field.
10633         (FUNC_mpfr_ff_f): New macro.
10634         (test_functions): Add atan2, hypot and pow.
10635         (special_fill_min): New function.
10636         (special_fill_minus_min): Likewise.
10637         (special_fill_min_subnorm): Likewise.
10638         (special_fill_minus_min_subnorm): Likewise.
10639         (special_real_inputs): Add min, -min, min_subnorm and
10640         -min_subnorm.
10641         (calc_generic_results): Handle mpfr_ff_f.
10642         * sysdeps/i386/fpu/libm-test-ulps: Update.
10643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644
10645 2013-12-16  Will Newton  <will.newton@linaro.org>
10646
10647         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10648         (Aligned Memory Blocks): Add documentation for aligned_alloc
10649         and suggest it as an alternative to posix_memalign.
10650         (Hooks for Malloc): Document __memalign_hook is also called
10651         for aligned_alloc.  (Summary of Malloc): Add summary for
10652         aligned alloc.  Document __memalign_hook is also called
10653         for aligned_alloc.
10654
10655 2013-12-16  Will Newton  <will.newton@linaro.org>
10656
10657         * manual/memory.texi (Malloc Examples): Clarify default
10658         alignment documentation.  Suggest posix_memalign rather
10659         than memalign or valloc.
10660         (Aligned Memory Blocks): Remove suggestion to use memalign
10661         or valloc.  Remove obsolete comment about BSD.
10662         Document memalign errno values and mark the function obsolete.
10663         Document posix_memalign returned error codes.  Mark valloc
10664         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10665         called for posix_memalign and valloc.
10666         (Summary of Malloc): Add posix_memalign to function summary.
10667         __memalign_hook is also called for posix_memalign and valloc.
10668
10669 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10670
10671         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10672         TAYLOR_SIN.
10673         (__sin): Adjust.
10674         (__cos): Likewise.
10675         (sloww): Use mynumber union.  Expand ternary operator into
10676         if-else statements.
10677         (cslow): use mynumber union.
10678
10679 2013-12-16  Allan McRae  <allan@archlinux.org>
10680
10681         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10682         * configure: Regenerated.
10683
10684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10685
10686         [BZ #14120]
10687         * configure.ac: Added --enable-maintainer-mode. Check for
10688         autoconf when enabled.
10689         * configure: Regenerated.
10690
10691         * nscd/nscd.service: New file.
10692         * nscd/nscd.tmpfiles: New file.
10693
10694 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10695
10696         [BZ #12100]
10697         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10698         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10699         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10700         (strstr): Add __strstr_sse2_unaligned ifunc.
10701         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10702         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10703         (strcasestr): Remove __strcasestr_sse42 ifunc.
10704         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10707
10708 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10709
10710         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10711         * sysdeps/sh/bits/fenv.h: ... here.
10712         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10713
10714 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10715
10716         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10717
10718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10719         hypotf multiarch implementations.
10720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10723         multiarch hypot for PPC64.
10724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10727         multiarch hypotf for PPC64.
10728
10729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10730         modff multiarch implementations.
10731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10734         multiarch modf for PPC64.
10735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10738         multiarch modff for PPC64.
10739
10740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10741         and logl multiarch implementations.
10742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10745         multiarch logb for PPC64.
10746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10749         multiarch logb for PPC64.
10750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10753         multiarch logb for PPC64.
10754
10755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10756         isinff multiarch implementation.
10757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10758         file.
10759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10761         multiarch isinf for PPC64.
10762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10763         file.
10764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10765         multiarch isinff for PPC64.
10766
10767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10768         finitef multiarch implementation.
10769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10770         file.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10773         multiarch finite for PPC64.
10774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10775         file.
10776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10777         multiarch finitef for PPC64.
10778
10779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10780         lrint multiarch implementation.
10781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10782         file.
10783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10785         multiarch llrint for PPC64.
10786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10787         multiarch lrint for PPC64.
10788
10789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10790         copysignf multiarch implementation.
10791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10792         file.
10793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10794         file.
10795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10796         multiarch copysign for PPC64.
10797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10798         multiarch copysignf for PPC64.
10799
10800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10801         multiarch implementation.
10802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10803         file.
10804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10805         file.
10806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10807         file.
10808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10809         file.
10810         multiarch llround for PPC64.
10811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10812         multiarch trunc for PPC64.
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10814         multiarch truncf for PPC64.
10815
10816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10817         multiarch implementation.
10818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10819         file.
10820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10821         file.
10822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10823         file.
10824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10825         file.
10826         multiarch llround for PPC64.
10827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10828         multiarch round for PPC64.
10829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10830         multiarch roundf for PPC64.
10831
10832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10833         multiarch implementation.
10834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10835         file.
10836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10837         file.
10838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10839         file.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10841         file.
10842         multiarch llround for PPC64.
10843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10844         multiarch floor for PPC64.
10845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10846         multiarch floorf for PPC64.
10847
10848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10849         multiarch implementation.
10850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10851         file.
10852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10853         file.
10854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10855         file.
10856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10857         file.
10858         multiarch llround for PPC64.
10859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10860         multiarch ceil for PPC64.
10861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10862         multiarch ceilf for PPC64.
10863
10864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10865         multiarch implementation.
10866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10867         file.
10868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10869         file.
10870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10871         file.
10872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10873         multiarch llround for PPC64.
10874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10875         multiarch lround for PPC64.
10876
10877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10878         multiarch implementation.
10879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10882         file.
10883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10886         multiarch isnan for PPC64.
10887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10888         multiarch isnanf for PPC64.
10889
10890         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10891         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10892         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10893         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10894         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10896
10897         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10898         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10901
10902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10903         multiarch implementations.
10904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10905         (__libc_ifunc_impl_list): Likewise.
10906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10909         multiarch stpcpy for PPC64.
10910
10911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10912         multiarch implementations.
10913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10914         (__libc_ifunc_impl_list): Likewise.
10915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10916         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10917         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10918         multiarch strcpy for PPC64.
10919
10920         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10921         redefine function name.
10922         (_wordcopy_fwd_dest_aligned): Likewise.
10923         (_wordcopy_bwd_aligned): Likewise.
10924         (_wordcopy_bwd_dest_aligned): Likewise.
10925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10926         multiarch implementations.
10927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10928         (__libc_ifunc_impl_list): Likewise.
10929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10933         multiarch wcscpy for PPC64.
10934
10935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10936         multiarch implementations.
10937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10938         (__libc_ifunc_impl_list): Likewise.
10939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10942         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10943         multiarch wcscpy for PPC64.
10944
10945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10946         multiarch implementations.
10947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10948         (__libc_ifunc_impl_list): Likewise.
10949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10952         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10953         multiarch wcsrchr for PPC64.
10954
10955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10956         multiarch implementations.
10957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10958         (__libc_ifunc_impl_list): Likewise.
10959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10961         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10962         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10963         multiarch wcschr for PPC64.
10964
10965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10966         multiarch implementations.
10967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10968         (__libc_ifunc_impl_list): Likewise.
10969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10971         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10972         multiarch strchrnul for PPC64.
10973
10974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10975         implementations.
10976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10977         (__libc_ifunc_impl_list): Likewise.
10978         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10979         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10980         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10981         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10982         strchr for PPC64.
10983
10984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10985         implementations.
10986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10987         (__libc_ifunc_impl_list): Likewise.
10988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10992         strncmp for PPC64.
10993
10994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10995         multiarch implementations.
10996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10997         (__libc_ifunc_impl_list): Likewise.
10998         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10999         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11000         strncasecmp for PPC64.
11001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11003         multiarch strncasecmp_l for PPC64.
11004
11005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11006         multiarch implementations.
11007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11008         (__libc_ifunc_impl_list): Likewise.
11009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11010         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11011         multiarch strcasecmp for PPC64.
11012         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11013         file.
11014         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11015         multiarch strcasecmp_l for PPC64.
11016
11017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11018         implementations.
11019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11020         (__libc_ifunc_impl_list): Likewise.
11021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11022         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11024         strnlen for PPC64.
11025
11026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11027         implementations.
11028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11029         (__libc_ifunc_impl_list): Likewise.
11030         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11031         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11032         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11033         strlen for PPC64.
11034
11035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11036         implementations.
11037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11038         (__libc_ifunc_impl_list): Likewise.
11039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11041         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11042         rawmemrchr for PPC64.
11043
11044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11045         implementation.
11046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11047         (__libc_ifunc_impl_list): Likewise.
11048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11049         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11051         memrchr for PPC64.
11052
11053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11054         implementation.
11055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11056         (__libc_ifunc_impl_list): Likewise.
11057         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11058         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11059         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11060         memchr for PPC64.
11061
11062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11063         implementation.
11064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11065         (__libc_ifunc_impl_list): Likewise.
11066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11069         mempcpy for PPC64.
11070
11071         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11072         avoid cretion of __bzero symbol.
11073         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11074         Likewise.
11075         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11076         Likewise.
11077         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11078         Likewise.
11079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11080         multiarch implementations.
11081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11082         (__libc_ifunc_impl_list): Likewise.
11083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11085         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11086         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11087         bzero for PPC32.
11088         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11089         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11090         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11091         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11092         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11093         memset for PPC64.
11094         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11095
11096         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11098         implementations.
11099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11100         (__libc_ifunc_impl_list): Likewise.
11101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11103         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11104         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11105         memcmp for PPC64.
11106
11107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11108         multiarch for POWER/PPC64.
11109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11110         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11116         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11118         memcpy for PPC64.
11119
11120         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11121         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11122         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11123         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11124         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11125         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11126         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11127         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11128         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11129         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11130         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11131         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11132         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11133         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11134         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11142
11143 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11144
11145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11146
11147 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11148
11149         * benchtests/Makefile (bench): Add exp2 and log2.
11150         (LDLIBS-bench-exp2): Add -lm.
11151         (LDLIBS-bench-log2): Likewise.
11152         * benchtests/exp2-inputs: New inputs file.
11153         * benchtests/log2-inputs: New inputs file.
11154         * benchtests/log-inputs: Add new inputs.
11155         * benchtests/tan-inputs: Likewise.
11156
11157 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11158
11159         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11160         definition...
11161         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11162         (csloww2): ... from here.
11163
11164         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11165         instead of structures.
11166         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11167         (POLYNOMIAL): Likewise.
11168         (TAYLOR_SLOW): Likewise.
11169         (__sin): Likewise.
11170         (__cos): Likewise.
11171         (slow1): Likewise.
11172         (slow2): Likewise.
11173         (sloww): Likewise.
11174         (sloww1); Likewise.
11175         (sloww2): Likewise.
11176         (bsloww1): Likewise.
11177         (bsloww2): Likewise.
11178         (cslow2): Likewise.
11179         (csloww): Likewise.
11180         (csloww1): Likewise.
11181         (csloww2): Likewise.
11182
11183 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11184
11185         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11186         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11187         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11188         * malloc/hooks.c (realloc_check): Likewise.
11189
11190         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11191         * malloc/arena.c: Remove PER_THREAD conditional.
11192         [!PER_THREAD]: Remove code.
11193         (ptmalloc_unlock_all2): Likewise.
11194         (ptmalloc_init): Likewise.
11195         (_int_new_arena): Likewise.
11196         (arena_get2): Likewise.
11197         * malloc/hooks.c (__malloc_get_state): Likewise.
11198         (__malloc_set_state): Likewise.
11199         * malloc/malloc.c: Likewise.
11200         (struct malloc_state): Likewise.
11201         (struct malloc_par): Likewise.
11202         (__libc_realloc): Likewise.
11203         (__libc_mallopt): Likewise.
11204
11205 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11206
11207         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11208
11209 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11210
11211         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11212         macro to a function.  Check for zero perturb_byte.
11213         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11214
11215         * malloc/malloc.c: (force_reg): Remove.
11216         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11217         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11218         force_reg by atomic_forced_read.
11219         * malloc/arena.c (ptmalloc_init): Likewise.
11220         * malloc/hooks.c (top_check): Likewise.
11221
11222 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11223
11224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11225
11226 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11227
11228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11229
11230 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11231
11232         * math/auto-libm-test-in: Add tests of lgamma.
11233         * math/auto-libm-test-out: Regenerated.
11234         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11235         (M_LOG_2_SQRT_PIl): Likewise.
11236         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11237         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11238         mpfr_f_f1.
11239         (func_calc_desc): Add mpfr_f_f1 union field.
11240         (ARGS1): New macro.
11241         (ARGS2): Likewise.
11242         (ARGS3): Likewise.
11243         (ARGS4): Likewise.
11244         (RET1): Likewise.
11245         (RET2): Likewise.
11246         (CALC): Likewise.
11247         (FUNC): Likewise.
11248         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11249         (test_functions): Add lgamma.
11250         (calc_generic_results): Handle mpfr_f_f1.
11251         * sysdeps/i386/fpu/libm-test-ulps: Update.
11252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253
11254 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11255
11256         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11257         __mpn_add_n for PowerPC64/POWER7.
11258         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11259         __mpn_sub_n for PowerPC64/POWER7.
11260
11261         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11262         __mpn_addmul_1 for PowerPC64.
11263         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11264         __mpn_submul_1 for PowerPC64.
11265         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11266         for PowerPC64.
11267         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11268         for PowerPC64.
11269
11270 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11271
11272         [BZ #15089]
11273         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11274
11275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11276
11277         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11278
11279         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11280         add multiarch folders.
11281         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11282         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11283         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11284         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11285         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11286         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11287         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11288         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11289         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11290         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11291         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11298
11299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11300         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11302         New file.
11303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11304         New file.
11305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11306         multiarch __ieee754_hypot for PowerPC32.
11307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11308         New file.
11309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11310         New file.
11311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11312         multiarch __ieee754_hypotf for PowerPC32.
11313
11314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11315         long_double_symbol only if __logbl is defined.
11316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11317         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11319         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11321         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11323         path for implementation.
11324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11327         logb, and logbl multiarch implementations for PowerPC32.
11328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11329         file.
11330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11331         file.
11332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11333         multiarch logb for PowerPC32.
11334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11335         file.
11336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11337         file.
11338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11339         multiarch logbf for PowerPC32.
11340         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11342         file.
11343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11344         multiarch logbl implementation for PowerPC32.
11345
11346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11347         and modff multiarch implementations.
11348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11349         New file.
11350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11351         New file.
11352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11353         multiarch modf for PowerPC32.
11354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11355         New file.
11356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11357         New file.
11358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11359         multiarch modff for PowerPC32.
11360
11361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11362         and lrintf multiarch implementations.
11363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11364         New file.
11365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11366         New file.
11367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11368         multiarch lrint for PowerPC32.
11369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11370         file: multiarch lrintf for PowerPC32.
11371
11372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11373         and lroundf multiarch implementations.
11374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11375         New file.
11376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11377         New file.
11378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11379         New file.
11380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11381         multiarch lround for PowerPC32.
11382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11383         file: multiarch lroundf for PowerPC32.
11384
11385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11386         copysign and copysignf multiarch implementations.
11387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11388         New file.
11389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11390         New file.
11391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11392         file: multiarch copysign for PowerPC32.
11393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11394         file: multiarch copysignf for PowerPC32.
11395
11396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11397         and truncf multiarch implementations.
11398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11399         New file.
11400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11401         file.
11402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11403         multiarch trunc for PowerPC32.
11404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11405         New file.
11406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11407         New file.
11408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11409         multiarch truncf for PowerPC32.
11410
11411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11412         and roundf multiarch implementations.
11413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11414         New file.
11415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11416         file.
11417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11418         multiarch round for PowerPC32.
11419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11420         New file.
11421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11422         New file.
11423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11424         multiarch roundf for PowerPC32.
11425
11426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11427         and floorf multiarch implementations.
11428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11429         New file.
11430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11431         file.
11432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11433         multiarch floor for PowerPC32.
11434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11435         New file.
11436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11437         New file.
11438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11439         multiarch floorf for PowerPC32.
11440
11441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11442         and ceilf multiarch implementations.
11443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11444         New file.
11445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11446         file.
11447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11448         multiarch ceil for PowerPC32.
11449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11450         New file.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11452         file.
11453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11454         multiarch ceilf for PowerPC32.
11455
11456         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11457         is defined.
11458         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11459         FINITEF is defined.
11460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11461         and finitef multiarch implementations.
11462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11463         New file.
11464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11465         file.
11466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11467         multiarch finite for PowerPC32.
11468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11469         New file.
11470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11471         file: multiarch finitef for PowerPC32.
11472
11473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11474         and isinff multiarch implementations.
11475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11476         file.
11477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11478         file.
11479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11480         multiarch isinf for PowerPC32.
11481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11482         New file.
11483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11484         multiarch isinff for PowerPC32.
11485
11486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11487         alias when __isnan is defined.
11488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11489         and isnanf multiarch implementations.
11490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11491         file.
11492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11493         file.
11494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11495         file.
11496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11497         file.
11498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11499         multiarch isnan for PowerPC32.
11500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11501         New file.
11502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11503         New file.
11504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11505         multiarch isnanf for PowerPC32.
11506
11507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11508         and sqrtf multiarch implementations.
11509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11510         file.
11511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11512         file.
11513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11514         multiarch sqrt for PowerPC32.
11515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11516         file.
11517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11518         file.
11519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11520         multiarch sqrtf for PowerPC32.
11521
11522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11523         and llroundf multiarch implementations.
11524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11525         New file.
11526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11527         New file.
11528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11529         New file.
11530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11531         file: multiarch llround for PowerPC32.
11532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11533         file: multiarch llroundf for PowerPC32.
11534
11535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11536         multiarch PowerPC32 fpu implementations.
11537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11538         New file.
11539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11540         New file.
11541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11542         multiarch llrint for PowerPC32.
11543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11544         New file.
11545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11546         New file.
11547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11548         file.
11549
11550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11551
11552         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11553         file.
11554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11555         file.
11556         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11557         file.
11558         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11559         multiarch wordcopy for PPC32.
11560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11561         wordcopy objects.
11562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11563         (__libc_ifunc_impl_list): Likewise.
11564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11565         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11567         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11569         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11570
11571         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11573         file.
11574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11575         file.
11576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11577         file.
11578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11579         multiarch wcscpy for PPC32.
11580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11581         multiarch objects.
11582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11583         (__libc_ifunc_impl_list): Likewise.
11584         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11585         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11586         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11587         sysdeps/powerpc/power6/wcscpy.c.
11588
11589         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11591         file.
11592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11593         file.
11594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11595         file.
11596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11597         multiarch wcsrchr for PPC32.
11598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11599         multiarch objects.
11600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11601         (__libc_ifunc_impl_list): Likewise.
11602         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11603         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11604         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11605         sysdeps/powerpc/power6/wcsrchr.c.
11606
11607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11608         file.
11609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11610         file.
11611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11613         multiarch wcschr for PPc32.
11614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11615         multiarch objects.
11616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11617         (__libc_ifunc_impl_list): Likewise.
11618         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11619         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11620         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11621         sysdeps/powerpc/power6/wcschr.c.
11622
11623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11625         file.
11626         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11627         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11628         file: multiarch strchr for PPC32.
11629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11630         multiarch objects.
11631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11632         (__libc_ifunc_impl_list): Likewise.
11633
11634         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11635         name.
11636         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11637         file.
11638         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11639         file.
11640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11641         multiarch strchrnul for PPC32.
11642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11643         multiarch objects.
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11645         (__libc_ifunc_impl_list): Likewise.
11646
11647         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11648         file.
11649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11650         multiarch strncasecmp for PPC32.
11651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11652         file.
11653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11654         multiarch strncasecmp_l for PPC32.
11655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11656         strncasecmp multiarch objects.
11657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11658         (__libc_ifunc_impl_list): Likewise.
11659
11660         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11661         file.
11662         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11663         multiarch strncasecmp for PPC32.
11664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11665         New file.
11666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11667         multiarch strcasecmp_l for PPC32.
11668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11669         multiarch objects.
11670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11671         (__libc_ifunc_impl_list): Likewise.
11672
11673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11674         file.
11675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11676         file.
11677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11678         multiarch strncmp for PPC32.
11679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11680         multiarch objects.
11681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11682         (__libc_ifunc_impl_list): Likewise.
11683
11684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11685         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11686         file.
11687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11690         multiarch objects.
11691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11692         (__libc_ifunc_impl_list): Likewise.
11693
11694         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11695         file.
11696         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11697         file.
11698         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11700         multiarch objects.
11701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11702         (__libc_ifunc_impl_list): Likewise.
11703
11704         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11705         file.
11706         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11707         file.
11708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11709         multiarch rawmemchr for PPC32.
11710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11711         multiarch objects.
11712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11713         (__libc_ifunc_impl_list): Likewise.
11714
11715         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11716         file.
11717         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11718         file.
11719         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11720         file: memrchr multiarch for PPC32.
11721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11722         multiarch objects.
11723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11724         (__libc_ifunc_impl_list): Likewise.
11725
11726         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11728         file.
11729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11730         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11731         multiarch memchr for PPC32.
11732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11733         multiarch objects.
11734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11735         (__libc_ifunc_impl_list): Likewise.
11736
11737         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11738         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11739         file.
11740         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11741         file.
11742         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11743         file: multiarch mempcpy for PPC32.
11744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11745         multiarch objects.
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11747         (__libc_ifunc_impl_list): Likewise.
11748
11749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11753         multiarch bzero for PPC32.
11754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11755         file.
11756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11757         file.
11758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11760         file: multiarch memset for PPC32.
11761         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11763         memset multiarch objects.
11764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11765         (__libc_ifunc_impl_list): Likewise.
11766
11767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11768         file.
11769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11771         memcmp for PPC32.
11772         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11774         multiarch objects.
11775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11776         (__libc_ifunc_impl_list): Likewise.
11777
11778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11781         file.
11782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11783         file.
11784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11785         file.
11786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11787         multiarch memcpy for PPC32.
11788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11789         multiarch objects.
11790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11791         (__libc_ifunc_impl_list): Likewise.
11792
11793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11794         support multiarch for POWER/PPC32.
11795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11796         Likewise.
11797         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11799         Implies file to make multiarch folder appers before the fpu and
11800         default folder for power4 configuration.
11801
11802 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11803
11804         * scripts/bench.pl: Append volatile keyword to type.
11805
11806 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11807
11808         * sysdeps/sh/sotruss-lib.c: New file.
11809         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11810
11811 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11812
11813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11814
11815 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11816
11817         [BZ #6810]
11818         * math/w_tgamma.c: Include <errno.h>.
11819         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11820         * math/w_tgammaf.c: Include <errno.h>.
11821         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11822         * math/w_tgammal.c: Include <errno.h>.
11823         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11824         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11825         underflow.  Add more tgamma tests.
11826         * math/auto-libm-test-out: Regenerated.
11827         * sysdeps/i386/fpu/libm-test-ulps: Update.
11828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11829
11830         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11831         sin, sinh, tan, tanh, tgamma, y0 and y1.
11832         * math/auto-libm-test-out: Regenerated.
11833         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11834         (TEST_COND_x86): Likewise.
11835         (M_E2l): Remove macro.
11836         (M_E3l): Likewise.
11837         (M_2_SQRT_PIl): Likewise.
11838         (M_SQRT_PIl): Likewise.
11839         (M_1_DIV_El): Likewise.
11840         (log_test_data): Use AUTO_TESTS_f_f.
11841         (log10_test_data): Likewise.
11842         (log1p_test_data): Likewise.
11843         (log2_test_data): Likewise.
11844         (sin_test_data): Likewise.
11845         (sin_tonearest_test_data): Likewise.
11846         (sin_towardzero_test_data): Likewise.
11847         (sin_downward_test_data): Likewise.
11848         (sin_upward_test_data): Likewise.
11849         (sinh_test_data): Likewise.
11850         (sinh_tonearest_test_data): Likewise.
11851         (sinh_towardzero_test_data): Likewise.
11852         (sinh_downward_test_data): Likewise.
11853         (sinh_upward_test_data): Likewise.
11854         (tan_test_data): Likewise.
11855         (tan_tonearest_test_data): Likewise.
11856         (tan_towardzero_test_data): Likewise.
11857         (tan_downward_test_data): Likewise.
11858         (tan_upward_test_data): Likewise.
11859         (tanh_test_data): Likewise.
11860         (tgamma_test_data): Likewise.
11861         (y0_test_data): Likewise.
11862         (y1_test_data): Likewise.
11863         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11864         (special_real_inputs): Add pi/4.
11865         * sysdeps/i386/fpu/libm-test-ulps: Update.
11866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11867
11868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11869
11870         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11871         "longjmp_target" static probes.
11872         (__longjmp): Rename to __longjmp_symbol.
11873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11874         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11875         on which longjmp to generate.
11876         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11877         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11878         probe.
11879         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11880         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11881         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11883         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11884         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11886         __longjmp_symbol based on which __longjmp to generate.
11887         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11888         probe.
11889         (setjmp): Rename to setjmp_symbol.
11890         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11891         (_setjmp): Rename to _setjmp_symbol.
11892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11893         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11894         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11895         which setjmp to generate.
11896         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11897         "longjmp_target" static probes.
11898
11899 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900
11901         * benchtests/README: Add note about output arguments.
11902         * benchtests/bench-sincos.c: Remove file.
11903         * benchtests/sincos-inputs: New file.
11904         * scripts/bench.pl: Identify output arguments and define
11905         static variables for them.
11906
11907         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11908
11909         [BZ #15941]
11910         * Makefile (INSTALL): Add install-plain.texi as the primary
11911         dependency.
11912         * manual/install-plain.texi: New file.
11913         * manual/install.texi: Include node directive only for
11914         non-plaintext output.
11915
11916 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11917
11918         * stdlib/longlong.h: Update from GCC.
11919
11920         [BZ #6807]
11921         [BZ #15901]
11922         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11923         * math/w_j0f.c (y0f): Likewise.
11924         * math/w_j0l.c (__y0l): Likewise.
11925         * math/w_j1.c (y1): Likewise.
11926         * math/w_j1f.c (y1f): Likewise.
11927         * math/w_j1l.c (__y1l): Likewise
11928         * math/w_jn.c (yn): Likewise.
11929         * math/w_jnf.c (ynf): Likewise.
11930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11931         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11932         value for Bessel function domain errors outside _SVID_ mode.
11933         Adjust sign of return value for yn (negative integer, 0).
11934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11935         by zero in return for negative x and set sign appropriately for
11936         negative n.
11937         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11939         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11940         expectations in error cases.
11941         (y1_test_data): Likewise.
11942         (yn_test_data): Likewise.
11943         * sysdeps/i386/fpu/libm-test-ulps: Update.
11944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11945
11946 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11947
11948         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11949         "64" to "64-v1".  Add "64-v2".
11950         (abi-64-options): Rename to ...
11951         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11952         (abi-64-condition): Rename to ...
11953         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11954         (abi-64-ld-soname): Rename to ...
11955         (abi-64-v1-ld-soname): ... this.
11956         (abi-64-v2-options): Define.
11957         (abi-64-v2-condition): Likewise.
11958         (abi-64-v2-ld-soname): Likewise.
11959         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11960         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11964
11965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11966             Alan Modra  <amodra@gmail.com>
11967
11968         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11969         New versions for use with the ELFv2 ABI.
11970         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11971         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11972         declaration.
11973         (struct La_ppc64v2_retval): Likewise.
11974         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11975         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11976         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11977         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11978         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11980         Do not save or restore CR.
11981         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11982         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11983         return values for ELFv2 ABI.  Fix location of FPR return registers.
11984         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11985         updated values for _CALL_ELF == 2.
11986         (La_regs, La_retval, int_retval): Likewise.
11987
11988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11989
11990         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11991         (FRAME_MIN_SIZE_PARM): Likewise.
11992         (FRAME_BACKCHAIN): Likewise.
11993         (FRAME_CR_SAVE): Likewise.
11994         (FRAME_LR_SAVE): Likewise.
11995         (FRAME_TOC_SAVE): Likewise.
11996         (FRAME_PARM_SAVE): Likewise.
11997         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11998         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11999         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12000         (call_mcount_parm_offset): New macro.
12001         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12002         (PROF): Use symbolic stack frame offsets.
12003         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12005         Redefine in terms of FRAME_MIN_SIZE.
12006         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12007         (_dl_profile_resolve): Likewise.  Update comment.
12008         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12009         symbols stack frame offsets.
12010         (__sigsetjmp): Likewise.
12011         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12012         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12013         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12014         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12015
12016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12017         (FRAME_BACKCHAIN): Remove.
12018         (FRAME_CR_SAVE): Likewise.
12019         (FRAME_LR_SAVE): Likewise.
12020         (FRAME_COMPILER_DW): Likewise.
12021         (FRAME_LINKER_DW): Likewise.
12022         (FRAME_TOC_SAVE): Likewise.
12023         (FRAME_PARM_SAVE): Likewise.
12024         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12025         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12026         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12028         (CHECK_SP): Use symbolic stack frame offsets.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12030         zone" instead of caller's parameter save area for temp storage.
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12032         Likewise.  Also, use symbolic stack frame offsets.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12034         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12035         our own stack frame instead of the caller's.
12036         (__socket): Use symbolic stack frame offsets.
12037
12038 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12039             Alan Modra  <amodra@gmail.com>
12040
12041         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12042         Define.
12043         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12044         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12045         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12046         New function.
12047         (elf_machine_fixup_plt): Call it.
12048         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12049         reloc arguments.
12050         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12052         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12053         r2 before calling target.
12054
12055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12056             Alan Modra  <amodra@gmail.com>
12057
12058         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12059         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12060         versions of macros to support ELFv2 ABI.
12061         (LOCALENTRY): New macro.
12062         (ENTRY, EALIGN): Use it.
12063         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12064         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12065         fall through into ENTRY entry point.
12066         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12067         Only define if _CALL_ELF != 2.
12068
12069         (elf_machine_matches_host): Verify ABI version matches.
12070         (RTLD_START): Use LOCALENTRY.
12071         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12072         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12073         (PLT_ENTRY_WORDS): New macro.
12074         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12075         (elf_machine_runtime_setup): Support ELFv2 ABI.
12076         (elf_machine_fixup_plt): Likewise.
12077         (elf_machine_plt_conflict): Likewise.
12078         (resolve_ifunc): Likewise.
12079         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12080         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12083         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12085         (makecontext): Support ELFv2 ABI.
12086         * elf/elf.h (EF_PPC64_ABI): Define.
12087
12088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12089
12090         * sysdeps/powerpc/powerpc64/sysdep.h
12091         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12092         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12093         (ENTRY) [ASSEMBLER]: ... but instead here ...
12094         (EALIGN) [ASSEMBLER]: ... and here.
12095         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12096         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12097         (ENTRY_2) [!ASSEMBLER]: Use it.
12098         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12099         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12101         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12104         Use PPC64_LOAD_FUNCPTR.
12105
12106         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12107
12108 2013-12-04  Alan Modra  <amodra@gmail.com>
12109
12110         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12111         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12112         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12113         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12114
12115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12116         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12117         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12118         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12119         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12120         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12121
12122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12123
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12125         (__makecontext): Fix incorrect CFI when backtracing out of
12126         context created via makecontext.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12128         (__setcontext): Fix incorrect CFI during switch to new context.
12129         (__novec_setcontext): Likewise.
12130
12131 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12132
12133         [BZ #4772]
12134         * time/strptime_l.c (__strptime_internal): Allow modifiers
12135         in strptime.
12136         * time/tst-strptime.c (day_tests): Add testcase.
12137
12138 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139
12140         * scripts/bench.pl: Skip over blank lines.
12141
12142 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12143
12144         [BZ #926]
12145         * manual/time.texi (Calendar Time): Clarify what timezone functions
12146         use.
12147
12148 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12149
12150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12151
12152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12153
12154         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12155         implementation.
12156         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12157         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12158         * debug/memset_chk.c (__memset_chk): Likewise.
12159         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12160         * debug/strncpy_chk.c: Likewise.
12161
12162 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12163
12164         [BZ #15268]
12165         [BZ #15425]
12166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12167         (__ieee754_exp): For possibly underflowing results, check size of
12168         result and force underflow exception if required.
12169         * math/auto-libm-test-in: Add more tests of exp.
12170         * math/auto-libm-test-out: Regenerated.
12171         * sysdeps/i386/fpu/libm-test-ulps: Update.
12172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12173
12174         [BZ #16283]
12175         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12176         * math/w_exp2f.c (__exp2f): Likewise.
12177         * math/w_exp2l.c (__exp2l): Likewise.
12178         * math/auto-libm-test-in: Do not allow missing errno on exp2
12179         underflow.
12180         * math/auto-libm-test-out: Regenerated.
12181
12182 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12183
12184         [BZ #16274]
12185         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12186         handle filename validation.
12187         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12188         (do_open): Delete.
12189
12190 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12191
12192         [BZ #6786]
12193         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12194         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12195         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12196         <float.h>.
12197         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12198         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12199         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12201         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12202         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12203         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12204         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12205         Add more erfc tests.
12206         * math/auto-libm-test-out: Regenerated.
12207         * sysdeps/i386/fpu/libm-test-ulps: Update.
12208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
12210         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12211         exp2, expm1, j0 and j1.
12212         * math/auto-libm-test-out: Regenerated.
12213         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12214         (erfc_test_data): Likewise.
12215         (exp_test_data): Likewise.
12216         (exp_tonearest_test_data): Likewise.
12217         (exp_towardzero_test_data): Likewise.
12218         (exp_downward_test_data): Likewise.
12219         (exp_upward_test_data): Likewise.
12220         (exp10_test_data): Likewise.
12221         (exp2_test_data): Likewise.
12222         (expm1_test_data): Likewise.
12223         (j0_test_data): Likewise.
12224         (j1_test_data): Likewise.
12225         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12226         (input_flag_type): Add flag_xfail_rounding.
12227         (input_flags): Add xfail-rounding.
12228         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12229         (output_for_one_input_case): Handle flag_xfail_rounding.
12230         * sysdeps/i386/fpu/libm-test-ulps: Update.
12231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12232
12233 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12234
12235         [BZ #16289]
12236         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12237         division by 0.
12238
12239 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12240
12241         [BZ #16195]
12242         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12243         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12244         (STAP_PROBE0): New macro.
12245         (STAP_PROBE1): Likewise.
12246         (STAP_PROBE2): Likewise.
12247         (STAP_PROBE3): Likewise.
12248         (STAP_PROBE4): Likewise.
12249
12250 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12251
12252         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12253
12254 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12255
12256         * benchtests/Makefile (bench): Add sqrt.
12257         (LDLIBS-bench-sqrt): New.
12258         * benchtests/sqrt-input: New.
12259
12260 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12261
12262         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12263         (GAIH_EAI): Likewise.
12264         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12265         (gaih_inet): Likewise.
12266         (getaddrinfo): Don't use GAIH_EAI.
12267
12268         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12269         (struct gaih): Remove definition.
12270
12271 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12272
12273         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12274         Use HERRNOP directly.
12275
12276 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12277
12278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12279
12280 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12281
12282         * math/gen-auto-libm-tests.c (test_functions): Add more
12283         single-argument functions.
12284         (special_fill_pi_2): New function.
12285         (special_fill_minus_pi_2): Likewise.
12286         (special_fill_pi_6): Likewise.
12287         (special_fill_minus_pi_6): Likewise.
12288         (special_fill_pi_3): Likewise.
12289         (special_fill_2pi_3): Likewise.
12290         (special_fill_e): Likewise.
12291         (special_fill_1_e): Likewise.
12292         (special_fill_e_minus_1): Likewise.
12293         (special_real_inputs): Add more special inputs.
12294         (output_for_one_input_case): Do not require ERANGE on underflow to
12295         zero if round-to-nearest result does not underflow to zero, unless
12296         exact results required.
12297         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12298         atan, atanh, cbrt, cos and cosh.
12299         * math/auto-libm-test-out: Regenerated.
12300         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12301         (acos_tonearest_test_data): Likewise.
12302         (acos_towardzero_test_data): Likewise.
12303         (acos_downward_test_data): Likewise.
12304         (acos_upward_test_data): Likewise.
12305         (acosh_test_data): Likewise.
12306         (asin_test_data): Likewise.
12307         (asin_tonearest_test_data): Likewise.
12308         (asin_towardzero_test_data): Likewise.
12309         (asin_upward_test_data): Likewise.
12310         (asinh_test_data): Likewise.
12311         (atan_test_data): Likewise.
12312         (atanh_test_data): Likewise.
12313         (cbrt_test_data): Likewise.
12314         (cos_test_data): Likewise.
12315         (cos_tonearest_test_data): Likewise.
12316         (cos_towardzero_test_data): Likewise.
12317         (cos_downward_test_data): Likewise.
12318         (cos_upward_test_data): Likewise.
12319         (cosh_test_data): Likewise.
12320         (cosh_tonearest_test_data): Likewise.
12321         (cosh_towardzero_test_data): Likewise.
12322         (cosh_downward_test_data): Likewise.
12323         (cosh_upward_test_data): Likewise.
12324         * sysdeps/i386/fpu/libm-test-ulps: Update.
12325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12326
12327 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12328
12329         [BZ #6787]
12330         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12331         * math/w_exp10f.c (__exp10f): Likewise.
12332         * math/w_exp10l.c (__exp10l): Likewise.
12333         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12334         errno settings in existing tests.
12335
12336         [BZ #14032]
12337         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12338         precision control set to double precision.
12339         * sysdeps/i386/fpu/w_sqrt.c: New file.
12340         * math/auto-libm-test-in: Add more tests.
12341         * math/auto-libm-test-out: Update.
12342
12343         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12344         (sqrt_test_tonearest): New function.
12345         (sqrt_towardzero_test_data): New variable.
12346         (sqrt_test_towardzero): New function.
12347         (sqrt_downward_test_data): New variable.
12348         (sqrt_test_downward): New function.
12349         (sqrt_upward_test_data): New variable.
12350         (sqrt_test_upward): New function.
12351         (main): Call the new functions.
12352
12353         * math/gen-auto-libm-tests.c: New file.
12354         * math/auto-libm-test-in: Likewise.
12355         * math/auto-libm-test-out: New generated file.
12356         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12357         variables.
12358         (%beautify): Add generated representations of zero.
12359         (top level): Set $auto_input and call parse_auto_input.
12360         (beautify): Remove trailing "f" from hex float constants.
12361         (parse_args): Handle XFAIL_TEST.
12362         (convert_condition): New function.
12363         (or_value): Likewise.
12364         (or_cond_value): Likewise.
12365         (generate_testfile): Handle AUTO_TESTS_* lines.
12366         (parse_auto_input): New function.
12367         * math/libm-test.inc (XFAIL_TEST): New macro.
12368         (ERRNO_UNCHANGED): Update value.
12369         (ERRNO_EDOM): Likewise.
12370         (ERRNO_ERANGE): Likewise.
12371         (IGNORE_RESULT): Likewise.
12372         (TEST_COND_flt_32): New macro.
12373         (TEST_COND_dbl_64): Likewise.
12374         (TEST_COND_ldbl_96_intel): Likewise.
12375         (TEST_COND_ldbl_96_m68k): Likewise.
12376         (TEST_COND_ldbl_128): Likewise.
12377         (TEST_COND_ldbl_128ibm): Likewise.
12378         (TEST_COND_long32): Likewise.
12379         (TEST_COND_long64): Likewise.
12380         (TEST_COND_before_rounding): Likewise.
12381         (TEST_COND_after_rounding): Likewise.
12382         (enable_test): Handle XFAIL_TEST flag.
12383         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12384         with finite results.
12385         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12386         auto-libm-test-out.
12387
12388 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12389             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12390
12391         [BZ #16214]
12392         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12393         __tls_get_addr_internal instead of __tls_get_offset in order to
12394         avoid GOT pointer dependency.  Make rtld export
12395         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12396         __tls_get_addr since we are a __tls_get_offset platform.
12397         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12398         GOT pointer being set up before.
12399         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12400
12401 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12402
12403         * manual/math.texi (Errors in Math Functions): Document accuracy
12404         goals.
12405
12406         [BZ #15004]
12407         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12408         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12409         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12410         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12411         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12412         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12413         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12414         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12415         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12416         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12418         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12419         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12420         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12421         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12422         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12423
12424         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12425         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12426         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12427         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12428         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12429         Likewise.
12430         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12431         Likewise.
12432         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12433         Likewise.
12434         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12435         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12436         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12437         atomic-feupdateenv and flt-rounds.
12438         * sysdeps/powerpc/nofpu/Versions (libc): Add
12439         __atomic_feholdexcept, __atomic_feclearexcept,
12440         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12442         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12443         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12444         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12445         here.
12446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12447         Update.
12448
12449         * manual/arith.texi (FP Exceptions): Document that exceptions may
12450         not be raised when matherr is used.
12451         (Math Error Reporting): Document overflow in directed rounding
12452         modes.  Document that errno may not be set when finite values are
12453         returned on overflow.  Document intent to set errno on underflow
12454         only for underflow to zero.
12455
12456         [BZ #16271]
12457         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12458         round-to-nearest then adjust result for other rounding modes.
12459         * include/fenv.h (fegetround): Use libm_hidden_proto.
12460         * math/fegetround.c (fegetround): Use libm_hidden_def.
12461         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12462         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12463         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12465         Likewise.
12466         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12468         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12469         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12470
12471 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12472
12473         [BZ #16077]
12474         * nss/Versions (libnss_files): Add
12475         _nss_files_gethostbyname3_r.
12476         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12477         New function.
12478         (HOST_DB_LOOKUP): Remove macro.
12479         (_nss_files_gethostbyname_r): Implement function without the
12480         HOST_DB_LOOKUP macro.
12481         (_nss_files_gethostbyname2_r): Likewise.
12482
12483 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12484
12485         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12486
12487 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12488
12489         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12490         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12491         warning.
12492
12493 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12494
12495         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12496         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12497         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12498         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12499         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12500         __fe_nomask_env_priv and attribute_hidden.
12501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12502         (libc_feupdateenv_test_ppc): Likewise.
12503         (libc_feresetround_ppc): Likewise.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12505         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12506         compat_symbol macro.
12507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12508         (__fe_nomask_env): Likewise.
12509         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12510
12511 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12512
12513         * string/Makefile: Remove ifunc tests.
12514         * string/test-string.h: Define TEST_IFUNC.
12515         * string/test-bcopy-ifunc.c: Remove.
12516         * string/test-bzero-ifunc.c: Likewise.
12517         * string/test-memccpy-ifunc.c: Likewise.
12518         * string/test-memchr-ifunc.c: Likewise.
12519         * string/test-memcmp-ifunc.c: Likewise.
12520         * string/test-memcpy-ifunc.c: Likewise.
12521         * string/test-memmem-ifunc.c: Likewise.
12522         * string/test-memmove-ifunc.c: Likewise.
12523         * string/test-mempcpy-ifunc.c: Likewise.
12524         * string/test-memrchr-ifunc.c: Likewise.
12525         * string/test-memset-ifunc.c: Likewise.
12526         * string/test-rawmemchr-ifunc.c: Likewise.
12527         * string/test-stpcpy-ifunc.c: Likewise.
12528         * string/test-stpncpy-ifunc.c: Likewise.
12529         * string/test-strcasecmp-ifunc.c: Likewise.
12530         * string/test-strcasestr-ifunc.c: Likewise.
12531         * string/test-strcat-ifunc.c: Likewise.
12532         * string/test-strchr-ifunc.c: Likewise.
12533         * string/test-strchrnul-ifunc.c: Likewise.
12534         * string/test-strcmp-ifunc.c: Likewise.
12535         * string/test-strcpy-ifunc.c: Likewise.
12536         * string/test-strcspn-ifunc.c: Likewise.
12537         * string/test-strlen-ifunc.c: Likewise.
12538         * string/test-strncasecmp-ifunc.c: Likewise.
12539         * string/test-strncat-ifunc.c: Likewise.
12540         * string/test-strncmp-ifunc.c: Likewise.
12541         * string/test-strncpy-ifunc.c: Likewise.
12542         * string/test-strnlen-ifunc.c: Likewise.
12543         * string/test-strpbrk-ifunc.c: Likewise.
12544         * string/test-strrchr-ifunc.c: Likewise.
12545         * string/test-strspn-ifunc.c: Likewise.
12546         * string/test-strstr-ifunc.c: Likewise.
12547
12548 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12549
12550         * benchtests/Makefile: Remove ifunc tests.
12551         * benchtests/bench-string.h: Define TEST_IFUNC.
12552         * benchtests/bench-bcopy-ifunc.c: Remove.
12553         * benchtests/bench-bzero-ifunc.c: Likewise.
12554         * benchtests/bench-memccpy-ifunc.c: Likewise.
12555         * benchtests/bench-memchr-ifunc.c: Likewise.
12556         * benchtests/bench-memcmp-ifunc.c: Likewise.
12557         * benchtests/bench-memcpy-ifunc.c: Likewise.
12558         * benchtests/bench-memmem-ifunc.c: Likewise.
12559         * benchtests/bench-memmove-ifunc.c: Likewise.
12560         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12561         * benchtests/bench-memrchr-ifunc.c: Likewise.
12562         * benchtests/bench-memset-ifunc.c: Likewise.
12563         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12564         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12565         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12566         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12567         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12568         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12569         * benchtests/bench-strcat-ifunc.c: Likewise.
12570         * benchtests/bench-strchr-ifunc.c: Likewise.
12571         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12572         * benchtests/bench-strcmp-ifunc.c: Likewise.
12573         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12574         * benchtests/bench-strcpy-ifunc.c: Likewise.
12575         * benchtests/bench-strcspn-ifunc.c: Likewise.
12576         * benchtests/bench-strlen-ifunc.c: Likewise.
12577         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12578         * benchtests/bench-strncat-ifunc.c: Likewise.
12579         * benchtests/bench-strncmp-ifunc.c: Likewise.
12580         * benchtests/bench-strncpy-ifunc.c: Likewise.
12581         * benchtests/bench-strnlen-ifunc.c: Likewise.
12582         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12583         * benchtests/bench-strrchr-ifunc.c: Likewise.
12584         * benchtests/bench-strsep-ifunc.c: Likewise.
12585         * benchtests/bench-strspn-ifunc.c: Likewise.
12586         * benchtests/bench-strstr-ifunc.c: Likewise.
12587
12588 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12589
12590         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12591
12592 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12593
12594         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12595         * rt/aio.h: Likewise.
12596         * sysdeps/gnu/bits/utmp.h: Likewise.
12597         * sysdeps/gnu/bits/utmpx.h: Likewise.
12598         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12599         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12600         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12601         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12602         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12603         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12604         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12605         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12606         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12607         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12608         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12609         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12610         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12612         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12613         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12614         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12615         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12616         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12617         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12618         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12619         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12620         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12621         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12622         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12625         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12626         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12627         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12628         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12629         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12630         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12632         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12633         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12634         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12635         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12636         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12637         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12638         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12639         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12640
12641 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12642
12643         [BZ #16245]
12644         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12645         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12646
12647 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12648
12649         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12651         Likewise.
12652
12653 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12654
12655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12656         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12657         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12658         (__fesetround): Remove define.
12659         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12660         rounding and exceptions handling.
12661         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12662         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12663         (__fe_nomask_env): Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12665         __fegetround instead of fegetround.
12666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12667         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12668
12669 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12670
12671         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12672         it's there.
12673
12674         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12675
12676 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12677
12678         [BZ #11157]
12679         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12680         (encrypt_r): Likewise.
12681         * malloc/obstack.h (obstack_free): Likewise.
12682         * posix/unistd.h (encrypt): Likewise.
12683
12684 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12685
12686         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12687         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12688         DL_CALL_DT_FINI() that call the functions directly.
12689         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12690         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12691         * elf/dl-fini.c: Likewise.
12692
12693 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12694
12695         * malloc/hooks.c (memalign_check): Add alignment rounding.
12696         * malloc/malloc.c (_mid_memalign): New function.
12697         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12698         Implement by calling _mid_memalign.
12699         * manual/probes.texi (Memory Allocation Probes): Remove
12700         memory_valloc_retry and memory_pvalloc_retry.
12701
12702 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12703
12704         * locale/programs/locarchive.c (open_archive): Add const
12705         qualifier to ARCHIVEFNAME and copy default fname to
12706         DEFAULT_FNAME.
12707
12708         [BZ #15601]
12709         * libio/tst-widetext.input: Rename Oriya to Odia.
12710         * locale/iso-639.def: Likewise.
12711
12712         * manual/probes.texi (Mathematical Function Probes): Add
12713         documentation for sin, cos, asin and acos probes.
12714         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12715         (__sin32): Add slowasin probe.
12716         (__cos32): Add slowacos probe.
12717         (__mpsin): Add slowsin probe.
12718         (__mpcos): Add slowcos probe.
12719
12720 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12721
12722         [BZ #15483]
12723         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12724         thread-local __sim_exceptions_thread and global
12725         __sim_exceptions_global.
12726         (__sim_disabled_exceptions): Change to thread-local
12727         __sim_disabled_exceptions_thread and global
12728         __sim_disabled_exceptions_global.
12729         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12730         and global __sim_round_mode_global.
12731         (__simulate_exceptions): Use thread-local floating-point state and
12732         set global state from it as needed.
12733         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12734         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12735         __sim_round_mode_thread.
12736         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12737         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12738         and global __sim_exceptions_global.
12739         (__sim_disabled_exceptions): Change to thread-local
12740         __sim_disabled_exceptions_thread and global
12741         __sim_disabled_exceptions_global.
12742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12743         and global __sim_round_mode_global.
12744         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12745         (SIM_SET_GLOBAL): Likewise.
12746         * sysdeps/powerpc/soft-fp/sfp-machine.h
12747         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12748         __sim_round_mode_thread.
12749         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12750         __sim_disabled_exceptions_thread.
12751         (__sim_exceptions): Change to __sim_exceptions_thread.
12752         (__sim_disabled_exceptions): Change to
12753         __sim_disabled_exceptions_thread.
12754         (__sim_round_mode): Change to __sim_round_mode_thread.
12755         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12756         thread-local floating-point state and set global state from it as
12757         needed.
12758         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12759         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12760         (__sim_disabled_exceptions): Remove extern declaration.
12761         (feenableexcept): Use thread-local floating-point state and set
12762         global state from it as needed.
12763         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12764         extern declaration.
12765         (__sim_disabled_exceptions): Likewise.
12766         (__sim_round_mode): Likewise.
12767         (__fegetenv): Use thread-local floating-point state.
12768         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12769         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12770         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12771         floating-point state and set global state from it as needed.
12772         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12773         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12774         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12775         Likewise.
12776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12777         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12778         Likewise.
12779         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12780         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12781         Use __sim_round_mode_thread.
12782         * math/test-fenv-tls.c: New file.
12783         * math/Makefile (tests): Add test-fenv-tls.
12784         ($(objpfx)test-fenv-tls): Depend on
12785         $(common-objpfx)nptl/libpthread.so.
12786
12787 2013-11-19  Andreas Schwab  <schwab@suse.de>
12788
12789         * locale/programs/locale.c (show_info): Decode wordarray elements.
12790         * locale/categories.def (LC_MONETARY): Add element for
12791         _NL_MONETARY_CRNCYSTR.
12792         * locale/C-monetary.c (conversion_rate): New variable.
12793         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12794         element.
12795
12796 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12797
12798         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12799         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12800
12801 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12802
12803         * elf/Makefile (tst-auxv): New test.
12804         * elf/tst-auxv.c: New
12805         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12806
12807 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12808
12809         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12810         (hidden_proto): Caller changed.
12811         (hidden_tls_proto): New macro.
12812         (libc_hidden_tls_proto): Likewise.
12813         (rtld_hidden_tls_proto): Likewise.
12814         (libm_hidden_tls_proto): Likewise.
12815         (libresolv_hidden_tls_proto): Likewise.
12816         (librt_hidden_tls_proto): Likewise.
12817         (libdl_hidden_tls_proto): Likewise.
12818         (libnss_files_hidden_tls_proto): Likewise.
12819         (libnsl_hidden_tls_proto): Likewise.
12820         (libnss_nisplus_hidden_tls_proto): Likewise.
12821         (libutil_hidden_tls_proto): Likewise.
12822
12823 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12824
12825         [BZ #10253]
12826         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12827         (decompose_rpath): Defer expansion to fillin_rpath.
12828         (_dl_init_paths): Pass linkmap to fillin_rpath.
12829
12830 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12831
12832         * benchtests/Makefile: Add strsep.
12833         * benchtests/bench-strsep.c: New file: strsep benchtest.
12834         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12835
12836 2013-11-18  Andreas Schwab  <schwab@suse.de>
12837
12838         * locale/programs/locale.c (show_info) [case byte]: Check for
12839         '\377' instead of '\177'.
12840         * locale/C-monetary.c (not_available): Always use "\377".
12841         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12842         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12843         detect unavailable sign_posn locale elements.
12844         * locale/localeconv.c (__localeconv): For grouping and
12845         mon_grouping handle "\177" and "\377" like no grouping.
12846         (INT_ELEM): New macro.  Use it to set all numeric members.
12847         * locale/programs/ld-monetary.c (monetary_read)
12848         <tok_mon_grouping>: Normalize single -1 to the empty string.
12849         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12850         Likewise.
12851
12852 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12853
12854         [BZ #16055]
12855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12856         when we match (nil).
12857         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12858
12859 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12860
12861         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12862         (NO_TEST_INLINE): Update value.
12863         (ERRNO_UNCHANGED): Likewise.
12864         (ERRNO_EDOM): Likewise.
12865         (ERRNO_ERANGE): Likewise.
12866         (IGNORE_RESULT): Likewise.
12867         (check_float_internal): Check signs of NaN results if
12868         TEST_NAN_SIGN used.
12869         (check_complex): Pass TEST_NAN_SIGN flag through to second
12870         check_float_internal call.
12871         (copysign_test_data): Add tests with quiet NaNs as second
12872         argument.  Use TEST_NAN_SIGN.
12873         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12874         TEST_NAN_SIGN.
12875         (signbit_test_data): Add tests of quiet NaN argument.
12876         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12877
12878         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12879         $ignore_result.
12880         (parse_args): Handle function results specified as IGNORE.
12881         * math/libm-test.inc (IGNORE_RESULT): New macro.
12882         (check_float_internal): Do not check numerical result if flag
12883         IGNORE_RESULT set.
12884         (check_complex): Pass through IGNORE_RESULT to second
12885         check_float_internal call.
12886         (check_int): Do not check numerical result if flag IGNORE_RESULT
12887         set.
12888         (check_long): Likewise.
12889         (check_bool): Likewise.
12890         (check_longlong): Likewise.
12891         (lrint_test_data): Add tests of infinite and NaN arguments.
12892         (lrint_tonearest_test_data): Likewise.
12893         (lrint_towardzero_test_data): Likewise.
12894         (lrint_downward_test_data): Likewise.
12895         (lrint_upward_test_data): Likewise.
12896         (llrint_test_data): Likewise.
12897         (llrint_tonearest_test_data): Likewise.
12898         (llrint_towardzero_test_data): Likewise.
12899         (llrint_downward_test_data): Likewise.
12900         (llrint_upward_test_data): Likewise.
12901         (lround_test_data): Likewise.
12902         (llround_test_data): Likewise.
12903
12904         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12905         (ERRNO_UNCHANGED): Update value.
12906         (ERRNO_EDOM): Likewise.
12907         (ERRNO_ERANGE): Likewise.
12908         (NO_TEST_INLINE_FLOAT): New macro.
12909         (NO_TEST_INLINE_DOUBLE): Likewise.
12910         (enable_test): New function.
12911         (RUN_TEST_f_f): Check enable_test before running test.
12912         (RUN_TEST_2_f): Likewise.
12913         (RUN_TEST_fff_f): Likewise.
12914         (RUN_TEST_c_f): Likewise.
12915         (RUN_TEST_f_f1): Likewise.
12916         (RUN_TEST_fF_f1): Likewise.
12917         (RUN_TEST_fI_f1): Likewise.
12918         (RUN_TEST_ffI_f1): Likewise.
12919         (RUN_TEST_c_c): Likewise.
12920         (RUN_TEST_cc_c): Likewise.
12921         (RUN_TEST_f_i): Likewise.
12922         (RUN_TEST_f_i_tg): Likewise.
12923         (RUN_TEST_ff_i_tg): Likewise.
12924         (RUN_TEST_f_b): Likewise.
12925         (RUN_TEST_f_b_tg): Likewise.
12926         (RUN_TEST_f_l): Likewise.
12927         (RUN_TEST_f_L): Likewise.
12928         (RUN_TEST_fFF_11): Likewise.
12929         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12930         conditionals.
12931         (cosh_test_data): Likewise.
12932         (exp_test_data): Likewise.
12933         (expm1_test_data): Likewise.
12934         (hypot_test_data): Likewise.
12935         (pow_test_data): Likewise.
12936         (sinh_test_data): Likewise.
12937         (tanh_test_data): Likewise.
12938         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12939         flags argument.
12940
12941         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12942         tests with quiet NaN input and output.
12943         (acosh_test_data): Likewise.
12944         (asin_test_data): Likewise.
12945         (asinh_test_data): Likewise.
12946         (atan_test_data): Likewise.
12947         (atanh_test_data): Likewise.
12948         (atan2_test_data): Likewise.
12949         (cbrt_test_data): Likewise.
12950         (cos_test_data): Likewise.
12951         (cosh_test_data): Likewise.
12952         (erf_test_data): Likewise.
12953         (erfc_test_data): Likewise.
12954         (exp_test_data): Likewise.
12955         (exp10_test_data): Likewise.
12956         (exp2_test_data): Likewise.
12957         (expm1_test_data): Likewise.
12958         (hypot_test_data): Likewise.
12959         (j0_test_data): Likewise.
12960         (j1_test_data): Likewise.
12961         (jn_test_data): Likewise.
12962         (lgamma_test_data): Likewise.
12963         (log_test_data): Likewise.
12964         (log10_test_data): Likewise.
12965         (log1p_test_data): Likewise.
12966         (log2_test_data): Likewise.
12967         (pow_test_data): Likewise.
12968         (scalb_test_data): Likewise.
12969         (sin_test_data): Likewise.
12970         (sincos_test_data): Likewise.
12971         (sinh_test_data): Likewise.
12972         (tan_test_data): Likewise.
12973         (tanh_test_data): Likewise.
12974         (tgamma_test_data): Likewise.
12975         (y0_test_data): Likewise.
12976         (y1_test_data): Likewise.
12977         (yn_test_data): Likewise.
12978
12979         [BZ #16167]
12980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12981         argument being NaN and avoid computations with second argument in
12982         that case.
12983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12986
12987 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12988
12989         * locale/iso-639.def: Add Chitwani Tharu (the).
12990
12991 2013-11-14  Andreas Schwab  <schwab@suse.de>
12992
12993         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12994         word instead of empty string.
12995
12996 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12997
12998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12999         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13001         (__fe_nomask_env): Likewise.
13002
13003 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13004
13005         * benchtests/bench-timing.h: Include time.h.
13006
13007 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13008
13009         [BZ #15997]
13010         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13011         to 3.4.0 for x32.
13012         * sysdeps/unix/sysv/linux/configure: Regenerated.
13013
13014 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13015
13016         [BZ #16151]
13017         * stdlib/strtod_l.c (round_and_return): Do not consider
13018         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13019         exponent one less than half the least subnormal exponent.
13020         * stdlib/test-strtod-round-data: Add more tests.
13021         * stdlib/tst-strtod-round.c (tests): Regenerated.
13022
13023 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13024
13025         [BZ #14143]
13026         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13027         (__fe_mask_env): Likewise.
13028         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13029         libm_hidden_proto and add function prototype.
13030         (__fe_mask_env): Add function prototype.
13031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13032         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13034         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13036         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13037
13038 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13039
13040         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13041         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13042
13043 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13044
13045         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13046         of htab_find_slot().
13047
13048 2013-11-11  David S. Miller  <davem@davemloft.net>
13049
13050         [BZ #16150]
13051         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13052         symbol in the non-vis3 case in static builds.
13053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13055         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13057
13058 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13059
13060         [BZ #387]
13061         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13062         it is empty.
13063
13064 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13065
13066         * benchtests/Makefile: Add bench-strtod.
13067         * benchtests/bench-strtod.c: New file: strtod benchtest
13068
13069 2013-11-11  Andreas Schwab  <schwab@suse.de>
13070
13071         [BZ #16153]
13072         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13073         terminating NUL in key length.
13074
13075 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13076
13077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13078         Add artificial ODP entry for vDSO symbol for PPC64.
13079         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13080         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13081
13082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13083
13084         [BZ #15374]
13085         * nss/getent.c (services_keys): Recognize services starting with digit.
13086
13087 2013-11-06  David S. Miller  <davem@davemloft.net>
13088
13089         [BZ #15985]
13090         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13091         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13092
13093 2013-11-06  Will Newton  <will.newton@linaro.org>
13094
13095         * manual/memory.texi (Malloc Examples): Remove register
13096         keyword from examples.
13097
13098 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13099
13100         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13101
13102 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13103
13104         [BZ #6981]
13105         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13106         depending on [__GCC_IEC_559 > 0].
13107         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13108         depending on [__GCC_IEC_559_COMPLEX > 0].
13109
13110 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13111
13112         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13113         to iso-639.def.
13114
13115 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13116
13117         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13118
13119 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13120
13121         [BZ #16112]
13122         * malloc/malloc (malloc_info): Do not handle first bin as
13123         special case.
13124
13125 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13126
13127         * locale/iso-639.def: Add Central Nahuatl (nhn).
13128
13129 2013-11-01  Bruno Haible  <bruno@clisp.org>
13130
13131         [BZ #7003]
13132         * manual/math.texi (BSD Random): Specify range upper bound as
13133         in POSIX.
13134
13135 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13136
13137         * locale/iso-639.def: Add Meadow Mari (mhr).
13138
13139 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13140
13141         [BZ #14752], [BZ #15763]
13142         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13143         Validate name.
13144         * rt/tst_shm.c: Add test for escaping directory.
13145
13146 2013-10-31  Andreas Schwab  <schwab@suse.de>
13147
13148         [BZ #15917]
13149         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13150         followed by 'x' as part of digit sequence.
13151         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13152
13153 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13154
13155         [BZ #16037]
13156         * configure.ac: allow GNU Make 4.0 and greater.
13157         * configure: Regenerated.
13158
13159 2013-10-30  Will Newton  <will.newton@linaro.org>
13160
13161         [BZ #16038]
13162         * malloc/hooks.c (memalign_check): Limit alignment to the
13163         maximum representable power of two.
13164         * malloc/malloc.c (__libc_memalign): Likewise.
13165         * malloc/tst-memalign.c (do_test): Add test for very
13166         large alignment values.
13167         * malloc/tst-posix_memalign.c (do_test): Likewise.
13168
13169 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13170
13171         [BZ #11087]
13172         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13173         (munmap_chunk): Likewise.
13174         (mremap_chunk): Likewise.
13175
13176 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13177
13178         [BZ #15799]
13179         * stdlib/div.c (div): Remove obsolete code.
13180         * stdlib/ldiv.c (ldiv): Likewise.
13181         * stdlib/lldiv.c (lldiv): Likewise.
13182
13183 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13184
13185         [BZ #16071]
13186         * nss/nss_files/files-XXX.c (get_contents_ret): New
13187         enumerator.
13188         (get_contents): New function.
13189         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13190
13191 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13192
13193         * configure.in: Moved to ...
13194         * configure.ac: ... here. Change reference to configure.in
13195         to configure.ac.
13196         * sysdeps/arm/preconfigure.ac: ... here.
13197         configure.in to configure.ac.
13198         * sysdeps/gnu/configure.in: Moved to ...
13199         * sysdeps/gnu/configure.ac: ... here.
13200         * sysdeps/i386/configure.in: Moved to ...
13201         * sysdeps/i386/configure.ac: ... here.
13202         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13203         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13204         * sysdeps/mach/configure.in: Moved to ...
13205         * sysdeps/mach/configure.ac: ... here.
13206         * sysdeps/mach/hurd/configure.in: Moved to ...
13207         * sysdeps/mach/hurd/configure.ac: ... here.
13208         * sysdeps/powerpc/configure.in: Moved to ...
13209         * sysdeps/powerpc/configure.ac: ... here.
13210         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13211         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13212         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13213         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13214         * sysdeps/s390/s390-32/configure.in: Moved to ...
13215         * sysdeps/s390/s390-32/configure.ac: ... here.
13216         * sysdeps/s390/s390-64/configure.in: Moved to ...
13217         * sysdeps/s390/s390-64/configure.ac: ... here.
13218         * sysdeps/sh/configure.in: Moved to ...
13219         * sysdeps/sh/configure.ac: ... here.
13220         * sysdeps/sparc/configure.in: Moved to ...
13221         * sysdeps/sparc/configure.ac: ... here.
13222         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13223         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13224         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13225         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13226         * sysdeps/x86_64/configure.in: Moved to ...
13227         * sysdeps/x86_64/configure.ac: ... here.
13228         * sysdeps/x86_64/preconfigure.in: Moved to ...
13229         * sysdeps/x86_64/preconfigure.ac: ... here.
13230         * aclocal.m4: Change reference to configure.in to configure.ac.
13231         * config.h.in: Likewise.
13232         * manual/install.texi: Likewise.
13233         * manual/maint.texi: Likewise.
13234         * Makefile: Likewise.
13235         * malloc/Makefile: Likewise.
13236         * nscd/Makefile: Likewise.
13237         * Makeconfig: Change reference to configure.in and
13238         preconfigure.in to configure.ac and preconfigure.ac
13239         respectively.
13240         * INSTALL: Regenerated.
13241         * configure: Likewise.
13242         * sysdeps/gnu/configure: Likewise.
13243         * sysdeps/i386/configure: Likewise.
13244         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13245         * sysdeps/mach/configure: Likewise.
13246         * sysdeps/mach/hurd/configure: Likewise.
13247         * sysdeps/powerpc/configure: Likewise.
13248         * sysdeps/powerpc/powerpc32/configure: Likewise.
13249         * sysdeps/powerpc/powerpc64/configure: Likewise.
13250         * sysdeps/s390/s390-32/configure: Likewise.
13251         * sysdeps/s390/s390-64/configure: Likewise.
13252         * sysdeps/sh/configure: Likewise.
13253         * sysdeps/sparc/configure: Likewise.
13254         * sysdeps/unix/sysv/linux/configure: Likewise.
13255         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13256         * sysdeps/x86_64/configure: Likewise.
13257         * sysdeps/x86_64/preconfigure: Likewise.
13258
13259 2013-10-29  Andreas Schwab  <schwab@suse.de>
13260
13261         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13262
13263 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13264
13265         * benchtests/pow-inputs: Add new inputs.
13266
13267         * benchtests/exp-inputs: Add new inputs.
13268
13269         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13270         conditional check for return value.
13271         (__cos32): Likewise.
13272
13273 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13274
13275         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13276         to provide a boost for large inputs with word alignment.
13277         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13278         implementation based on optimized PPC64 strcpy.
13279         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13280         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13281         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13282         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13283
13284 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13285
13286         [BZ #2801]
13287         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13288
13289 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13290
13291         [BZ #14876]
13292         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13293         * time/tst-strptime.c (day_tests): Add testcase.
13294
13295 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13296
13297         [BZ #14029]
13298         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13299
13300 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13301
13302         [BZ #16074]
13303         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13304         MAP_FAILED on error.
13305
13306 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13307
13308         [BZ #16072]
13309         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13310         heap for large requests.
13311
13312 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13313
13314         [BZ #9954]
13315         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13316         result if the result has no associated interface.
13317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13318         interface for all 127.X.Y.Z addresses.
13319
13320 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13321
13322         * locale/iso-639.def: Add Ligurian (lij)
13323
13324 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13325
13326         [BZ #15825]
13327         * sunrpc/rpc_main.c: Document rpcgen -5.
13328
13329 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13330
13331         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13332
13333 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13334
13335         [BZ #10278]
13336         * posix/glob.c: Match only directories when trailing slash is present.
13337         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13338         (main): Add testcase.
13339
13340 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13341
13342         [BZ #15670]
13343         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13344
13345 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13346
13347         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13348         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13349         AUTH_DES and cindex for FIPS 140-2.
13350         (DES Encryption): Add cindex FIPS 46-3.
13351
13352         * locale/locarchive.h (struct locarhandle): Add fname.
13353         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13354         if an optional argument was specified to --list-archive,
13355         otherwise NULL.
13356         * locale/programs/locarchive.c (show_archive_content): Take new
13357         argument fname and pass it via ah.fname to open_archive.
13358         * locale/programs/localedef.h: Update decl.
13359         (open_archive): If AH->fname is non-null, open that file
13360         rather than the default file name, and don't ignore ENOENT.
13361         (create_archive): Set AH.fname to NULL.
13362         (delete_locales_from_archive): Likewise.
13363         (add_locales_to_archive): Likewise.
13364         * locale/programs/locfile.c (write_all_categories): Likewise.
13365
13366 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13367             Aldy Hernandez  <aldyh@redhat.com>
13368
13369         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13370         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13371         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13372         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13373         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13381         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13382         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13383         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13384         Likewise.
13385         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13386         Likewise.
13387         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13388         Likewise.
13389         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13390         Likewise.
13391         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13392         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13393         Likewise.
13394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13395         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13396         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13397         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13398         Likewise.
13399         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13400         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13401         * sysdeps/powerpc/preconfigure: Likewise.
13402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13403         Likewise.
13404         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13405         Replace contents of file by #include of <fenv_libc.h>.
13406         * sysdeps/powerpc/soft-fp/sfp-machine.h
13407         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13408         and <sys/prctl.h>.
13409         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13422         Allow copysignl PLT reference to be missing.
13423
13424 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13425             Joseph Myers  <joseph@codesourcery.com
13426
13427         [BZ #15948]
13428         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13429         single character.
13430         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13431
13432 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13433
13434         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13435         * elf/tst-tls1.c: Likewise.
13436         * elf/tst-tls10.h: Likewise.
13437         * elf/tst-tls14.c: Likewise.
13438         * elf/tst-tls2.c: Likewise.
13439         * elf/tst-tls3.c: Likewise.
13440         * elf/tst-tls4.c: Likewise.
13441         * elf/tst-tls5.c: Likewise.
13442         * elf/tst-tls6.c: Likewise.
13443         * elf/tst-tls7.c: Likewise.
13444         * elf/tst-tls8.c: Likewise.
13445         * elf/tst-tls9.c: Likewise.
13446         * elf/tst-tlsmod1.c: Likewise.
13447         * elf/tst-tlsmod13.c: Likewise.
13448         * elf/tst-tlsmod13a.c: Likewise.
13449         * elf/tst-tlsmod14a.c: Likewise.
13450         * elf/tst-tlsmod16a.c: Likewise.
13451         * elf/tst-tlsmod16b.c: Likewise.
13452         * elf/tst-tlsmod2.c: Likewise.
13453         * elf/tst-tlsmod3.c: Likewise.
13454         * elf/tst-tlsmod4.c: Likewise.
13455         * elf/tst-tlsmod5.c: Likewise.
13456         * elf/tst-tlsmod6.c: Likewise.
13457
13458 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13459
13460         [BZ #12486]
13461         * malloc/malloc.c: remove checks for statistics.
13462
13463 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13464
13465         [BZ #15277]
13466         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13467         * inet/tst-network.c: Add testcase.
13468
13469 2013-10-17  Andreas Schwab  <schwab@suse.de>
13470
13471         [BZ #15218]
13472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13473         to determine canonical name.
13474
13475 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13476
13477         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13478         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13482         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13483         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13485         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13495         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13496         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13497         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13498         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13501         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13502         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13503         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13504         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13518         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13520         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13521         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13523         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13524         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13525         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13526         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13527         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13528         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13529         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13530         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13532         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13533         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13534         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13535
13536 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13537
13538         [BZ #16041]
13539         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13540         make result into a quiet NaN.
13541
13542 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13543
13544         * soft-fp/adddf3.c: Fix horizontal whitespace.
13545         * soft-fp/addsf3.c: Likewise.
13546         * soft-fp/addtf3.c: Likewise.
13547         * soft-fp/divdf3.c: Likewise.
13548         * soft-fp/divsf3.c: Likewise.
13549         * soft-fp/divtf3.c: Likewise.
13550         * soft-fp/double.h: Likewise.
13551         * soft-fp/eqdf2.c: Likewise.
13552         * soft-fp/eqsf2.c: Likewise.
13553         * soft-fp/eqtf2.c: Likewise.
13554         * soft-fp/extenddftf2.c: Likewise.
13555         * soft-fp/extended.h: Likewise.
13556         * soft-fp/extendsfdf2.c: Likewise.
13557         * soft-fp/extendsftf2.c: Likewise.
13558         * soft-fp/extendxftf2.c: Likewise.
13559         * soft-fp/fixdfdi.c: Likewise.
13560         * soft-fp/fixdfsi.c: Likewise.
13561         * soft-fp/fixdfti.c: Likewise.
13562         * soft-fp/fixsfdi.c: Likewise.
13563         * soft-fp/fixsfsi.c: Likewise.
13564         * soft-fp/fixsfti.c: Likewise.
13565         * soft-fp/fixtfdi.c: Likewise.
13566         * soft-fp/fixtfsi.c: Likewise.
13567         * soft-fp/fixtfti.c: Likewise.
13568         * soft-fp/fixunsdfdi.c: Likewise.
13569         * soft-fp/fixunsdfsi.c: Likewise.
13570         * soft-fp/fixunsdfti.c: Likewise.
13571         * soft-fp/fixunssfdi.c: Likewise.
13572         * soft-fp/fixunssfsi.c: Likewise.
13573         * soft-fp/fixunssfti.c: Likewise.
13574         * soft-fp/fixunstfdi.c: Likewise.
13575         * soft-fp/fixunstfsi.c: Likewise.
13576         * soft-fp/fixunstfti.c: Likewise.
13577         * soft-fp/floatdidf.c: Likewise.
13578         * soft-fp/floatdisf.c: Likewise.
13579         * soft-fp/floatditf.c: Likewise.
13580         * soft-fp/floatsidf.c: Likewise.
13581         * soft-fp/floatsisf.c: Likewise.
13582         * soft-fp/floatsitf.c: Likewise.
13583         * soft-fp/floattidf.c: Likewise.
13584         * soft-fp/floattisf.c: Likewise.
13585         * soft-fp/floattitf.c: Likewise.
13586         * soft-fp/floatundidf.c: Likewise.
13587         * soft-fp/floatundisf.c: Likewise.
13588         * soft-fp/floatunditf.c: Likewise.
13589         * soft-fp/floatunsidf.c: Likewise.
13590         * soft-fp/floatunsisf.c: Likewise.
13591         * soft-fp/floatunsitf.c: Likewise.
13592         * soft-fp/floatuntidf.c: Likewise.
13593         * soft-fp/floatuntisf.c: Likewise.
13594         * soft-fp/floatuntitf.c: Likewise.
13595         * soft-fp/fmadf4.c: Likewise.
13596         * soft-fp/fmasf4.c: Likewise.
13597         * soft-fp/fmatf4.c: Likewise.
13598         * soft-fp/gedf2.c: Likewise.
13599         * soft-fp/gesf2.c: Likewise.
13600         * soft-fp/getf2.c: Likewise.
13601         * soft-fp/ledf2.c: Likewise.
13602         * soft-fp/lesf2.c: Likewise.
13603         * soft-fp/letf2.c: Likewise.
13604         * soft-fp/muldf3.c: Likewise.
13605         * soft-fp/mulsf3.c: Likewise.
13606         * soft-fp/multf3.c: Likewise.
13607         * soft-fp/negdf2.c: Likewise.
13608         * soft-fp/negsf2.c: Likewise.
13609         * soft-fp/negtf2.c: Likewise.
13610         * soft-fp/op-1.h: Likewise.
13611         * soft-fp/op-2.h: Likewise.
13612         * soft-fp/op-4.h: Likewise.
13613         * soft-fp/op-8.h: Likewise.
13614         * soft-fp/op-common.h: Likewise.
13615         * soft-fp/quad.h: Likewise.
13616         * soft-fp/single.h: Likewise.
13617         * soft-fp/soft-fp.h: Likewise.
13618         * soft-fp/sqrtdf2.c: Likewise.
13619         * soft-fp/sqrtsf2.c: Likewise.
13620         * soft-fp/sqrttf2.c: Likewise.
13621         * soft-fp/subdf3.c: Likewise.
13622         * soft-fp/subsf3.c: Likewise.
13623         * soft-fp/subtf3.c: Likewise.
13624         * soft-fp/truncdfsf2.c: Likewise.
13625         * soft-fp/trunctfdf2.c: Likewise.
13626         * soft-fp/trunctfsf2.c: Likewise.
13627         * soft-fp/trunctfxf2.c: Likewise.
13628         * soft-fp/unorddf2.c: Likewise.
13629         * soft-fp/unordsf2.c: Likewise.
13630         * soft-fp/unordtf2.c: Likewise.
13631
13632 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13633
13634         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13635         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13636
13637 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13638
13639         * elf/dl-libc.c: Clear initfini list after freeing.
13640
13641 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13642
13643         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13644         * soft-fp/addsf3.c: Likewise.
13645         * soft-fp/addtf3.c: Likewise.
13646         * soft-fp/divdf3.c: Likewise.
13647         * soft-fp/divsf3.c: Likewise.
13648         * soft-fp/divtf3.c: Likewise.
13649         * soft-fp/double.h: Likewise.
13650         * soft-fp/eqdf2.c: Likewise.
13651         * soft-fp/eqsf2.c: Likewise.
13652         * soft-fp/eqtf2.c: Likewise.
13653         * soft-fp/extenddftf2.c: Likewise.
13654         * soft-fp/extended.h: Likewise.
13655         * soft-fp/extendsfdf2.c: Likewise.
13656         * soft-fp/extendsftf2.c: Likewise.
13657         * soft-fp/extendxftf2.c: Likewise.
13658         * soft-fp/fixdfdi.c: Likewise.
13659         * soft-fp/fixdfsi.c: Likewise.
13660         * soft-fp/fixdfti.c: Likewise.
13661         * soft-fp/fixsfdi.c: Likewise.
13662         * soft-fp/fixsfsi.c: Likewise.
13663         * soft-fp/fixsfti.c: Likewise.
13664         * soft-fp/fixtfdi.c: Likewise.
13665         * soft-fp/fixtfsi.c: Likewise.
13666         * soft-fp/fixtfti.c: Likewise.
13667         * soft-fp/fixunsdfdi.c: Likewise.
13668         * soft-fp/fixunsdfsi.c: Likewise.
13669         * soft-fp/fixunsdfti.c: Likewise.
13670         * soft-fp/fixunssfdi.c: Likewise.
13671         * soft-fp/fixunssfsi.c: Likewise.
13672         * soft-fp/fixunssfti.c: Likewise.
13673         * soft-fp/fixunstfdi.c: Likewise.
13674         * soft-fp/fixunstfsi.c: Likewise.
13675         * soft-fp/fixunstfti.c: Likewise.
13676         * soft-fp/floatdidf.c: Likewise.
13677         * soft-fp/floatdisf.c: Likewise.
13678         * soft-fp/floatditf.c: Likewise.
13679         * soft-fp/floatsidf.c: Likewise.
13680         * soft-fp/floatsisf.c: Likewise.
13681         * soft-fp/floatsitf.c: Likewise.
13682         * soft-fp/floattidf.c: Likewise.
13683         * soft-fp/floattisf.c: Likewise.
13684         * soft-fp/floattitf.c: Likewise.
13685         * soft-fp/floatundidf.c: Likewise.
13686         * soft-fp/floatundisf.c: Likewise.
13687         * soft-fp/floatunsidf.c: Likewise.
13688         * soft-fp/floatunsisf.c: Likewise.
13689         * soft-fp/floatuntidf.c: Likewise.
13690         * soft-fp/floatuntisf.c: Likewise.
13691         * soft-fp/floatuntitf.c: Likewise.
13692         * soft-fp/fmadf4.c: Likewise.
13693         * soft-fp/fmasf4.c: Likewise.
13694         * soft-fp/fmatf4.c: Likewise.
13695         * soft-fp/gedf2.c: Likewise.
13696         * soft-fp/gesf2.c: Likewise.
13697         * soft-fp/getf2.c: Likewise.
13698         * soft-fp/ledf2.c: Likewise.
13699         * soft-fp/lesf2.c: Likewise.
13700         * soft-fp/letf2.c: Likewise.
13701         * soft-fp/muldf3.c: Likewise.
13702         * soft-fp/mulsf3.c: Likewise.
13703         * soft-fp/multf3.c: Likewise.
13704         * soft-fp/negdf2.c: Likewise.
13705         * soft-fp/negsf2.c: Likewise.
13706         * soft-fp/negtf2.c: Likewise.
13707         * soft-fp/op-1.h: Likewise.
13708         * soft-fp/op-2.h: Likewise.
13709         * soft-fp/op-4.h: Likewise.
13710         * soft-fp/op-8.h: Likewise.
13711         * soft-fp/op-common.h: Likewise.
13712         * soft-fp/quad.h: Likewise.
13713         * soft-fp/single.h: Likewise.
13714         * soft-fp/soft-fp.h: Likewise.
13715         * soft-fp/sqrtdf2.c: Likewise.
13716         * soft-fp/sqrtsf2.c: Likewise.
13717         * soft-fp/sqrttf2.c: Likewise.
13718         * soft-fp/subdf3.c: Likewise.
13719         * soft-fp/subsf3.c: Likewise.
13720         * soft-fp/subtf3.c: Likewise.
13721         * soft-fp/truncdfsf2.c: Likewise.
13722         * soft-fp/trunctfdf2.c: Likewise.
13723         * soft-fp/trunctfsf2.c: Likewise.
13724         * soft-fp/trunctfxf2.c: Likewise.
13725         * soft-fp/unorddf2.c: Likewise.
13726         * soft-fp/unordsf2.c: Likewise.
13727         * soft-fp/unordtf2.c: Likewise.
13728
13729 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13730
13731         [BZ #15672]
13732         * misc/error.c (error_tail): Fix possible buffer overflow.
13733
13734 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13735
13736         [BZ #13028]
13737         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13738         address.
13739
13740 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13741
13742         [BZ #832]
13743         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13744         testing pipefail option.
13745
13746 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13747
13748         * soft-fp/double.h: Indent preprocessor directives inside #if.
13749         * soft-fp/extended.h: Likewise.
13750         * soft-fp/op-2.h: Likewise.
13751         * soft-fp/op-4.h: Likewise.
13752         * soft-fp/op-common.h: Likewise.
13753         * soft-fp/quad.h: Likewise.
13754         * soft-fp/single.h: Likewise.
13755         * soft-fp/soft-fp.h: Likewise.
13756
13757 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13758
13759         * iconv/iconv_prog.c: Fix typos.
13760         * stdio-common/psiginfo-data.h: Likewise.
13761
13762 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13763
13764         [BZ #15764]
13765         * locale/setlocale.c: Fix typo.
13766
13767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13768
13769         [BZ #16036]
13770         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13771         signaling NaN arguments.
13772         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13773         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13774
13775         [BZ #14910]
13776         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13777         unordered operands.
13778         * soft-fp/gesf2.c (__gesf2): Likewise.
13779         * soft-fp/getf2.c (__getf2): Likewise.
13780         * soft-fp/ledf2.c (__ledf2): Likewise.
13781         * soft-fp/lesf2.c (__lesf2): Likewise.
13782         * soft-fp/letf2.c (__letf2): Likewise.
13783
13784         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13785         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13786         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13787         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13788         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13789         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13790         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13791         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13792         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13793         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13794         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13795         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13796         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13797         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13798         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13799         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13800         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13801         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13802         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13803         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13804         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13805         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13806         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13807         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13808         * soft-fp/floattidf.c (__floattidf): Likewise.
13809         * soft-fp/floattisf.c (__floattisf): Likewise.
13810         * soft-fp/floattitf.c (__floattitf): Likewise.
13811         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13812         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13813         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13814         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13815         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13816         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13817         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13818         * soft-fp/gesf2.c (__gesf2): Likewise.
13819         * soft-fp/getf2.c (__getf2): Likewise.
13820         * soft-fp/ledf2.c (__ledf2): Likewise.
13821         * soft-fp/lesf2.c (__lesf2): Likewise.
13822         * soft-fp/letf2.c (__letf2): Likewise.
13823
13824         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13825         Undefine and redefine.
13826         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13827         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13828         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13829         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13830         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13831         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13832         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13833         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13834         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13835         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13836         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13837         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13838         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13839         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13840         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13841
13842         [BZ #16032]
13843         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13844         without decrementing exponent if mantissa >= that for the
13845         denominator, not >.
13846         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13847         denominator, not >.  Decrement exponent in < case instead of
13848         incrementing in >= case.
13849         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13850         without decrementing exponent if mantissa >= that for the
13851         denominator, not >.
13852
13853         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13854         computing saturated result for unsigned overflow.
13855
13856 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13857             Jeff Law  <law@redhat.com>
13858
13859         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13860         (atan2Mp): Add systemtap probe marker.
13861         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13862         (__ieee754_log): Add systemtap probe marker.
13863         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13864         (atanMp): Add systemtap probe marker.
13865         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13866         (tanMp): Add systemtap probe marker.
13867         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13868         (__slowexp): Add systemtap probe marker.
13869         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13870         (__slowpow): Add systemtap probe marker.
13871         * manual/probes.texi: Document probes.
13872
13873 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13874
13875         [BZ #15362]
13876         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13877         written.
13878         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13879         written.
13880         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13881         written to buffer but not flushed.
13882         * libio/iofwrite_u.c:  Likewise.
13883         * libio/iopadn.c:  Return bytes returned even if EOF was
13884         encountered.
13885         * libio/iowpadn.c:  Likewise.
13886         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13887         if _IO_padn does not write the whole buffer.
13888         [!COMPILE_WPRINTF] (PAD): Likewise.
13889
13890 2013-10-10  David S. Miller  <davem@davemloft.net>
13891
13892         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13893         directory block.
13894
13895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13896
13897         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13898         instead of FSF address.
13899         * soft-fp/fixdfti.c: Likewise.
13900         * soft-fp/fixsfti.c: Likewise.
13901         * soft-fp/fixtfti.c: Likewise.
13902         * soft-fp/fixunsdfti.c: Likewise.
13903         * soft-fp/fixunssfti.c: Likewise.
13904         * soft-fp/fixunstfti.c: Likewise.
13905         * soft-fp/floattidf.c: Likewise.
13906         * soft-fp/floattisf.c: Likewise.
13907         * soft-fp/floattitf.c: Likewise.
13908         * soft-fp/floatuntidf.c: Likewise.
13909         * soft-fp/floatuntisf.c: Likewise.
13910         * soft-fp/floatuntitf.c: Likewise.
13911         * soft-fp/trunctfxf2.c: Likewise.
13912
13913         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13914         * soft-fp/fixdfti.c: Likewise.
13915         * soft-fp/fixsfti.c: Likewise.
13916         * soft-fp/fixtfti.c: Likewise.
13917         * soft-fp/fixunsdfti.c: Likewise.
13918         * soft-fp/fixunssfti.c: Likewise.
13919         * soft-fp/fixunstfti.c: Likewise.
13920         * soft-fp/floattidf.c: Likewise.
13921         * soft-fp/floattisf.c: Likewise.
13922         * soft-fp/floattitf.c: Likewise.
13923         * soft-fp/floatuntidf.c: Likewise.
13924         * soft-fp/floatuntisf.c: Likewise.
13925         * soft-fp/floatuntitf.c: Likewise.
13926         * soft-fp/trunctfxf2.c: Likewise.
13927
13928 2013-10-10  David S. Miller  <davem@davemloft.net>
13929
13930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13931
13932 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13933
13934         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13935         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13936         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13937         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13938         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13939         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13940         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13941
13942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13943         for NaNs before doing comparisons on argument.
13944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13945         Likewise.
13946
13947 2013-10-10  Will Newton  <will.newton@linaro.org>
13948
13949         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13950         passed to _int_memalign does not overflow.
13951
13952 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13953
13954         * scripts/bench.pl: Add include-sources directive.
13955         * benchtests/README: Update documentation.
13956
13957 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13958
13959         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13960         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13961         instead of FP_INIT_ROUNDMODE.
13962         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13963         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13964
13965         [BZ #16034]
13966         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13967         copy class of input value.
13968         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13969         not handle exceptions.
13970         * soft-fp/negsf2.c (__negsf2): Likewise.
13971         * soft-fp/negtf2.c (__negtf2): Likewise.
13972         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13973
13974 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13975
13976         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13977         semicolon.  From Linux kernel.
13978
13979 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13980
13981         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13982
13983 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13984
13985         [BZ #156]
13986         * manual/socket.texi: Added statement about buffer
13987         for gethostbyname2_r.
13988
13989 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13990
13991         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13992         Use .p2align directive instead, throughout.
13993         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13994         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13995         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13999         * sysdeps/x86_64/strchr.S: Likewise.
14000         * sysdeps/x86_64/strrchr.S: Likewise.
14001
14002 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14003
14004         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14005
14006         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14007
14008         * sysdeps/generic/math_private.h (__mpsin1): Remove
14009         declaration.
14010         (__mpcos1): Likewise.
14011         (__mpsin): New argument __range_reduce.
14012         (__mpcos): Likewise.
14013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14014         (slow): Use __mpsin and __mpcos.
14015         (slow1): Likewise.
14016         (slow2): Likewise.
14017         (sloww): Likewise.
14018         (sloww1): Likewise.
14019         (sloww2): Likewise.
14020         (bsloww): Likewise.
14021         (bsloww1): Likewise.
14022         (bsloww2): Likewise.
14023         (cslow2): Likewise.
14024         (csloww): Likewise.
14025         (csloww1): Likewise.
14026         (csloww2): Likewise.
14027         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14028         range_reduce.  Merge in __mpsin1.
14029         (__mpcos): Likewise.
14030         (__mpsin1): Remove.
14031         (__mpcos1): Likewise.
14032
14033 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14034
14035         * locale/loadlocale.c (_nl_intern_locale_data): Use
14036         LOCFILE_ALIGNED_P.
14037         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14038         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14039         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14040         obstack data is appropriately aligned.
14041         (obstack_int32_grow_fast): Likewise.
14042         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14043         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14044         (add_locale_uint32_array): Likewise.
14045
14046 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14047
14048         * benchtests/Makefile: Remove ARGLIST and RET variables.
14049         ($(objpfx)bench-%.c): Pass only function name to the script.
14050         * benchtests/README: Update documentation.
14051         * benchtests/acos-inputs: Add new directives.
14052         * benchtests/acosh-inputs: Likewise.
14053         * benchtests/asin-inputs: Likewise.
14054         * benchtests/asinh-inputs: Likewise.
14055         * benchtests/atan-inputs: Likewise.
14056         * benchtests/atanh-inputs: Likewise.
14057         * benchtests/cos-inputs: Likewise.
14058         * benchtests/cosh-inputs: Likewise.
14059         * benchtests/exp-inputs: Likewise.
14060         * benchtests/log-inputs: Likewise.
14061         * benchtests/pow-inputs: Likewise.
14062         * benchtests/rint-inputs: Likewise.
14063         * benchtests/sin-inputs: Likewise.
14064         * benchtests/sinh-inputs: Likewise.
14065         * benchtests/tan-inputs: Likewise.
14066         * benchtests/tanh-inputs: Likewise.
14067         * scripts/bench.pl: Add support for new directives.
14068
14069 2013-10-07  Alan Modra  <amodra@gmail.com>
14070
14071         * README: Fix careless merge.
14072
14073 2013-10-05  Alan Modra  <amodra@gmail.com>
14074
14075         * NEWS: Mention powerpc64le support and bugs fixed.
14076         * README: Both big-endian and little-endian powerpc64 supported.
14077
14078 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14079
14080         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14081         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14082         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14083         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14084
14085 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14086
14087         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14088         match prototype.
14089
14090 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14091
14092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14093         Move -mhard-float appending from
14094         ports/sysdeps/powerpc/powerpc32/Makefile.
14095         [$(with-fp) = yes] (ASFLAGS): Likewise.
14096         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14097         * sysdeps/powerpc/nofpu: Move directory from
14098         ports/sysdeps/powerpc/nofpu.
14099         * sysdeps/powerpc/soft-fp: Move directory from
14100         ports/sysdeps/powerpc/soft-fp.
14101         * sysdeps/powerpc/powerpc32/405: Move directory from
14102         ports/sysdeps/powerpc/powerpc32/405.
14103         * sysdeps/powerpc/powerpc32/440: Move directory from
14104         ports/sysdeps/powerpc/powerpc32/440.
14105         * sysdeps/powerpc/powerpc32/464: Move directory from
14106         ports/sysdeps/powerpc/powerpc32/464.
14107         * sysdeps/powerpc/powerpc32/476: Move directory from
14108         ports/sysdeps/powerpc/powerpc32/476.
14109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14110         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14112         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14114         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14116         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14118         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14119         * README: Update for powerpc-*-linux-gnu software floating point
14120         support in libc.
14121
14122         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14123         case to powerpc/powerpc32*.
14124         * sysdeps/unix/sysv/linux/configure: Regenerated.
14125
14126         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14127         (_FPU_MASK_OM): Define as 0x04.
14128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14130         0x00c10080.
14131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14132         0x0000003c.
14133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14134
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14137         getcontext_e500.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14140         setcontext_e500.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14142         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14143         and setcontext_e500.
14144
14145 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14146
14147         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14148
14149 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14150
14151         * manual/threads.texi (Default Thread Attributes): Fix typo.
14152
14153 2013-10-04  Will Newton  <will.newton@linaro.org>
14154
14155         * malloc/Makefile: Add tst-memalign.
14156         * malloc/tst-memalign.c: New file.
14157
14158         * malloc/tst-posix_memalign.c: Add comments.
14159         (do_test): Add comments and call free on all potentially
14160         allocated pointers. Add space after cast.
14161
14162         * malloc/tst-pvalloc.c: Add comments.
14163         (do_test): Add comments and call free on all potentially
14164         allocated pointers. Remove duplicate check for NULL pointer.
14165         Add space after cast.
14166
14167         * malloc/tst-valloc.c: Add comments.
14168         (do_test): Add comments and call free on all potentially
14169         allocated pointers. Remove duplicate check for NULL pointer.
14170         Add space after cast.
14171
14172 2013-10-04  Alan Modra  <amodra@gmail.com>
14173
14174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14175         Use stdint types in rather than __attribute__((mode())).
14176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14177
14178 2013-10-04  Alan Modra  <amodra@gmail.com>
14179
14180         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14181         Correct handling of unaligned relocs for little-endian.
14182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14183
14184 2013-10-04  Alan Modra  <amodra@gmail.com>
14185
14186         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14187         * configure: Regenerate.
14188         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14189         * shlib-versions: Likewise.
14190
14191 2013-10-04  Alan Modra  <amodra@gmail.com>
14192
14193         * string/tester.c (test_memrchr): Increment reported test cycle.
14194
14195 2013-10-04  Alan Modra  <amodra@gmail.com>
14196
14197         * string/test-memcpy.c (do_one_test): When reporting errors, print
14198         string address and don't overrun end of string.
14199
14200 2013-10-04  Alan Modra  <amodra@gmail.com>
14201
14202         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14203         insrdi.  Make better use of reg selection to speed exit slightly.
14204         Schedule entry path a little better.  Remove useless "are we done"
14205         checks on entry to main loop.  Handle wrapping around zero address.
14206         Correct main loop count.  Handle single left-over word from main
14207         loop inline rather than by using loop_small.  Remove extra word
14208         case in loop_small caused by wrong loop count.  Add little-endian
14209         support.
14210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14212         cache hint.
14213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14214         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14215         support.  Avoid rlwimi.
14216         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14217
14218 2013-10-04  Alan Modra  <amodra@gmail.com>
14219
14220         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14221         insrdi.  Formatting.
14222         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14223         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14224         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14225         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14226         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14227         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14228
14229 2013-10-04  Alan Modra  <amodra@gmail.com>
14230
14231         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14232         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14233         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14234         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14235         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14236         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14239         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14240         use of regs.  Use power7 mtocrf.  Tidy function tails.
14241
14242 2013-10-04  Alan Modra  <amodra@gmail.com>
14243
14244         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14245         Formatting.  Consistently use rXXX register defines or rN defines.
14246         Use early exit labels that avoid restoring unused non-volatile regs.
14247         Make cr field use more consistent with rWORDn compares.  Rename
14248         regs used as shift registers for unaligned loop, using rN defines
14249         for short lifetime/multiple use regs.
14250         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14252         addi 1,1,64 to pop stack frame.  Simplify return value code.
14253         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14254
14255 2013-10-04  Alan Modra  <amodra@gmail.com>
14256
14257         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14258         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14259         rather than rlwimi.
14260         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14262         little-endian support.  Correct typos.
14263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14264         rather than rlwimi.
14265         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14266         in loop and entry code to keep "and." results.
14267         (strchr): Add little-endian support.  Comment.  Move cntlzd
14268         earlier in tail.
14269         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14270
14271 2013-10-04  Alan Modra  <amodra@gmail.com>
14272
14273         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14274         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14275         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14276         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14277
14278 2013-10-04  Alan Modra  <amodra@gmail.com>
14279
14280         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14281         (rTMP): Define as r11.
14282         (strcmp): Add little-endian support.  Optimise tail.
14283         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14286         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14287         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14288         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14290
14291 2013-10-04  Alan Modra  <amodra@gmail.com>
14292
14293         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14294         little-endian support.  Remove unnecessary "are we done" tests.
14295         Handle "s" wrapping around zero and extremely large "size".
14296         Correct main loop count.  Handle single left-over word from main
14297         loop inline rather than by using small_loop.  Correct comments.
14298         Delete "zero" tail, use "end_max" instead.
14299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14300
14301 2013-10-04  Alan Modra  <amodra@gmail.com>
14302
14303         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14304         support.  Don't branch over align.
14305         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14306         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14307         support.  Rearrange tmp reg use to suit.  Comment.
14308         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14309
14310 2013-10-04  Alan Modra  <amodra@gmail.com>
14311
14312         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14313
14314 2013-10-04  Alan Modra  <amodra@gmail.com>
14315
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14317         conditional form of branch and link when obtaining pc.
14318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14319
14320 2013-10-04  Alan Modra  <amodra@gmail.com>
14321
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14323         HIWORD/LOWORD.
14324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14326
14327 2013-10-04  Alan Modra  <amodra@gmail.com>
14328
14329         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14330         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14332         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14333         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14335         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14336         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14339
14340 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14341             Alistair Popple <alistair@ozlabs.au.ibm.com>
14342             Alan Modra <amodra@gmail.com>
14343
14344         [BZ #15723]
14345         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14347         _dl_hwcap access for little-endian.
14348         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14349         destroy vmx regs when saving unaligned.
14350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14352         destroy vmx regs when saving unaligned.
14353
14354 2013-10-04  Alan Modra  <amodra@gmail.com>
14355
14356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14357         Don't use a union to pack hi/low value.
14358
14359 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14360
14361         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14362         for little-endian.
14363         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14364         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14368
14369 2013-10-04  Alan Modra  <amodra@gmail.com>
14370
14371         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14372         constants to usual value for .cst8 section, and remove redundant
14373         high address load.
14374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14375         constant for 0x1p52.  Load little-endian words of double from
14376         correct stack offsets.
14377
14378 2013-10-04  Alan Modra  <amodra@gmail.com>
14379
14380         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14381         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14382         words of double from correct stack offsets.
14383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14384         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14385         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14389         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14390         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14394         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14397         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14398         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14399         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14400
14401 2013-10-04  Alan Modra  <amodra@gmail.com>
14402
14403         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14404         64-bit int/double union.
14405         (_FPU_SETCW): Likewise.
14406         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14407         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14408
14409 2013-10-04  Alan Modra  <amodra@gmail.com>
14410
14411         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14412         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14413
14414 2013-10-04  Alan Modra  <amodra@gmail.com>
14415
14416         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14417         use vector int constants.
14418         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14419
14420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14421
14422         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14423         array with long long.
14424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14425         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14426         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14427         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14429         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14430         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14431         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14432         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14433         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14434         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14436         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14437
14438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14439
14440         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14441         (__signbit): Likewise.  Correct for little-endian.
14442         (__signbitl): Call __signbit.
14443         (lrint): Correct for little-endian.
14444         (lrintf): Call lrint.
14445
14446 2013-10-04  Alan Modra  <amodra@gmail.com>
14447
14448         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14449         union 32-bit int array member with 64-bit int array.
14450         (t515, tm256): Double rather than long double.
14451         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14452
14453 2013-10-04  Alan Modra  <amodra@gmail.com>
14454
14455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14456         Delete.
14457         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14459         version of math_ldbl.h.
14460
14461 2013-10-04  Alan Modra  <amodra@gmail.com>
14462
14463         [BZ #15734], [BZ #15735]
14464         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14465         all uses of ieee875 long double macros and unions.  Simplify test
14466         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14467         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14468         normalize after ldbl_extract_mantissa, and don't add hidden bit
14469         already handled.  Don't treat low word of ieee854 mantissa like
14470         low word of IBM long double and mask off bit when testing for
14471         zero.
14472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14473         all uses of ieee875 long double macros and unions.  Simplify tests
14474         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14475         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14476         two1022, instead use their values.  Recognise that tests for large
14477         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14479         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14480         test for 0.0L and nan.  Correct negation.
14481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14482         ieee875 long double macros and unions.  Correct output for large
14483         magnitude x.  Correct absolute value calculation.
14484         (__erfcl): Likewise.
14485         * math/libm-test.inc: Add tests for errors discovered in IBM long
14486         double versions of fmodl, remainderl, erfl and erfcl.
14487
14488 2013-10-04  Alan Modra  <amodra@gmail.com>
14489
14490         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14491         all uses of ieee854 long double macros and unions.  Simplify tests
14492         for long doubles that are fully specified by the high double.
14493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14494         Likewise.
14495         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14496         Remove dead code too.
14497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14498         (__ieee754_ynl): Likewise.
14499         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14502         Remove dead code too.
14503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14507         Simplify.
14508         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14509         Simplify.
14510         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14511         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14513         Comment on variable precision.
14514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14516         Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14518         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14522
14523 2013-10-04  Alan Modra  <amodra@gmail.com>
14524
14525         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14526         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14527         all uses of ieee854 long double macros and unions.
14528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14534         Likewise.
14535         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14536         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14537         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14541         Simplify sign and nan test too.
14542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14543         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14544         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14546         Likewise.
14547         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14548         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14549         Likewise.
14550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14551         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14552         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14556
14557 2013-10-04  Alan Modra  <amodra@gmail.com>
14558
14559         * stdio-common/printf_size.c (__printf_size): Don't use
14560         union ieee854_long_double in fpnum union.
14561         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14562         signbit macro to retrieve sign from long double.
14563         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14564         retrieve sign from long double.
14565         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14566         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14567         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14568         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14569         * math/test-misc.c (main): Don't use union ieee854_long_double.
14570
14571 2013-10-04  Alan Modra  <amodra@gmail.com>
14572
14573         [BZ #15680]
14574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14576         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14577         calculation.  Remove unnecessary test for denormal exponent.
14578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14579         Correct handling of denormals.  Avoid undefined shift behaviour.
14580         Correct normalisation of low mantissa when low double is denormal.
14581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14582         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14583         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14584         Correct normalisation of low mantissa.  Test for overflow of high
14585         mantissa and normalise.
14586         (ldbl_nearbyint): Use more readable constant for two52.
14587         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14588         (__mpn_construct_long_double): Fix test for overflow of high
14589         mantissa and correct normalisation.  Avoid undefined shift.
14590
14591 2013-10-04  Alan Modra  <amodra@gmail.com>
14592
14593         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14594         (union ibm_extended_long_double): Define as an array of ieee754_double.
14595         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14597         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14598         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14602         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14605         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14606
14607 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14608
14609         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14610         page size instead of calling getpagesize.
14611
14612         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14613         (LOCFILE_ALIGN_MASK): Likewise.
14614         (LOCFILE_ALIGN_UP): Likewise.
14615         (LOCFILE_ALIGNED_P): Likewise.
14616         * locale/programs/ld-collate.c (collate_output): Use the new
14617         macros instead of __alignof__ (int32_t).
14618         * locale/weight.h (findidx): Likewise.
14619
14620 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14621
14622         [BZ #431]
14623         * manual/string.texi: Fix strncat and wcsncat.
14624
14625 2013-10-03  Brooks Moses  <bmoses@google.com>
14626
14627         [BZ #15915]
14628         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14629         * Makerules: ...here, and adjust associated comments.
14630
14631 2013-10-02  Will Newton  <will.newton@linaro.org>
14632
14633         * malloc/Makefile: Add tst-pvalloc.
14634         * malloc/tst-pvalloc.c: New file.
14635
14636 2013-10-02  Will Newton  <will.newton@linaro.org>
14637
14638         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14639         improve test coverage.
14640
14641 2013-10-02  Will Newton  <will.newton@linaro.org>
14642
14643         * malloc/Makefile: Add tst-posix_memalign.
14644         * malloc/tst-posix_memalign.c: New file.
14645
14646 2013-10-01  Eric Blake  <eblake@redhat.com>
14647
14648         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14649         Use __THROWNL rather than __THROW on static functions.
14650
14651 2013-09-30  Petr Machata  <pmachata@redhat.com>
14652
14653         * elf/elf.h (R_AARCH64_ABS16): New macro.
14654         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14655         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14656         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14657         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14658         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14659         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14660         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14661         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14662         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14663         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14664         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14665         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14666         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14667         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14668         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14669         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14670         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14671         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14672         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14673         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14674         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14675         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14676         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14677         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14678         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14679         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14680         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14681         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14682         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14683         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14685         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14687         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14688         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14690         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14692         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14694         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14696         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14698         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14700         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14702         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14703         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14704         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14705         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14706         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14707         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14708         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14709         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14710         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14711         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14712         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14713         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14715         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14717         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14719         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14721         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14723         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14724         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14725         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14726         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14727         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14728         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14729         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14730         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14731         (R_AARCH64_TLSDESC_LDR): Likewise.
14732         (R_AARCH64_TLSDESC_ADD): Likewise.
14733         (R_AARCH64_TLSDESC_CALL): Likewise.
14734
14735 2013-09-30  Andreas Schwab  <schwab@suse.de>
14736
14737         [BZ #15048]
14738         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14739         the nss database lookup.
14740         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14742
14743 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14744
14745         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14746
14747 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14748
14749         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14750         ${Bash-specific parameter/pattern/string} parameter expansion.
14751         * sysdeps/unix/make-syscalls.sh: Likewise.
14752
14753 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14754
14755         * sysdeps/sh/stackguard-macros.h: New file.
14756
14757 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14758
14759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14761         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14762         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14763         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14764         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14765
14766 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14767
14768         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14769         Fix thread ID register.
14770
14771 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14772
14773         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14774         [POSIX || UNIX98]: Require rather than permitting all symbols from
14775         <time.h>.
14776         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14777         element of struct sched_param.
14778         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14779         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14780         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14781         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14782         constant.
14783
14784 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14785
14786         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14787         argument calculation.
14788
14789 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14790
14791         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14792         Expect macro.
14793         [POSIX] (pthread_attr_t): Do not require type.
14794         [POSIX] (pthread_cond_t): Likewise.
14795         [POSIX] (pthread_condattr_t): Likewise.
14796         [POSIX] (pthread_key_t): Likewise.
14797         [POSIX] (pthread_mutex_t): Likewise.
14798         [POSIX] (pthread_mutexattr_t): Likewise.
14799         [POSIX] (pthread_once_t): Likewise.
14800         [POSIX] (pthread_t): Likewise.
14801         [POSIX-based standards] (pthread_atfork): Expect function.
14802
14803 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14804             Richard Sandiford  <richard@codesourcery.com>
14805
14806         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14807         (swap_endianness_p): New extern variable.
14808         (set_big_endian): New inline function.
14809         (maybe_swap_uint32): Likewise.
14810         (maybe_swap_uint32_array): Likewise.
14811         (maybe_swap_uint32_obstack): Likewise.
14812         * locale/programs/locfile.c: Include <stdbool.h>.
14813         (swap_endianness_p): New variable.
14814         (add_locale_uint32): Call maybe_swap_uint32.
14815         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14816         (write_locale_data): Call maybe_swap_uint32_array.
14817         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14818         maybe_swap_uint32.
14819         (obstack_int32_grow_fast): Likewise.
14820         (output_weightwc): Call maybe_swap_uint32_obstack.
14821         (collate_output): Likewise.
14822         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14823         (OPT_LITTLE_ENDIAN): Likewise.
14824         (options): Add --little-endian and --big-endian options.
14825         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14826         * locale/programs/locarchive.c: Include "locfile.h".
14827         (GET): New macro.
14828         (SET): Likewise.
14829         (INC): Likewise.
14830         (create_archive): Use the new macros to access fields of
14831         structures directly mapped from or written to locale archives.
14832         (oldlocrecentcmp): Likewise.
14833         (enlarge_archive): Likewise.
14834         (insert_name): Likewise.
14835         (add_alias): Likewise.
14836         (add_locale): Likewise.
14837         (delete_locales_from_archive): Likewise.
14838         (show_archive_content): Likewise.
14839         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14840         locale data.
14841
14842 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14843
14844         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14845         http://www.gnu.org/doc/freemanuals.texi.
14846         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14847
14848 2013-09-24  Will Newton  <will.newton@linaro.org>
14849
14850         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14851         macro.
14852
14853 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14854
14855         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14856         unsigned char.
14857
14858 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14859
14860         * manual/threads.texi (POSIX Threads): Fix a typo.
14861
14862 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14863
14864         [BZ #14547]
14865         * string/tst-strcoll-overflow.c: New test case.
14866         * string/Makefile (xtests): Add tst-strcoll-overflow.
14867         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14868         cache if string sizes may cause integer overflow.
14869
14870         [BZ #14547]
14871         * string/strcoll_l.c (coll_seq): New members rule, idx,
14872         save_idx and back_us.
14873         (get_next_seq_nocache): New function.
14874         (do_compare_nocache): New function.
14875         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14876         when malloc fails.
14877
14878 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14879
14880         [BZ #15754]
14881         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14882         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14883         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14884
14885         [BZ #15754]
14886         * elf/Makefile (tests): Add tst-ptrguard1.
14887         (tests-static): Add tst-ptrguard1-static.
14888         (tst-ptrguard1-ARGS): Define.
14889         (tst-ptrguard1-static-ARGS): Define.
14890         * elf/tst-ptrguard1.c: New file.
14891         * elf/tst-ptrguard1-static.c: New file.
14892         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14893         * sysdeps/i386/stackguard-macros.h: Likewise.
14894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14900
14901 2013-09-23  Hector Marco  <hecmargi@upv.es>
14902             Ismael Ripoll  <iripoll@disca.upv.es>
14903             Carlos O'Donell  <carlos@redhat.com>
14904
14905         [BZ #15754]
14906         * sysdeps/generic/stackguard-macros.h: Define
14907         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14908         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14909         Define __pointer_chk_guard_local.
14910         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14911         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14912
14913 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14914
14915         [BZ #15859]
14916         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14917
14918 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14919
14920         * include/string.h (__ffs): Declare as hidden.
14921         * string/ffs.c (__ffs): Define as hidden.
14922         * sysdeps/i386/ffs.c (__ffs): Likewise.
14923         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14924         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14925         * sysdeps/s390/ffs.c (__ffs): Likewise.
14926         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14927
14928 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14929
14930         * NEWS: Mention malloc probes.
14931
14932         * malloc/arena.c (new_heap): New memory_heap_new probe.
14933         (grow_heap): New memory_heap_more probe.
14934         (shrink_heap): New memory_heap_less probe.
14935         (heap_trim): New memory_heap_free probe.
14936         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14937         (systrim): New memory_sbrk_less probe.
14938         * manual/probes.texi: Document them.
14939
14940         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14941         * manual/probes.texi: Document it.
14942
14943         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14944         (__libc_realloc): Add memory_realloc_retry probe.
14945         (__libc_memalign): Add memory_memalign_retry probe.
14946         (__libc_valloc): Add memory_valloc_retry probe.
14947         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14948         (__libc_calloc): Add memory_calloc_retry probe.
14949         * manual/probes.texi: Document them.
14950
14951         * malloc/arena.c (get_free_list): Add probe
14952         memory_arena_reuse_free_list.
14953         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14954         and memory_arena_reuse.
14955         (arena_get2) [!PER_THREAD]: Likewise.
14956         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14957         memory_arena_reuse_realloc.
14958         * manual/probes.texi: Document them.
14959
14960         * malloc/malloc.c (__libc_free): Add
14961         memory_mallopt_free_dyn_thresholds probe.
14962         (__libc_mallopt): Add multiple memory_mallopt probes.
14963         * manual/probes.texi: Document them.
14964
14965         * malloc/malloc.c: Include stap-probe.h.
14966         (__libc_mallopt): Add memory_mallopt probe.
14967         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14968         * manual/probes.texi: New.
14969         * manual/Makefile (chapters): Add probes.
14970         * manual/threads.texi: Set next node.
14971
14972 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14973
14974         [BZ #15963, #13985]
14975         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14976         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14977         Add `Chinese' to `nan' entry name.
14978
14979 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14980
14981         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14982         (POLYNOMIAL): Likewise.
14983         (TAYLOR_SINCOS): Likewise.
14984         (TAYLOR_SLOW): Likewise.
14985         (__sin): Use TAYLOR_SINCOS.
14986         (__cos): Likewise.
14987         (slow): Use TAYLOR_SLOW.
14988         (sloww): Likewise.
14989         (bsloww): Likewise.
14990         (csloww): Likewise.
14991
14992 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14993
14994         * stdlib/strtod_l.c: Fix buffer overrun.
14995
14996 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14997
14998         * benchtests/Makefile (bench): Add sincos.
14999         * benchtests/bench-sincos.c: New file.
15000
15001         * math/libm-test.inc (cos_test_data): New test inputs.
15002         (sin_test_data): Likewise.
15003
15004         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15005         macro.
15006         (__sin): Use it.
15007         (__cos): Likewise.
15008         (slow1): Likewise.
15009         (slow2): Likewise.
15010         (sloww1): Likewise.
15011         (sloww2): Likewise.
15012         (bsloww1): Likewise.
15013         (bsloww2): Likewise.
15014         (cslow2): Likewise.
15015         (csloww1): Likewise.
15016         (csloww2): Likewise.
15017
15018         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15019         function.
15020         (__sin): Use it.
15021         (__cos): Likewise.
15022
15023         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15024         gotos.
15025         (__cos): Likewise.
15026
15027 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15028
15029         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15030         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15031         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15032         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15033         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15034         * elf/cache.c (print_entry): Handle the new cache flags.
15035
15036 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15037             Aldy Hernandez  <aldyh@redhat.com>
15038
15039         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15040         Change condition to [_SOFT_FLOAT].
15041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15053         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15056         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15057         declaration.
15058
15059 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15060
15061         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15063         (__longjmp): Use LOAD_GP to load saved GPRs.
15064         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15065         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15066         (__sigsetjmp): Use SAVE_GP to save GPRs.
15067
15068         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15069         Do not append -msoft-float.
15070         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15071
15072 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15073
15074         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15075
15076 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15077
15078         [BZ #15966]
15079         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15080         (_FPU_GETCW): Use initial "__" on variable and field names but not
15081         on macro parameter name.
15082         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15083         parentheses around reference to macro parameter.
15084
15085 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15086
15087         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15088         prototype.
15089         (ctype_startup): Use uint32_t in cast and sizeof for
15090         ctype->charnames.
15091
15092 2013-09-11  Jia Liu  <proljc@gmail.com>
15093
15094         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15095         __daddr_t_defined.
15096         [__FreeBSD__]: Likewise.
15097
15098 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15099
15100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15101         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15102         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15103         (strchr): Remove __strchr_sse42 ifunc selection.
15104         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15105         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15106
15107 2013-09-11  Will Newton  <will.newton@linaro.org>
15108
15109         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15110         parameter to RES. Remove hardcoded 1000 value.
15111         * benchtests/bench-skeleton.c (main): Pass RES parameter
15112         to TIMING_INIT and multiply result by 1000.
15113
15114 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15115
15116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15117
15118 2013-09-11  Andreas Schwab  <schwab@suse.de>
15119
15120         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15121         if not defined.
15122         (O_TMPFILE) [__USE_GNU]: Define.
15123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15124         Define.
15125
15126 2013-09-11  Will Newton  <will.newton@linaro.org>
15127
15128         [BZ #15857]
15129         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15130         does not overflow.
15131
15132 2013-09-11  Will Newton  <will.newton@linaro.org>
15133
15134         [BZ #15856]
15135         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15136         does not overflow.
15137
15138 2013-09-11  Will Newton  <will.newton@linaro.org>
15139
15140         [BZ #15855]
15141         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15142         does not overflow.
15143
15144 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15145
15146         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15148         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15151
15152 2013-09-10  Allan McRae  <allan@archlinux.org>
15153
15154         [BZ #15748]
15155         * manual/arith.texi (Parsing of Floats): Clarify
15156         cross-reference.
15157
15158         [BZ #15849]
15159         * manual/install.texi (Running make install): Mention
15160         --enable-pt-chown.
15161         * INSTALL: Regenerated.
15162
15163 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15164
15165         * csu/init-first.c (_init): Remove the !SHARED condition around
15166         FPU control word initialization.
15167         * elf/dl-support.c (_dl_fpu_control): New variable.
15168         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15169         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15170         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15171         * math/test-fpucw-static.c: New file.
15172         * math/test-fpucw-ieee.c: New file.
15173         * math/test-fpucw-ieee-static.c: New file.
15174         * math/Makefile (tests): Add `test-fpucw-ieee' and
15175         `$(tests-static)'.
15176         (tests-static): New variable.
15177         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15178         dependency to...
15179         [($(build-shared),yes)]
15180         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15181         ... this.
15182         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15183         New dependency.
15184
15185 2013-09-09  Allan McRae  <allan@archlinux.org>
15186
15187         [BZ #15939]
15188         * manual/string.texi (Collation Functions): Fix typo in
15189         strcoll example.
15190         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15191
15192         [BZ #15893]
15193         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15194
15195         [BZ #15892]
15196         * libio/memstream.c (open_memstream): Fix memory leak.
15197         * libio/wmemstream.c (open_wmemstream): Likewise.
15198
15199         [BZ #15895]
15200         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15201
15202 2013-09-09  Will Newton  <will.newton@linaro.org>
15203
15204         * malloc/Makefile: Add tst-realloc to tests.
15205         * malloc/tst-realloc.c: New file.
15206
15207 2013-09-09  Allan McRae  <allan@archlinux.org>
15208
15209         [BZ #15844]
15210         * COPYING: Update from GNU website to fix FSF address.
15211         * COPYING.LIB: Likewise.
15212
15213 2013-09-06  David S. Miller  <davem@davemloft.net>
15214
15215         * po/zh_TW.po: Update Chinese (traditional) translation from
15216         translation project.
15217
15218 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15219             Joseph Myers  <joseph@codesourcery.com>
15220
15221         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15222         "localeinfo.h".
15223         (obstack_chunk_alloc): New macro.
15224         (obstack_chunk_free): Likewise.
15225         (record_offset): New function.
15226         (init_locale_data): Likewise.
15227         (align_locale_data): Likewise.
15228         (add_locale_empty): Likewise.
15229         (add_locale_raw_data): Likewise.
15230         (add_locale_raw_obstack): Likewise.
15231         (add_locale_string): Likewise.
15232         (add_locale_wstring): Likewise.
15233         (add_locale_uint32): Likewise.
15234         (add_locale_uint32_array): Likewise.
15235         (add_locale_char): Likewise.
15236         (start_locale_structure): Likewise.
15237         (end_locale_structure): Likewise.
15238         (start_locale_prelude): Likewise.
15239         (end_locale_prelude): Likewise.
15240         (write_locale_data): Take locale_file structure rather than an
15241         iovec.
15242         * locale/programs/locfile.h: Include "obstack.h".
15243         (struct locale_file): Change to store locale file contents instead
15244         of header.
15245         (init_locale_data): New prototype.
15246         (align_locale_data): Likewise.
15247         (add_locale_empty): Likewise.
15248         (add_locale_raw_data): Likewise.
15249         (add_locale_raw_obstack): Likewise.
15250         (add_locale_string): Likewise.
15251         (add_locale_wstring): Likewise.
15252         (add_locale_uint32): Likewise.
15253         (add_locale_uint32_array): Likewise.
15254         (add_locale_char): Likewise.
15255         (start_locale_structure): Likewise.
15256         (end_locale_structure): Likewise.
15257         (start_locale_prelude): Likewise.
15258         (end_locale_prelude): Likewise.
15259         (write_locale_data): Update prototype.
15260         * locale/programs/3level.h (struct TABLE): Remove result field.
15261         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15262         Use new locale_file interface.
15263         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15264         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15265         * locale/programs/ld-address.c (address_output): Use new
15266         locale_file interface.
15267         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15268         NO_ADD_LOCALE.
15269         (collate_finish): Don't call collseq_table_finalize.
15270         (collate_output): Use new locale_file interface.
15271         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15272         in file.
15273         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15274         (TABLE): Move defines earlier in file.
15275         (ELEMENT): Likewise.
15276         (DEFAULT): Likewise.
15277         (wctrans_table_add): Move macro and inline function earlier in
15278         file.
15279         (struct wctype_table): Move type earlier in file.
15280         (add_locale_wctype_table): New static prototype.
15281         (struct locale_ctype_t): Use logical types instead of struct iovec
15282         pointers for members.
15283         (ctype_output): Use new locale_file interface.
15284         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15285         new locale_file interface.
15286         (allocate_arrays): Update for use of new locale_file interface.
15287         * locale/programs/ld-identification.c (identification_output): Use
15288         new locale_file interface.
15289         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15290         * locale/programs/ld-messages.c (messages_output): Likewise.
15291         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15292         * locale/programs/ld-name.c (name_output): Likewise.
15293         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15294         * locale/programs/ld-paper.c (paper_output): Likewise.
15295         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15296         * locale/programs/ld-time.c (time_output): Likewise.
15297
15298 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15299
15300         * benchtests/Makefile: Add memrchr benchmark.
15301         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15302         benchmark as memrchr.
15303         * benchtests/bench-memrchr-ifunc.c: New file.
15304         * benchtests/bench-memrchr.c: New file.
15305
15306 2013-09-06   Will Newton  <will.newton@linaro.org>
15307
15308         * benchtests/Makefile (string-bench): Add memcpy.
15309
15310 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15311             Cong Wang  <amwang@redhat.com>
15312
15313         [BZ #15850]
15314         * sysdeps/unix/sysv/linux/bits/in.h
15315         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15316         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15317         before __USE_KERNEL_IPV6_DEFS uses.
15318         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15319         IPPROTO_BEETPH.
15320         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15321         sockaddr_in6, or ipv6_mreq.
15322
15323 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15324
15325         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15326         memory access for final bytes in some large inputs.
15327         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15328
15329 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15330
15331         * string/test-memrchr.c: New file.
15332         * string/test-memrchr-ifunc.c: New file.
15333         * string/Makefile: Add new memrchr testcase.
15334
15335 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15336
15337         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15338         fanotify_init returns EPERM.
15339
15340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15341
15342         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15343         errors.
15344         (top level): Treat second token from macro or constant entries for
15345         allowed headers as allowed.
15346         * include/complex.h: Condition internal declarations on
15347         [!_ISOMAC].
15348         * include/fenv.h: Condition include of <stdbool.h> and internal
15349         declarations on [!_ISOMAC].
15350
15351 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15352
15353         [BZ #15923]
15354         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15355
15356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15357
15358         * configure.in (--enable-versioning): Remove configure option.
15359         (libc_cv_asm_symver_directive): Remove configure test.
15360         (libc_cv_ld_version_script_option): Likewise.
15361         (VERSIONING): Remove variable and AC_SUBST.
15362         (DO_VERSIONING): Remove AC_DEFINE.
15363         * configure: Regenerated.
15364         * config.h.in (DO_VERSIONING): Remove macro.
15365         * Makerules [$(versioning) = yes]: Change conditionals to
15366         [$(build-shared) = yes].
15367         * config.make.in (versioning): Remove variable.
15368         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15369         [$(build-shared) = yes].
15370         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15371         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15372         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15373         [$(build-shared) = yes].
15374         * extra-lib.mk [$(versioning) = yes]: Likewise.
15375         * hurd/Makefile [$(versioning) = yes]: Likewise.
15376         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15377         [SHARED].
15378         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15379         [SHARED].
15380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15381         [SHARED && !NO_HIDDEN].
15382         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15383         [SHARED].
15384         [SHARED && DO_VERSIONING]: Likewise..
15385         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15386         [$(build-shared) = yes].
15387         * manual/install.texi (--disable-versioning): Remove
15388         documentation.
15389         * INSTALL: Regenerated.
15390         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15391         to [SHARED].
15392         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15393         [$(build-shared) = yes].
15394         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15395         * sysdeps/i386/i686/multiarch/strstr-c.c
15396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15397         [SHARED && !NO_HIDDEN].
15398         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15399         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15400         * sysdeps/powerpc/powerpc32/dl-machine.c
15401         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15402         * sysdeps/powerpc/powerpc32/sysdep.h
15403         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15404         to [SHARED && PIC && !NO_HIDDEN].
15405         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15406         conditional to [SHARED].
15407
15408 2013-09-04   Will Newton  <will.newton@linaro.org>
15409
15410         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15411         * benchtests/bench-string.h: Include bench-timing.h instead
15412         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15413         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15414         call to HP_TIMING_DIFF_INIT.
15415         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15416         instead of hp-timing.h macros.
15417         * benchtests/bench-memchr.c: Likewise.
15418         * benchtests/bench-memcmp.c: Likewise.
15419         * benchtests/bench-memcpy.c: Likewise.
15420         * benchtests/bench-memmem.c: Likewise.
15421         * benchtests/bench-memmove.c: Likewise.
15422         * benchtests/bench-memset.c: Likewise.
15423         * benchtests/bench-rawmemchr.c: Likewise.
15424         * benchtests/bench-strcasecmp.c: Likewise.
15425         * benchtests/bench-strcasestr.c: Likewise.
15426         * benchtests/bench-strcat.c: Likewise.
15427         * benchtests/bench-strchr.c: Likewise.
15428         * benchtests/bench-strcmp.c: Likewise.
15429         * benchtests/bench-strcpy.c: Likewise.
15430         * benchtests/bench-strcpy_chk.c: Likewise.
15431         * benchtests/bench-strlen.c: Likewise.
15432         * benchtests/bench-strncasecmp.c: Likewise.
15433         * benchtests/bench-strncat.c: Likewise.
15434         * benchtests/bench-strncmp.c: Likewise.
15435         * benchtests/bench-strncpy.c: Likewise.
15436         * benchtests/bench-strnlen.c: Likewise.
15437         * benchtests/bench-strpbrk.c: Likewise.
15438         * benchtests/bench-strrchr.c: Likewise.
15439         * benchtests/bench-strspn.c: Likewise.
15440         * benchtests/bench-strstr.c: Likewise.
15441
15442 2013-09-04  Will Newton  <will.newton@linaro.org>
15443
15444         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15445
15446 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15447
15448         [BZ #15427]
15449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15450         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15451         * math/libm-test.inc (lgamma_test_data): Add more tests.
15452         * sysdeps/i386/fpu/libm-test-ulps: Update.
15453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15454
15455 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15456
15457         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15459         Add ifunc.
15460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15461         Add strcmp-sse2-unaligned
15462         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15463
15464 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15465
15466         * Versions.def (libc): Add GLIBC_2.19.
15467
15468 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15469
15470         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15471         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15472
15473 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15474
15475         [BZ #14155]
15476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15477         intermediate calculations in recurrence.
15478         (__ieee754_ynf): Likewise.
15479         * math/libm-test.inc (jn_test_data): Do not allow spurious
15480         underflow exception.  Add more tests.
15481         (yn_test_data): Add more tests.
15482         * sysdeps/i386/fpu/libm-test-ulps: Update.
15483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15484
15485 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15486
15487         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15488
15489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15490
15491         * csu/init-first.c: Fix then/than typos.
15492         * locale/programs/ld-collate.c: Likewise.
15493         * locale/programs/linereader.h: Likewise.
15494         * manual/charset.texi: Likewise.
15495         * manual/filesys.texi: Likewise.
15496         * manual/stdio.texi: Likewise.
15497         * manual/string.texi: Likewise.
15498         * stdlib/fmtmsg.c: Likewise.
15499         * sysdeps/i386/stpncpy.S: Likewise.
15500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15501         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15503         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15504
15505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15506
15507         * elf/dl-open.c: Fix typos.
15508         * iconvdata/gbbig5.c: Likewise.
15509         * iconvdata/iso-2022-jp.c: Likewise.
15510         * iconv/gconv_int.h: Likewise.
15511         * iconv/loop.c: Likewise.
15512         * nis/rpcsvc/nis.h: Likewise.
15513         * resolv/ns_name.c: Likewise.
15514         * stdio-common/vfscanf.c: Likewise.
15515         * streams/stropts.h: Likewise.
15516         * sunrpc/rpc_thread.c: Likewise.
15517         * sysdeps/i386/strpbrk.S: Likewise.
15518         * sysdeps/ieee754/k_standard.c: Likewise.
15519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15521         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15522         * sysdeps/mach/hurd/profil.c: Likewise.
15523         * sysdeps/s390/dl-procinfo.h: Likewise.
15524         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15526         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15527         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15529
15530 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15531
15532         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15534
15535 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15536
15537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15538         aix specific files.
15539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15541         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15542         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15543         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15544         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15545         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15546         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15547
15548 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15549             Roland McGrath  <roland@hack.frob.com>
15550
15551         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15552         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15553
15554 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15555
15556         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15557         __executable_start symbol instead of _start.
15558
15559 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15560
15561         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15562         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15563         Move macros to...
15564         * sysdeps/gnu/ldsodefs.h: ... this new file.
15565
15566         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15567         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15568         instead of ELFOSABI_LINUX.
15569
15570         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15571         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15572         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15574         Likewise.
15575         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15576         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15577         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15578         Likewise.
15579         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15580         (ibm_extended_long_double): Add ieee_nan member.
15581         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15582         (do_test): New function.
15583
15584         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15585         TEST_TRUNC.
15586         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15587         functions, renamed from truncdfsf_test, trunctfsf_test,
15588         trunctfdf_test.
15589         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15590         functions.
15591         (do_test): Run all these.
15592
15593 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15594
15595         * argp/argp-help.c: Fix typos.
15596         * argp/argp-parse.c: Likewise.
15597         * debug/backtracesyms.c: Likewise.
15598         * elf/elf.h: Likewise.
15599         * malloc/malloc.c: Likewise.
15600         * nis/nis_print.c: Likewise.
15601         * resolv/res_comp.c: Likewise.
15602         * stdlib/stdlib.h: Likewise.
15603         * sunrpc/clnt_tcp.c: Likewise.
15604         * sunrpc/clnt_udp.c: Likewise.
15605         * sunrpc/clnt_unix.c: Likewise.
15606         * sysdeps/unix/bsd/ptsname.c: Likewise.
15607         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15608         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15610         Likewise.
15611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15612         Likewise.
15613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15614         Likewise.
15615         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15616
15617 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15618
15619         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15621
15622 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15623
15624         [BZ #15897]
15625         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15626         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15627         ($(objpfx)bug-dl-leaf): New rule.
15628         ($(objpfx)bug-dl-leaf.so): Likewise.
15629         ($(objpfx)bug-dl-leaf.out): Likewise.
15630         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15631         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15632         * dlfcn/bug-dl-leaf.c: New test.
15633         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15634         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15635         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15636         (dlclose): Likewise.
15637         (dlmopen): Likewise.
15638
15639 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15640
15641         * include/netdb.h [!_ISOMAC]:
15642         Don't include <tls.h>.
15643         (h_errno, __libc_h_errno): Move declaration and macros out of
15644         [_LIBC_REENTRANT].
15645
15646         * include/resolv.h [_RESOLV_H_]:
15647         Don't include <tls.h>.
15648         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15649         * resolv/res_libc.c: Don't include <tls.h>.
15650         (_res): Use __attribute__ ((nocommon)) in place of
15651         __attribute__ ((section (".bss"))).
15652
15653         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15654         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15655
15656         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15657
15658         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15659         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15660
15661         * resolv/res_mkquery.c: Include <sys/time.h>.
15662
15663         * inet/ifreq.c: Moved to ...
15664         * sysdeps/unix/ifreq.c: ... here.
15665         * inet/ifreq.c: New file, true stub version.
15666
15667         * socket/sa_len.c: New file.
15668         * socket/Makefile (aux): Add it.
15669         * sysdeps/unix/sysv/linux/Makefile
15670         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15671         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15672         and #include <socket/sa_len.c>.
15673         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15674         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15675
15676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15677         * bits/socket.h: ... here.
15678
15679         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15680         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15681         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15682
15683 2013-08-27  Andreas Schwab  <schwab@suse.de>
15684
15685         [BZ #15736]
15686         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15687         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15688         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15689         * string/test-strcasecmp.c (test_main): Run tests in several
15690         locales.
15691         * string/test-strncasecmp.c (test_main): Likewise.
15692
15693         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15694         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15695         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15697         (__strncasecmp_ssse3) [PIC]: Likewise.
15698
15699 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15700
15701         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15702
15703         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15704         instead of explicitly declaring xdecrypt.
15705         * nis/nss_nis/nis-publickey.c: Likewise.
15706
15707 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15708
15709         [BZ #15890]
15710         * nscd/aicache.c: Include res_hconf.h.
15711         (addhstaiX): Initialize res_hconf.
15712
15713 2013-08-26  Andreas Schwab  <schwab@suse.de>
15714
15715         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15716         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15717
15718 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15719
15720         * nscd/aicache.c (addhstaiX): Fix indentation.
15721
15722 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15723
15724         * configure.ac: Quote $build_pt_chown test.
15725         * configure: Regenerated.
15726
15727 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15728
15729         [BZ #15532]
15730         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15731         * math/s_cexpf.c (__cexpf): Likewise.
15732         * math/s_cexpl.c (__cexpl): Likewise.
15733         * math/libm-test.inc (cexp_test_data): Correct expected return
15734         value for NaN + i0.  Add another test.
15735
15736 2013-08-22  David S. Miller  <davem@davemloft.net>
15737
15738         * po/ca.po: Update Catalan translation from translation project.
15739         * po/uk.po: Add Ukrainian translations from translation project.
15740
15741 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15742
15743         [BZ #15797]
15744         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15745         is infinite, not alongside NaN test.
15746         * math/s_fdimf.c (__fdimf): Likewise.
15747         * math/s_fdiml.c (__fdiml): Likewise.
15748         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15749         errno is unchanged.
15750
15751 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15752
15753         * argp/argp-help.c: Fix typos.
15754         * crypt/speeds.c: Likewise.
15755         * csu/check_fds.c: Likewise.
15756         * elf/dl-load.c: Likewise.
15757         * elf/dl-open.c: Likewise.
15758         * elf/reldep3.c: Likewise.
15759         * elf/reldep.c: Likewise.
15760         * elf/sprof.c: Likewise.
15761         * iconv/iconv_charmap.c: Likewise.
15762         * iconv/skeleton.c: Likewise.
15763         * iconv/strtab.c: Likewise.
15764         * io/lockf64.c: Likewise.
15765         * libio/libioP.h: Likewise.
15766         * resolv/gai_notify.c: Likewise.
15767         * resolv/ns_name.c: Likewise.
15768         * resolv/ns_samedomain.c: Likewise.
15769         * resolv/res_send.c: Likewise.
15770         * stdlib/random.c: Likewise.
15771         * sunrpc/rpc/xdr.h: Likewise.
15772         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15774         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15775         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15777         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15780         * sysdeps/mach/hurd/check_fds.c: Likewise.
15781         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15782         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15784         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15786         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15787         * sysdeps/pthread/aio_notify.c: Likewise.
15788         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15789         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15790         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15792         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15793
15794 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15795
15796         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15797         version if bit_Slow_SSE4_2 is set.
15798         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15799         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15800
15801 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15802
15803         [BZ #15867]
15804         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15805         trampoline stack frame information.
15806         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15807         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15808         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15809         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15810         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15811         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15812         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15813         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15814         sa_flags value.
15815         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15816         interrupting a syscall and set with option SA_SIGINFO.
15817
15818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15819
15820         [BZ #15531]
15821         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15822         argument is infinite.
15823         * math/s_cprojf.c (__cprojf): Likewise.
15824         * math/s_cprojl.c (__cprojl): Likewise.
15825         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15826         * math/libm-test.inc (cproj_test_data): Add more tests.
15827
15828         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15829
15830         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15831         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15832         size.  Use __ffs to determine corresponding shift.
15833
15834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15835             Roland McGrath  <roland@hack.frob.com>
15836
15837         * Makefile (INSTALL): Remove trailing blank lines from output of
15838         makeinfo.
15839
15840 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15841
15842         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15843         Align 32 bit compat elf_greg to 8 bytes.
15844
15845 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15846
15847         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15848
15849 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15850
15851         * string/strcoll_l.c (coll_seq): New structure.
15852         (get_next_seq_cached): New function.
15853         (get_next_seq): New function.
15854         (do_compare): New function.
15855         (STRCOLL): Use GNU style definition.  Simplify implementation
15856         by using get_next_seq, get_next_seq_cached and do_compare.
15857
15858 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15859
15860         [BZ #14699]
15861         CVE-2013-4237
15862         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15863         member.
15864         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15865         member.
15866         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15867         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15868         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15869         conditional.
15870         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15871         GETDENTS_64BIT_ALIGNED.
15872         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15873         * manual/filesys.texi (Reading/Closing Directory): Document
15874         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15875         strongly.
15876         * manual/conf.texi (Limits for Files): Add portability note to
15877         NAME_MAX, PATH_MAX.
15878         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15879
15880 2013-08-13  Andreas Schwab  <schwab@suse.de>
15881
15882         [BZ #15749]
15883         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15884         of fabs.
15885         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15886         LDBL_MAX_EXP >= 16384]: Add tests for it.
15887
15888 2013-08-12  David S. Miller  <davem@davemloft.net>
15889
15890         * version.h (RELEASE): Set to "development".
15891         (VERSION): Set to "2.18.90".
15892         * NEWS: Add 2.19 section.
15893
15894 2013-08-03  David S. Miller  <davem@davemloft.net>
15895
15896         * po/ko.po: Update Korean translation from translation project.
15897
15898 2013-08-01  David S. Miller  <davem@davemloft.net>
15899
15900         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15901         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15902         Bilka.
15903
15904 2013-07-30  David S. Miller  <davem@davemloft.net>
15905
15906         * po/fr.po: Update French translation from translation project.
15907
15908 2013-07-28  David S. Miller  <davem@davemloft.net>
15909
15910         * po/cs.po: Update Czech translation from translation project.
15911
15912         * po/sv.po: Update Swedish translation from translation project.
15913
15914 2013-07-27  David S. Miller  <davem@davemloft.net>
15915
15916         * po/eo.po: Update Esperanto translation from translation project.
15917
15918         * po/vi.po: Update Vietnamese translation from translation project.
15919
15920         * po/de.po: Update German translation from translation project.
15921
15922 2013-07-26  David S. Miller  <davem@davemloft.net>
15923
15924         * po/bg.po: Update Bulgarian translation from translation project.
15925
15926         * po/nl.po: Update Dutch translation from translation project.
15927         * po/pl.po: Update Polish translation from translation project.
15928         * po/ru.po: Update Russian translation from translation project.
15929
15930 2013-07-24  David S. Miller  <davem@davemloft.net>
15931
15932         * po/libc.pot: Update.
15933
15934 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15935
15936         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15937         variable page size.
15938         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15939         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15941
15942 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15943
15944         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15945
15946 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15947             Andreas Schwab  <schwab@suse.de>
15948             Roland McGrath  <roland@hack.frob.com>
15949             Joseph Myers  <joseph@codesourcery.com>
15950             Carlos O'Donell  <carlos@redhat.com>
15951
15952         [BZ #15755]
15953         * config.h.in: Define HAVE_PT_CHOWN.
15954         * config.make.in (build-pt-chown): New variable.
15955         * configure.in (--enable-pt_chown): New configure option.
15956         * configure: Regenerate.
15957         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15958         build-pt-chown is enabled.
15959         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15960         pt_chown to fix pty ownership.
15961         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15962         CLOSE_ALL_FDS.
15963         * manual/install.texi (Configuring and compiling): Mention
15964         --enable-pt_chown. Add @findex for grantpt.
15965         * INSTALL: Regenerate.
15966
15967 2013-07-20  David S. Miller  <davem@davemloft.net>
15968
15969         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15970         difference between 32-bit and 64-bit.
15971
15972 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15973
15974         [BZ #15711]
15975         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15976         Avoid system header dependency with -ffreestanding.
15977         ($(objpfx)bits/syscall%d): Likewise.
15978
15979 2013-07-13  David S. Miller  <davem@davemloft.net>
15980
15981         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15982         underflows from atanl/atan2l due to bug 15319.
15983         (casinh_test_data): Likewise.
15984
15985 2013-07-07  David S. Miller  <davem@davemloft.net>
15986
15987         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15988
15989 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15990
15991         * sysdeps/i386/fpu/libm-test-ulps: Update.
15992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993
15994 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15995
15996         * configure.in (--enable-lock-elision): Fix message text.
15997         * INSTALL: Regenerate.
15998         * configure: Regenerate.
15999
16000 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16001
16002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16003
16004 2013-07-03  Andreas Jaeger  <aj@suse.de>
16005
16006         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16007         define.
16008         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16009         (ptrace_peeksiginfo_args): Add.
16010         (__ptrace_peeksiginfo_flags): Add.
16011         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16013         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16014
16015 2013-07-03  Allan McRae  <allan@archlinux.org>
16016
16017         * sysdeps/i386/fpu/libm-test-ulps: Update.
16018
16019 2013-07-02  David S. Miller  <davem@davemloft.net>
16020
16021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16022
16023 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16024
16025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16026
16027 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16028
16029         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16031
16032 2013-07-02  Andi Kleen <ak@linux.intel.com>
16033
16034         * config.h.in (ENABLE_LOCK_ELISION): Add.
16035         * configure.in (--enable-lock-elision): Add option.
16036         * manual/install.texi: Document --enable lock elision.
16037         * configure: Regenerate
16038         * INSTALL: Regenerate.
16039
16040 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16041
16042         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16043         SSE4.2 strcasecmp for libc.a.
16044         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16045
16046 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16047
16048         [BZ #13304]
16049         * soft-fp/op-common.h (_FP_FMA): New macro.
16050         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16051         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16052         (_FP_MUL_MEAT_1_imm): ... here.
16053         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16054         (_FP_MUL_MEAT_1_wide): ... here.
16055         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16056         (_FP_MUL_MEAT_1_hard): ... here.
16057         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16058         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16059         (_FP_MUL_MEAT_2_wide): ... here.
16060         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16061         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16062         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16063         (_FP_MUL_MEAT_2_gmp): ... here.
16064         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16065         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16066         (_FP_MUL_MEAT_4_wide): ... here.
16067         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16068         (_FP_MUL_MEAT_4_gmp): ... here.
16069         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16070         (_FP_WFRACBITS_DW_S): Likewise.
16071         (_FP_WFRACXBITS_DW_S): Likewise.
16072         (_FP_HIGHBIT_DW_S): Likewise.
16073         (FP_FMA_S): Likewise.
16074         (_FP_FRAC_HIGH_DW_S): Likewise.
16075         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16076         (_FP_WFRACBITS_DW_D): Likewise.
16077         (_FP_WFRACXBITS_DW_D): Likewise.
16078         (_FP_HIGHBIT_DW_D): Likewise.
16079         (FP_FMA_D): Likewise.
16080         (_FP_FRAC_HIGH_DW_D): Likewise.
16081         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16082         (_FP_WFRACBITS_DW_E): Likewise.
16083         (_FP_WFRACXBITS_DW_E): Likewise.
16084         (_FP_HIGHBIT_DW_E): Likewise.
16085         (FP_FMA_E): Likewise.
16086         (_FP_FRAC_HIGH_DW_E): Likewise.
16087         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16088         (_FP_WFRACBITS_DW_Q): Likewise.
16089         (_FP_WFRACXBITS_DW_Q): Likewise.
16090         (_FP_HIGHBIT_DW_Q): Likewise.
16091         (FP_FMA_Q): Likewise.
16092         (_FP_FRAC_HIGH_DW_Q): Likewise.
16093         * soft-fp/fmasf4.c: New file.
16094         * soft-fp/fmadf4.c: Likewise.
16095         * soft-fp/fmatf4.c: Likewise.
16096
16097 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16098
16099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16100         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16101         Silvermont.
16102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16103         macro.
16104         (index_Slow_SSE4_2): Likewise.
16105         (index_Prefer_PMINUB_for_stringop): Likewise.
16106         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16107         bit_Slow_SSE4_2 is set.
16108         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16110
16111 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16112
16113         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16114         rtld_global._dl_hwcap2.
16115         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16116         POWER8.
16117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16118         POWER8 feature descriptions defined in _dl_hwcap2.
16119         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16120         string handling for POWER8 feature bits.
16121         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16122         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16123         _dl_powerpc_cap_flags.
16124         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16125         * sysdeps/powerpc/rtld-global-offsets.sym
16126         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16127         _dl_hwcap2 in the rtld_global_ro structure.
16128
16129 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16130
16131         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16132         hardware capabilities in support of AT_HWCAP2.
16133         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16134         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16135         GLRO(dl_hwcap2).
16136         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16137         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16138         explicitly the unknown a_type display mechanism is used.
16139         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16140         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16141         struct member.
16142         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16143         to macro prototype for AT_HWCAP2 support.
16144         * sysdeps/i386/dl-procinfo.h: Likewise.
16145         * sysdeps/s390/dl-procinfo.h: Likewise.
16146         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16147         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16148         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16149         return -1 for unknown a_type display fallback.
16150         * sysdeps/sparc/dl-procinfo.h: Likewise.
16151         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16152         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16153
16154 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16155
16156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16157         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16158
16159 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16160
16161         [BZ #12492]
16162         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16163         mprotect making __stack_prot writable.
16164
16165 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16166             Joseph Myers  <joseph@codesourcery.com>
16167
16168         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16169         as being properly aligned.
16170
16171 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16172
16173         * dlfcn/modstatic5.c: New file.
16174         * dlfcn/tststatic5.c: New file.
16175         * dlfcn/Makefile (tests): Add tststatic5.
16176         (tests-static): Likewise.
16177         (modules-names): Add modstatic5.
16178         (tststatic5-ENV): New variable.
16179         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16180
16181         [BZ #15022]
16182         * elf/dl-support.c (_dl_main_map): New variable.
16183         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16184         (_dl_nns, _dl_load_adds): Set to 1.
16185         (_dl_initial_searchlist): Refer to _dl_main_map.
16186         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16187         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16188         call to _dl_get_origin.
16189         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16190         around call_map.
16191         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16192         * dlfcn/modstatic3.c: New file.
16193         * dlfcn/tststatic3.c: New file.
16194         * dlfcn/tststatic4.c: New file.
16195         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16196         (tests-static): Likewise.
16197         (modules-names): Add modstatic3.
16198         (tststatic3-ENV, tststatic4-ENV): New variables.
16199         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16200         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16201
16202 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16203
16204         * configure.in (CC): Require GCC version 4.4 or later.
16205         * configure: Regenerated.
16206         * manual/install.texi (Tools for Compilation): Update GCC version
16207         requirement.
16208         * INSTALL: Regenerated.
16209
16210 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16211
16212         [BZ #15674]
16213         * string/test-memcmp.c (check2): New.
16214         (main): Call check2.
16215
16216         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16217
16218 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16219
16220         [BZ #15022]
16221         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16222         over to...
16223         (dl_open_worker) [!SHARED]: ... here.
16224
16225 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16226
16227         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16228
16229 2013-06-25  Richard Henderson  <rth@redhat.com>
16230
16231         * locale/programs/locarchive.c: Include <libc-internal.h>
16232
16233 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16234
16235         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16236         trailing whitespace removed.
16237
16238 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16239
16240         [BZ #10283]
16241         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16242         * locale/programs/locarchive.c: Include libc-mmap.h.
16243         (prepare_address_space): Take two new outputs (the mmap base and len).
16244         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16245         values.
16246         (create_archive): Declare new mmap base and len values for
16247         prepare_address_space, and store the result in ah.
16248         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16249         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16250         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16251         Declare new mmap base and len values for
16252         prepare_address_space, and store the result in new_ah.
16253         (open_archive): Declare new mmap base and len values for
16254         prepare_address_space, and store the result in ah.
16255         (close_archive): If ah->mmap_base is not NULL, use that and
16256         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16257         * sysdeps/generic/libc-mmap.h: New file.
16258
16259 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16260
16261         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16262         (ALIGN_UP): Likewise.
16263         (PTR_ALIGN_DOWN): Likewise.
16264         (PTR_ALIGN_UP): Likewise.
16265
16266 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16267
16268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16269         entry mapped to PPC_PLATFORM_POWER8.
16270         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16271         POWER8.
16272         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16273         (_dl_string_platform): Add case for exporting platform position for
16274         POWER8.
16275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16276         search path to sysdeps/powerpc/powerpc32/power8 directory.
16277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16278         search path to sysdeps/powerpc/powerpc64/power8 directory.
16279         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16280         power7 directories.
16281         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16282         power7 directories.
16283
16284 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16285
16286         * INSTALL: Regenerate.
16287
16288         * nscd/connections.c (nscd_init): Fix comment.
16289
16290 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16291
16292         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16293
16294         [BZ #15667]
16295         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16296         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16297
16298 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16299
16300         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16301         DL_DST_REQ_STATIC.
16302         (DL_DST_REQ_STATIC): Remove macro.
16303
16304 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16305
16306         [BZ #7006]
16307         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16308         with a shift of 0 bits.
16309
16310 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16311
16312         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16313         $(tststatic-ENV).
16314
16315 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16316
16317         [BZ #15655]
16318         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16319
16320 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16321
16322         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16323         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16324         accepts -fno-tree-loop-distribute-patterns.
16325         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16326         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16327         recursive call.
16328         * string/memset.c (memset): Likewise.
16329         * string/test-memmove.c (simple_memmove): Disable loop transformation
16330         to library calls.
16331         * string/test-memset.c (simple_memset): Likewise.
16332         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16333         * benchtests/bench-memset.c (simple_memset): Likewise.
16334         * configure: Regenerated.
16335
16336 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16337
16338         * math/test-misc.c (main): Ignore fesetround failure when failures
16339         of subsequent rounding tests would be ignored.
16340
16341         [BZ #15654]
16342         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16343         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16344         * math/fegetenv.c (__fegetenv): Return 0.
16345         * math/fegetexcept.c (fegetexcept): Return 0.
16346         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16347         FE_TONEAREST.
16348         * math/feholdexcpt.c (feholdexcept): Return 0.
16349         * math/fesetenv.c (__fesetenv): Return 0.
16350         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16351         argument FE_TONEAREST.
16352         * math/feupdateenv.c (__feupdateenv): Return 0.
16353         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16354
16355 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16356
16357         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16358         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16359         ($(objpfx)rtld-%.os rules): Use them.
16360
16361 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16362
16363         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16364         fields.
16365
16366 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16367
16368         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16369         length of target pattern, then descending length of dependency pattern.
16370         * configure.in (AWK): Require gawk 3.1.2 or newer.
16371         * manual/install.texi (Tools for Compilation): Say that we do.
16372         * configure: Regenerated.
16373
16374         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16375         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16376         * scripts/sysd-rules.awk: ... this new script.
16377         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16378         than a glob-style pattern.
16379
16380 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16381
16382         * math/test-misc.c (main): Do not treat incorrectly rounded
16383         conversions as failure unless ROUNDING_TESTS passes.
16384
16385 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16386
16387         [BZ #15631]
16388         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16389         restore exception state around main square root computation, then
16390         check for inexactness explicitly.
16391
16392         * math/libm-test.inc (fma_test_data): Add another test.
16393
16394 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16395
16396         * manual/threads.texi (Non-POSIX Extensions): New document
16397         node.  Document pthread_getattr_default_np and
16398         pthread_setattr_default_np.
16399
16400         * Versions.def (libpthread): Add GLIBC_2.18.
16401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16403         Likewise.
16404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16405         Likewise.
16406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16407         Likewise.
16408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16409         Likewise.
16410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16411         Likewise.
16412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16413         Likewise.
16414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16415         Likewise.
16416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16417         Likewise.
16418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16419         Likewise.
16420
16421 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16422
16423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16424         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16425
16426 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16427             H.J. Lu  <hjl.tools@gmail.com>
16428
16429         [BZ #15627]
16430         * sysdeps/x86_64/rtld-memset.c: Remove file.
16431         * sysdeps/x86_64/rtld-memset.S: New file.
16432
16433 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16434
16435         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16436         (test_in_one_mode): Take arguments for whether the rounding mode
16437         is supported for each floating-point type.
16438         (do_test): Pass new arguments to test_in_one_mode using
16439         ROUNDING_TESTS.
16440
16441 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16442
16443         * posix/tst-waitid.c (do_test): Distinguish different instances of
16444         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16445         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16446         before entering the kernel for waitpid.
16447
16448 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16449
16450         * NEWS: Fix note on clock function precision.  Text by Roland
16451         McGrath.
16452
16453 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16454
16455         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16456         it into place only when and if the sanity check passes.
16457
16458 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16459
16460         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16461         output for whether conversion result is exact.  Take argument
16462         indicating whether type is IBM long double.
16463         (round_for_all): Change need_exact field to ibm_ld.
16464         * stdlib/tst-strtod-round.c (struct exactness): New type.
16465         (struct test): Change bool ld_ok field to struct exactness exact.
16466         (TEST): Update all definitions for change to field.
16467         (tests): Regenerate array contents.
16468         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16469         field value.  Check for IBM long double here.
16470         (do_test): Update calls to test_in_one_mode.
16471
16472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16473
16474         [BZ #12515]
16475         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16476         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16477
16478 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16479
16480         [BZ #15605]
16481         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16482         generated by the compiler on loop optimizations.
16483         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16484         general definitions.
16485
16486 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16487
16488         * math/bug-nextafter.c: Include <math-tests.h>.
16489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16490         the relevant type.
16491         * math/bug-nexttoward.c: Include <math-tests.h>.
16492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16493         the relevant type.
16494         * math/test-misc.c: Include <math-tests.h>.
16495         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16496         the relevant type.
16497
16498 2013-06-12  Andreas Jaeger  <aj@suse.de>
16499
16500         * po/ia.po: Update Interlingua translation from translation
16501         project.
16502
16503 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16504
16505         * include/fenv.h: Include stdbool.h.
16506         (struct rm_ctx): New structure.
16507         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16508         Define macro.
16509         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16510         (SET_RESTORE_ROUNDF): Likewise.
16511         (SET_RESTORE_ROUNDL): Likewise.
16512         (SET_RESTORE_ROUND_NOEX): Likewise.
16513         (SET_RESTORE_ROUND_NOEXF): Likewise.
16514         (SET_RESTORE_ROUND_NOEXL): Likewise.
16515         (SET_RESTORE_ROUND_53BIT): Likewise.
16516         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16517         (libc_feresetround_noexf_ctx): Likewise.
16518         (libc_feresetround_noexl_ctx): Likewise.
16519         (libc_feholdsetround_53bit_ctx): Likewise.
16520         (libc_feresetround_53bit_ctx): Likewise.
16521         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16522         (libc_feholdexcept_setround_sse_ctx): New function.
16523         (libc_fesetenv_sse_ctx): Likewise.
16524         (libc_feupdateenv_sse_ctx): Likewise.
16525         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16526         (libc_feholdexcept_setround_387_ctx): Likewise.
16527         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16528         (libc_feholdsetround_387_prec_ctx): Likewise.
16529         (libc_feholdsetround_387_ctx): Likewise.
16530         (libc_feholdsetround_387_53bit_ctx): Likewise.
16531         (libc_feholdsetround_sse_ctx): Likewise.
16532         (libc_feresetround_sse_ctx): Likewise.
16533         (libc_feresetround_387_ctx): Likewise.
16534         (libc_feupdateenv_387_ctx): Likewise.
16535         (libc_feholdexcept_setroundf_ctx): Define macro.
16536         (libc_fesetenvf_ctx): Likewise.
16537         (libc_feupdateenvf_ctx): Likewise.
16538         (libc_feholdsetroundf_ctx): Likewise.
16539         (libc_feresetroundf_ctx): Likewise.
16540         (libc_feholdexcept_setround_ctx): Likewise.
16541         (libc_fesetenv_ctx): Likewise.
16542         (libc_feupdateenv_ctx): Likewise.
16543         (libc_feholdsetround_ctx): Likewise.
16544         (libc_feresetround_ctx): Likewise.
16545         (libc_feholdexcept_setroundl_ctx): Likewise.
16546         (libc_feupdateenvl_ctx): Likewise.
16547         (libc_feholdsetroundl_ctx): Likewise.
16548         (libc_feresetroundl_ctx): Likewise.
16549         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16550         (libc_feresetround_53bit_ctx): Likewise.
16551
16552 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16553
16554         * locale/iso-639.def: Convert to UTF-8.
16555
16556 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16557
16558         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16559         (EXCEPTION_TESTS_double): Likewise.
16560         (EXCEPTION_TESTS_long_double): Likewise.
16561         (EXCEPTION_TESTS): Likewise.
16562         * math/libm-test.inc (test_exceptions): Only test exceptions if
16563         EXCEPTION_TESTS (FLOAT).
16564
16565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16566
16567         * benchtests/Makefile (string-bench): Add strcpy_chk and
16568         stpcpy_chk.
16569         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16570         * benchtests/bench-stpcpy_chk.c: New file.
16571         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16572         * benchtests/bench-strcpy_chk.c: New file.
16573         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16574         code.
16575         (do_test): Likewise.
16576
16577 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16578
16579         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16580         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16581         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16582         with tabs where appropriate.
16583         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16584         dl-procinfo.h.
16585         [PPC_PLATFORM_PPC440]: Likewise.
16586         [PPC_PLATFORM_PPC464]: Likewise.
16587         [PPC_PLATFORM_PPC476]: Likewise.
16588         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16589         ppc464, and ppc476 platform strings merging from ports/
16590         dl-procinfo.h.
16591
16592 2013-06-11  Andreas Schwab  <schwab@suse.de>
16593
16594         [BZ #14991]
16595         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16596         (from_ucs4_idx): Regenerate.
16597         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16598         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16599         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16600         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16601         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16602         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16603         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16604         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16605         from FROM_LOOP and TO_LOOP specific macros.
16606         (BODY): Handle combining characters.
16607         * iconvdata/BIG5HKSCS.irreversible: Update.
16608         * iconvdata/BIG5HKSCS.precomposed: New file.
16609         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16610         characters.
16611         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16612
16613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16614
16615         * include/sys/time.h: Fix indentation and add copyright header.
16616
16617         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16618         (do_test): Likewise.
16619         * string/test-memchr.c (do_one_test): Likewise.
16620         (do_test): Likewise.
16621         * string/test-memcmp.c (do_one_test): Likewise.
16622         (do_test): Likewise.
16623         * string/test-memcpy.c (do_one_test): Likewise.
16624         (do_test): Likewise.
16625         * string/test-memmem.c (do_one_test): Likewise.
16626         (do_test): Likewise.
16627         (do_random_tests): Likewise.
16628         * string/test-memmove.c (do_one_test): Likewise.
16629         (do_test): Likewise.
16630         * string/test-memset.c (do_one_test): Likewise.
16631         (do_test): Likewise.
16632         * string/test-rawmemchr.c (do_one_test): Likewise.
16633         (do_test): Likewise.
16634         * string/test-strcasecmp.c (do_one_test): Likewise.
16635         (do_test): Likewise.
16636         * string/test-strcasestr.c (do_one_test): Likewise.
16637         (do_test): Likewise.
16638         * string/test-strcat.c (do_one_test): Likewise.
16639         (do_test): Likewise.
16640         * string/test-strchr.c (do_one_test): Likewise.
16641         (do_test): Likewise.
16642         * string/test-strcmp.c (do_one_test): Likewise.
16643         (do_test): Likewise.
16644         * string/test-strcpy.c (do_one_test): Likewise.
16645         (do_test): Likewise.
16646         * string/test-string.h: Likewise.
16647         (test_init): Likewise.
16648         * string/test-strlen.c (do_one_test): Likewise.
16649         (do_test): Likewise.
16650         * string/test-strncasecmp.c (do_one_test): Likewise.
16651         (do_test): Likewise.
16652         * string/test-strncat.c (do_one_test): Likewise.
16653         (do_test): Likewise.
16654         * string/test-strncmp.c (do_one_test): Likewise.
16655         (do_test_limit): Likewise.
16656         (do_test): Likewise.
16657         * string/test-strncpy.c (do_one_test): Likewise.
16658         (do_test): Likewise.
16659         * string/test-strnlen.c (do_one_test): Likewise.
16660         (do_test): Likewise.
16661         * string/test-strpbrk.c (do_one_test): Likewise.
16662         (do_test): Likewise.
16663         * string/test-strrchr.c (do_one_test): Likewise.
16664         (do_test): Likewise.
16665         * string/test-strspn.c (do_one_test): Likewise.
16666         (do_test): Likewise.
16667         * string/test-strstr.c (do_one_test): Likewise.
16668         (do_test): Likewise.
16669
16670         * benchtests/Makefile (string-bench): Add string benchmarks.
16671         * benchtests/bench-bcopy-ifunc.c: New file.
16672         * benchtests/bench-bcopy.c: New file.
16673         * benchtests/bench-bzero-ifunc.c: New file.
16674         * benchtests/bench-bzero.c: New file.
16675         * benchtests/bench-memccpy-ifunc.c: New file.
16676         * benchtests/bench-memccpy.c: New file.
16677         * benchtests/bench-memchr-ifunc.c: New file.
16678         * benchtests/bench-memchr.c: New file.
16679         * benchtests/bench-memcmp-ifunc.c: New file.
16680         * benchtests/bench-memcmp.c: New file.
16681         * benchtests/bench-memmem-ifunc.c: New file.
16682         * benchtests/bench-memmem.c: New file.
16683         * benchtests/bench-memmove-ifunc.c: New file.
16684         * benchtests/bench-memmove.c: New file.
16685         * benchtests/bench-mempcpy-ifunc.c: New file.
16686         * benchtests/bench-mempcpy.c: New file.
16687         * benchtests/bench-memset-ifunc.c: New file.
16688         * benchtests/bench-memset.c: New file.
16689         * benchtests/bench-rawmemchr-ifunc.c: New file.
16690         * benchtests/bench-rawmemchr.c: New file.
16691         * benchtests/bench-stpcpy-ifunc.c: New file.
16692         * benchtests/bench-stpcpy.c: New file.
16693         * benchtests/bench-stpncpy-ifunc.c: New file.
16694         * benchtests/bench-stpncpy.c: New file.
16695         * benchtests/bench-strcasecmp-ifunc.c: New file.
16696         * benchtests/bench-strcasecmp.c: New file.
16697         * benchtests/bench-strcasestr-ifunc.c: New file.
16698         * benchtests/bench-strcasestr.c: New file.
16699         * benchtests/bench-strcat-ifunc.c: New file.
16700         * benchtests/bench-strcat.c: New file.
16701         * benchtests/bench-strchr-ifunc.c: New file.
16702         * benchtests/bench-strchr.c: New file.
16703         * benchtests/bench-strchrnul-ifunc.c: New file.
16704         * benchtests/bench-strchrnul.c: New file.
16705         * benchtests/bench-strcmp-ifunc.c: New file.
16706         * benchtests/bench-strcmp.c: New file.
16707         * benchtests/bench-strcpy-ifunc.c: New file.
16708         * benchtests/bench-strcpy.c: New file.
16709         * benchtests/bench-strcspn-ifunc.c: New file.
16710         * benchtests/bench-strcspn.c: New file.
16711         * benchtests/bench-strlen-ifunc.c: New file.
16712         * benchtests/bench-strlen.c: New file.
16713         * benchtests/bench-strncasecmp-ifunc.c: New file.
16714         * benchtests/bench-strncasecmp.c: New file.
16715         * benchtests/bench-strncat-ifunc.c: New file.
16716         * benchtests/bench-strncat.c: New file.
16717         * benchtests/bench-strncmp-ifunc.c: New file.
16718         * benchtests/bench-strncmp.c: New file.
16719         * benchtests/bench-strncpy-ifunc.c: New file.
16720         * benchtests/bench-strncpy.c: New file.
16721         * benchtests/bench-strnlen-ifunc.c: New file.
16722         * benchtests/bench-strnlen.c: New file.
16723         * benchtests/bench-strpbrk-ifunc.c: New file.
16724         * benchtests/bench-strpbrk.c: New file.
16725         * benchtests/bench-strrchr-ifunc.c: New file.
16726         * benchtests/bench-strrchr.c: New file.
16727         * benchtests/bench-strspn-ifunc.c: New file.
16728         * benchtests/bench-strspn.c: New file.
16729         * benchtests/bench-strstr-ifunc.c: New file.
16730         * benchtests/bench-strstr.c: New file.
16731
16732         * benchtests/Makefile: Disable parallel execution of targets.
16733         (string-bench): Add memcpy.
16734         (benchset): New variable to store a list of benchmark sets.
16735         (bench-func): Renamed from bench.
16736         (bench-set): New target.
16737         (bench): Depend on bench-func and bench-set.
16738         * benchtests/README: Add section on benchmark sets.
16739         * benchtests/bench-memcpy-ifunc.c: New file.
16740         * benchtests/bench-memcpy.c: New file.
16741         * benchtests/bench-string.h: New file.
16742
16743 2013-06-11  Andreas Schwab  <schwab@suse.de>
16744
16745         [BZ #15577]
16746         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16747         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16748         values in the triple.
16749         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16750         terminator in the group key.
16751
16752 2013-06-11  Andreas Jaeger  <aj@suse.de>
16753
16754         * po/zh_TW.po: Update Chinese (traditional) translation from
16755         translation project.
16756
16757 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16758
16759         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16760         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16761         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16762         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16763         (clock_getcpuclockid): Likewise.
16764         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16765         Add weak_alias and libc_hidden_def.
16766         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16767         * rt/clock_gettime.c (clock_gettime): Rename to
16768         __clock_gettime.  Add weak_alias and libc_hidden_def.
16769         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16770         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16771         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16772         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16773         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16774         Likewise.
16775         * rt/clock_settime.c (clock_settime): Rename to
16776         __clock_settime.  Add weak_alias and libc_hidden_def.
16777         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16778
16779 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16780
16781         * mach/err_boot.sub: Remove trailing whitespace.
16782         * mach/err_ipc.sub: Likewise.
16783         * mach/err_mach.sub: Likewise.
16784
16785         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16786         (ROUNDING_TESTS_double): Likewise.
16787         (ROUNDING_TESTS_long_double): Likewise.
16788         (ROUNDING_TESTS): Likewise.
16789         * math/libm-test.inc: Include <math-tests.h>.
16790         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16791         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16792         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16793         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16794
16795 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16796
16797         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16798         of assigning.
16799
16800 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16801
16802         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16803         otherwise empty TRANS lines.
16804         * sysdeps/gnu/errlist.c: Regenerated.
16805
16806         * catgets/gencat.c (error_print): Use (void) in function
16807         definition.
16808         * crypt/crypt_util.c (__init_des): Likewise.
16809         * crypt/speeds.c (Stop): Likewise.
16810         (main): Likewise.
16811         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16812         * inet/ruserpass.c (token): Likewise.
16813         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16814         * intl/localealias.c (extend_alias_table): Likewise.
16815         * intl/plural-exp.c (init_germanic_plural): Likewise.
16816         * libio/fcloseall.c (__fcloseall): Likewise.
16817         * libio/genops.c (_IO_flush_all): Likewise.
16818         (_IO_flush_all_linebuffered): Likewise.
16819         (_IO_cleanup): Likewise.
16820         (_IO_iter_begin): Likewise.
16821         (_IO_iter_end): Likewise.
16822         (_IO_list_lock): Likewise.
16823         (_IO_list_unlock): Likewise.
16824         (_IO_list_resetlock): Likewise.
16825         * libio/getchar.c (getchar): Likewise.
16826         * libio/getchar_u.c (getchar_unlocked): Likewise.
16827         * libio/getwchar.c (getwchar): Likewise.
16828         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16829         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16830         * login/getpt.c (__getpt): Likewise.
16831         * login/tst-utmp.c (main): Likewise.
16832         * malloc/hooks.c (__malloc_check_init): Likewise.
16833         * malloc/malloc.c (__malloc_stats): Likewise.
16834         * malloc/mtrace.c (tr_break): Likewise.
16835         (mtrace): Likewise.
16836         (muntrace): Likewise.
16837         * misc/fstab.c (endfsent): Likewise.
16838         * misc/getclktck.c (__getclktck): Likewise.
16839         * misc/getdtsz.c (__getdtablesize): Likewise.
16840         * misc/gethostid.c (gethostid): Likewise.
16841         * misc/getpagesize.c (__getpagesize): Likewise.
16842         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16843         (__get_nprocs): Likewise.
16844         (__get_phys_pages): Likewise.
16845         (__get_avphys_pages): Likewise.
16846         * misc/getttyent.c (getttyent): Likewise.
16847         (setttyent): Likewise.
16848         (endttyent): Likewise.
16849         * misc/getusershell.c (getusershell): Likewise.
16850         (endusershell): Likewise.
16851         (setusershell): Likewise.
16852         (initshells): Likewise.
16853         * misc/hsearch.c (__hdestroy): Likewise.
16854         * misc/sync.c (sync): Likewise.
16855         * misc/syslog.c (closelog_internal): Likewise.
16856         (closelog): Likewise.
16857         * misc/ttyslot.c (ttyslot): Likewise.
16858         * misc/vhangup.c (vhangup): Likewise.
16859         * posix/fork.c (__fork): Likewise.
16860         * posix/getegid.c (__getegid): Likewise.
16861         * posix/geteuid.c (__geteuid): Likewise.
16862         * posix/getgid.c (__getgid): Likewise.
16863         * posix/getpid.c (__getpid): Likewise.
16864         * posix/getppid.c (__getppid): Likewise.
16865         * posix/getuid.c (__getuid): Likewise.
16866         * posix/pause.c (pause): Likewise.
16867         * posix/setpgrp.c (setpgrp): Likewise.
16868         * posix/setsid.c (__setsid): Likewise.
16869         * posix/test-vfork.c (noop): Likewise.
16870         * resolv/gethnamaddr.c (_endhtent): Likewise.
16871         (_gethtent): Likewise.
16872         (ht_endhostent): Likewise.
16873         (gethostent): Likewise.
16874         (dns_service): Likewise.
16875         * stdlib/drand48.c (drand48): Likewise.
16876         * stdlib/lrand48.c (lrand48): Likewise.
16877         * stdlib/mrand48.c (mrand48): Likewise.
16878         * stdlib/rand.c (rand): Likewise.
16879         * stdlib/random.c (__random): Likewise.
16880         * stdlib/setenv.c (clearenv): Likewise.
16881         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16882         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16883         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16884         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16885         (__get_nprocs): Likewise.
16886         (__get_phys_pages): Likewise.
16887         (__get_avphys_pages): Likewise.
16888         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16889         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16890         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16891         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16892         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16893         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16894         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16895         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16896         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16897         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16898         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16899         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16900         * sysdeps/posix/clock.c (clock): Likewise.
16901         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16902         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16903         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16904         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16905         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16907         (__get_nprocs_conf): Likewise.
16908         (__get_phys_pages): Likewise.
16909         (__get_avphys_pages): Likewise.
16910         * time/clock.c (clock): Likewise.
16911         * time/tzset.c (__tzname_max): Likewise.
16912
16913 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16914
16915         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16916         (__bswap_32): Do not use "register".
16917         * crypt/crypt.c (_ufc_doit_r): Likewise.
16918         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16920         * gmon/gmon.c (__monstartup): Likewise.
16921         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16922         * hurd/hurdmalloc.c (more_memory): Likewise.
16923         (malloc): Likewise.
16924         (free): Likewise.
16925         (realloc): Likewise.
16926         (malloc_fork_prepare): Likewise.
16927         (malloc_fork_parent): Likewise.
16928         (malloc_fork_child): Likewise.
16929         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16930         (_svcauth_des): Likewise.
16931         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16932         * inet/inet_net.c (inet_network): Likewise.
16933         * inet/inet_netof.c (inet_netof): Likewise.
16934         * inet/rcmd.c (__validuser2_sa): Likewise.
16935         * io/fts.c (fts_open): Likewise.
16936         (fts_load): Likewise.
16937         (fts_close): Likewise.
16938         (fts_read): Likewise.
16939         (fts_children): Likewise.
16940         (fts_build): Likewise.
16941         (fts_stat): Likewise.
16942         (fts_sort): Likewise.
16943         (fts_alloc): Likewise.
16944         (fts_lfree): Likewise.
16945         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16946         (_IO_file_xsgetn): Likewise.
16947         (_IO_file_xsgetn_mmap): Likewise.
16948         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16949         (_IO_cookie_write): Likewise.
16950         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16951         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16952         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16953         * malloc/obstack.c (_obstack_begin): Likewise.
16954         (_obstack_begin_1): Likewise.
16955         (_obstack_newchunk): Likewise.
16956         (_obstack_allocated_p): Likewise.
16957         (obstack_free): Likewise.
16958         (_obstack_memory_used): Likewise.
16959         * misc/getttyent.c (getttynam): Likewise.
16960         (getttyent): Likewise.
16961         (skip): Likewise.
16962         (value): Likewise.
16963         * misc/getusershell.c (initshells): Likewise.
16964         * misc/syslog.c (__vsyslog_chk): Likewise.
16965         * misc/ttyslot.c (ttyslot): Likewise.
16966         * nis/nis_hash.c (__nis_hash): Likewise.
16967         * posix/fnmatch_loop.c (FCT): Likewise.
16968         * posix/getconf.c (print_all): Likewise.
16969         (main): Likewise.
16970         * posix/getopt.c (exchange): Likewise.
16971         * posix/glob.c (globfree): Likewise.
16972         (prefix_array): Likewise.
16973         (__glob_pattern_type): Likewise.
16974         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16975         (NS_GET32): Likewise.
16976         (NS_PUT16): Likewise.
16977         (NS_PUT32): Likewise.
16978         * resolv/gethnamaddr.c (getanswer): Likewise.
16979         (gethostbyname2): Likewise.
16980         (gethostbyaddr): Likewise.
16981         (_gethtent): Likewise.
16982         (_gethtbyname2): Likewise.
16983         (_gethtbyaddr): Likewise.
16984         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16985         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16986         * resolv/res_init.c (__res_vinit): Likewise.
16987         (net_mask): Likewise.
16988         * resolv/res_mkquery.c (outchar): Likewise.
16989         (PRINT): Likewise.
16990         * stdio-common/printf_fp.c (outchar): Likewise.
16991         (PRINT): Likewise.
16992         * stdio-common/printf_fphex.c (outchar): Likewise.
16993         (PRINT): Likewise.
16994         * stdio-common/printf_size.c (outchar): Likewise.
16995         (PRINT): Likewise.
16996         * stdio-common/test_rdwr.c (main): Likewise.
16997         * stdio-common/tfformat.c (matches): Likewise.
16998         * stdio-common/vfprintf.c (outchar): Likewise.
16999         (printf_unknown): Likewise.
17000         (buffered_vfprintf): Likewise.
17001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17002         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17003         (ReadFile): Likewise.
17004         * stdlib/qsort.c (SWAP): Likewise.
17005         (_quicksort): Likewise.
17006         * stdlib/setenv.c (__add_to_environ): Likewise.
17007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17008         * stdlib/strtol_l.c (__strtol_l): Likewise.
17009         * stdlib/tst-strtod.c (main): Likewise.
17010         * stdlib/tst-strtol.c (main): Likewise.
17011         * stdlib/tst-strtoll.c (main): Likewise.
17012         * string/bits/string2.h (__strcmp_cc): Likewise.
17013         (__strcmp_cg): Likewise.
17014         (__strcspn_c1): Likewise.
17015         (__strcspn_c2): Likewise.
17016         (__strcspn_c3): Likewise.
17017         (__strspn_c1): Likewise.
17018         (__strspn_c2): Likewise.
17019         (__strspn_c3): Likewise.
17020         (__strsep_1c): Likewise.
17021         (__strsep_2c): Likewise.
17022         (__strsep_3c): Likewise.
17023         * string/memccpy.c (__memccpy): Likewise.
17024         * string/stpcpy.c (__stpcpy): Likewise.
17025         * string/strcmp.c (strcmp): Likewise.
17026         * string/strrchr.c (strrchr): Likewise.
17027         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17028         Likewise.
17029         * sysdeps/mach/hurd/getcwd.c
17030         (_hurd_canonicalize_directory_name_internal): Likewise.
17031         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17032         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17034         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17035         Likewise, in both definitions.
17036         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17037         definitions.
17038         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17039         64] (__bswap_64): Likewise.
17040         * time/test_time.c (main): Likewise.
17041         * time/tzfile.c (__tzfile_read): Likewise.
17042         (__tzfile_compute): Likewise.
17043         * time/tzset.c (__tzset_parse_tz): Likewise.
17044         (tzset_internal): Likewise.
17045         (compute_change): Likewise.
17046         * wcsmbs/wcscat.c (__wcscat): Likewise.
17047         * wcsmbs/wcschr.c (wcschr): Likewise.
17048         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17049         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17050         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17051         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17052         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17053         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17054         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17055         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17056         * wcsmbs/wmemset.c (wmemset): Likewise.
17057
17058 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17059
17060         * scripts/config.guess: Update to version 2013-05-16.
17061         * scripts/config.sub: Update to version 2013-04-24.
17062         * scripts/install-sh: Update to version 2011-11-20.07.
17063         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17064         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17065
17066 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17067
17068         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17069         * elf/sln.c: Likewise.
17070         * hurd/hurd/ioctl.h: Likewise.
17071         * hurd/hurdmalloc.c: Likewise.
17072         * hurd/xattr.c: Likewise.
17073         * include/shlib-compat.h: Likewise.
17074         * inet/ruserpass.c: Likewise.
17075         * libio/iofgets_u.c: Likewise.
17076         * libio/iofgetws_u.c: Likewise.
17077         * locale/programs/ld-identification.c: Likewise.
17078         * locale/programs/ld-time.c: Likewise.
17079         * mach/msg-destroy.c: Likewise.
17080         * nss/nss_files/files-netgrp.c: Likewise.
17081         * resolv/res_data.c: Likewise.
17082         * soft-fp/op-1.h: Likewise.
17083         * soft-fp/op-2.h: Likewise.
17084         * soft-fp/op-4.h: Likewise.
17085         * soft-fp/op-common.h: Likewise.
17086         * stdio-common/printf_fphex.c: Likewise.
17087         * stdlib/strtod_l.c: Likewise.
17088         * sunrpc/rpc/clnt.h: Likewise.
17089         * sysdeps/generic/framestate.c: Likewise.
17090         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17091         * sysdeps/i386/bsd-setjmp.S: Likewise.
17092         * sysdeps/i386/__longjmp.S: Likewise.
17093         * sysdeps/i386/setjmp.S: Likewise.
17094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17095         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17097         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17100         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17101         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17102         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17103         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17104         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17105         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17106         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17107         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17108         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17109         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17110         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17111         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17112         * sysdeps/ieee754/support.c: Likewise.
17113         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17114         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17115         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17116         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17117         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17118         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17119         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17120         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17121         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17122         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17123         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17124         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17127         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17128         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17129         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17131
17132 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17133
17134         * posix/transbug.c: Remove executable mode.
17135
17136 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17137
17138         * crypt/speeds.c: Remove trailing whitespace.
17139         * dlfcn/default.c: Likewise.
17140         * elf/ifuncdep2.c: Likewise.
17141         * elf/ifuncmain1.c: Likewise.
17142         * elf/ifuncmain1vis.c: Likewise.
17143         * elf/testobj.h: Likewise.
17144         * elf/tst-stackguard1.c: Likewise.
17145         * gmon/sys/gmon.h: Likewise.
17146         * hurd/hurdmsg.c: Likewise.
17147         * hurd/new-fd.c: Likewise.
17148         * hurd/ports-get.c: Likewise.
17149         * iconvdata/ibm1008_420.c: Likewise.
17150         * inet/tst-getni1.c: Likewise.
17151         * inet/tst-getni2.c: Likewise.
17152         * libio/ioungetc.c: Likewise.
17153         * libio/wfiledoalloc.c: Likewise.
17154         * manual/libm-err-tab.pl: Likewise.
17155         * math/w_dremf.c: Likewise.
17156         * misc/ftruncate.c: Likewise.
17157         * posix/bug-glob2.c: Likewise.
17158         * posix/tst-pcre.c: Likewise.
17159         * posix/wait4.c: Likewise.
17160         * resolv/README: Likewise.
17161         * resolv/res_debug.h: Likewise.
17162         * resolv/tst-inet_ntop.c: Likewise.
17163         * setjmp/bug269-setjmp.c: Likewise.
17164         * soft-fp/extended.h: Likewise.
17165         * soft-fp/op-1.h: Likewise.
17166         * soft-fp/op-2.h: Likewise.
17167         * soft-fp/op-4.h: Likewise.
17168         * soft-fp/op-8.h: Likewise.
17169         * soft-fp/testit.c: Likewise.
17170         * stdio-common/bug16.c: Likewise.
17171         * stdlib/random.c: Likewise.
17172         * sunrpc/rpcsvc/rquota.x: Likewise.
17173         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17180         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17182         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17183         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17184         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17186         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17195         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17196         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17197         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17198         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17202         * sysdeps/ieee754/s_lib_version.c: Likewise.
17203         * sysdeps/mach/hurd/check_fds.c: Likewise.
17204         * sysdeps/mach/hurd/getsockname.c: Likewise.
17205         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17206         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17207         * sysdeps/powerpc/bits/link.h: Likewise.
17208         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17209         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17210         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17211         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17213         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17214         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17215         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17216         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17217         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17218         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17219         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17220         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17222         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17223         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17226         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17228         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17229         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17230         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17231         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17232         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17234         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17236         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17239         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17241         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17242         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17243         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17244         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17245         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17246         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17247         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17249         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17250         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17251         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17253         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17254         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17255         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17256         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17257         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17259         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17262         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17263         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17264         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17265         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17269         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17270         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17271         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17272         * sysdeps/powerpc/sysdep.h: Likewise.
17273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17274         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17275         * sysdeps/sh/dl-trampoline.S: Likewise.
17276         * sysdeps/sh/memset.S: Likewise.
17277         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17278         * sysdeps/sh/strlen.S: Likewise.
17279         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17280         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17281         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17282         * sysdeps/sparc/sparc32/rem.S: Likewise.
17283         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17284         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17285         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17286         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17287         * sysdeps/sparc/sparc32/urem.S: Likewise.
17288         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17289         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17290         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17291         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17292         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17293         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17294         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17295         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17296         * sysdeps/unix/bsd/times.c: Likewise.
17297         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17298         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17302         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17304         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17306         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17309         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17310         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17311         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17312         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17314         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17315         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17316         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17317         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17318         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17319         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17322         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17323         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17324         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17325         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17326         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17327         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17328         * sysdeps/x86_64/strcspn.S: Likewise.
17329
17330 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17331
17332         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17333         generated file.  Regenerate properly from gen-translit.pl.
17334         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17335         locale/C-translit.h.
17336
17337 2013-06-05  Andreas Schwab  <schwab@suse.de>
17338
17339         [BZ #15100]
17340         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17341         week as 6 instead of -1.
17342         * time/tst-strptime.c (day_tests): Add test case.
17343
17344 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17345
17346         * sysdeps/generic/math_private.h
17347         (libc_feholdexcept_setround_53bit): Replace with
17348         libc_feholdsetround_53bit.
17349         (libc_feupdateenv_53bit): Replace with
17350         libc_feresetround_53bit.
17351         (SET_RESTORE_ROUND_53BIT): Adjust.
17352
17353 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17354
17355         * string/test-strchrnul.c: Add copyright header.
17356
17357         * posix/tst-getaddrinfo4.c: Increase test timeout.
17358
17359 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17360
17361         [BZ #15536]
17362         * math/libm-test.inc (MAX_EXP): Remove
17363         (MIN_EXP): Define.
17364         (ulp): Use MIN_EXP - MANT_DIG.
17365         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17366
17367 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17368
17369         * po/be.po: Revert last change.
17370         * po/zh_CN.po: Likewise.
17371         * po/header.pot: Likewise.
17372
17373 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17374
17375         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17376         link-libc-deps to empty as target-specific variable.
17377         * Makerules (link-libc-args): New variable.
17378         (libc-for-link): Likewise.
17379         (link-libc-deps): Likewise.
17380         (lib%.so): Depend on $(link-libc-deps).  Link with
17381         $(link-libc-args).
17382         (build-module): Link with $(link-libc-args).
17383         (build-module-asneeded): Likewise.
17384         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17385         list of objects.
17386         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17387         target-specific variable.
17388         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17389         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17390         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17391         libc.
17392         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17393         libc and ld.so.
17394         ($(objpfx)libpcprofile.so): Likewise.
17395         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17396         libc_nonshared.a.
17397         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17398         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17399         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17400         $(link-libc-deps).
17401         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17402         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17403         * login/Makefile ($(objpfx)libutil.so): Likewise.
17404         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17405         * math/Makefile ($(objpfx)libm.so): Likewise.
17406         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17407         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17408         variable instead of depending directly on libc.
17409         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17410         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17411         $(link-libc-deps).
17412         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17413         libc.
17414         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17415         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17416         ($(objpfx)libanl.so): Likewise.
17417         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17418         ld.so.
17419         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17420         $(link-libc-deps).
17421         * sysdeps/i386/fpu/Makefile: Remove file.
17422         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17423         ($(objpfx)libm.so): Remove dependency on ld.so.
17424
17425 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17426
17427         [BZ # 15553]
17428         * nis/yp_xdr.c (XDRMAXNAME): Define.
17429         (XDRMAXRECORD): Define.
17430         (xdr_domainname): Use XDRMAXNAME.
17431         (xdr_mapname): Likewise.
17432         (xdr_peername): Likewise.
17433         (xdr_keydat): Use XDRMAXRECORD.
17434         (xdr_valdat): Likewise.
17435
17436 2013-05-30  Jeff Law  <law@redhat.com>
17437
17438         [BZ #14256]
17439         * manual/errno.texi (ESTALE): Update to account for more than
17440         just NFS file systems.
17441         * sysdeps/gnu/errlist.c: Regenerated.
17442
17443 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17444
17445         [BZ #15465]
17446         * elf/Makefile (tests): Add tst-null-argv.
17447         (modules-names):  Add tst-null-argv-lib.
17448         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17449         (tst-null-argv-ENV): Set environment for tst-null-argv.
17450         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17451         (RTLD_PROGNAME): New macro.
17452         * elf/tst-null-argv.c: New test case.
17453         * elf/tst-null-argv-lib.c: Library for test case.
17454         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17455         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17456         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17457         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17458         * elf/dl-init.c (call_init): Likewise.
17459         (_dl_init): Likewise.
17460         * elf/dl-load.c (print_search_path): Likewise.
17461         (_dl_map_object): Likewise.
17462         * elf/dl-lookup.c (do_lookup_x): Likewise.
17463         (add_dependency): Likewise.
17464         (_dl_lookup_symbol_x): Likewise.
17465         (_dl_debug_bindings): Likewise.
17466         * elf/dl-open.c (_dl_show_scope): Likewise.
17467         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17468         * elf/dl-version.c (match_symbol): Likewise.
17469         (_dl_check_map_versions): Likewise.
17470         * elf/rtld.c (dl_main): Likewise.
17471         (print_unresolved): Use RTLD_PROGNAME.
17472         (print_missing_version): Likewise.
17473         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17474         (elf_machine_rela): Likewise.
17475         * sysdeps/powerpc/powerpc32/dl-machine.c
17476         (__process_machine_rela): Likewise.
17477         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17478         Likewise.
17479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17480         Likewise.
17481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17482         Likewise.
17483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17485         Likewise.
17486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17487         Likewise.
17488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17489
17490 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17491
17492         * po/be.po: Add descriptive title.
17493         * po/zh_CN.po: Likewise.
17494         * po/header.pot: Likewise.
17495
17496 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17497
17498         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17499         error message.
17500         (enlarge_archive): Likewise.
17501
17502 2013-05-28  Ben North  <ben@redfrontdoor.org>
17503
17504         * manual/arith.texi (frexp): It is the magnitude of the return
17505         value which lies in [0.5, 1), not the return value itself.
17506
17507 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17508
17509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17510
17511 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17512
17513         * stdio-common/bug26.c (main): Correct fscanf template.
17514
17515         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17516         declare _dl_skip_args.
17517
17518         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17519         Don't declare.
17520
17521         * manual/platform.texi: Add missing @end deftypefun.
17522
17523 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17524
17525         [BZ #15529]
17526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17527         bit of mantissa of 2^16382.
17528         * math/libm-test.inc (hypot_test_data): Add more tests.
17529
17530         * math/libm-test.inc: Add drem and pow10 to list of tested
17531         functions.
17532         (pow10_test): New function.
17533         (drem_test): Likewise.
17534         (drem_test_tonearest): Likewise.
17535         (drem_test_towardzero): Likewise.
17536         (drem_test_downward): Likewise.
17537         (drem_test_upward): Likewise.
17538         (main): Call the new functions.
17539
17540         * math/libm-test.inc (finite_test_data): Remove.
17541         (finite_test): Run tests from isfinite_test_data.
17542         (gamma_test_data): Remove.
17543         (gamma_test): Run tests from lgamma_test_data.
17544         * sysdeps/i386/fpu/libm-test-ulps: Update.
17545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17546
17547 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17548
17549         * manual/platform.texi: Add PowerPC PPR function set documentation.
17550         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17551         implementation.
17552
17553 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17554
17555         * math/libm-test.inc (MAX_EXP): Define.
17556         (ULPDIFF): Define.
17557         (ulp): New function.
17558         (check_float_internal): Use ULPDIFF.
17559         (cpow_test): Disable failing test.
17560         (check_ulp): Test ulp() implemetnation.
17561         (main): Call check_ulp before starting tests.
17562
17563 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17564
17565         * math/gen-libm-test.pl (generate_testfile): Do not handle
17566         START_DATA and END_DATA.
17567         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17568         END_DATA.
17569         (acos_tonearest_test_data): Likewise.
17570         (acos_towardzero_test_data): Likewise.
17571         (acos_downward_test_data): Likewise.
17572         (acos_upward_test_data): Likewise.
17573         (acosh_test_data): Likewise.
17574         (asin_test_data): Likewise.
17575         (asin_tonearest_test_data): Likewise.
17576         (asin_towardzero_test_data): Likewise.
17577         (asin_downward_test_data): Likewise.
17578         (asin_upward_test_data): Likewise.
17579         (asinh_test_data): Likewise.
17580         (atan_test_data): Likewise.
17581         (atanh_test_data): Likewise.
17582         (atan2_test_data): Likewise.
17583         (cabs_test_data): Likewise.
17584         (cacos_test_data): Likewise.
17585         (cacosh_test_data): Likewise.
17586         (carg_test_data): Likewise.
17587         (casin_test_data): Likewise.
17588         (casinh_test_data): Likewise.
17589         (catan_test_data): Likewise.
17590         (catanh_test_data): Likewise.
17591         (cbrt_test_data): Likewise.
17592         (ccos_test_data): Likewise.
17593         (ccosh_test_data): Likewise.
17594         (ceil_test_data): Likewise.
17595         (cexp_test_data): Likewise.
17596         (cimag_test_data): Likewise.
17597         (clog_test_data): Likewise.
17598         (clog10_test_data): Likewise.
17599         (conj_test_data): Likewise.
17600         (copysign_test_data): Likewise.
17601         (cos_test_data): Likewise.
17602         (cos_tonearest_test_data): Likewise.
17603         (cos_towardzero_test_data): Likewise.
17604         (cos_downward_test_data): Likewise.
17605         (cos_upward_test_data): Likewise.
17606         (cosh_test_data): Likewise.
17607         (cosh_tonearest_test_data): Likewise.
17608         (cosh_towardzero_test_data): Likewise.
17609         (cosh_downward_test_data): Likewise.
17610         (cosh_upward_test_data): Likewise.
17611         (cpow_test_data): Likewise.
17612         (cproj_test_data): Likewise.
17613         (creal_test_data): Likewise.
17614         (csin_test_data): Likewise.
17615         (csinh_test_data): Likewise.
17616         (csqrt_test_data): Likewise.
17617         (ctan_test_data): Likewise.
17618         (ctan_tonearest_test_data): Likewise.
17619         (ctan_towardzero_test_data): Likewise.
17620         (ctan_downward_test_data): Likewise.
17621         (ctan_upward_test_data): Likewise.
17622         (ctanh_test_data): Likewise.
17623         (ctanh_tonearest_test_data): Likewise.
17624         (ctanh_towardzero_test_data): Likewise.
17625         (ctanh_downward_test_data): Likewise.
17626         (ctanh_upward_test_data): Likewise.
17627         (erf_test_data): Likewise.
17628         (erfc_test_data): Likewise.
17629         (exp_test_data): Likewise.
17630         (exp_tonearest_test_data): Likewise.
17631         (exp_towardzero_test_data): Likewise.
17632         (exp_downward_test_data): Likewise.
17633         (exp_upward_test_data): Likewise.
17634         (exp10_test_data): Likewise.
17635         (exp2_test_data): Likewise.
17636         (expm1_test_data): Likewise.
17637         (fabs_test_data): Likewise.
17638         (fdim_test_data): Likewise.
17639         (finite_test_data): Likewise.
17640         (floor_test_data): Likewise.
17641         (fma_test_data): Likewise.
17642         (fma_towardzero_test_data): Likewise.
17643         (fma_downward_test_data): Likewise.
17644         (fma_upward_test_data): Likewise.
17645         (fmax_test_data): Likewise.
17646         (fmin_test_data): Likewise.
17647         (fmod_test_data): Likewise.
17648         (fpclassify_test_data): Likewise.
17649         (frexp_test_data): Likewise.
17650         (gamma_test_data): Likewise.
17651         (hypot_test_data): Likewise.
17652         (ilogb_test_data): Likewise.
17653         (isfinite_test_data): Likewise.
17654         (isgreater_test_data): Likewise.
17655         (isgreaterequal_test_data): Likewise.
17656         (isinf_test_data): Likewise.
17657         (isless_test_data): Likewise.
17658         (islessequal_test_data): Likewise.
17659         (islessgreater_test_data): Likewise.
17660         (isnan_test_data): Likewise.
17661         (isnormal_test_data): Likewise.
17662         (issignaling_test_data): Likewise.
17663         (isunordered_test_data): Likewise.
17664         (j0_test_data): Likewise.
17665         (j1_test_data): Likewise.
17666         (jn_test_data): Likewise.
17667         (ldexp_test_data): Likewise.
17668         (lgamma_test_data): Likewise.
17669         (lrint_test_data): Likewise.
17670         (lrint_tonearest_test_data): Likewise.
17671         (lrint_towardzero_test_data): Likewise.
17672         (lrint_downward_test_data): Likewise.
17673         (lrint_upward_test_data): Likewise.
17674         (llrint_test_data): Likewise.
17675         (llrint_tonearest_test_data): Likewise.
17676         (llrint_towardzero_test_data): Likewise.
17677         (llrint_downward_test_data): Likewise.
17678         (llrint_upward_test_data): Likewise.
17679         (log_test_data): Likewise.
17680         (log10_test_data): Likewise.
17681         (log1p_test_data): Likewise.
17682         (log2_test_data): Likewise.
17683         (logb_test_data): Likewise.
17684         (logb_downward_test_data): Likewise.
17685         (lround_test_data): Likewise.
17686         (llround_test_data): Likewise.
17687         (modf_test_data): Likewise.
17688         (nearbyint_test_data): Likewise.
17689         (nextafter_test_data): Likewise.
17690         (nexttoward_test_data): Likewise.
17691         (pow_test_data): Likewise.
17692         (pow_tonearest_test_data): Likewise.
17693         (pow_towardzero_test_data): Likewise.
17694         (pow_downward_test_data): Likewise.
17695         (pow_upward_test_data): Likewise.
17696         (remainder_test_data): Likewise.
17697         (remainder_tonearest_test_data): Likewise.
17698         (remainder_towardzero_test_data): Likewise.
17699         (remainder_downward_test_data): Likewise.
17700         (remainder_upward_test_data): Likewise.
17701         (remquo_test_data): Likewise.
17702         (rint_test_data): Likewise.
17703         (rint_tonearest_test_data): Likewise.
17704         (rint_towardzero_test_data): Likewise.
17705         (rint_downward_test_data): Likewise.
17706         (rint_upward_test_data): Likewise.
17707         (round_test_data): Likewise.
17708         (scalb_test_data): Likewise.
17709         (scalbn_test_data): Likewise.
17710         (scalbln_test_data): Likewise.
17711         (signbit_test_data): Likewise.
17712         (sin_test_data): Likewise.
17713         (sin_tonearest_test_data): Likewise.
17714         (sin_towardzero_test_data): Likewise.
17715         (sin_downward_test_data): Likewise.
17716         (sin_upward_test_data): Likewise.
17717         (sincos_test_data): Likewise.
17718         (sinh_test_data): Likewise.
17719         (sinh_tonearest_test_data): Likewise.
17720         (sinh_towardzero_test_data): Likewise.
17721         (sinh_downward_test_data): Likewise.
17722         (sinh_upward_test_data): Likewise.
17723         (sqrt_test_data): Likewise.
17724         (tan_test_data): Likewise.
17725         (tan_tonearest_test_data): Likewise.
17726         (tan_towardzero_test_data): Likewise.
17727         (tan_downward_test_data): Likewise.
17728         (tan_upward_test_data): Likewise.
17729         (tanh_test_data): Likewise.
17730         (tgamma_test_data): Likewise.
17731         (trunc_test_data): Likewise.
17732         (y0_test_data): Likewise.
17733         (y1_test_data): Likewise.
17734         (yn_test_data): Likewise.
17735         (significand_test_data): Likewise.
17736
17737         * math/gen-libm-test.pl (@functions): Remove variable.
17738         (generate_testfile): Don't handle START and END lines.
17739         * math/libm-test.inc (START): New macro.
17740         (END): Likewise.
17741         (END_COMPLEX): Likewise.
17742         (acos_test): Use END macro without arguments.
17743         (acos_test_tonearest): Likewise.
17744         (acos_test_towardzero): Likewise.
17745         (acos_test_downward): Likewise.
17746         (acos_test_upward): Likewise.
17747         (acosh_test): Likewise.
17748         (asin_test): Likewise.
17749         (asin_test_tonearest): Likewise.
17750         (asin_test_towardzero): Likewise.
17751         (asin_test_downward): Likewise.
17752         (asin_test_upward): Likewise.
17753         (asinh_test): Likewise.
17754         (atan_test): Likewise.
17755         (atanh_test): Likewise.
17756         (atan2_test): Likewise.
17757         (cabs_test): Likewise.
17758         (cacos_test): Use END_COMPLEX macro without arguments.
17759         (cacosh_test): Likewise.
17760         (carg_test): Use END macro without arguments.
17761         (casin_test): Use END_COMPLEX macro without arguments.
17762         (casinh_test): Likewise.
17763         (catan_test): Likewise.
17764         (catanh_test): Likewise.
17765         (cbrt_test): Use END macro without arguments.
17766         (ccos_test): Use END_COMPLEX macro without arguments.
17767         (ccosh_test): Likewise.
17768         (ceil_test): Use END macro without arguments.
17769         (cexp_test): Use END_COMPLEX macro without arguments.
17770         (cimag_test): Use END macro without arguments.
17771         (clog_test): Use END_COMPLEX macro without arguments.
17772         (clog10_test): Likewise.
17773         (conj_test): Likewise.
17774         (copysign_test): Use END macro without arguments.
17775         (cos_test): Likewise.
17776         (cos_test_tonearest): Likewise.
17777         (cos_test_towardzero): Likewise.
17778         (cos_test_downward): Likewise.
17779         (cos_test_upward): Likewise.
17780         (cosh_test): Likewise.
17781         (cosh_test_tonearest): Likewise.
17782         (cosh_test_towardzero): Likewise.
17783         (cosh_test_downward): Likewise.
17784         (cosh_test_upward): Likewise.
17785         (cpow_test): Use END_COMPLEX macro without arguments.
17786         (cproj_test): Likewise.
17787         (creal_test): Use END macro without arguments.
17788         (csin_test): Use END_COMPLEX macro without arguments.
17789         (csinh_test): Likewise.
17790         (csqrt_test): Likewise.
17791         (ctan_test): Likewise.
17792         (ctan_test_tonearest): Likewise.
17793         (ctan_test_towardzero): Likewise.
17794         (ctan_test_downward): Likewise.
17795         (ctan_test_upward): Likewise.
17796         (ctanh_test): Likewise.
17797         (ctanh_test_tonearest): Likewise.
17798         (ctanh_test_towardzero): Likewise.
17799         (ctanh_test_downward): Likewise.
17800         (ctanh_test_upward): Likewise.
17801         (erf_test): Use END macro without arguments.
17802         (erfc_test): Likewise.
17803         (exp_test): Likewise.
17804         (exp_test_tonearest): Likewise.
17805         (exp_test_towardzero): Likewise.
17806         (exp_test_downward): Likewise.
17807         (exp_test_upward): Likewise.
17808         (exp10_test): Likewise.
17809         (exp2_test): Likewise.
17810         (expm1_test): Likewise.
17811         (fabs_test): Likewise.
17812         (fdim_test): Likewise.
17813         (finite_test): Likewise.
17814         (floor_test): Likewise.
17815         (fma_test): Likewise.
17816         (fma_test_towardzero): Likewise.
17817         (fma_test_downward): Likewise.
17818         (fma_test_upward): Likewise.
17819         (fmax_test): Likewise.
17820         (fmin_test): Likewise.
17821         (fmod_test): Likewise.
17822         (fpclassify_test): Likewise.
17823         (frexp_test): Likewise.
17824         (gamma_test): Likewise.
17825         (hypot_test): Likewise.
17826         (ilogb_test): Likewise.
17827         (isfinite_test): Likewise.
17828         (isgreater_test): Likewise.
17829         (isgreaterequal_test): Likewise.
17830         (isinf_test): Likewise.
17831         (isless_test): Likewise.
17832         (islessequal_test): Likewise.
17833         (islessgreater_test): Likewise.
17834         (isnan_test): Likewise.
17835         (isnormal_test): Likewise.
17836         (issignaling_test): Likewise.
17837         (isunordered_test): Likewise.
17838         (j0_test): Likewise.
17839         (j1_test): Likewise.
17840         (jn_test): Likewise.
17841         (ldexp_test): Likewise.
17842         (lgamma_test): Likewise.
17843         (lrint_test): Likewise.
17844         (lrint_test_tonearest): Likewise.
17845         (lrint_test_towardzero): Likewise.
17846         (lrint_test_downward): Likewise.
17847         (lrint_test_upward): Likewise.
17848         (llrint_test): Likewise.
17849         (llrint_test_tonearest): Likewise.
17850         (llrint_test_towardzero): Likewise.
17851         (llrint_test_downward): Likewise.
17852         (llrint_test_upward): Likewise.
17853         (log_test): Likewise.
17854         (log10_test): Likewise.
17855         (log1p_test): Likewise.
17856         (log2_test): Likewise.
17857         (logb_test): Likewise.
17858         (logb_test_downward): Likewise.
17859         (lround_test): Likewise.
17860         (llround_test): Likewise.
17861         (modf_test): Likewise.
17862         (nearbyint_test): Likewise.
17863         (nextafter_test): Likewise.
17864         (nexttoward_test): Likewise.
17865         (pow_test): Likewise.
17866         (pow_test_tonearest): Likewise.
17867         (pow_test_towardzero): Likewise.
17868         (pow_test_downward): Likewise.
17869         (pow_test_upward): Likewise.
17870         (remainder_test): Likewise.
17871         (remainder_test_tonearest): Likewise.
17872         (remainder_test_towardzero): Likewise.
17873         (remainder_test_downward): Likewise.
17874         (remainder_test_upward): Likewise.
17875         (remquo_test): Likewise.
17876         (rint_test): Likewise.
17877         (rint_test_tonearest): Likewise.
17878         (rint_test_towardzero): Likewise.
17879         (rint_test_downward): Likewise.
17880         (rint_test_upward): Likewise.
17881         (round_test): Likewise.
17882         (scalb_test): Likewise.
17883         (scalbn_test): Likewise.
17884         (scalbln_test): Likewise.
17885         (signbit_test): Likewise.
17886         (sin_test): Likewise.
17887         (sin_test_tonearest): Likewise.
17888         (sin_test_towardzero): Likewise.
17889         (sin_test_downward): Likewise.
17890         (sin_test_upward): Likewise.
17891         (sincos_test): Likewise.
17892         (sinh_test): Likewise.
17893         (sinh_test_tonearest): Likewise.
17894         (sinh_test_towardzero): Likewise.
17895         (sinh_test_downward): Likewise.
17896         (sinh_test_upward): Likewise.
17897         (sqrt_test): Likewise.
17898         (tan_test): Likewise.
17899         (tan_test_tonearest): Likewise.
17900         (tan_test_towardzero): Likewise.
17901         (tan_test_downward): Likewise.
17902         (tan_test_upward): Likewise.
17903         (tanh_test): Likewise.
17904         (tgamma_test): Likewise.
17905         (trunc_test): Likewise.
17906         (y0_test): Likewise.
17907         (y1_test): Likewise.
17908         (yn_test): Likewise.
17909         (significand_test): Likewise.
17910
17911 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17912
17913         [BZ #15381]
17914         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17915
17916 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17917
17918         [BZ #14894]
17919         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17920         __ppc_mdoio and __ppc_mdoom.
17921         * manual/platform.texi: Document new functions __ppc_yield,
17922         __ppc_mdoio and __ppc_mdoom.
17923
17924 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17925
17926         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17927         (main): Mention "tls" pseudo-hwcap is legacy.
17928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17929
17930 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17931
17932         * math/gen-libm-test.pl (parse_args): Output only string of
17933         arguments as text for test name, not full call or descriptions of
17934         tests for extra outputs.
17935         (generate_testfile): Do not pass function name to parse_args.
17936         Generate this_func variable from START.
17937         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17938         field to arg_str.
17939         (struct test_ff_f_data): Likewise.
17940         (test_ff_f_data_nexttoward): Likewise.
17941         (struct test_fi_f_data): Likewise.
17942         (struct test_fl_f_data): Likewise.
17943         (struct test_if_f_data): Likewise.
17944         (struct test_fff_f_data): Likewise.
17945         (struct test_c_f_data): Likewise.
17946         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17947         (struct test_fF_f1_data): Likewise.
17948         (struct test_ffI_f1_data): Likewise.
17949         (struct test_c_c_data): Rename test_name field to arg_str.
17950         (struct test_cc_c_data): Likewise.
17951         (struct test_f_i_data): Likewise.
17952         (struct test_ff_i_data): Likewise.
17953         (struct test_f_l_data): Likewise.
17954         (struct test_f_L_data): Likewise.
17955         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17956         and extra2_name.
17957         (COMMON_TEST_SETUP): New macro.
17958         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17959         (COMMON_TEST_CLEANUP): Likewise.
17960         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17961         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17962         macros.
17963         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17964         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17965         macros.
17966         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17967         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17968         cleanup macros.
17969         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17970         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17971         macros.
17972         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17973         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17974         macros.
17975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17976         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17977         cleanup macros.
17978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17979         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17980         cleanup macros.
17981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17982         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17983         cleanup macros.
17984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17985         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17986         macros.
17987         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17988         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17989         macros.
17990         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17991         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17992         macros.
17993         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17994         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17995         cleanup macros.
17996         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17997         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17998         cleanup macros.
17999         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18000         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18001         macros.
18002         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18003         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18004         cleanup macros.
18005         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18006         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18007         macros.
18008         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18009         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18010         macros.
18011         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18012         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18013         cleanup macros.
18014         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18015
18016 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18017
18018         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18019         to _sifields.sigfault.
18020         (si_addr_lsb): Define new macro.
18021         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18022         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18024
18025 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18026
18027         [BZ #15441]
18028         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18029         returns -1.
18030         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18031         null return -1.
18032         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18033         loading the domain.
18034
18035 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18036
18037         * math/gen-libm-test.pl (parse_args): Do not include expected
18038         result in test name.
18039         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18041         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18042         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18043         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18045
18046 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18047
18048         * benchtests/Makefile: Sort function entries.
18049
18050         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18051         tanh, asinh, acosh, atanh.
18052         * benchtests/acos-inputs: New file.
18053         * benchtests/acosh-inputs: New file.
18054         * benchtests/asin-inputs: New file.
18055         * benchtests/asinh-inputs: New file.
18056         * benchtests/atanh-inputs: New file.
18057         * benchtests/cosh-inputs: New file.
18058         * benchtests/log-inputs: New file.
18059         * benchtests/sinh-inputs: New file.
18060         * benchtests/tanh-inputs: New file.
18061
18062 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18063
18064         [BZ #15339]
18065         * posix/tst-getaddrinfo4.c: New test.
18066         * posix/Makefile (tests): Add it.
18067
18068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18069
18070         [BZ #15339]
18071         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18072         when no services were used.
18073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18074         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18075
18076 2013-05-21  Andreas Schwab  <schwab@suse.de>
18077
18078         [BZ #15014]
18079         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18080         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18081         successful.
18082         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18083         redundant variable declarations and reallocation of buffer when
18084         parsing as IPv6 address.  Always set NSS status when called from
18085         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18086         buffer too small.  Correct computation of needed size.
18087         * nss/Makefile (tests): Add test-digits-dots.
18088         * nss/test-digits-dots.c: New test.
18089
18090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18091
18092         * benchtests/Makefile: Remove instructions for adding
18093         benchmark tests.
18094         * benchtests/README: New file to explain how to execute and
18095         enhance the benchmark tests.
18096
18097 2013-05-21  Andreas Schwab  <schwab@suse.de>
18098
18099         [BZ #15493]
18100         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18101         * setjmp/tst-sigsetjmp.c: New test.
18102
18103 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18104
18105         * sysdeps/x86_64/memset.S (memset): New implementation.
18106         (__bzero): Likewise.
18107         (__memset_tail): New function.
18108
18109 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18110
18111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18113         __memcpy_sse2_unaligned ifunc selection.
18114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18115         Add memcpy-sse2-unaligned.S.
18116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18117         Add: __memcpy_sse2_unaligned.
18118
18119 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18120
18121         [BZ #15490]
18122         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18123         math_force_eval before restoring floating-point envrionment.
18124         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18126         Likewise.
18127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18128         <math_private.h>.
18129         (__nearbyintl): Use math_force_eval before restoring
18130         floating-point environment.
18131         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18132
18133         * math/gen-libm-test.pl (special_functions): Remove.
18134         (parse_args): Don't handle TEST_extra.  Handle functions with no
18135         return value.
18136         * math/libm-test.inc (struct test_sincos_data): Replace with
18137         struct test_fFF_11_data.
18138         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18139         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18140         (sincos_test_data): Change element type to struct
18141         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18142         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18143         RUN_TEST_LOOP_sincos.
18144         * math/README.libm-test: Don't mention special handling of
18145         individual functions.
18146         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18147         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18148         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18152
18153         * math/gen-libm-test.pl (get_variable): Remove function.
18154         (parse_args): Don't show pointer parameters to call in test
18155         names.  Use "extra output N" in test names for extra outputs
18156         rather than naming variables.
18157
18158 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18159
18160         [BZ #15488]
18161         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18162         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18163         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18164         double tests.
18165         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18166         disable.
18167         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18168         check_long_double.
18169
18170         * math/gen-libm-test.pl (@tests): Remove variable.
18171         ($count): Likewise.
18172         (new_test): Remove function.
18173         (show_exceptions): New function.
18174         (special_functions): Use show_exceptions instead of new_test.
18175         (parse_args): Likewise.
18176         (generate_testfile): Pass only function name in generated call to
18177         print_max_error or print_complex_max_error.
18178         (get_ulps): Do not handle complex tests specially.
18179         (output_test): Rename to ...
18180         (get_all_ulps_for_test): ... this.  Return a string rather than
18181         printing to a file.  Require ulps to be present.
18182         (output_ulps): Generate arrays rather than #defines.
18183         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18184         (struct ulp_data): New type.
18185         (BUILD_COMPLEX_ULP): Remove macro.
18186         (compare_ulp_data): New function.
18187         (find_ulps): Likewise.
18188         (find_test_ulps): Likewise.
18189         (find_function_ulps): Likewise.
18190         (find_complex_function_ulps): Likewise.
18191         (print_max_error): Determine allowed ulps using
18192         find_function_ulps.
18193         (print_complex_max_error): Determine allowed ulps using
18194         find_complex_function_ulps.
18195         (check_float_internal): Determine max ulps using find_test_ulps.
18196         (check_float): Do not take max_ulp parameter.  Update call to
18197         check_float_internal.
18198         (check_complex): Likewise.
18199         (check_int): Do not take max_ulp parameter.
18200         (check_long): Likewise.
18201         (check_bool): Likewise.
18202         (check_longlong): Likewise.
18203         (struct test_f_f_data): Remove max_ulp field.
18204         (struct test_ff_f_data): Likewise.
18205         (struct test_ff_f_data_nexttoward): Likewise.
18206         (struct test_fi_f_data): Likewise.
18207         (struct test_fl_f_data): Likewise.
18208         (struct test_if_f_data): Likewise.
18209         (struct test_fff_f_data): Likewise.
18210         (struct test_c_f_data): Likewise.
18211         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18212         (struct test_fF_f1_data): Likewise.
18213         (struct test_ffI_f1_data): Likewise.
18214         (struct test_c_c_data): Remove max_ulp field.
18215         (struct test_cc_c_data): Likewise.
18216         (struct test_f_i_data): Likewise.
18217         (struct test_ff_i_data): Likewise.
18218         (struct test_f_l_data): Likewise.
18219         (struct test_f_L_data): Likewise.
18220         (struct test_sincos_data): Likewise.
18221         (RUN_TEST_f_f): Do not handle ulps.
18222         (RUN_TEST_LOOP_f_f): Likewise.
18223         (RUN_TEST_2_f): Likewise.
18224         (RUN_TEST_LOOP_2_f): Likewise.
18225         (RUN_TEST_fff_f): Likewise.
18226         (RUN_TEST_LOOP_fff_f): Likewise.
18227         (RUN_TEST_c_f): Likewise.
18228         (RUN_TEST_LOOP_c_f): Likewise.
18229         (RUN_TEST_f_f1): Likewise.
18230         (RUN_TEST_LOOP_f_f1): Likewise.
18231         (RUN_TEST_fF_f1): Likewise.
18232         (RUN_TEST_LOOP_fF_f1): Likewise.
18233         (RUN_TEST_fI_f1): Likewise.
18234         (RUN_TEST_LOOP_fI_f1): Likewise.
18235         (RUN_TEST_ffI_f1): Likewise.
18236         (RUN_TEST_LOOP_ffI_f1): Likewise.
18237         (RUN_TEST_c_c): Likewise.
18238         (RUN_TEST_LOOP_c_c): Likewise.
18239         (RUN_TEST_cc_c): Likewise.
18240         (RUN_TEST_LOOP_cc_c): Likewise.
18241         (RUN_TEST_f_i): Likewise.
18242         (RUN_TEST_LOOP_f_i): Likewise.
18243         (RUN_TEST_f_i_tg): Likewise.
18244         (RUN_TEST_LOOP_f_i_tg): Likewise.
18245         (RUN_TEST_ff_i_tg): Likewise.
18246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18247         (RUN_TEST_f_b): Likewise.
18248         (RUN_TEST_LOOP_f_b): Likewise.
18249         (RUN_TEST_f_b_tg): Likewise.
18250         (RUN_TEST_LOOP_f_b_tg): Likewise.
18251         (RUN_TEST_f_l): Likewise.
18252         (RUN_TEST_LOOP_f_l): Likewise.
18253         (RUN_TEST_f_L): Likewise.
18254         (RUN_TEST_LOOP_f_L): Likewise.
18255         (RUN_TEST_sincos): Likewise.
18256         (RUN_TEST_LOOP_sincos): Likewise.
18257
18258 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18259
18260         [BZ #15480]
18261         [BZ #15485]
18262         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18263         main case of finite arguments, set rounding mode to FE_TONEAREST
18264         and discard exceptions.
18265         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18266         exceptions.
18267         (remainder_tonearest_test_data): New variable.
18268         (remainder_test_tonearest): New function.
18269         (remainder_towardzero_test_data): New variable.
18270         (remainder_test_towardzero): New function.
18271         (remainder_downward_test_data): New variable.
18272         (remainder_test_downward): New function.
18273         (remainder_upward_test_data): New variable.
18274         (remainder_test_upward): New function.
18275         (main): Call the new test functions.
18276
18277         * math/libm-test.inc (struct test_f_f1_data): Remove field
18278         extra_init.
18279         (struct test_fF_f1_data): Likewise.
18280         (struct test_ffI_f1_data): Likewise.
18281         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18282         based on value of EXTRA_EXPECTED.
18283         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18284         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18285         EXTRA_VAR based on value of EXTRA_EXPECTED.
18286         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18287         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18288         EXTRA_VAR based on value of EXTRA_EXPECTED.
18289         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18290         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18291         EXTRA_VAR based on value of EXTRA_EXPECTED.
18292         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18293         * math/gen-libm-test.pl (parse_args): Don't output initializers
18294         for extra output values.
18295
18296         * math/libm-test.inc (check_int): Expect result to be exactly
18297         equal to expected value and do not handle ulps.
18298         (check_long): Likewise.
18299         (check_longlong): Likewise.
18300
18301         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18302         exceptions.
18303         (cimag_test_data): Likewise.
18304         (conj_test_data): Likewise.
18305         (copysign_test_data): Likewise.
18306         (cproj_test_data): Likewise.
18307         (creal_test_data): Likewise.
18308         (fabs_test_data): Likewise.
18309         (fdim_test_data): Likewise.
18310         (finite_test_data): Likewise.
18311         (floor_test_data): Likewise.
18312         (fmax_test_data): Likewise.
18313         (fmin_test_data): Likewise.
18314         (fmod_test_data): Likewise.
18315         (fpclassify_test_data): Likewise.
18316         (frexp_test_data): Likewise.
18317         (ilogb_test_data): Likewise.
18318         (isfinite_test_data): Likewise.
18319         (isgreater_test_data): Likewise.
18320         (isgreaterequal_test_data): Likewise.
18321         (isinf_test_data): Likewise.
18322         (isless_test_data): Likewise.
18323         (islessequal_test_data): Likewise.
18324         (islessgreater_test_data): Likewise.
18325         (isnan_test_data): Likewise.
18326         (isnormal_test_data): Likewise.
18327         (issignaling_test_data): Likewise.
18328         (isunordered_test_data): Likewise.
18329         (ldexp_test_data): Likewise.
18330         (lrint_test_data): Likewise.
18331         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18332         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18333         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18334         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18335         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18336         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18337         test input.
18338         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18339         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18340         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18341         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18342         that test input.
18343         (lrint_downward_test_data): Test for "inexact" exceptions.
18344         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18345         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18346         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18347         test input.
18348         (lrint_upward_test_data): Test for "inexact" exceptions.
18349         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18350         test input.
18351         (llrint_test_data): Test for "inexact" exceptions.
18352         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18353         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18354         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18355         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18356         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18357         (llrint_downward_test_data): Test for "inexact" exceptions.
18358         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18359         (llrint_upward_test_data): Test for "inexact" exceptions.
18360         (logb_test_data): Likewise.
18361         (logb_downward_test_data): Likewise.
18362         (nextafter_test_data): Likewise.
18363         (nexttoward_test_data): Likewise.
18364         (remainder_test_data): Likewise.
18365         (remquo_test_data): Likewise.
18366         (scalbn_test_data): Likewise.
18367         (scalbln_test_data): Likewise.
18368         (signbit_test_data): Likewise.
18369         (sqrt_test_data): Likewise.
18370         (significand_test_data): Likewise.
18371
18372 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18373
18374         [BZ #15424]
18375         * benchtests/bench-modf.c (struct args): Mark arg0 as
18376         volatile.
18377         * scripts/bench.pl: Mark members of struct args as volatile.
18378
18379 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18380
18381         [BZ # 15497]
18382         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18383         negative infinity on POWER6 or lower.
18384         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18385
18386 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18387
18388         [BZ #15442]
18389         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18390         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18391         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18392         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18393         (_FP_SETQNAN): New macro.
18394         (_FP_SETQNAN_SEMIRAW): Likewise.
18395         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18396         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18397         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18398         (FP_EXTEND): Use _FP_FRAC_SNANP.
18399         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18400         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18401         into account.
18402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18403         New macro.
18404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18405         Likewise.
18406
18407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18408
18409         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18410         with DIVIDE_BY_ZERO_EXCEPTION.
18411         (gamma_test_data): Likewise.
18412         (lgamma_test_data): Likewise.
18413         (log_test_data): Likewise.
18414         (log10_test_data): Likewise.
18415         (log2_test_data): Likewise.
18416         (tgamma_test_data): Likewise.
18417
18418         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18419         (acos_test_tonearest): Likewise.
18420         (acos_test_towardzero): Likewise.
18421         (acos_test_downward): Likewise.
18422         (acos_test_upward): Likewise.
18423         (acosh_test): Likewise.
18424         (asin_test): Likewise.
18425         (asin_test_tonearest): Likewise.
18426         (asin_test_towardzero): Likewise.
18427         (asin_test_downward): Likewise.
18428         (asin_test_upward): Likewise.
18429         (asinh_test): Likewise.
18430         (atan_test): Likewise.
18431         (atanh_test): Likewise.
18432         (atan2_test): Likewise.
18433         (cabs_test): Likewise.
18434         (cacos_test): Likewise.
18435         (cacosh_test): Likewise.
18436         (casin_test): Likewise.
18437         (casinh_test): Likewise.
18438         (catan_test): Likewise.
18439         (catanh_test): Likewise.
18440         (cbrt_test): Likewise.
18441         (ccos_test): Likewise.
18442         (ccosh_test): Likewise.
18443         (cexp_test): Likewise.
18444         (clog_test): Likewise.
18445         (clog10_test): Likewise.
18446         (cos_test): Likewise.
18447         (cos_test_tonearest): Likewise.
18448         (cos_test_towardzero): Likewise.
18449         (cos_test_downward): Likewise.
18450         (cos_test_upward): Likewise.
18451         (cosh_test): Likewise.
18452         (cosh_test_tonearest): Likewise.
18453         (cosh_test_towardzero): Likewise.
18454         (cosh_test_downward): Likewise.
18455         (cosh_test_upward): Likewise.
18456         (cpow_test): Likewise.
18457         (csin_test): Likewise.
18458         (csinh_test): Likewise.
18459         (csqrt_test): Likewise.
18460         (ctan_test): Likewise.
18461         (ctan_test_tonearest): Likewise.
18462         (ctan_test_towardzero): Likewise.
18463         (ctan_test_downward): Likewise.
18464         (ctan_test_upward): Likewise.
18465         (ctanh_test): Likewise.
18466         (ctanh_test_tonearest): Likewise.
18467         (ctanh_test_towardzero): Likewise.
18468         (ctanh_test_downward): Likewise.
18469         (ctanh_test_upward): Likewise.
18470         (erf_test): Likewise.
18471         (erfc_test): Likewise.
18472         (exp_test): Likewise.
18473         (exp_test_tonearest): Likewise.
18474         (exp_test_towardzero): Likewise.
18475         (exp_test_downward): Likewise.
18476         (exp_test_upward): Likewise.
18477         (exp10_test): Likewise.
18478         (exp2_test): Likewise.
18479         (expm1_test): Likewise.
18480         (fmod_test): Likewise.
18481         (gamma_test): Likewise.
18482         (hypot_test): Likewise.
18483         (j0_test): Likewise.
18484         (j1_test): Likewise.
18485         (jn_test): Likewise.
18486         (lgamma_test): Likewise.
18487         (log_test): Likewise.
18488         (log10_test): Likewise.
18489         (log1p_test): Likewise.
18490         (log2_test): Likewise.
18491         (logb_test_downward): Likewise.
18492         (pow_test): Likewise.
18493         (pow_test_tonearest): Likewise.
18494         (pow_test_towardzero): Likewise.
18495         (pow_test_downward): Likewise.
18496         (pow_test_upward): Likewise.
18497         (remainder_test): Likewise.
18498         (remquo_test): Likewise.
18499         (sin_test): Likewise.
18500         (sin_test_tonearest): Likewise.
18501         (sin_test_towardzero): Likewise.
18502         (sin_test_downward): Likewise.
18503         (sin_test_upward): Likewise.
18504         (sincos_test): Likewise.
18505         (sinh_test): Likewise.
18506         (sinh_test_tonearest): Likewise.
18507         (sinh_test_towardzero): Likewise.
18508         (sinh_test_downward): Likewise.
18509         (sinh_test_upward): Likewise.
18510         (sqrt_test): Likewise.
18511         (tan_test): Likewise.
18512         (tan_test_tonearest): Likewise.
18513         (tan_test_towardzero): Likewise.
18514         (tan_test_downward): Likewise.
18515         (tan_test_upward): Likewise.
18516         (tanh_test): Likewise.
18517         (tgamma_test): Likewise.
18518         (y0_test): Likewise.
18519         (y1_test): Likewise.
18520         (yn_test): Likewise.
18521
18522         * math/gen-libm-test.pl (adjust_arg): Remove function.
18523         (special_function): Remove argument $in_func.  Only handle
18524         generating output for tables of tests, not inside functions.
18525         (parse_args): Likewise.
18526         (generate_testfile): Remove variable $in_func.  Update call to
18527         parse_args.
18528         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18529         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18530         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18531         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18532         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18533         (MAX_VALUE_INIT): Rename macro to max_value.
18534         (MIN_VALUE_INIT): Rename macro to min_value.
18535         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18536         (plus_zero): Remove variable.
18537         (minus_zero): Likewise.
18538         (plus_infty): Likewise.
18539         (minus_infty): Likewise.
18540         (qnan_value): Likewise.
18541         (max_value): Likewise.
18542         (min_value): Likewise.
18543         (min_subnorm_value): Likewise.
18544
18545 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18546
18547         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18548         uint64_t or uint32_t usage.
18549         * crypt/sha256-block.c: Likewise.
18550         * crypt/sha256-crypt.c: Likewise.
18551         * crypt/sha256.c: Likewise.
18552         * crypt/sha512-block.c: Likewise.
18553         * crypt/sha512-crypt.c: Likewise.
18554         * crypt/sha512.c: Likewise.
18555         * debug/backtrace-tst.c: Likewise.
18556         * debug/pcprofiledump.c: Likewise.
18557         * elf/cache.c: Likewise.
18558         * elf/dl-cache.c: Likewise.
18559         * elf/dl-misc.c: Likewise.
18560         * elf/dl-profile.c: Likewise.
18561         * elf/dl-support.c: Likewise.
18562         * elf/ldconfig.c: Likewise.
18563         * elf/sprof.c: Likewise.
18564         * iconv/dummy-repertoire.c: Likewise.
18565         * iconv/iconv_charmap.c: Likewise.
18566         * iconv/skeleton.c: Likewise.
18567         * iconvdata/8bit-generic.c: Likewise.
18568         * iconvdata/cp737.h: Likewise.
18569         * iconvdata/cp775.h: Likewise.
18570         * iconvdata/ibm1008.h: Likewise.
18571         * iconvdata/ibm1025.h: Likewise.
18572         * iconvdata/ibm1046.h: Likewise.
18573         * iconvdata/ibm1097.h: Likewise.
18574         * iconvdata/ibm1112.h: Likewise.
18575         * iconvdata/ibm1122.h: Likewise.
18576         * iconvdata/ibm1123.h: Likewise.
18577         * iconvdata/ibm1124.h: Likewise.
18578         * iconvdata/ibm1129.h: Likewise.
18579         * iconvdata/ibm1130.h: Likewise.
18580         * iconvdata/ibm1132.h: Likewise.
18581         * iconvdata/ibm1133.h: Likewise.
18582         * iconvdata/ibm1137.h: Likewise.
18583         * iconvdata/ibm1140.h: Likewise.
18584         * iconvdata/ibm1141.h: Likewise.
18585         * iconvdata/ibm1142.h: Likewise.
18586         * iconvdata/ibm1143.h: Likewise.
18587         * iconvdata/ibm1144.h: Likewise.
18588         * iconvdata/ibm1145.h: Likewise.
18589         * iconvdata/ibm1146.h: Likewise.
18590         * iconvdata/ibm1147.h: Likewise.
18591         * iconvdata/ibm1148.h: Likewise.
18592         * iconvdata/ibm1149.h: Likewise.
18593         * iconvdata/ibm1153.h: Likewise.
18594         * iconvdata/ibm1154.h: Likewise.
18595         * iconvdata/ibm1155.h: Likewise.
18596         * iconvdata/ibm1156.h: Likewise.
18597         * iconvdata/ibm1157.h: Likewise.
18598         * iconvdata/ibm1158.h: Likewise.
18599         * iconvdata/ibm1160.h: Likewise.
18600         * iconvdata/ibm1161.h: Likewise.
18601         * iconvdata/ibm1162.h: Likewise.
18602         * iconvdata/ibm1163.h: Likewise.
18603         * iconvdata/ibm1164.h: Likewise.
18604         * iconvdata/ibm1166.h: Likewise.
18605         * iconvdata/ibm1167.h: Likewise.
18606         * iconvdata/ibm12712.h: Likewise.
18607         * iconvdata/ibm1390.h: Likewise.
18608         * iconvdata/ibm1399.h: Likewise.
18609         * iconvdata/ibm16804.h: Likewise.
18610         * iconvdata/ibm4517.h: Likewise.
18611         * iconvdata/ibm4899.h: Likewise.
18612         * iconvdata/ibm4909.h: Likewise.
18613         * iconvdata/ibm4971.h: Likewise.
18614         * iconvdata/ibm5347.h: Likewise.
18615         * iconvdata/ibm803.h: Likewise.
18616         * iconvdata/ibm856.h: Likewise.
18617         * iconvdata/ibm901.h: Likewise.
18618         * iconvdata/ibm902.h: Likewise.
18619         * iconvdata/ibm9030.h: Likewise.
18620         * iconvdata/ibm9066.h: Likewise.
18621         * iconvdata/ibm921.h: Likewise.
18622         * iconvdata/ibm922.h: Likewise.
18623         * iconvdata/ibm9448.h: Likewise.
18624         * iconvdata/isiri-3342.h: Likewise.
18625         * iconvdata/jis0201.h: Likewise.
18626         * include/link.h: Likewise.
18627         * include/netdb.h: Likewise.
18628         * inet/check_native.c: Likewise.
18629         * inet/check_pf.c: Likewise.
18630         * inet/getipv4sourcefilter.c: Likewise.
18631         * inet/getnameinfo.c: Likewise.
18632         * inet/getsourcefilter.c: Likewise.
18633         * inet/htonl.c: Likewise.
18634         * inet/setipv4sourcefilter.c: Likewise.
18635         * inet/setsourcefilter.c: Likewise.
18636         * inet/test-inet6_opt.c: Likewise.
18637         * inet/tst-network.c: Likewise.
18638         * locale/C-collate.c: Likewise.
18639         * locale/C-ctype.c: Likewise.
18640         * locale/C-time.c: Likewise.
18641         * locale/C-translit.h: Likewise.
18642         * locale/loadarchive.c: Likewise.
18643         * locale/programs/3level.h: Likewise.
18644         * locale/programs/charmap.c: Likewise.
18645         * locale/programs/charmap.h: Likewise.
18646         * locale/programs/ld-address.c: Likewise.
18647         * locale/programs/ld-collate.c: Likewise.
18648         * locale/programs/ld-ctype.c: Likewise.
18649         * locale/programs/ld-identification.c: Likewise.
18650         * locale/programs/ld-measurement.c: Likewise.
18651         * locale/programs/ld-messages.c: Likewise.
18652         * locale/programs/ld-monetary.c: Likewise.
18653         * locale/programs/ld-name.c: Likewise.
18654         * locale/programs/ld-numeric.c: Likewise.
18655         * locale/programs/ld-paper.c: Likewise.
18656         * locale/programs/ld-telephone.c: Likewise.
18657         * locale/programs/ld-time.c: Likewise.
18658         * locale/programs/linereader.c: Likewise.
18659         * locale/programs/locale.c: Likewise.
18660         * locale/programs/locarchive.c: Likewise.
18661         * locale/programs/locfile.h: Likewise.
18662         * locale/programs/repertoire.c: Likewise.
18663         * locale/programs/simple-hash.c: Likewise.
18664         * locale/programs/simple-hash.h: Likewise.
18665         * malloc/memusage.c: Likewise.
18666         * malloc/memusagestat.c: Likewise.
18667         * nis/nis_defaults.c: Likewise.
18668         * nis/nis_hash.c: Likewise.
18669         * nis/nis_print.c: Likewise.
18670         * nis/nis_xdr.c: Likewise.
18671         * nscd/connections.c: Likewise.
18672         * nscd/hstcache.c: Likewise.
18673         * nscd/nscd_gethst_r.c: Likewise.
18674         * nscd/nscd_getserv_r.c: Likewise.
18675         * nscd/nscd_helper.c: Likewise.
18676         * nscd/servicescache.c: Likewise.
18677         * nss/makedb.c: Likewise.
18678         * nss/nss_db/db-XXX.c: Likewise.
18679         * nss/nss_db/db-initgroups.c: Likewise.
18680         * nss/nss_db/db-netgrp.c: Likewise.
18681         * nss/nss_files/files-network.c: Likewise.
18682         * nss/nss_files/files-parse.c: Likewise.
18683         * posix/bug-regex5.c: Likewise.
18684         * posix/fnmatch_loop.c: Likewise.
18685         * posix/regcomp.c: Likewise.
18686         * posix/regexec.c: Likewise.
18687         * posix/tst-rfc3484-2.c: Likewise.
18688         * posix/tst-rfc3484-3.c: Likewise.
18689         * posix/tst-rfc3484.c: Likewise.
18690         * resolv/nss_dns/dns-canon.c: Likewise.
18691         * resolv/nss_dns/dns-network.c: Likewise.
18692         * resolv/res_init.c: Likewise.
18693         * resolv/res_mkquery.c: Likewise.
18694         * resolv/tst-aton.c: Likewise.
18695         * stdlib/cxa_atexit.c: Likewise.
18696         * stdlib/cxa_finalize.c: Likewise.
18697         * stdlib/gen-fpioconst.c: Likewise.
18698         * stdlib/strtol_l.c: Likewise.
18699         * string/tst-endian.c: Likewise.
18700         * sunrpc/auth_des.c: Likewise.
18701         * sunrpc/clnt_udp.c: Likewise.
18702         * sunrpc/rtime.c: Likewise.
18703         * sunrpc/svcauth_des.c: Likewise.
18704         * sunrpc/xdr.c: Likewise.
18705         * sunrpc/xdr_intXX_t.c: Likewise.
18706         * sunrpc/xdr_rec.c: Likewise.
18707         * sysdeps/generic/ldconfig.h: Likewise.
18708         * sysdeps/generic/ldsodefs.h: Likewise.
18709         * sysdeps/generic/memusage.h: Likewise.
18710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18712         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18718         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18719         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18720         * sysdeps/posix/getaddrinfo.c: Likewise.
18721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18723         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18724         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18725         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18726         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18727         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18728         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18729         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18730         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18731         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18732         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18733         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18734         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18735         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18736         * sysdeps/x86_64/dl-tls.h: Likewise.
18737         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18738         * time/alt_digit.c: Likewise.
18739         * time/era.c: Likewise.
18740         * wcsmbs/tst-c16c32-1.c: Likewise.
18741
18742 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18743
18744         * math/libm-test.inc (struct test_sincos_data): New type.
18745         (RUN_TEST_LOOP_sincos): New macro.
18746         (sincos_test_data): New variable.
18747         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18748
18749 2013-05-16  Richard Henderson  <rth@redhat.com>
18750
18751         * math/atest-exp2.c (LIMB64): New macro.
18752         (CONSTSZ): New macro.
18753         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18754         (hexdig): Move ...
18755         (print_mpn_fp): ... to function scope.
18756         (read_mpn_hex): Remove.
18757         (get_log2): Remove.
18758         (exp2_mpn): Use mp_log2.
18759         (main): Use mp_exp1.
18760
18761 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18762
18763         * math/libm-test.inc: Remove comment about not testing "inexact"
18764         exceptions.
18765         (INEXACT_EXCEPTION): New macro.
18766         (NO_INEXACT_EXCEPTION): Likewise.
18767         (INVALID_EXCEPTION_OK): Update value.
18768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18769         (OVERFLOW_EXCEPTION_OK): Likewise.
18770         (UNDERFLOW_EXCEPTION_OK): Likewise.
18771         (IGNORE_ZERO_INF_SIGN): Likewise.
18772         (ERRNO_UNCHANGED): Likewise.
18773         (ERRNO_EDOM): Likewise.
18774         (ERRNO_ERANGE): Likewise.
18775         (test_exceptions): Handle testing "inexact" exceptions.
18776         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18777         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18778         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18779         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18780         INEXACT_EXCEPTION.
18781         (rint_towardzero_test_data): Likewise.
18782         (rint_downward_test_data): Likewise.
18783         (rint_upward_test_data): Likewise.
18784
18785         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18786         with OVERFLOW_EXCEPTION.
18787         (exp10_test_data): Likewise.
18788         (exp2_test_data): Likewise.
18789         (expm1_test_data): Likewise.
18790         (lgamma_test_data): Likewise.
18791         (pow_test_data): Likewise.
18792         (tgamma_test_data): Likewise.
18793         (yn_test_data): Remove duplicate test of overflow.
18794
18795         * math/libm-test.inc (struct test_cc_c_data): New type.
18796         (RUN_TEST_LOOP_cc_c): New macro.
18797         (cpow_test_data): New variable.
18798         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18799
18800         * math/libm-test.inc (struct test_f_L_data): New type.
18801         (RUN_TEST_LOOP_f_L): New macro.
18802         (llrint_test_data): New variable.
18803         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18804         (llrint_tonearest_test_data): New variable.
18805         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18806         (llrint_towardzero_test_data): New variable.
18807         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18808         (llrint_downward_test_data): New variable.
18809         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18810         (llrint_upward_test_data): New variable.
18811         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18812         (llround_test_data): New variable.
18813         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18814
18815 2013-05-13  Peter Collingbourne  <pcc@google.com>
18816
18817         * math/atest-exp2.c (get_log2): Remove const attribute.
18818
18819 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18820
18821         * math/libm-test.inc (struct test_f_l_data): New type.
18822         (RUN_TEST_LOOP_f_l): New macro.
18823         (lrint_test_data): New variable.
18824         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18825         (lrint_tonearest_test_data): New variable.
18826         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18827         (lrint_towardzero_test_data): New variable.
18828         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18829         (lrint_downward_test_data): New variable.
18830         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18831         (lrint_upward_test_data): New variable.
18832         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18833         (lround_test_data): New variable.
18834         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18835
18836 2013-05-15  Peter Collingbourne  <pcc@google.com>
18837
18838         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18839         (EXTRACT_WORDS64) Use where appropriate.
18840         (INSERT_WORDS64) Likewise.
18841
18842         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18843         constraints with x constraints.
18844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18845
18846         * malloc/obstack.c (_obstack_compat): Add initializer.
18847
18848 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18849
18850         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18851         si_trapno and add si_addr_lsb to _sifields.sigfault.
18852         (si_trapno): Remove macro.
18853         (si_addr_lsb): Define new macro.
18854         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18855
18856 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18857
18858         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18859         instead of TEST_f_l.
18860         (llrint_test_tonearest): Likewise.
18861         (llrint_test_towardzero): Likewise.
18862         (llrint_test_downward): Likewise.
18863         (llrint_test_upward): Likewise.
18864         (llround_test): Likewise.
18865
18866         * math/libm-test.inc (struct test_f_i_data): Add comment.
18867         (RUN_TEST_LOOP_f_b): New macro.
18868         (RUN_TEST_LOOP_f_b_tg): Likewise.
18869         (finite_test_data): New variable.
18870         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18871         (isfinite_test_data): New variable.
18872         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18873         (isinf_test_data): New variable.
18874         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18875         (isnan_test_data): New variable.
18876         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18877         (isnormal_test_data): New variable.
18878         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18879         (issignaling_test_data): New variable.
18880         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18881         (signbit_test_data): New variable.
18882         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18883
18884         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18885         with INVALID_EXCEPTION.
18886         (acosh_test_data): Likewise.
18887         (asin_test_data): Likewise.
18888         (atanh_test_data): Likewise.
18889         (fmod_test_data): Likewise.
18890         (log_test_data): Likewise.
18891         (log10_test_data): Likewise.
18892         (log2_test_data): Likewise.
18893         (pow_test_data): Likewise.
18894         (sqrt_test_data): Likewise.
18895         (y0_test_data): Likewise.
18896         (y1_test_data): Likewise.
18897         (yn_test_data): Likewise.
18898
18899         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18900         function contents.
18901
18902         * math/libm-test.inc (struct test_ff_i_data): New type.
18903         (RUN_TEST_LOOP_ff_i_tg): New macro.
18904         (isgreater_test_data): New variable.
18905         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18906         (isgreaterequal_test_data): New variable.
18907         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18908         (isless_test_data): New variable.
18909         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18910         (islessequal_test_data): New variable.
18911         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18912         (islessgreater_test_data): New variable.
18913         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18914         (isunordered_test_data): New variable.
18915         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18916
18917 2013-05-14  David S. Miller  <davem@davemloft.net>
18918
18919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18920
18921 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18922
18923         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18924
18925         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18926         extra_test to int.
18927         (struct test_f_i_data): Change type of max_ulp to int.
18928
18929         * math/libm-test.inc (test_ffI_f1_data): New type.
18930         (RUN_TEST_LOOP_ffI_f1): New macro.
18931         (remquo_test_data): New variable.
18932         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18933
18934         * setjmp/tst-setjmp-fp.c: New file.
18935         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18936         (link-libm): New variable.
18937         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18938
18939         * math/libm-test.inc (struct test_f_i_data): New type.
18940         (RUN_TEST_LOOP_f_i): New macro.
18941         (RUN_TEST_LOOP_f_i_tg): Likewise.
18942         (fpclassify_test_data): New variable.
18943         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18944         (ilogb_test_data): New variable.
18945         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18946
18947         * math/libm-test.inc (scalbln_test): Correct function name in END
18948         call.
18949
18950         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18951         (RUN_TEST_LOOP_fI_f1): New macro.
18952         (frexp_test_data): New variable.
18953         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18954
18955         * math/libm-test.inc (struct test_fF_f1_data): New type.
18956         (RUN_TEST_LOOP_fF_f1): New macro.
18957         (modf_test_data): New variable.
18958         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18959
18960         * math/libm-test.inc (struct test_f_f1_data): New type.
18961         (RUN_TEST_LOOP_f_f1): New macro.
18962         (gamma_test_data): New variable.
18963         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18964         (lgamma_test_data): New variable.
18965         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18966
18967 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18968
18969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18970         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18971         (main): Comment "tls" pseudo-hwcap.
18972
18973 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18974
18975         * math/libm-test.inc (struct test_fl_f_data): New type.
18976         (RUN_TEST_LOOP_fl_f): New variable.
18977         (scalbln_test_data): New variable.
18978         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18979
18980         * math/libm-test.inc (struct test_fi_f_data): New type.
18981         (RUN_TEST_LOOP_fi_f): New macro.
18982         (ldexp_test_data): New variable.
18983         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18984         (scalbn_test_data): New variable.
18985         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18986
18987         * math/libm-test.inc (struct test_c_f_data): New type.
18988         (RUN_TEST_LOOP_c_f): New macro.
18989         (cabs_test_data): New variable.
18990         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18991         (carg_test_data): New variable.
18992         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18993         (cimag_test_data): New variable.
18994         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18995         (creal_test_data): New variable.
18996         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18997
18998         * math/libm-test.inc (struct test_if_f_data): New type.
18999         (RUN_TEST_LOOP_if_f): New macro.
19000         (jn_test_data): New variable.
19001         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19002         (yn_test_data): New variable.
19003         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19004
19005         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19006
19007 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19008
19009         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19010         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19011
19012 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19013
19014         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19015         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19016         (bench-deps): Add bench-timing.h.
19017         * benchtests-bench-skeleton.c: Include bench-timing.h.
19018         (main): Use TIMING_* macros instead of clock_gettime.
19019         * benchtests/bench-timing.h: New file.
19020
19021         [BZ #14582]
19022         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19023         Renamed from _LIB_VERSION.
19024         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19025
19026 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19027
19028         * math/libm-test.inc (struct test_fff_f_data): New type.
19029         (RUN_TEST_LOOP_fff_f): New macro.
19030         (fma_test_data): New variable.
19031         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19032         (fma_towardzero_test_data): New variable.
19033         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19034         (fma_downward_test_data): New variable.
19035         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19036         (fma_upward_test_data): New variable.
19037         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19038
19039         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19040         (struct test_c_c_data): New type.
19041         (RUN_TEST_LOOP_c_c): New macro.
19042         (cacos_test_data): New variable.
19043         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19044         (cacosh_test_data): New variable.
19045         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19046         (casin_test_data): New variable.
19047         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19048         (casinh_test_data): New variable.
19049         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19050         (catan_test_data): New variable.
19051         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19052         (catanh_test_data): New variable.
19053         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19054         (ccos_test_data): New variable.
19055         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19056         (ccosh_test_data): New variable.
19057         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19058         (cexp_test_data): New variable.
19059         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19060         (clog_test_data): New variable.
19061         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19062         (clog10_test_data): New variable.
19063         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19064         (conj_test_data): New variable.
19065         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19066         (cproj_test_data): New variable.
19067         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19068         (csin_test_data): New variable.
19069         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19070         (csinh_test_data): New variable.
19071         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19072         (csqrt_test_data): New variable.
19073         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19074         (ctan_test_data): New variable.
19075         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19076         (ctan_tonearest_test_data): New variable.
19077         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19078         (ctan_towardzero_test_data): New variable.
19079         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19080         (ctan_downward_test_data): New variable.
19081         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19082         (ctan_upward_test_data): New variable.
19083         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19084         (ctanh_test_data): New variable.
19085         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19086         (ctanh_tonearest_test_data): New variable.
19087         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19088         (ctanh_towardzero_test_data): New variable.
19089         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19090         (ctanh_downward_test_data): New variable.
19091         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19092         (ctanh_upward_test_data): New variable.
19093         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19094         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19095         of BUILD_COMPLEX.
19096
19097         * math/libm-test.inc (struct test_ff_f_data): New type.
19098         (struct test_ff_f_data_nexttoward): Likewise.
19099         (RUN_TEST_LOOP_2_f): New macro.
19100         (RUN_TEST_LOOP_ff_f): Likewise.
19101         (atan2_test_data): New variable.
19102         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19103         (copysign_test_data): New variable.
19104         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19105         (fdim_test_data): New variable.
19106         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19107         (fmax_test_data): New variable.
19108         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19109         (fmin_test_data): New variable.
19110         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19111         (fmod_test_data): New variable.
19112         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19113         (hypot_test_data): New variable.
19114         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19115         (nextafter_test_data): New variable.
19116         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19117         (nexttoward_test_data): New variable.
19118         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19119         (pow_test_data): New variable.
19120         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19121         (pow_tonearest_test_data): New variable.
19122         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19123         (pow_towardzero_test_data): New variable.
19124         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19125         (pow_downward_test_data): New variable.
19126         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19127         (pow_upward_test_data): New variable.
19128         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19129         (remainder_test_data): New variable.
19130         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19131         (scalb_test_data): New variable.
19132         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19133         * sysdeps/i386/fpu/libm-test-ulps: Update.
19134
19135 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19136
19137         * math/libm-test.inc (fma_test): Use max_value instead of local
19138         variable fltmax.
19139         (nextafter_test): Likewise.
19140
19141         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19142         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19143         (acos_downward_test_data): New variable.
19144         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19145         (acos_upward_test_data): New variable.
19146         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19147         (acosh_test_data): New variable.
19148         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19149         (asin_test_data): New variable.
19150         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19151         (asin_tonearest_test_data): New variable.
19152         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19153         (asin_towardzero_test_data): New variable.
19154         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19155         (asin_downward_test_data): New variable.
19156         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19157         (asin_upward_test_data): New variable.
19158         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19159         (asinh_test_data): New variable.
19160         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19161         (atan_test_data): New variable.
19162         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19163         (atanh_test_data): New variable.
19164         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19165         (cbrt_test_data): New variable.
19166         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19167         (ceil_test_data): New variable.
19168         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19169         (cos_test_data): New variable.
19170         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19171         (cos_tonearest_test_data): New variable.
19172         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19173         (cos_towardzero_test_data): New variable.
19174         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19175         (cos_downward_test_data): New variable.
19176         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19177         (cos_upward_test_data): New variable.
19178         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19179         (cosh_test_data): New variable.
19180         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19181         (cosh_tonearest_test_data): New variable.
19182         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19183         (cosh_towardzero_test_data): New variable.
19184         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19185         (cosh_downward_test_data): New variable.
19186         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19187         (cosh_upward_test_data): New variable.
19188         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19189         (erf_test_data): New variable.
19190         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19191         (erfc_test_data): New variable.
19192         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19193         (exp_test_data): New variable.
19194         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19195         (exp_tonearest_test_data): New variable.
19196         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19197         (exp_towardzero_test_data): New variable.
19198         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19199         (exp_downward_test_data): New variable.
19200         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19201         (exp_upward_test_data): New variable.
19202         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19203         (exp10_test_data): New variable.
19204         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19205         (exp2_test_data): New variable.
19206         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19207         (expm1_test_data): New variable.
19208         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19209         (fabs_test_data): New variable.
19210         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19211         (floor_test_data): New variable.
19212         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19213         (j0_test_data): New variable.
19214         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19215         (j1_test_data): New variable.
19216         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19217         (log_test_data): New variable.
19218         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19219         (log10_test_data): New variable.
19220         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19221         (log1p_test_data): New variable.
19222         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19223         (log2_test_data): New variable.
19224         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19225         (logb_test_data): New variable.
19226         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19227         (logb_downward_test_data): New variable.
19228         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19229         (nearbyint_test_data): New variable.
19230         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19231         (rint_test_data): New variable.
19232         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19233         (rint_tonearest_test_data): New variable.
19234         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19235         (rint_towardzero_test_data): New variable.
19236         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19237         (rint_downward_test_data): New variable.
19238         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19239         (rint_upward_test_data): New variable.
19240         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19241         (round_test_data): New variable.
19242         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19243         (sin_test_data): New variable.
19244         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19245         (sin_tonearest_test_data): New variable.
19246         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19247         (sin_towardzero_test_data): New variable.
19248         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19249         (sin_downward_test_data): New variable.
19250         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19251         (sin_upward_test_data): New variable.
19252         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19253         (sinh_test_data): New variable.
19254         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19255         (sinh_tonearest_test_data): New variable.
19256         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19257         (sinh_towardzero_test_data): New variable.
19258         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19259         (sinh_downward_test_data): New variable.
19260         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19261         (sinh_upward_test_data): New variable.
19262         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19263         (sqrt_test_data): New variable.
19264         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19265         (tan_test_data): New variable.
19266         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19267         (tan_tonearest_test_data): New variable.
19268         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19269         (tan_towardzero_test_data): New variable.
19270         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19271         (tan_downward_test_data): New variable.
19272         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19273         (tan_upward_test_data): New variable.
19274         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19275         (tanh_test_data): New variable.
19276         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19277         (tgamma_test_data): New variable.
19278         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19279         (trunc_test_data): New variable.
19280         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19281         (y0_test_data): New variable.
19282         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19283         (y1_test_data): New variable.
19284         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19285         (significand_test_data): New variable.
19286         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19287
19288 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19289
19290         [BZ #12387]
19291         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19292
19293 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19294
19295         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19296
19297 2013-05-10  Andreas Jaeger  <aj@suse.de>
19298
19299         [BZ #15448]
19300         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19301         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19302
19303 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19304
19305         * math/gen-libm-test.pl (adjust_arg): New function.
19306         (special_functions): Handle generating output in both functions
19307         and arrays.
19308         (parse_args): Likewise.
19309         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19310         $in_func argument to parse_args.
19311         * math/libm-test.inc (struct test_f_f_data): New type.
19312         (IF_ROUND_INIT_): New macro.
19313         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19314         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19315         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19316         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19317         (ROUND_RESTORE_): Likewise.
19318         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19319         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19320         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19321         (ROUND_RESTORE_FE_UPWARD): Likewise.
19322         (RUN_TEST_LOOP_f_f): New macro.
19323         (acos_test_data): New variable.
19324         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19325         (acos_tonearest_test_data): New variable.
19326         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19327
19328 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19329
19330         * benchtests/bench-skeleton.c (startup): Fix coding style.
19331
19332 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19333
19334         [BZ #6809]
19335         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19336         negative infinity argument.
19337         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19338         negative infinity argument.
19339         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19340         negative infinity argument.
19341         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19342         domain errors.
19343
19344 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19345
19346         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19347         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19348         * iconv/iconv_prog.c (main): Likewise.
19349         * locale/programs/charmap-dir.c (charmap_readdir)
19350         (fopen_uncompressed): Likewise.
19351         * locale/programs/locfile.c (siblings_uncached)
19352         (write_locale_data): Use lstat64 instead of lstat.
19353         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19354         stat.
19355
19356 2013-05-10  Andreas Jaeger  <aj@suse.de>
19357
19358         [BZ #15395]
19359         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19360         localization.
19361         Include <locale.h>.
19362
19363 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19364
19365         * elf/dl-close.c (_dl_close_worker): Add comments.
19366
19367 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19368
19369         [BZ #15359]
19370         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19371         high part of pi/2.
19372         (__ieee754_rem_pio2l): Update comments.
19373
19374         [BZ #15429]
19375         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19376         high part of pi/2.
19377         (__ieee754_rem_pio2l): Update comments.
19378
19379         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19380         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19381
19382         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19383         M_PI_4l.
19384
19385         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19386         (M_PI_34_LOG10El): Likewise.
19387         (M_PI2_LOG10El): Likewise.
19388         (M_PI4_LOG10El): Likewise.
19389         (M_PI_LOG10El): Likewise.
19390
19391 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19392
19393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19394
19395 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19396
19397         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19398         (MINUS_ZERO_INIT): Likewise.
19399         (PLUS_INFTY_INIT): Likewise.
19400         (MINUS_INFTY_INIT): Likewise.
19401         (QNAN_VALUE_INIT): Likewise.
19402         (MAX_VALUE_INIT): Likewise.
19403         (MIN_VALUE_INIT): Likewise.
19404         (MIN_SUBNORM_VALUE_INIT): Likewise.
19405         (plus_zero): Initialize with PLUS_ZERO_INIT.
19406         (minus_zero): Initialize with MINUS_ZERO_INIT.
19407         (plus_infty): Initialize with PLUS_INFTY_INIT.
19408         (minus_infty): Initialize with MINUS_INFTY_INIT.
19409         (qnan_value): Initialize with QNAN_VALUE_INIT.
19410         (max_value): Initialize with MAX_VALUE_INIT.
19411         (min_value): Initialize with MIN_VALUE_INIT.
19412         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19413
19414         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19415         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19416         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19417         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19418
19419         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19420         (RUN_TEST_2_f): Likewise.
19421         (RUN_TEST_ff_f): Likewise.
19422         (RUN_TEST_fi_f): Likewise.
19423         (RUN_TEST_fl_f): Likewise.
19424         (RUN_TEST_fff_f): Likewise.
19425         (RUN_TEST_c_f): Likewise.
19426         (RUN_TEST_f_f1): Likewise.
19427         (RUN_TEST_fF_f1): Likewise.
19428         (RUN_TEST_fI_f1): Likewise.
19429         (RUN_TEST_ffI_f1): Likewise.
19430         (RUN_TEST_c_c): Likewise.
19431         (RUN_TEST_cc_c): Likewise.
19432         (RUN_TEST_f_i): Likewise.
19433         (RUN_TEST_f_i_tg): Likewise.
19434         (RUN_TEST_ff_i_tg): Likewise.
19435         (RUN_TEST_f_b): Likewise.
19436         (RUN_TEST_f_b_tg): Likewise.
19437         (RUN_TEST_f_l): Likewise.
19438         (RUN_TEST_f_L): Likewise.
19439         (RUN_TEST_sincos): Likewise.
19440         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19441         whether to show exceptions.  Do not include ");\n" in return
19442         value.
19443         (special_functions): Output call to RUN_TEST_sincos instead of
19444         check_float calls.  Update calls to new_test.
19445         (parse_args): Output call to single RUN_TEST_* macro instead of
19446         check_* calls and other assignments.  Update calls to new_test.
19447
19448         [BZ #2546]
19449         [BZ #2560]
19450         [BZ #5159]
19451         [BZ #15426]
19452         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19453         input to result for tgamma overflow.
19454         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19455         (gamma_coeff): New variable.
19456         (NCOEFF): New macro.
19457         (gamma_positive): New function.
19458         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19459         underflow here.  Use gamma_positive instead of exp (lgamma) for
19460         other arguments.
19461         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19462         (gamma_coeff): New variable.
19463         (NCOEFF): New macro.
19464         (gammaf_positive): New function.
19465         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19466         underflow here.  Use gamma_positive instead of exp (lgamma) for
19467         other arguments.
19468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19469         (gamma_coeff): New variable.
19470         (NCOEFF): New macro.
19471         (gammal_positive): New function.
19472         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19473         underflow here.  Use gamma_positive instead of exp (lgamma) for
19474         other arguments.
19475         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19476         (gamma_coeff): New variable.
19477         (NCOEFF): New macro.
19478         (gammal_positive): New function.
19479         (__ieee754_gammal_r): Handle positive infinity, overflow and
19480         underflow here.  Handle NaN the same as positive infinity.  Remove
19481         check x < 0xffffffff for negative integers.  Use gamma_positive
19482         instead of exp (lgamma) for other arguments.
19483         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19484         (gamma_coeff): New variable.
19485         (NCOEFF): New macro.
19486         (gammal_positive): New function.
19487         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19488         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19490         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19492         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19493         * sysdeps/generic/math_private.h (__gamma_productf): New
19494         prototype.
19495         (__gamma_product): Likewise.
19496         (__gamma_productl): Likewise.
19497         * math/Makefile (libm-calls): Add gamma_product.
19498         * math/libm-test.inc (tgamma_test): Add more tests.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19501
19502 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19503
19504         * benchtests/bench-skeleton.c (main): Preheat CPU.
19505
19506 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19507
19508         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19509
19510 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19511
19512         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19513         and _dl_skip_args_internal.
19514
19515 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19516
19517         * manual/message.texi (Message Translation): Talk about users.
19518         Message to key mapping impacts design.
19519
19520 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19521
19522         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19523
19524         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19525
19526         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19527         * sysdeps/wordsize-64/glob64.c: ... here.
19528
19529         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19530         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19531         New macros.
19532
19533         * debug/getlogin_r_chk.c: Moved to ...
19534         * login/getlogin_r_chk.c: ... here.
19535         * debug/Makefile (routines): Move getlogin_r_chk to ...
19536         * login/Makefile (routines): ... here.
19537         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19538         * login/Versions (libc: GLIBC_2.4): ... here.
19539
19540         * io/poll.c (__poll): Renamed from poll.
19541         Add libc_hidden_def.
19542         (poll): Define as weak alias.
19543
19544         * debug/ptsname_r_chk.c: Moved to ...
19545         * login/ptsname_r_chk.c: ... here.
19546         * debug/Makefile (routines): Move ptsname_r_chk to ...
19547         * login/Makefile (routines): ... here.
19548         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19549         * login/Versions (libc: GLIBC_2.4): ... here.
19550
19551         * posix/getlogin.c: Moved to ...
19552         * login/getlogin.c: ... here.
19553         * posix/getlogin_r.c: Moved to ...
19554         * login/getlogin_r.c: ... here.
19555         * posix/getlogin_r.c: Moved to ...
19556         * login/getlogin_r.c: ... here.
19557         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19558         * login/Makefile (routines): ... here.
19559         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19560         * login/Versions (libc: GLIBC_2.0): ... here.
19561
19562         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19563         (setrlimit): Define as weak alias.
19564
19565         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19566         Call __ names for open, ftruncate, and close.
19567         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19568         (truncate): Define as weak alias.
19569
19570 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19571
19572         * math/gen-libm-test.pl (parse_args): Initialize x before each
19573         test of frexp, modf and remquo.
19574
19575         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19576         test signgam value.
19577
19578 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19579
19580         [BZ #15418]
19581         [BZ #15419]
19582         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19583         internal tests.
19584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19585
19586 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19587
19588         * elf/dl-writev.h: New file.
19589         * elf/dl-misc.c: Include it.
19590         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19591         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19592
19593 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19594
19595         * math/libm-test.inc (noXFails): Remove variable.
19596         (noXPasses): Likewise.
19597         (BUILD_COMPLEX_INT): Remove macro.
19598         (print_screen): Remove xfail argument.
19599         (print_screen_max_error): Likewise.
19600         (update_stats): Likewise.
19601         (print_max_error): Likewise.  Update calls to other affected
19602         functions.
19603         (print_complex_max_error): Likewise.
19604         (test_single_exception): Update calls to print_screen.
19605         (test_single_errno): Likewise.
19606         (check_float_internal): Remove xfail argument.  Update calls to
19607         other affected functions.
19608         (check_float): Likewise.
19609         (check_complex): Likewise.
19610         (check_int): Likewise.
19611         (check_long): Likewise.
19612         (check_bool): Likewise.
19613         (check_longlong): Likewise.
19614         (main): Don't print noXFails and noXPasses.
19615         * math/gen-libm-test.pl (top level): Don't mention expected
19616         failure handling in comment.
19617         (new_test): Don't handle expected failures.
19618         (parse_args): Don't mention expected failure handling in comment.
19619         (generate_testfile): Don't handle expected failures.
19620         (parse_ulps): Likewise.
19621         (print_ulps_file): Likewise.
19622         (get_failure): Remove function.
19623         (output_test): Don't handle expected failures.
19624         * make/README.libm-test: Don't mention expected failure handling.
19625
19626         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19627         (minus_zero): Likewise.
19628         (plus_infty): Likewise.
19629         (minus_infty): Likewise.
19630         (qnan_value): Likewise.
19631         (max_value): Likewise.
19632         (min_value): Likewise.
19633         (min_subnorm_value): Likewise.
19634         (initialize): Do not initialize those variables dynamically.
19635
19636 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19637
19638         * io/open.c (__open_2): Moved to ...
19639         * io/open_2.c: ... this new file.
19640         * io/open64.c (__open64_2): Moved to ...
19641         * io/open64_2.c: ... this new file.
19642         * io/openat.c (__openat_2): Moved to ...
19643         * io/openat_2.c: ... this new file.
19644         * io/openat64.c (__openat64_2): Moved to ...
19645         * io/openat64_2.c: ... this new file.
19646         * io/Makefile (routines): Add them.
19647         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19648         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19649         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19650         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19651         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19652         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19653         (__openat64): Add hidden_ver.
19654         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19655         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19656
19657         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19658         Separately conditionalize setting of GLRO(dl_sysinfo) so
19659         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19660         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19661
19662 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19663
19664         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19666         definition.
19667         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19668         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19669         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19670         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19671         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19672
19673 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19674
19675         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19676         test signgam value.
19677
19678         * math/libm-test.inc (hypot_test): Do not use
19679         IGNORE_ZERO_INF_SIGN.
19680
19681 2013-05-03  Andreas Jaeger  <aj@suse.de>
19682
19683         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19684         Linux 3.9.
19685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19686         (PF_MAX): Adjust for VSOCK change.
19687
19688 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19689
19690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19691
19692 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19693
19694         [BZ #15264]
19695         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19696         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19697         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19698
19699 2013-05-02  David S. Miller  <davem@davemloft.net>
19700
19701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19702
19703 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19704
19705         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19706
19707 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19708
19709         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19710
19711 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19712
19713         [BZ #14952]
19714         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19715         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19716         Use __attribute__ ((__gnu_inline__)).
19717         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19718         Don't use __attribute__ ((__gnu_inline__)).
19719
19720 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19721
19722         [BZ #15423]
19723         * math/s_catan.c (__catan): Handle small real or imaginary part of
19724         input specially to avoid spurious underflow.
19725         * math/s_catanf.c (__catanf): Likewise.
19726         * math/s_catanh.c (__catanh): Likewise.
19727         * math/s_catanhf.c (__catanhf): Likewise.
19728         * math/s_catanhl.c (__catanhl): Likewise.
19729         * math/s_catanl.c (__catanl): Likewise.
19730         * math/libm-test.inc (catan_test): Add more tests.
19731         (catanh_test): Likewise.
19732         * sysdeps/i386/fpu/libm-test-ulps: Update.
19733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734
19735 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19736
19737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19738
19739 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19740
19741         [BZ #15416]
19742         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19743         accurately for denominator in atan2.
19744         * math/s_catanf.c (__catanf): Likewise.
19745         * math/s_catanh.c (__catanh): Likewise.
19746         * math/s_catanhf.c (__catanhf): Likewise.
19747         * math/s_catanhl.c (__catanhl): Likewise.
19748         * math/s_catanl.c (__catanl): Likewise.
19749         * math/libm-test.inc (catan_test): Add more tests.
19750         (catanh_test): Likewise.
19751         * sysdeps/i386/fpu/libm-test-ulps: Update.
19752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19753
19754 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19755
19756         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19757
19758         * benchtests/Makefile (bench): Remove slow benchmarks.
19759         * benchtests/atan-inputs: Add slow benchmark inputs.
19760         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19761         (BENCH_FUNC): Accept variant offset.
19762         (VARIANT): Define.
19763         * benchtests/bench-skeleton.c (main): Run benchmark for each
19764         variant.
19765         * benchtests/cos-inputs: Add slow benchmark inputs.
19766         * benchtests/exp-inputs: Likewise.
19767         * benchtests/pow-inputs: Likewise.
19768         * benchtests/sin-inputs: Likewise.
19769         * benchtests/slowatan-inputs: Remove.
19770         * benchtests/slowatan.c: Remove.
19771         * benchtests/slowcos-inputs: Remove.
19772         * benchtests/slowcos.c: Remove.
19773         * benchtests/slowexp-inputs: Remove.
19774         * benchtests/slowexp.c: Remove.
19775         * benchtests/slowpow-inputs: Remove.
19776         * benchtests/slowpow.c: Remove.
19777         * benchtests/slowsin-inputs: Remove.
19778         * benchtests/slowsin.c: Remove.
19779         * benchtests/slowtan-inputs: Remove.
19780         * benchtests/slowtan.c: Remove.
19781         * benchtests/tan-inputs: Add slow benchmark inputs.
19782         * scripts/bench.pl: Parse comments and directives.
19783
19784         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19785         in CPPFLAGS.
19786         ($(objpfx)bench-%.c): Remove *-ITER.
19787         * benchtests/bench-modf.c: Remove definition of ITER.
19788         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19789         (main): Loop for DURATION seconds instead of fixed number of
19790         iterations.
19791         * scripts/bench.pl: Don't expect iterations in parameters.
19792
19793 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19794
19795         * io/fchdir.c (__fchdir): Renamed from fchdir.
19796         (fchdir): Define as weak alias.
19797
19798 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19799
19800         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19801         (ERRNO_EDOM): Likewise.
19802         (ERRNO_ERANGE): Likewise.
19803         (noErrnoTests): New variable.
19804         (init_max_error): Set errno to 0.
19805         (test_single_errno): New function.
19806         (test_errno): Likewise.
19807         (check_float_internal): Call test_errno.  Set errno to 0.
19808         (check_complex): Refer to errno tests in comment.
19809         (check_int): Call test_errno.  Set errno to 0.
19810         (check_long): Likewise.
19811         (check_bool): Likewise.
19812         (check_longlong): Likewise.
19813         (cos_test): Use ERRNO_* flags for errno tests instead of
19814         check_int.
19815         (expm1_test): Likewise.
19816         (fmod_test): Likewise.
19817         (ilogb_test): Likewise.
19818         (lgamma_test): Likewise.
19819         (pow_test): Likewise.
19820         (remainder_test): Likewise.
19821         (sin_test): Likewise.
19822         (tan_test): Likewise.
19823         (yn_test): Likewise.
19824         (initialize): Set errno to 0.
19825         (main): Print number of errno tests.
19826         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19827
19828 2013-04-29  Andreas Jaeger  <aj@suse.de>
19829
19830         [BZ #15084]
19831         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19832         and RES_USEVC.
19833
19834         [BZ #15085]
19835         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19836         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19837         unimplemented.
19838
19839         [BZ #15380]
19840         * stdlib/random.c (__initstate): Return NULL if
19841         __initstate fails.
19842
19843         [BZ #15086]
19844         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19845         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19846         RES_SNGLKUPREOP.
19847
19848 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19849
19850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19851
19852 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19853
19854         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19855         of individual tests.
19856         (casin_test): Likewise.
19857         (casinh_test): Likewise.
19858
19859 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19860
19861         [BZ #15409]
19862         * math/s_catan.c (__catan): Handle arguments with large real or
19863         imaginary part separately without squaring.
19864         * math/s_catanf.c (__catanf): Likewise.
19865         * math/s_catanh.c (__catanh): Likewise.
19866         * math/s_catanhf.c (__catanhf): Likewise.
19867         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19868         and redefine.
19869         (__catanhl): Handle arguments with large real or imaginary part
19870         separately without squaring.
19871         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19872         and redefine.
19873         (__catanl): Handle arguments with large real or imaginary part
19874         separately without squaring.
19875         * math/libm-test.inc (catan_test): Add more tests.
19876         (catanh_test): Likewise.
19877         * sysdeps/i386/fpu/libm-test-ulps: Update.
19878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19879
19880 2013-04-27  Andreas Jaeger  <aj@suse.de>
19881
19882         [BZ #15007]
19883         * stdlib/stdlib.h: Update guards for qecvt.
19884         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19885         <stdlib.h>.
19886
19887 2013-04-27  Allan McRae  <allan@archlinux.org>
19888
19889         * sysdeps/i386/fpu/libm-test-ulps: Update.
19890
19891 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19892
19893         [BZ #15406]
19894         * math/s_catan.c: Include <float.h>.
19895         (__catan): Ensure underflow exception occurs for underflowed
19896         result.
19897         * math/s_catanf.c: Include <float.h>.
19898         (__catanf): Ensure underflow exception occurs for underflowed
19899         result.
19900         * math/s_catanh.c: Include <float.h>.
19901         (__catanh): Ensure underflow exception occurs for underflowed
19902         result.
19903         * math/s_catanhf.c: Include <float.h>.
19904         (__catanhf): Ensure underflow exception occurs for underflowed
19905         result.
19906         * math/s_catanhl.c: Include <float.h>.
19907         (__catanhl): Ensure underflow exception occurs for underflowed
19908         result.
19909         * math/s_catanl.c: Include <float.h>.
19910         (__catanl): Ensure underflow exception occurs for underflowed
19911         result.
19912         * math/libm-test.inc (catan_test): Add more tests.
19913         (catanh_test): Likewise.
19914
19915         [BZ #15405]
19916         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19917         underflowed result.
19918         * math/s_ccoshf.c (__ccoshf): Likewise.
19919         * math/s_ccoshl.c (__ccoshl): Likewise.
19920         * math/s_csin.c (__csin): Likewise.
19921         * math/s_csinf.c (__csinf): Likewise.
19922         * math/s_csinh.c (__csinh): Likewise.
19923         * math/s_csinhf.c (__csinhf): Likewise.
19924         * math/s_csinhl.c (__csinhl): Likewise.
19925         * math/s_csinl.c (__csinl): Likewise.
19926         * math/libm-test.inc (ccos_test): Add more tests.
19927         (ccosh_test): Likewise.
19928         (csin_test): Likewise.
19929         (csinh_test): Likewise.
19930
19931 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19932
19933         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19934         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19935         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19936         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19937         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19938         powerpc/power5+/fpu folders.
19939         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19940
19941
19942 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19943
19944         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19945
19946 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19947
19948         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19949         additions to variable.
19950         [$(config-machine) = x86_64] (modules-names): Likewise.
19951         ($(objpfx)tst-audit3): Remove dependency.
19952         ($(objpfx)tst-audit3.out): Likewise.
19953         ($(objpfx)tst-audit4): Likewise.
19954         ($(objpfx)tst-audit4.out): Likewise.
19955         ($(objpfx)tst-audit5): Likewise.
19956         ($(objpfx)tst-audit5.out): Likewise.
19957         ($(objpfx)tst-audit6): Likewise.
19958         ($(objpfx)tst-audit6.out): Likewise.
19959         ($(objpfx)tst-audit7): Likewise.
19960         ($(objpfx)tst-audit7.out): Likewise.
19961         (tst-audit3-ENV): Remove variable.
19962         (tst-audit4-ENV): Likewise.
19963         (tst-audit5-ENV): Likewise.
19964         (tst-audit6-ENV): Likewise.
19965         (tst-audit7-ENV): Likewise.
19966         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19967         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19968         addition to variable.
19969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19973         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19974         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19975         tst-audit3, tst-audit4 and tst-audit5.
19976         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19977         tst-audit6 and tst-audit7.
19978         [$(subdir) = elf] (modules-names): Add audit modules for those
19979         tests.
19980         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19981         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19982         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19983         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19984         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19985         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19986         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19987         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19988         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19989         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19990         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19991         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19992         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19993         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19994         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19995         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19996         Likewise.
19997         [$(subdir) = elf && $(config-cflags-avx) = yes]
19998         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19999         [$(subdir) = elf && $(config-cflags-avx) = yes]
20000         (CFLAGS-tst-auditmod4a.c): Likewise.
20001         [$(subdir) = elf && $(config-cflags-avx) = yes]
20002         (CFLAGS-tst-auditmod4b.c): Likewise.
20003         [$(subdir) = elf && $(config-cflags-avx) = yes]
20004         (CFLAGS-tst-auditmod6b.c): Likewise.
20005         [$(subdir) = elf && $(config-cflags-avx) = yes]
20006         (CFLAGS-tst-auditmod6c.c): Likewise.
20007         [$(subdir) = elf && $(config-cflags-avx) = yes]
20008         (CFLAGS-tst-auditmod7b.c): Likewise.
20009         * elf/tst-audit3.c: Move to ...
20010         * sysdeps/x86_64/tst-audit3.c: ... here.
20011         * elf/tst-audit4.c: Move to ...
20012         * sysdeps/x86_64/tst-audit4.c: ... here.
20013         * elf/tst-audit5.c: Move to ...
20014         * sysdeps/x86_64/tst-audit5.c: ... here.
20015         * elf/tst-audit6.c: Move to ...
20016         * sysdeps/x86_64/tst-audit6.c: ... here.
20017         * elf/tst-audit7.c: Move to ...
20018         * sysdeps/x86_64/tst-audit7.c: ... here.
20019         * elf/tst-auditmod3a.c: Move to ...
20020         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20021         * elf/tst-auditmod3b.c: Move to ...
20022         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20023         * elf/tst-auditmod4a.c: Move to ...
20024         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20025         * elf/tst-auditmod4b.c: Move to ...
20026         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20027         * elf/tst-auditmod5a.c: Move to ...
20028         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20029         * elf/tst-auditmod5b.c: Move to ...
20030         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20031         * elf/tst-auditmod6a.c: Move to ...
20032         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20033         * elf/tst-auditmod6b.c: Move to ...
20034         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20035         * elf/tst-auditmod6c.c: Move to ...
20036         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20037         * elf/tst-auditmod7a.c: Move to ...
20038         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20039         * elf/tst-auditmod7b.c: Move to ...
20040         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20041
20042 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20043
20044         [BZ #15366]
20045         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20046         define unconditionally.
20047         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20048         define unconditionally.
20049         (INT8_C, INT16_C, etc.): Likewise.
20050
20051 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20052
20053         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20054         __ehdr_start with hidden visibility.
20055
20056         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20057
20058 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20059
20060         * math/libm-test.inc (cos_test): Use accurate hex constants.
20061         (sincost_test): Likewise.
20062
20063 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20064
20065         * math/libm-test.inc (catan_test): Add more tests.
20066         (catanh_test): Likewise.
20067
20068         * math/s_catanf.c (__catanf): Use suffixed floating-point
20069         constants.
20070         * math/s_catanhf.c (__catanhf): Likewise.
20071         * math/s_catanhl.c (__catanhl): Likewise.
20072         * math/s_catanl.c (__catanl): Likewise.
20073
20074         [BZ #15394]
20075         * math/s_catan.c (__catan): Calculate imaginary part of result
20076         with log1p not log unless computing log of number close to 0.
20077         * math/s_catanf.c (__catanf): Likewise.
20078         * math/s_catanl.c (__catanl): Likewise.
20079         * math/s_catanh.c (__catanh): Calculate real part of result with
20080         log1p not log unless computing log of number close to 0.
20081         * math/s_catanhf.c (__catanhf): Likewise.
20082         * math/s_catanhl.c (__catanhl): Likewise.
20083         * math/libm-test.inc (catan_test): Add more tests.
20084         (catanh_test): Likewise.
20085         * sysdeps/i386/fpu/libm-test-ulps: Update.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087
20088 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20089
20090         * benchtests/Makefile: Mention files in which fast and slow
20091         paths of math functions are implemented.
20092
20093 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20094
20095         * sysdeps/posix/timespec_get.c: New file.
20096
20097 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20098
20099         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20100         POWER.
20101         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20102         for POWER.
20103         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20104         powerpc/power5/fpu folders.
20105         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20106         * benchtests/Makefile: Add modf testcase.
20107         * benchtests/bench-modf.c: New file: Benchmark test for mo
20108
20109 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20110
20111         [BZ #14888]
20112         * time/Makefile (tests): Add tst-strptime-whitespace.
20113         * time/strptime_l.c (get_number): Use ISSPACE.
20114         (__strptime_internal): Likewise.
20115         * time/tst-strptime-whitespace.c: New test case.
20116
20117 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20118
20119         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20120         member.
20121         (_nss_files_init): Set it here.
20122
20123 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20124
20125         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20126         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20127         unsigned.
20128
20129 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20130
20131         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20132
20133 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20134
20135         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20136         size just once.
20137
20138 2013-04-21  David S. Miller  <davem@davemloft.net>
20139
20140         * po/ru.po: Update Russion translation from translation project.
20141
20142 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20143
20144         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20145         and setfsgid.
20146
20147 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20148
20149         * configure.in: Remove i386 configure warning. Remove i386 case.
20150         * configure: Regenerate.
20151         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20152         Add example to error message.
20153         * sysdeps/i386/configure: Regenerate.
20154
20155 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20156
20157         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20158         slowtan.
20159         * benchtests/cos-inputs: New file.
20160         * benchtests/slowcos-inputs: New file.
20161         * benchtests/slowcos.c: New file.
20162         * benchtests/slowtan-inputs: New file.
20163         * benchtests/slowtan.c: New file.
20164         * benchtests/tan-inputs: New file.
20165
20166 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20167
20168         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20169         considered kosher.
20170
20171 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20172
20173         * benchtests/Makefile: Include cppflags-iterator.mk to add
20174         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20175
20176         * Makefile.in (bench-clean): New target.
20177         * benchtests/Makefile (bench-clean): Likewise.
20178
20179 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20180
20181         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20182
20183 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20184
20185         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20186
20187 2013-04-15  Andreas Schwab  <schwab@suse.de>
20188
20189         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20191         * nscd/pwdcache.c (cache_addpw): Likewise.
20192         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20193         more than recsize.
20194
20195 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20196
20197         * benchtests/Makefile (bench): Write all output to
20198         bench-out.tmp together.
20199
20200 2013-04-15  Andreas Schwab  <schwab@suse.de>
20201
20202         * nscd/nscd.c (main): Don't fork again after closing files.
20203
20204 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205
20206         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20207
20208         * benchtests/Rules (bench-deps): Collect dependencies into a
20209         single variable.  Add Makefile to dependencies.
20210         ($(objpfx)bench-%.c): Depend on bench-deps.
20211
20212 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20213             Xavier Roche  <roche+kml2@exalead.com>
20214
20215         [BZ #15361]
20216         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20217         just that it's a file descriptor.
20218         * manual/llio.texi (Synchronizing AIO Operations): Update description
20219         for EBADF error from aio_fsync.
20220
20221 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20222
20223         * Rules (bench): Move target definition...
20224         * benchtests/Makefile: ... here.
20225
20226 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20227
20228         * math/libm-test.inc (cos_test): Fix PI/2 test.
20229         (sincos_test): Likewise.
20230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20231         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20232
20233 2013-04-11  Andreas Schwab  <schwab@suse.de>
20234
20235         [BZ #13988]
20236         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20237         accept exponent character only when digits were seen.
20238         * stdio-common/Makefile (tests): Add bug26.
20239         * stdio-common/bug26.c: New file.
20240
20241         [BZ #14293]
20242         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20243         non-freeable.
20244
20245 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20246
20247         * Makeconfig (rtld-prefix): Define built linker prefix.
20248         * Rules (run-bench): Use it.
20249         * math/Makefile (run-regen-ulps): Likewise.
20250
20251         * Rules (bench): Remove eval.
20252
20253 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20254             Roland McGrath  <roland@hack.frob.com>
20255             Ondrej Bilka  <neleai@seznam.cz>
20256
20257         [BZ #15346]
20258         * time/getdate.c: Include ctype.h and alloca.h.
20259         (__getdate_r): Trim leading and trailing spaces of input.
20260         * time/tst-getdate.c (tests): Add tests with leading and
20261         trailing spaces.
20262
20263 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20264
20265         [BZ #14280]
20266         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20267         when computing value.
20268
20269 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20270
20271         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20272         Use testrun.sh to run libm tests.
20273
20274         [BZ #15309]
20275         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20276
20277 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20278
20279         [BZ #15264]
20280         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20281
20282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20283
20284         * Makefile.in (regen-ulps): New target.
20285         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20286         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20287         [ifneq (no,$(PERL)] (regen-ulps): New target.
20288         [ifeq (no,$(PERL)] (regen-ulps): New target.
20289         * math/libm-test.inc (ulps_file_name): Define.
20290         (output_dir): New variable.
20291         (options): Add "output-dir" option.
20292         (parse_opt): Handle 'o' case.
20293         (main): If output_dir is non-NULL use it as a prefix
20294         otherwise use "".
20295         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20296
20297 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20298
20299         [BZ #10060, #10062]
20300         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20301         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20302         fail configure if __sync_val_compare_and_swap is not inlined.
20303         * sysdeps/i386/configure: Regenerate.
20304         * configure.in: Build for i686 when configured for i386.
20305         * configure: Regenerate.
20306         * README: Remove i386 reference.
20307
20308 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20309
20310         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20311         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20312
20313 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20314
20315         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20316         (lmsnanval): New variables.
20317         (F): Add conversion tests.
20318         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20319         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20320
20321         * stdio-common/tstdiomisc.c (F): Properly collect individual
20322         tests' results.
20323
20324         [BZ #14686, #15336]
20325         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20326         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20327         Instead, use input NaN values or generate a qNaN by arithmetic
20328         operation.  Also fix bugs to comply with the standard.
20329         * math/libm-test.inc (remainder_test): Add more tests.
20330
20331         [BZ #15335, #15342]
20332         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20334         input NaN values or generate a qNaN by arithmetic operation.
20335
20336         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20337         unreachable code.
20338
20339         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20340         definitions.
20341
20342 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20343
20344         [BZ #14478]
20345         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20346         underflowed result.
20347         * math/s_cexpf.c (__cexpf): Likewise.
20348         * math/s_cexpl.c (__cexpl): Likewise.
20349         * math/libm-test.inc (cexp_test): Add more tests.
20350
20351 2013-04-03  Andreas Schwab  <schwab@suse.de>
20352
20353         [BZ #15330]
20354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20355         order arrays from heap if bigger than alloca cutoff.
20356
20357 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20358
20359         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20360         (SNAN_TESTS_double): Refer to GCC PR56831.
20361         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20362         GCC PR56828.
20363
20364 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20365
20366         * Rules (bench): Move bench.out after the run is complete.
20367
20368         * Rules (bench): Echo currently running benchmark.
20369
20370         * benchtests/Makefile (bench): Add atan and slowatan.
20371         * benchtests/atan-inputs: New file.
20372         * benchtests/slowatan-inputs: New file.
20373         * benchtests/slowatan.c: New file.
20374
20375         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20377         its value.
20378
20379         [BZ #15305]
20380         * sysdeps/unix/sysv/linux/kernel-features.h
20381         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20382         __ASSUME_XFS_RESTRICTED_CHOWN.
20383         * sysdeps/unix/sysv/linux/pathconf.c
20384         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20385         Save and restore errno.
20386
20387 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20388
20389         [BZ #15327]
20390         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20391         arguments using __kernel_casinh.
20392         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20393         arguments using __kernel_casinhf.
20394         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20395         arguments using __kernel_casinhl.
20396         * math/libm-test.inc (cacosh_test): Add more tests.
20397         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399
20400 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20401
20402         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20404
20405         * bench/Makefile (bench): Add sin and slowsin.
20406         * benchtests/sin-inputs: New file.
20407         * benchtests/slowsin-inputs: New file.
20408         * benchtests/slowsin.c: New file.
20409
20410         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20411         (bench): Add slowexp and slowpow.
20412         (exp-ITER): Increase iterations.
20413         (pow-ITER): Likewise.
20414         * benchtests/exp-inputs: Change input.
20415         * benchtests/pow-inputs: Likewise.
20416         * benchtests/slowexp-inputs: New file.
20417         * benchtests/slowexp.c: New file.
20418         * benchtests/slowpow-inputs: New file.
20419         * benchtests/slowpow.c: New file.
20420
20421 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20422
20423         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20424         instructions.
20425         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20426         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20427         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20428         * benchtests/Makefile: Add rint benchtest.
20429         * benchtests/rint-inputs: Input for rint benchtest.
20430
20431 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20432
20433         * Versions.def (libm): Add GLIBC_2.18.
20434         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20435         hidden libm prototypes.
20436         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20437         * math/Makefile (libm-calls): Add s_issignaling.
20438         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20439         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20440         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20441         declaration.
20442         * math/math.h [__USE_GNU] (issignaling): New macro.
20443         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20444         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20445         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20446         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20449         * manual/arith.texi (issignaling): New section.
20450         * manual/libm-err-tab.pl (@all_functions): Update comment.
20451         * math/gen-libm-test.pl (parse_args): Apply special handling for
20452         issignaling.
20453         * math/libm-test.inc (print_float, issignaling_test): New
20454         functions.
20455         (check_float_internal): Add issignaling checks.
20456         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20457         default definition.
20458         * sysdeps/powerpc/math-tests.h: New file.
20459         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20460         tests.
20461         * math/test-snan.c (TEST_FUNC): Likewise.
20462
20463 2013-03-30  David S. Miller  <davem@davemloft.net>
20464
20465         * po/de.po: Update from translation team.
20466
20467 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20468
20469         [BZ #10357]
20470         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20471         imaginary part less than 1.0 and real part less than 0.5
20472         specially.
20473         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20474         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20476         (cacos_test): Add more tests.
20477         (casin_test): Likewise.
20478         (casinh_test): Likewise.
20479         * sysdeps/i386/fpu/libm-test-ulps: Update.
20480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20481
20482 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20483
20484         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20485         ONE with its value.
20486
20487         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20488         (__pow_mp): Replace ONE and MONE with their values.
20489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20491         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20493         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20495
20496         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20497
20498         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20499         (__pow_mp): Replace ZERO and MZERO with their values.
20500         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20504         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20505         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20506         (__sqr): Likewise.
20507
20508         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20509
20510         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20511
20512 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20513
20514         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20515         Declare with __attribute__ ((weak)).
20516         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20517         Call __call_tls_dtors only if it's not NULL.
20518
20519 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20520
20521         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20522         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20523         magic __ehdr_start linker symbol if it's defined.
20524         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20525         them up here if it was already done.
20526
20527         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20528         (_dl_aux_init): Use const in cast when setting it.
20529         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20531         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20532
20533         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20534         Declare them here.
20535         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20536         * csu/libc-tls.c: Nor here.
20537         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20538
20539         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20540         (__libc_message): Never call vsyslog.
20541
20542 2013-03-28  Alan Modra  <amodra@gmail.com>
20543
20544         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20545         Define as empty.
20546         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20547         Likewise.
20548
20549 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20550
20551         [BZ #15214]
20552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20553         underflow.
20554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20555
20556 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557
20558         [BZ #15304]
20559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20560         Don't add gid passed as argument.
20561
20562         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20563
20564 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20565
20566         [BZ #15307]
20567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20568         imaginary part between 1.0 and 1.5 and real part less than 0.5
20569         specially.
20570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20572         * math/libm-test.inc (cacos_test): Add more tests.
20573         (casin_test): Likewise.
20574         (casinh_test): Likewise.
20575         * sysdeps/i386/fpu/libm-test-ulps: Update.
20576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577
20578 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20579
20580         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20581         constants.
20582         (norm): Likewise.
20583         (denorm): Likewise.
20584         (__dbl_mp): Likewise.
20585         (add_magnitudes): Likewise.
20586         (sub_magnitudes): Likewise.
20587         (__add): Likewise.
20588         (__sub): Likewise.
20589         (__mul): Likewise.
20590         (__sqr): Likewise.
20591         (__inv): Likewise.
20592         (__dvd): Likewise.
20593
20594         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20595         commented code.
20596         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20597         (__dubcos): Likewise.
20598         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20599         (__ieee754_acos): Likewise.
20600         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20601         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20602         (__exp1): Likewise.
20603         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20605         (log1): Likewise.
20606         (my_log2): Likewise.
20607         (checkint): Likewise.
20608         * sysdeps/ieee754/dbl-64/e_remainder.c
20609         (__ieee754_remainder): Likewise.
20610         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20612         (bsloww): Likewise.
20613         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20614
20615         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20616         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20617         MANTISSA_STORE_T to store computations on mantissa.  Use
20618         macros for rounding and division.
20619         (denorm): Likewise.
20620         (__dbl_mp): Likewise.
20621         (add_magnitudes): Likewise.
20622         (sub_magnitudes): Likewise.
20623         (__mul): Likewise.
20624         (__sqr): Likewise.
20625         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20626         powers of two in terms of TWOPOW macro.
20627         (mp_no): Make type of mantissa as MANTISSA_T.
20628         [!RADIXI]: Define RADIXI.
20629         [!TWO52]: Define TWO52.
20630         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20631
20632 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20633
20634         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20635         llroundl symbol when building for PPC32.
20636
20637 2013-03-24  Mark H Weaver  <mhw@netris.org>
20638
20639         * manual/arith.texi (Normalization Functions): Fix prototypes for
20640         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20641
20642 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20643
20644         [BZ #13889]
20645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20646         high value to check if expl overflow.
20647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20648         to check for underflow and overflow.
20649         * math/libm-test.inc: Add exp test.
20650
20651 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20652
20653         [BZ #11120]
20654         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20655         with NOT_IN_libc.
20656
20657 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20658
20659         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20660         symbol.
20661
20662 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20663
20664         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20665         wrap blocks consisting of several statements.
20666
20667         * sysdeps/generic/math-tests.h: New file.
20668         * sysdeps/i386/fpu/math-tests.h: Likewise.
20669         * math/test-snan.c: Include it.
20670         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20671
20672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20673
20674         [BZ #15285]
20675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20676         (__ieee754_j0l): Do not improve calculations using cos of twice
20677         input for inputs above LDBL_MAX / 2.0L.
20678         (__ieee754_y0l): Likewise.
20679         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20680         (__ieee754_j1l): Do not improve calculations using cos of twice
20681         input for inputs above LDBL_MAX / 2.0L.
20682         (__ieee754_y1l): Likewise.
20683         * math/libm-test.inc (j0_test): Add another test.
20684         (j1_test): Likewise.
20685         (y0_test): Likewise.
20686         (y1_test): Likewise.
20687         * sysdeps/i386/fpu/libm-test-ulps: Update.
20688
20689 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20690
20691         * Rules ($(objpfx)bench-%.c): Include code from a C source
20692         file.
20693
20694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20695
20696         [BZ #15287]
20697         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20698         imaginary part 1.0 and real part less than 0.5 specially.
20699         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20700         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20701         * math/libm-test.inc (cacos_test): Add more tests.
20702         (casin_test): Likewise.
20703         (casinh_test): Likewise.
20704         * sysdeps/i386/fpu/libm-test-ulps: Update.
20705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20706
20707 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20708
20709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20711
20712 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20713
20714         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20715         * config.make.in (config-cflags-sse4): Remove variable.
20716         (config-cflags-avx): Likewise.
20717         (config-cflags-sse2avx): Likewise.
20718         (config-cflags-novzeroupper): Likewise.
20719         (config-asflags-i686): Likewise.
20720         (have-mfma4): Likewise.
20721         (have-as-vis3): Likewise.
20722         (MIG): Likewise.
20723         * configure.in (MIG): Do not AC_SUBST.
20724         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20725         (libc_cv_cc_sse4): Do not AC_SUBST.
20726         (libc_cv_cc_avx): Likewise.
20727         (libc_cv_cc_sse2avx): Likewise.
20728         (libc_cv_cc_novzeroupper): Likewise.
20729         (libc_cv_cc_fma4): Likewise.
20730         (libc_cv_as_i686): Likewise.
20731         (libc_cv_sparc_as_vis3): Likewise.
20732         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20733         LIBC_CONFIG_VAR.
20734         (config-asflags-i686): Likewise.
20735         (config-cflags-avx): Likewise.
20736         (config-cflags-sse2avx): Likewise.
20737         (have-mfma4): Likewise.
20738         (config-cflags-novzeroupper): Likewise.
20739         * sysdeps/mach/configure.in (MIG): Likewise.
20740         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20741         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20742         LIBC_CONFIG_VAR.
20743         (config-cflags-avx): Likewise.
20744         (config-cflags-sse2avx): Likewise.
20745         (have-mfma4): Likewise.
20746         (config-cflags-novzeroupper): Likewise.
20747         * configure: Regenerated.
20748         * sysdeps/i386/configure: Likewise.
20749         * sysdeps/mach/configure: Likewise.
20750         * sysdeps/sparc/configure: Likewise.
20751         * sysdeps/x86_64/configure: Likewise.
20752
20753 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20754
20755         [BZ #14812]
20756         * locale/programs/localedef.c (options): Put N_ translation marker
20757         on argument names, not just descriptions.
20758
20759 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20760
20761         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20762
20763 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20764
20765         [BZ #14176]
20766         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20767
20768 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20769
20770         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20771         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20772         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20773         [!BEFORE_ABORT] (before_abort): New function.
20774         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20775         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20776         (writev_for_fatal): New function.
20777         (WRITEV_FOR_FATAL): New macro; call that.
20778         (backtrace_and_maps): New function.
20779         (BEFORE_ABORT): New macro; call that.
20780         (struct str_list): Type removed.
20781         (__libc_message, __libc_fatal): Functions removed.
20782         Include <sysdeps/posix/libc_fatal.c> instead.
20783
20784 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20785
20786         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20787         constants.
20788         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20789         double constants.
20790
20791 2013-03-19  Andreas Schwab  <schwab@suse.de>
20792
20793         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20794         * sysdeps/gnu/configure: Regenerate.
20795
20796         * configure.in: Substitute libc_cv_rtlddir.
20797         * configure: Regenerate.
20798         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20799         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20800         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20801         * elf/Makefile (install-others, CFLAGS-interp.c)
20802         (ldso_install, common-ldd-rewrite): Likewise.
20803         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20804         $(inst_slibdir)/$(rtld-installed-name).
20805         * scripts/rellns-sh: Add -p option.
20806         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20807         for source.
20808
20809 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20810
20811         * manual/nptl.texi: Renamed to ...
20812         * manual/threads.texi: ... this.
20813         * manual/Makefile (chapters): Update.
20814
20815 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20816
20817         [BZ #14812]
20818         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20819         on argument names, not just descriptions.
20820         * malloc/memusagestat.c (options): Likewise.
20821         * nss/getent.c (options): Likewise.
20822
20823 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20824
20825         [BZ #14812]
20826         * iconv/iconv_prog.c (options): Put N_ translation marker
20827         on argument names, not just descriptions.
20828         * iconv/iconvconfig.c (options): Likewise.
20829
20830 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20831
20832         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20833         implementation which is faster on all x86_64 architectures.
20834         Tested on AMD, Intel Nehalem, SNB, IVB.
20835         * sysdeps/x86_64/strnlen.S: Likewise.
20836
20837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20838         Remove all multiarch strlen and strnlen versions.
20839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20840         Remove strlen and strnlen related parts.
20841
20842         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20843         Inline strlen part.
20844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20845
20846         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20847         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20848         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20849         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20850         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20851         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20852
20853 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20854
20855         * manual/memory.texi (Malloc Tunable Parameters):
20856         Sort parameters alphabetically. Add comments for missing entries.
20857
20858 2013-03-17  David S. Miller  <davem@davemloft.net>
20859
20860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20861
20862 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20863
20864         [BZ #15283]
20865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20866         for arguments at most half maximum finite value.
20867         * math/libm-test.inc (j0_test): Add more tests.
20868         (j1_test): Likewise.
20869         (y0_test): Likewise.
20870         (y1_test): Likewise.
20871         * sysdeps/i386/fpu/libm-test-ulps: Update.
20872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20873
20874         [BZ #14155]
20875         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20876         1 / x and functions P and Q for arguments above 0x1p256L.
20877         (__ieee754_y0l): Likewise.
20878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20879         (__ieee754_y1l): Likewise.
20880         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20881         (j1_test): Likewise.
20882         (y0_test): Likewise.
20883         (y1_test): Likewise.
20884
20885 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20886
20887         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20888         variable.
20889
20890 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20891
20892         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20893         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20894         zero since it's initialized to EXEC_PAGESIZE.
20895
20896         * sysdeps/unix/sysv/linux/ldsodefs.h
20897         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20898         * sysdeps/generic/ldsodefs.h: ... here.
20899
20900 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20901
20902         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20903
20904         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20905         math/test-snan.c.
20906         * math/test-snan.c: Renamed from
20907         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20908         * math/Makefile (tests): Add test-snan.
20909         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20910         test-powerpc-snan.
20911
20912         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20913         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20914         functions.
20915         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20916         __builtin_nan family of functions.
20917         * math/libm-test.inc (initialize): Initialize qnan_value with
20918         __builtin_nan family of functions.
20919         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20920         Remove variables.
20921         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20922         Remove functions.
20923         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20924         storage class.  Initialize qNaN_var and sNaN_var with
20925         __builtin_nan and __builtin_nans families of functions,
20926         respectively.
20927
20928         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20929         (sqrt_test): Remove duplicate test with qNaN input.
20930         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20931         (round_test, signbit_test, significand_test): Note missing +/-Inf
20932         as well as qNaN tests.
20933
20934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20935         qNaN_var.  Fix a few strings, too.
20936         * math/libm-test.inc (nan_value): Rename to qnan_value.
20937         * math/gen-libm-test.pl (%beautify): Adjust to that.
20938         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20939         * math/test-misc.c (main): Likewise.
20940         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20941         to __qnan_bytes, and __qnan_union, respectively.
20942         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20943         Likewise.
20944         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20945         and lqnanval, respectively.
20946         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20947         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20948         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20949         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20950
20951         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20952         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20953         doubles.
20954
20955         * math/test-misc.c (main): Fix copy'n'pastos.
20956         * misc/tst-efgcvt.c (special): Likewise.
20957
20958         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20959         Remove declarations.
20960
20961 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962
20963         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20964         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20965         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20967
20968 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20969
20970         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20971         macro to return vdso values correctly in IFUNC implementations.
20972         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20973         Optimization by using IFUNC.
20974
20975 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20976             Richard Henderson  <rth@redhat.com>
20977             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20978
20979         * Makefile.in (bench): New target.
20980         * NEWS: Mention the benchmark framework.
20981         * Rules (bench): Likewise.
20982         (binaries-bench): Generate binaries for functions to
20983         benchmark.
20984         * benchtests/Makefile: New makefile for benchmark tests.
20985         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20986         programs.
20987         * benchtests/exp-inputs: New input file for EXP function.
20988         * benchtests/pow-inputs: New input file for POW function.
20989         * scripts/bench.pl: New script to generate source files for
20990         benchmark programs.
20991
20992 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20993
20994         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20995         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20996         computations on mantissa.  Use macros for rounding and
20997         division.
20998         (denorm): Likewise.
20999         (__dbl_mp): Likewise.
21000         (add_magnitudes): Likewise.
21001         (sub_magnitudes): Likewise.
21002         (__mul): Likewise.
21003         (__sqr): Likewise.
21004         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21005         powers of two in terms of TWOPOW macro.
21006         (mp_no): Make type of mantissa as MANTISSA_T.
21007         [!RADIXI]: Define RADIXI.
21008         [!TWO52]: Define TWO52.
21009         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21010
21011         * manual/nptl.texi (cindex): Modify threads to pthreads.
21012
21013 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21014
21015         * sysdeps/x86_64/preconfigure: Regenerated.
21016
21017 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21018
21019         [BZ #14155]
21020         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21021         0x1p28 and above.
21022         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21023         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21024         0x1p28 and above.
21025         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21026         * math/libm-test.inc (j0_test): Do not allow one spurious
21027         underflow exception.
21028         (y1_test): Likewise.
21029
21030 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21031
21032         * manual/Makefile (chapters): Add nptl.
21033         * manual/debug.texi (Debugging Support): Add link to Threads
21034         chapter.
21035         * manual/nptl.texi: New file.
21036
21037         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21038
21039 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21040
21041         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21042         for non-NULL pointer before the memory validity test. Pointed
21043         out by Holger Brunck <holger.brunck@keymile.com>.
21044
21045 2013-03-13  Andreas Schwab  <schwab@suse.de>
21046
21047         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21048         instead of .os.
21049
21050 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21051
21052         * timezone/zic.c: Update from tzcode 2013b.
21053
21054 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21055
21056         * manual/install.texi (Configuring and compiling):
21057         Mention i686 and i586.
21058         * INSTALL: Regenerate.
21059
21060 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21061
21062         * sysdeps/init_array/elf-init.c: New file.
21063         * csu/elf-init.c
21064         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21065         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21066
21067         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21068         __gmon_start__ as global, but as static with a .preinit_array pointer.
21069         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21070         * sysdeps/init_array/crti.S: New file, empty except for comments.
21071         * sysdeps/init_array/crtn.S: Likewise.
21072
21073 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21074
21075         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21076         definining bcopy.
21077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21078         Remove Prefer_SSE_for_memop.
21079         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21080         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21081         HAS_PREFER_SSE_FOR_MEMOP.
21082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21083         memset-x86-64.
21084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21085         Remove bzero, memset ifunc support.
21086         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21087         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21088         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21089         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21090
21091 2013-03-11  Andreas Schwab  <schwab@suse.de>
21092
21093         [BZ #15234]
21094         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21095         by SHLIB_COMPAT.
21096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21097         (GLIBC_2.16): Remove pthread_atfork.
21098
21099 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21100
21101         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21102         (ptestcases.h): Likewise.
21103
21104 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21105
21106         * Makeconfig ($(common-objpfx)config.status): Depend on
21107         sysdeps/*/preconfigure{,.in} too.
21108
21109 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21110
21111         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21112         (__free_hook): Use void * instead of __malloc_ptr_t.
21113         (__malloc_hook): Likewise.
21114         (__realloc_hook): Likewise.
21115         (__memalign_hook): Likewise.
21116         (__after_morecore_hook): Likewise.
21117         * malloc/arena.c (save_malloc_hook): Likewise.
21118         (save_free_hook): Likewise.
21119         * malloc/hooks.c (malloc_hook_ini): Likewise.
21120         (realloc_hook_ini): Likewise.
21121         (memalign_hook_ini): Likewise.
21122         * malloc/malloc.c (malloc_hook_ini): Likewise.
21123         (realloc_hook_ini): Likewise.
21124         (memalign_hook_ini): Likewise.
21125         (__free_hook): Likewise.
21126         (__malloc_hook): Likewise.
21127         (__realloc_hook): Likewise.
21128         (__memalign_hook): Likewise.
21129         (__libc_malloc): Likewise.
21130         (__libc_free): Likewise.
21131         (__libc_realloc): Likewise.
21132         (__libc_memalign): Likewise.
21133         (__libc_valloc): Likewise.
21134         (__libc_pvalloc): Likewise.
21135         (__libc_calloc): Likewise.
21136         (__posix_memalign): Likewise.
21137         * malloc/morecore.c (__sbrk): Likewise.
21138         (__default_morecore): Likewise.
21139
21140         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21141
21142         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21143         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21144         __malloc_ptrdiff_t.
21145
21146         * malloc/malloc.h (__malloc_size_t): Remove macro.
21147         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21148         __malloc_size_t.
21149         (old_memalign_hook): Likewise.
21150         (old_realloc_hook): Likewise.
21151         (struct hdr): Likewise.
21152         (flood): Likewise.
21153         (mallochook): Likewise.
21154         (memalignhook): Likewise.
21155         (reallochook): Likewise.
21156         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21157         (tr_old_realloc_hook): Likewise.
21158         (tr_old_memalign_hook): Likewise.
21159         (tr_mallochook): Likewise.
21160         (tr_reallochook): Likewise.
21161         (tr_memalignhook): Likewise.
21162
21163 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21164
21165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21166         default_ldbl_pack and using as default implementation.
21167         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21168         implementation.
21169         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21170         redundant definition.
21171         (ldbl_insert_mantissa): Likewise.
21172         (ldbl_canonicalize): Likewise.
21173         (ldbl_nearbyint): Likewise.
21174         (ldbl_pack): Rename to ldbl_pack_ppc.
21175         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21176         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21177         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21178
21179 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21180
21181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21182         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21183         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21184         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21186         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21187         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21188         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21189
21190 2013-03-07  Andreas Jaeger  <aj@suse.de>
21191
21192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21193         bits/mman-linux.h.
21194
21195 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21196
21197         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21198         Include mpa.h and declare __MPEXP.
21199         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21200         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21202         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21203         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21204         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21205         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21206
21207         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21208         (__slowpow): Use long double EXPL and LOGL functions to
21209         compute POW.
21210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21212         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21214         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21216
21217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21218         intermediate variable to calculate exponent.
21219         (__sqr): Likewise.
21220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21221         Likewise.
21222         (__sqr): Likewise.
21223
21224         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21225         [!NO__SQR]: Define __sqr.
21226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21227         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21228         sysdeps/ieee754/dbl-64/mpa.c.
21229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21230
21231         [BZ #12723]
21232         * posix/Makefile (tests): Add tst-pathconf.
21233         * posix/tst-pathconf.c: New test case.
21234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21235         _PC_PIPE_BUF.
21236         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21237
21238 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21239
21240         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21241
21242 2013-03-06  Andreas Jaeger  <aj@suse.de>
21243
21244         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21245         definition via __MAP_ANONYMOUS.
21246
21247         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21248         it's not part of Linux headers.
21249
21250         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21251         (MAP_HUGE_MASK): Define.
21252
21253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21254         Define.
21255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21257         Define.
21258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21259         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21260         Define.
21261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21262         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21263         Define.
21264         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21265
21266         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21267         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21268         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21269         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21270         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21272
21273         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21274         Handle f2fs.
21275
21276         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21277         Handle f2fs and efivarfs.
21278
21279         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21280         f2fs.
21281
21282         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21283         (EFIVARFS_MAGIC): Add.
21284         (F2FS_LINK_MAX): Add.
21285
21286 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21287
21288         * stdio-common/vfprintf.c: Replace __builtin_expect with
21289         __glibc_unlikely.
21290
21291 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21292
21293         [BZ #13550]
21294         * sysdeps/generic/bp-sym.h: Remove file.
21295         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21297         <bp-sym.h> and <bp-asm.h>.
21298         (__longjmp): Don't use BP_SYM.
21299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21300         and <bp-asm.h>.
21301         (memcpy): Don't use BP_SYM.
21302         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21303         <bp-sym.h> and <bp-asm.h>.
21304         (memcpy): Don't use BP_SYM.
21305         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21306         <bp-asm.h>.
21307         (memcpy): Don't use BP_SYM.
21308         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21309         <bp-asm.h>.
21310         (memset): Don't use BP_SYM.
21311         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21312         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21313         (__bzero): Don't use BP_SYM.
21314         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21315         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21316         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21317         <bp-sym.h> and <bp-asm.h>.
21318         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21319         pointers.
21320         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21321         <bp-sym.h> and <bp-asm.h>.
21322         (memcpy): Don't use BP_SYM.
21323         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21324         <bp-sym.h> and <bp-asm.h>.
21325         (memset): Don't use BP_SYM.
21326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21328         (__bzero): Don't use BP_SYM.
21329         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21330         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21331         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21332         <bp-sym.h> and <bp-asm.h>.
21333         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21334         pointers.
21335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21336         <bp-sym.h> and <bp-asm.h>.
21337         (memcpy): Don't use BP_SYM.
21338         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21339         <bp-sym.h> and <bp-asm.h>.
21340         (memset): Don't use BP_SYM.
21341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21343         (__bzero): Don't use BP_SYM.
21344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21347         <bp-sym.h> and <bp-asm.h>.
21348         (__memchr): Don't use BP_SYM.
21349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21350         <bp-sym.h> and <bp-asm.h>.
21351         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21352         pointers.
21353         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21354         <bp-sym.h> and <bp-asm.h>.
21355         (memcpy): Don't use BP_SYM.
21356         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21357         <bp-sym.h> and <bp-asm.h>.
21358         (__mempcpy): Don't use BP_SYM.
21359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21360         <bp-sym.h> and <bp-asm.h>.
21361         (__memrchr): Don't use BP_SYM.
21362         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21363         <bp-sym.h> and <bp-asm.h>.
21364         (memset): Don't use BP_SYM.
21365         (__bzero): Likewise.
21366         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21367         <bp-sym.h> and <bp-asm.h>.
21368         (__rawmemchr): Don't use BP_SYM.
21369         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21370         <bp-sym.h> and <bp-asm.h>.
21371         (__STRCMP): Don't use BP_SYM.
21372         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21373         <bp-sym.h> and <bp-asm.h>.
21374         (strchr): Don't use BP_SYM.
21375         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21376         <bp-sym.h> and <bp-asm.h>.
21377         (__strchrnul): Don't use BP_SYM.
21378         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21379         <bp-sym.h> and <bp-asm.h>.
21380         (strlen): Don't use BP_SYM.
21381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21382         <bp-sym.h> and <bp-asm.h>.
21383         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21384         pointers.
21385         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21386         <bp-sym.h> and <bp-asm.h>.
21387         (__strnlen): Don't use BP_SYM.
21388         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21389         <bp-sym.h> and <bp-asm.h>.
21390         (__GI__setjmp): Don't use BP_SYM.
21391         (_setjmp): Likewise.
21392         (__sigsetjmp): Likewise.
21393         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21394         (L(start_addresses)): Don't use BP_SYM.
21395         (_start): Likewise.
21396         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21397         <bp-asm.h>.
21398         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21399         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21400         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21401         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21402         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21403         <bp-asm.h>.
21404         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21405         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21406         about bounded pointers.
21407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21409         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21410         <bp-asm.h>.
21411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21412         about bounded pointers.  Remove GKM FIXME comments.
21413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21414         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21415         <bp-asm.h>.
21416         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21417         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21418         Remove GKM FIXME comments.
21419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21421         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21422         <bp-asm.h>.
21423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21424         about bounded pointers.  Remove GKM FIXME comment.
21425         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21426         and <bp-asm.h>.
21427         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21428         pointers.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21430         <bp-sym.h> and <bp-asm.h>.
21431         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21433         <bp-sym.h> and <bp-asm.h>.
21434         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21435         comment.
21436
21437 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21438
21439         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21440         call free(NULL).
21441
21442 2013-03-05  David S. Miller  <davem@davemloft.net>
21443
21444         * po/es.po: Update from translation team.
21445
21446 2013-03-05  Andreas Jaeger  <aj@suse.de>
21447
21448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21449         <bits/mman-linux.h>.
21450         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21451         is fine.
21452         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21453         <bits/mman-linux.h> to end of file.
21454         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21455         is fine.
21456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21457         <bits/mman-linux.h> to end of file.
21458         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21459         is fine.
21460         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21461         <bits/mman-linux.h> to end of file.
21462
21463         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21464         (MCL_CURRENT, MCL_FUTURE): Define here.
21465
21466 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21467
21468         [BZ #15232]
21469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21470         attribute_hidden.
21471         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21472
21473 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21474
21475         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21476         fourth parameter needed for rt_sigprocmask syscall.
21477         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21478         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21479         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21480         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21481         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21482         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21483
21484 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21485
21486         [BZ #13550]
21487         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21488         comment about bounded pointers.
21489         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21490         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21491
21492 2013-03-04  Andreas Jaeger  <aj@suse.de>
21493
21494         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21495         common definitions.
21496
21497         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21498         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21499         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21503
21504 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21505
21506         [BZ #15055]
21507         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21508         __ieee754_sqrl instead of __sqrl.
21509
21510 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21511
21512         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21513         * sysdeps/powerpc/fpu_control.h: ... here.
21514         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21515         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21516         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21517         * sysdeps/powerpc/bits/mathinline.h: ... here.
21518
21519 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21520
21521         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21522         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21523         to just [NEED_DL_SYSINFO_DSO].
21524         * elf/dl-support.c: Likewise.
21525         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21526         * elf/rtld.c (dl_main): Likewise.
21527         * elf/setup-vdso.h (setup_vdso): Likewise.
21528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21529         * sysdeps/unix/sysv/linux/dl-sysdep.c
21530         (_dl_discover_osversion): Likewise.
21531
21532 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21533
21534         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21535         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21536
21537 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21538
21539         * NEWS: Mention libm performance improvements and non-x86 PI
21540         futex support.
21541
21542         * csu/libc-start.c (__pthread_initialize_minimal): Change
21543         function arguments.
21544         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21545
21546 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21547
21548         [BZ #13550]
21549         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21550         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21551         <bp-sym.h> and <bp-asm.h>.
21552         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21553         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21554         and <bp-asm.h>.
21555         (memcpy): Don't use BP_SYM.
21556         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21557         <bp-asm.h>.
21558         (__mpn_add_n): Don't use BP_SYM.
21559         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21560         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21561         and <bp-asm.h>.
21562         (__mpn_addmul_1): Don't use BP_SYM.
21563         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21564         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21565         <bp-sym.h>.
21566         (_setjmp): Don't use BP_SYM.
21567         (__novmx_setjmp): Likewise.
21568         (__GI__setjmp): Likewise.
21569         (__vmx_setjmp): Likewise.
21570         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21571         <bp-sym.h>.
21572         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21573         (__bzero): Don't use BP_SYM.
21574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21576         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21577         <bp-sym.h> and <bp-asm.h>.
21578         (memcpy): Don't use BP_SYM.
21579         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21580         <bp-sym.h> and <bp-asm.h>.
21581         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21583         <bp-sym.h> and <bp-asm.h>.
21584         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21585         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21586         <bp-asm.h>.
21587         (__mpn_lshift): Don't use BP_SYM.
21588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21589         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21590         <bp-asm.h>.
21591         (memset): Don't use BP_SYM.
21592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21594         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21595         <bp-asm.h>.
21596         (__mpn_mul_1): Don't use BP_SYM.
21597         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21599         <bp-sym.h> and <bp-asm.h>.
21600         (memcmp): Don't use BP_SYM.
21601         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21602         <bp-sym.h> and <bp-asm.h>.
21603         (memcpy): Don't use BP_SYM.
21604         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21605         <bp-sym.h> and <bp-asm.h>.
21606         (memset): Don't use BP_SYM.
21607         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21608         <bp-sym.h> and <bp-asm.h>.
21609         (strncmp): Don't use BP_SYM.
21610         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21611         <bp-sym.h> and <bp-asm.h>.
21612         (memcpy): Don't use BP_SYM.
21613         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21614         <bp-sym.h> and <bp-asm.h>.
21615         (memset): Don't use BP_SYM.
21616         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21617         <bp-sym.h> and <bp-asm.h>.
21618         (__memchr): Don't use BP_SYM.
21619         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21620         <bp-sym.h> and <bp-asm.h>.
21621         (memcmp): Don't use BP_SYM.
21622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21623         <bp-sym.h> and <bp-asm.h>.
21624         (memcpy): Don't use BP_SYM.
21625         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21626         <bp-sym.h> and <bp-asm.h>.
21627         (__mempcpy): Don't use BP_SYM.
21628         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21629         <bp-sym.h> and <bp-asm.h>.
21630         (__memrchr): Don't use BP_SYM.
21631         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21632         <bp-sym.h> and <bp-asm.h>.
21633         (memset): Don't use BP_SYM.
21634         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21635         <bp-sym.h> and <bp-asm.h>.
21636         (__rawmemchr): Don't use BP_SYM.
21637         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21638         <bp-sym.h> and <bp-asm.h>.
21639         (__STRCMP): Don't use BP_SYM.
21640         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21641         <bp-sym.h> and <bp-asm.h>.
21642         (strchr): Don't use BP_SYM.
21643         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21644         <bp-sym.h> and <bp-asm.h>.
21645         (__strchrnul): Don't use BP_SYM.
21646         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21647         <bp-sym.h> and <bp-asm.h>.
21648         (strlen): Don't use BP_SYM.
21649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21650         <bp-sym.h> and <bp-asm.h>.
21651         (strncmp): Don't use BP_SYM.
21652         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21653         <bp-sym.h> and <bp-asm.h>.
21654         (__strnlen): Don't use BP_SYM.
21655         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21656         <bp-asm.h>.
21657         (__mpn_rshift): Don't use BP_SYM.
21658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21660         <bp-sym.h> and <bp-asm.h>.
21661         (__sigsetjmp): Don't use BP_SYM.
21662         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21663         (L(start_addresses)): Don't use BP_SYM.
21664         (_start): Likewise.
21665         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21666         <bp-asm.h>.
21667         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21670         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21671         <bp-asm.h>.
21672         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21673         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21674         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21675         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21676         <bp-asm.h>.
21677         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21678         comments.
21679         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21680         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21681         <bp-asm.h>.
21682         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21683         FIXME comments.
21684         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21685         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21686         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21687         <bp-asm.h>.
21688         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21689         comment.
21690         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21691         and <bp-asm.h>.
21692         (strncmp): Don't use BP_SYM,
21693         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21694         <bp-asm.h>.
21695         (__mpn_sub_n): Don't use BP_SYM.
21696         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21697         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21698         and <bp-asm.h>.
21699         (__mpn_submul_1): Don't use BP_SYM.
21700         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21702         <bp-sym.h> and <bp-asm.h>.
21703         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21705         <bp-sym.h> and <bp-asm.h>.
21706         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21707         comment.
21708
21709 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21710
21711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21712         Use ZK to minimize writes to Z.
21713         (sub_magnitudes): Simplify code a bit.
21714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21715         Use ZK to minimize writes to Z.
21716         (sub_magnitudes): Simplify code a bit.
21717
21718 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21719
21720         * csu/gmon-start.c: Add special exception to license text.
21721
21722 2013-02-27  Richard Henderson  <rth@redhat.com>
21723
21724         * scripts/config.guess: Update from config.git.
21725         * scripts/config.sub: Likewise.
21726
21727 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21728
21729         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21730
21731         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21732
21733         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21734
21735         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21736
21737         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21738
21739 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21740
21741         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21742         [$(build-shared = yes].
21743
21744 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21745
21746         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21747         (__mul): Reduce iterations for calculating mantissa.
21748
21749         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21750         MPTWO.
21751         (__mpranred): Likewise.
21752
21753         [BZ #15160]
21754         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21755         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21756
21757 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21758
21759         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21760         Define __attribute__.
21761
21762 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21763
21764         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21765         unused.
21766         * posix/regex_internal.h (__attribute): Remove.
21767         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21768         (re_string_context_at): Likewise.
21769         (bitset_not): Use __attribute__ and mark function as possibly
21770         unused.
21771         (bitset_merge): Likewise.
21772         (bitset_mask): Likewise.
21773         (re_string_char_size_at): Likewise.
21774         (re_string_wchar_at): Likewise.
21775         (re_string_elem_size_at): Likewise.
21776
21777 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21778
21779         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21780         code.
21781         (cc32): Likewise.
21782
21783         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21784         (__acr): Likewise.
21785         (__cpy): Likewise.
21786         (norm): Likewise.
21787         (denorm): Likewise.
21788         (__dbl_mp): Likewise.
21789         (add_magnitudes): Likewise.
21790         (sub_magnitudes): Likewise.
21791         (__mul): Likewise.
21792         (__inv): Likewise.
21793
21794         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21795         style.
21796
21797         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21798         style.
21799
21800         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21801         code.
21802
21803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21804         up changes with default code.
21805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21806         Likewise.
21807
21808 2013-02-24  Allan McRae  <allan@archlinux.org>
21809
21810         * manual/socket.texi (The Internet Namespace): Order menu items
21811         to match that in the file.
21812
21813         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21814         node listing of the info page menu.
21815
21816 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21817
21818         [BZ #13550]
21819         * sysdeps/i386/bp-asm.h: Remove file.
21820         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21821         (PARMS): Do not use macros from bp-asm.h.
21822         (S1): Likewise.
21823         (S2): Likewise.
21824         (SIZE): Likewise.
21825         (__mpn_add_n): Do not use BP_SYM
21826         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21827         "bp-asm.h".
21828         (PARMS): Do not use macros from bp-asm.h.
21829         (S1): Likewise.
21830         (SIZE): Likewise.
21831         (__mpn_addmul_1): Do not use BP_SYM
21832         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21833         "bp-asm.h".
21834         (PARMS): Do not use macros from bp-asm.h.
21835         (SIGMSK): Likewise.
21836         (_setjmp): Likewise.  Do not use BP_SYM.
21837         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21838         "bp-asm.h".
21839         (PARMS): Do not use macros from bp-asm.h.
21840         (SIGMSK): Likewise.
21841         (setjmp): Likewise.  Do not use BP_SYM.
21842         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21843         "bp-asm.h".
21844         (PARMS): Do not use macros from bp-asm.h.
21845         (__frexp): Do not use BP_SYM.
21846         (frexp): Likewise.
21847         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21848         "bp-asm.h".
21849         (PARMS): Do not use macros from bp-asm.h.
21850         (__frexpf): Do not use BP_SYM.
21851         (frexpf): Likewise.
21852         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21853         "bp-asm.h".
21854         (PARMS): Do not use macros from bp-asm.h.
21855         (__frexpl): Do not use BP_SYM.
21856         (frexpl): Likewise.
21857         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21858         "bp-asm.h".
21859         (PARMS): Do not use macros from bp-asm.h.
21860         (__remquo): Do not use BP_SYM.
21861         (remquo): Likewise.
21862         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21863         "bp-asm.h".
21864         (PARMS): Do not use macros from bp-asm.h.
21865         (__remquof): Do not use BP_SYM.
21866         (remquof): Likewise.
21867         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21868         "bp-asm.h".
21869         (PARMS): Do not use macros from bp-asm.h.
21870         (__remquol): Do not use BP_SYM.
21871         (remquol): Likewise.
21872         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21873         "bp-asm.h".
21874         (PARMS): Do not use macros from bp-asm.h.
21875         (DEST): Likewise.
21876         (SRC): Likewise.
21877         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21878         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21879         "bp-asm.h".
21880         (PARMS): Do not use macros from bp-asm.h.
21881         (strlen): Do not use BP_SYM.
21882         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21883         "bp-asm.h".
21884         (PARMS): Do not use macros from bp-asm.h.
21885         (S1): Likewise.
21886         (S2): Likewise.
21887         (SIZE): Likewise.
21888         (__mpn_add_n): Do not use BP_SYM.
21889         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21890         "bp-asm.h".
21891         (PARMS): Do not use macros from bp-asm.h.
21892         (S1): Likewise.
21893         (SIZE): Likewise.
21894         (__mpn_addmul_1): Do not use BP_SYM.
21895         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21896         weak_alias.
21897         (bzero): Likewise.
21898         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21899         "bp-asm.h".
21900         (PARMS): Do not use macros from bp-asm.h.
21901         (S): Likewise.
21902         (SIZE): Likewise.
21903         (__mpn_lshift): Do not use BP_SYM.
21904         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21905         "bp-asm.h".
21906         (PARMS): Do not use macros from bp-asm.h.
21907         (DEST): Likewise.
21908         (SRC): Likewise.
21909         (LEN): Likewise.
21910         (memcpy): Likewise.  Do not use BP_SYM.
21911         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21912         libc_hidden_def and weak_alias.
21913         (mempcpy): Do not use BP_SYM in weak_alias.
21914         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21915         "bp-asm.h".
21916         (PARMS): Do not use macros from bp-asm.h.
21917         (DEST): Likewise.
21918         (LEN): Likewise.
21919         [!BZERO_P] (CHR): Likewise.
21920         (memset): Likewise.  Do not use BP_SYM.
21921         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21922         "bp-asm.h".
21923         (PARMS): Do not use macros from bp-asm.h.
21924         (S1): Likewise.
21925         (SIZE): Likewise.
21926         (__mpn_mul_1): Do not use BP_SYM.
21927         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21928         "bp-asm.h".
21929         (PARMS): Do not use macros from bp-asm.h.
21930         (S): Likewise.
21931         (SIZE): Likewise.
21932         (__mpn_rshift): Do not use BP_SYM.
21933         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21934         "bp-asm.h".
21935         (PARMS): Do not use macros from bp-asm.h.
21936         (STR): Likewise.
21937         (CHR): Likewise.
21938         (strchr): Likewise.  Do not use BP_SYM.
21939         (index): Do not use BP_SYM in weak_alias.
21940         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21941         "bp-asm.h".
21942         (PARMS): Do not use macros from bp-asm.h.
21943         (DEST): Likewise.
21944         (SRC): Likewise.
21945         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21946         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21947         "bp-asm.h".
21948         (PARMS): Do not use macros from bp-asm.h.
21949         (strlen): Do not use BP_SYM.
21950         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21951         "bp-asm.h".
21952         (PARMS): Do not use macros from bp-asm.h.
21953         (S1): Likewise.
21954         (S2): Likewise.
21955         (SIZE): Likewise.
21956         (__mpn_sub_n): Do not use BP_SYM.
21957         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21958         "bp-asm.h".
21959         (PARMS): Do not use macros from bp-asm.h.
21960         (S1): Likewise.
21961         (SIZE): Likewise.
21962         (__mpn_submul_1): Do not use BP_SYM.
21963         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21964         "bp-asm.h".
21965         (PARMS): Do not use macros from bp-asm.h.
21966         (S1): Likewise.
21967         (S2): Likewise.
21968         (SIZE): Likewise.
21969         (__mpn_add_n): Do not use BP_SYM.
21970         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21971         weak_alias.
21972         (bzero): Likewise.
21973         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21974         "bp-asm.h".
21975         (PARMS): Do not use macros from bp-asm.h.
21976         (BLK2): Likewise.
21977         (LEN): Likewise.
21978         (memcmp): Do not use BP_SYM.
21979         (bcmp): Do not use BP_SYM in weak_alias.
21980         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21981         "bp-asm.h".
21982         (PARMS): Do not use macros from bp-asm.h.
21983         (DEST): Likewise.
21984         (SRC): Likewise.
21985         (LEN): Likewise.
21986         (memcpy): Likewise.  Do not use BP_SYM.
21987         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21988         "bp-asm.h".
21989         (PARMS): Do not use macros from bp-asm.h.
21990         (DEST): Likewise.
21991         (SRC): Likewise.
21992         (LEN): Likewise.
21993         (memmove): Likewise.  Do not use BP_SYM.
21994         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21995         "bp-asm.h".
21996         (PARMS): Do not use macros from bp-asm.h.
21997         (DEST): Likewise.
21998         (SRC): Likewise.
21999         (LEN): Likewise.
22000         (__mempcpy): Likewise.  Do not use BP_SYM.
22001         (mempcpy): Do not use BP_SYM in weak_alias.
22002         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22003         "bp-asm.h".
22004         (PARMS): Do not use macros from bp-asm.h.
22005         (DEST): Likewise.
22006         (LEN): Likewise.
22007         [!BZERO_P] (CHR): Likewise.
22008         (memset): Likewise.  Do not use BP_SYM.
22009         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22010         "bp-asm.h".
22011         (PARMS): Do not use macros from bp-asm.h.
22012         (STR2): Likewise.
22013         (strcmp): Do not use BP_SYM.
22014         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22015         "bp-asm.h".
22016         (PARMS): Do not use macros from bp-asm.h.
22017         (STR): Likewise.
22018         (DELIM): Likewise.
22019         [USE_AS_STRTOK_R] (SAVE): Likewise.
22020         (FUNCTION): Likewise.  Do not use BP_SYM.
22021         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22022         aliases.
22023         (strtok_r): Likewise.
22024         (__GI___strtok_r): Likewise.
22025         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22026         (PARMS): Do not use macros from bp-asm.h.
22027         (S): Likewise.
22028         (SIZE): Likewise.
22029         (__mpn_lshift): Do not use BP_SYM.
22030         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22031         (PARMS): Do not use macros from bp-asm.h.
22032         (STR): Likewise.
22033         (CHR): Likewise.
22034         (__memchr): Do not use BP_SYM.
22035         (memchr): Do not use BP_SYM in weak_alias.
22036         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22037         (PARMS): Do not use macros from bp-asm.h.
22038         (BLK2): Likewise.
22039         (LEN): Likewise.
22040         (memcmp): Do not use BP_SYM.
22041         (bcmp): Do not use BP_SYM in weak_alias.
22042         * sysdeps/i386/mul_1.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         (SIZE): Likewise.
22046         (__mpn_mul_1): Do not use BP_SYM.
22047         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22048         "bp-asm.h".
22049         (PARMS): Do not use macros from bp-asm.h.
22050         (STR): Likewise.
22051         (CHR): Likewise.
22052         (__rawmemchr): Do not use BP_SYM.
22053         (rawmemchr): Do not use BP_SYM in weak_alias.
22054         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22055         (PARMS): Do not use macros from bp-asm.h.
22056         (S): Likewise.
22057         (SIZE): Likewise.
22058         (__mpn_rshift): Do not use BP_SYM.
22059         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22060         (PARMS): Do not use macros from bp-asm.h.
22061         (SIGMSK): Likewise.
22062         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22063         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22064         (_start): Do not use BP_SYM.
22065         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22066         (PARMS): Do not use macros from bp-asm.h.
22067         (DEST): Likewise.
22068         (SRC): Likewise.
22069         (__stpcpy): Likewise.  Do not use BP_SYM.
22070         (stpcpy): Do not use BP_SYM in weak_alias.
22071         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22072         "bp-asm.h".
22073         (PARMS): Do not use macros from bp-asm.h.
22074         (DEST): Likewise.
22075         (SRC): Likewise.
22076         (LEN): Likewise.
22077         (__stpncpy): Likewise.  Do not use BP_SYM.
22078         (stpncpy): Do not use BP_SYM in weak_alias.
22079         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22080         (PARMS): Do not use macros from bp-asm.h.
22081         (STR): Likewise.
22082         (CHR): Likewise.
22083         (strchr): Likewise.  Do not use BP_SYM.
22084         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22085         "bp-asm.h".
22086         (PARMS): Do not use macros from bp-asm.h.
22087         (STR): Likewise.
22088         (CHR): Likewise.
22089         (__strchrnul): Likewise.  Do not use BP_SYM.
22090         (strchrnul): Do not use BP_SYM in weak_alias.
22091         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22092         "bp-asm.h".
22093         (PARMS): Do not use macros from bp-asm.h.
22094         (STOP): Likewise.
22095         (strcspn): Do not use BP_SYM.
22096         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22097         "bp-asm.h".
22098         (PARMS): Do not use macros from bp-asm.h.
22099         (STR): Likewise.
22100         (STOP): Likewise.
22101         (strpbrk): Likewise.  Do not use BP_SYM.
22102         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22103         "bp-asm.h".
22104         (PARMS): Do not use macros from bp-asm.h.
22105         (STR): Likewise.
22106         (CHR): Likewise.
22107         (strrchr): Likewise.  Do not use BP_SYM.
22108         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22109         (PARMS): Do not use macros from bp-asm.h.
22110         (SKIP): Likewise.
22111         (strspn): Do not use BP_SYM.
22112         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22113         (PARMS): Do not use macros from bp-asm.h.
22114         (STR): Likewise.
22115         (DELIM): Likewise.
22116         (SAVE): Likewise.
22117         (FUNCTION): Likewise.  Do not use BP_SYM.
22118         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22119         aliases.
22120         (strtok_r): Likewise.
22121         (__GI___strtok_r): Likewise.
22122         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22123         (PARMS): Do not use macros from bp-asm.h.
22124         (S1): Likewise.
22125         (S2): Likewise.
22126         (SIZE): Likewise.
22127         (__mpn_sub_n): Do not use BP_SYM.
22128         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22129         "bp-asm.h".
22130         (PARMS): Do not use macros from bp-asm.h.
22131         (S1): Likewise.
22132         (SIZE): Likewise.
22133         (__mpn_submul_1): Do not use BP_SYM.
22134         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22135         <bp-sym.h>.
22136         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22137         and <bp-asm.h>.
22138         (PARMS): Do not use macros from bp-asm.h.
22139         (FLAGS): Likewise.
22140         (PTID): Likewise.
22141         (TLS): Likewise.
22142         (CTID): Likewise.
22143         (__clone): Do not use BP_SYM.
22144         (clone): Do not use BP_SYM in weak_alias.
22145         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22146         and <bp-asm.h>.
22147         (PARMS): Do not use macros from bp-asm.h.
22148         (LEN): Likewise.
22149         (__mmap64): Do not use BP_SYM.
22150         (mmap64): Do not use BP_SYM in weak_alias.
22151         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22152         <bp-sym.h> and <bp-asm.h>.
22153         (PARMS): Do not use macros from bp-asm.h.
22154         (__posix_fadvise64_l64): Do not use BP_SYM.
22155         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22156         (PARMS): Do not use macros from bp-asm.h.
22157         (NSOPS): Likewise.
22158         (semtimedop): Do not use BP_SYM.
22159         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22160         and <bp-asm.h>.
22161
22162 2013-02-21  Allan McRae  <allan@archlinux.org>
22163
22164         * manual/message.texi (Charset conversion in gettext):
22165         Move @end statement to beginning of line.
22166
22167 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22168
22169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22170         static.
22171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22172         Likewise.
22173
22174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22175         (denorm): Likewise.
22176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22178
22179 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22180
22181         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22182         tail-call to the resolved function if pltexit isn't needed.
22183
22184 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22185
22186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22187         or Y being zero as being unlikely.
22188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22189         Likewise.
22190
22191 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22192
22193         * manual/nss.texi (System Databases and Name Service Switch):
22194         Remove frobnicate @pxref.
22195
22196 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22197
22198         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22199         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22200
22201 2013-02-20  Petr Machata  <pmachata@redhat.com>
22202
22203         * elf/elf.h (R_ARM_TARGET1): New macro.
22204         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22205         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22206         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22207         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22208         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22209         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22210         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22211         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22212         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22213         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22214         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22215         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22216         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22217         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22218         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22219         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22220         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22221         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22222         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22223         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22224         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22225         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22226         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22227         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22228         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22229         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22230         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22231         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22232         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22233         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22234         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22235         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22236         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22237         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22238         (R_ARM_THM_GOT_BREL12): Likewise.
22239         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22240         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22241         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22242         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22243         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22244         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22245         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22246         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22247         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22248
22249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22250
22251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22252         __attribute_used__ to __attribute__ ((unused)).
22253
22254 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22255
22256         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22257         powerpc mpa.c.
22258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22259         comment formatting.
22260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22261
22262 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22263
22264         [BZ #13550]
22265         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22266         Remove macro.
22267         (ENTER): Remove both macro definitions.
22268         (LEAVE): Likewise.
22269         (CHECK_BOUNDS_LOW): Likewise.
22270         (CHECK_BOUNDS_HIGH): Likewise.
22271         (CHECK_BOUNDS_BOTH): Likewise.
22272         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22273         (RETURN_BOUNDED_POINTER): Likewise.
22274         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22275         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22276         (POP_ERRNO_LOCATION_RETURN): Likewise.
22277         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22278         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22279         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22280         macros.
22281         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22282         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22283         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22284         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22285         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22286         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22287         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22288         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22289         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22290         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22291         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22292         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22293         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22294         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22295         removed macros.
22296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22297         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22298         macros.
22299         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22300         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22301         * sysdeps/i386/i586/memset.S (memset): Likewise.
22302         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22303         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22304         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22305         macros.
22306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22307         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22308         Change uses of L(2) to L(out).
22309         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22310         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22311         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22312         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22313         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22314         removed macros.
22315         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22316         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22317         macros.
22318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22319         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22320         (RETURN): Do not use macro LEAVE.
22321         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22322         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22323         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22324         * sysdeps/i386/i686/memset.S (memset): Likewise.
22325         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22326         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22328         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22329         Likewise.
22330         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22331         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22332         L(1_2) and L(1_3) into L(1).
22333         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22334         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22335         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22336         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22337         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22338         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22339         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22340         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22341         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22342         macros.
22343         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22345         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22346         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22347         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22348         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22349         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22350         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22351         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22352         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22353         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22354         * sysdeps/i386/strspn.S (strspn): Likewise.
22355         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22356         conditional code.
22357         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22358         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22359         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22360         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22361         L(1_3) into L(1_1).
22362         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22363         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22364         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22365         macros.
22366         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22367
22368 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22369
22370         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22371         macro.
22372
22373 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22374
22375         * math/atest-exp.c (exp_mpn): Remove ROUND.
22376         * math/atest-exp2.c (exp_mpn): Likewise.
22377         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22378
22379         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22380         * stdlib/tst-tls-atexit-lib.c: Likewise.
22381         * stdlib/tst-tls-atexit.c: Likewise.
22382
22383 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22384
22385         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22386         and __attribute_alloc_size__.
22387
22388 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22389
22390         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22391         __attribute_alloc_size__.
22392         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22393         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22394
22395 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22396
22397         * include/programs/xmalloc.h: New file.
22398         * catgets/gencat.c: Include it.
22399         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22400         * elf/pldd.c: Likewise.
22401         * iconv/iconv_charmap.c: Likewise.
22402         * iconv/iconvconfig.c: Likewise.
22403         * iconv/strtab.c: Likewise.
22404         * locale/programs/locale.c: Likewise.
22405         * locale/programs/localedef.h: Likewise.
22406         * locale/programs/simple-hash.c: Likewise.
22407         * nscd/nscd.h: Likewise.
22408         * nss/makedb.c: Likewise.
22409         * sysdeps/generic/ldconfig.h: Likewise.
22410
22411 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22412
22413         * Versions.def: Add GLIBC_2.18.
22414         * include/link.h (struct link_map): New member l_tls_dtor_count.
22415         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22416         (__call_tls_dtors): Likewise.
22417         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22418         __cxa_thread_atexit_impl.
22419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22420         Likewise.
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22424         Likewise.
22425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22429         Likewise.
22430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22431         Likewise.
22432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22434         Likewise.
22435         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22436         (tests): Add test case tst-tls-atexit.
22437         (modules-names): Add shared library for tst-tls-atexit.
22438         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22439         (GLIBC_PRIVATE): Add __call_tls_dtors.
22440         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22441         for libstdc++.
22442         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22443         * stdlib/tst-tls-atexit.c: New test case.
22444         * stdlib/tst-tls-atexit-lib.c: New test case.
22445
22446         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22447
22448         * elf/Versions (ld): Add _dl_find_dso_for_object.
22449         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22450         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22451         (dl_open_worker): Use _dl_find_dso_for_object.
22452         * elf/dl-sym.c (do_sym): Likewise.
22453         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22454
22455 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22456
22457         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22458         Syntactic changes only.
22459         (_dl_runtime_profile): Do a tail-call to the resolved function.
22460
22461 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22462
22463         [BZ #13550]
22464         * sysdeps/x86_64/bp-asm.h: Remove file.
22465         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22466         <bp-sym.h> and <bp-asm.h>.
22467         (__clone): Do not use BP_SYM.
22468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22469         <bp-sym.h> and <bp-asm.h>.
22470         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22471         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22472         "bp-asm.h".
22473         (_setjmp): Do not use BP_SYM.
22474         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22475         "bp-asm.h".
22476         (setjmp): Do not use BP_SYM.
22477         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22478         libc_hidden_def.
22479         (mempcpy): Do not use BP_SYM in weak_alias.
22480         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22481         "bp-asm.h".
22482         (strchr): Do not use BP_SYM.
22483         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22484         "bp-asm.h".
22485         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22486         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22487         (_start): Do not use BP_SYM.
22488         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22489         "bp-asm.h".
22490         (strcat): Do not use BP_SYM.
22491         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22492         "bp-asm.h".
22493         (STRCMP): Do not use BP_SYM.
22494         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22495         "bp-asm.h".
22496         (STRCPY): Do not use BP_SYM.
22497         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22498         "bp-asm.h".
22499         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22500         "bp-asm.h".
22501         (FUNCTION): Do not use BP_SYM.
22502         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22503         weak_alias.
22504         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22505
22506 2013-02-17  Andreas Jaeger  <aj@suse.de>
22507
22508         * time/Versions: Sort entries.
22509         * string/Versions: Likewise.
22510         * resolv/Versions: Likewise.
22511         * posix/Versions: Likewise.
22512         * iconv/Versions: Likewise.
22513         * elf/Versions: Likewise.
22514         * wcsmbs/Versions: Likewise.
22515
22516 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22517
22518         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22519         loop termination condition.
22520
22521         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22522         variable to calculate EZ.
22523         (__sqr): Likewise.
22524
22525         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22526         the lower precision input.
22527
22528 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22529
22530         [BZ #13550]
22531         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22532         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22533         (run-via-rtld-prefix): Do not handle %-bp tests.
22534         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22535         (all-object-suffixes): Remove .ob.
22536         (bppfx): Remove variable.
22537         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22538         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22539         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22540         [$(build-bounded) = yes] (libtype.ob): Likewise.
22541         * Makerules (elide-routines.ob): Remove variable.
22542         (do-tests-clean): Do not handle *-bp.out.
22543         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22544         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22545         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22546         (tests): Do not include $(tests-bp.out).
22547         (xtests): Do not include $(xtests-bp.out).
22548         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22549         [$(build-bounded) = yes] ($(addprefix
22550         $(objpfx),$(binaries-bounded))): Remove rule.
22551         ($(objpfx)%-bp.out): Remove rule.
22552         * config.make.in (build-bounded): Remove variable.
22553         * crypt/Makefile [$(build-bounded) = yes]
22554         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22555         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22556         append to variable.
22557         [$(build-bounded) = yes] (install-lib): Likewise.
22558         [$(build-bounded) = yes] (generated): Likewise.
22559         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22560         Remove rule.
22561         * intl/Makefile [$(build-bounded) = yes]
22562         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22563         * math/Makefile [$(build-bounded) = yes]
22564         ($(tests:%=$(objpfx)%-bp): Likewise.
22565         * misc/Makefile [$(build-bounded) = yes]
22566         ($(objpfx)tst-tsearch-bp): Likewise.
22567         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22568         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22569         Remove dependency.
22570         * string/Makefile (o-objects.ob): Remove variable.
22571         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22572         (CFLAGS-.ob): Remove variable.
22573         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22574         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22575         both definitions of variable.
22576         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22577         (ASFLAGS-.ob): Remove variable.
22578
22579 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22580
22581         [BZ #13550]
22582         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22583         Remove __BOUNDED_POINTERS__ from condition.
22584         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22585         * string/bits/string2.h [!__NO_STRING_INLINES &&
22586         !__BOUNDED_POINTERS__]: Likewise.
22587         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22588         Likewise.
22589         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22590         Remove conditional code.
22591         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22592         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22593         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22594         condition.
22595
22596         [BZ #13550]
22597         * csu/libc-start.c: Do not include <bp-sym.h>.
22598         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22599         * elf/dl-open.c: Do not include <bp-sym.h>.
22600         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22601         * math/fegetenv.c: Do not include <bp-sym.h>.
22602         (fegetenv): Do not use BP_SYM in versioned symbols.
22603         * nptl/sysdeps/pthread/bits/libc-lockP.h
22604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22605         <bp-sym.h>.
22606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22607         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22609         (__pthread_mutex_destroy): Likewise.
22610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22611         (__pthread_mutex_lock): Likewise.
22612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22613         (__pthread_mutex_trylock): Likewise.
22614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22615         (__pthread_mutex_unlock): Likewise.
22616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22617         (__pthread_mutexattr_init): Likewise.
22618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22619         (__pthread_mutexattr_destroy): Likewise.
22620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22621         (__pthread_mutexattr_settype): Likewise.
22622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22623         (__pthread_rwlock_init): Likewise.
22624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22625         (__pthread_rwlock_destroy): Likewise.
22626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22627         (__pthread_rwlock_rdlock): Likewise.
22628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22629         (__pthread_rwlock_tryrdlock): Likewise.
22630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22631         (__pthread_rwlock_wrlock): Likewise.
22632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22633         (__pthread_rwlock_trywrlock): Likewise.
22634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22635         (__pthread_rwlock_unlock): Likewise.
22636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22637         (__pthread_key_create): Likewise.
22638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22639         (__pthread_setspecific): Likewise.
22640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22641         (__pthread_getspecific): Likewise.
22642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22643         Likewise.
22644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22645         (_pthread_cleanup_push_defer): Likewise.
22646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22647         (_pthread_cleanup_pop_restore): Likewise.
22648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22649         (pthread_setcancelstate): Likewise.
22650         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22651         <bp-sym.h>.
22652         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22653         (memchr): Do not use BP_SYM in weak_alias.
22654         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22655         (fegetenv): Do not use BP_SYM in versioned symbols.
22656         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22657         (fesetenv): Do not use BP_SYM in versioned symbols.
22658         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22659         (feupdateenv): Do not use BP_SYM in versioned symbols.
22660         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22661         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22662         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22663         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22664         (open64): Do not use BP_SYM in weak_alias.
22665         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22666         (fegetenv): Do not use BP_SYM in versioned symbols.
22667         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22668         (fesetenv): Do not use BP_SYM in versioned symbols.
22669         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22670         (feupdateenv): Do not use BP_SYM in versioned symbols.
22671         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22672         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22673         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22674         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22675         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22676         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22677         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22678         <bp-sym.h>.
22679         (__libc_start_main): Do not use BP_SYM.
22680
22681 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22682
22683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22684         redundant return line.
22685         (norm): Likewise.
22686         (denorm): Likewise.
22687         (dbl_mp): Likewise.
22688         (sub_magnitudes): Likewise.
22689         (__add): Likewise.
22690         (__sub): Likewise.
22691         (__mul): Likewise.
22692         (__inv): Likewise.
22693         (__dvd): Likewise.
22694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22695         (norm): Likewise.
22696         (denorm): Likewise.
22697         (dbl_mp): Likewise.
22698         (sub_magnitudes): Likewise.
22699         (__add): Likewise.
22700         (__sub): Likewise.
22701         (__mul): Likewise.
22702         (__inv): Likewise.
22703         (__dvd): Likewise.
22704
22705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22706         instead of __mul.
22707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22708         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22709         (cc32): Likewise.
22710
22711         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22712         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22713         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22714         of __mul for squares.
22715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22716         function
22717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22718         Likewise.
22719         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22720         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22721
22722 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22723
22724         [BZ #13550]
22725         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22726         code.
22727         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22728         prototype or function definition.  Rename ubp_* variables and
22729         parameters.  Remove argv definitions conditional on
22730         [__BOUNDED_POINTERS__].
22731         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22732         * elf/dl-runtime.c (_dl_fixup): Likewise.
22733         * include/set-hooks.h (RUN_HOOK): Likewise.
22734         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22735         definition.
22736         * string/strcpy.c (strcpy): Do not use __unbounded.
22737         * sysdeps/generic/frame.h (struct layout): Likewise.
22738         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22739         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22740         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22741         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22742         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22743         (__backtrace): Likewise.
22744         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22745         use __ptrvalue.
22746         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22747         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22748         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22749         Likewise.
22750         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22752         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22753         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22754         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22755         Do not use __unbounded.
22756         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22757         Rename __unboundedrlimits parameter to rlimits in prototype.
22758         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22759         Do not use __unbounded.
22760         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22761         not use __ptrvalue.
22762         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22763         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22764         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22765         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22766         __ptrvalue or __unbounded.
22767         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22768         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22769         use __unbounded.
22770         (__new_msgctl): Do not use __ptrvalue.
22771         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22772         __unbounded.
22773         (__libc_msgrcv): Do not use __ptrvalue.
22774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22775         startup_info): Do not use __unbounded.
22776         (__libc_start_main): Likewise.  Rename ubp_* variables and
22777         parameters.  Remove argv definitions conditional on
22778         [__BOUNDED_POINTERS__].
22779         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22780         __ptrvalue.
22781         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22782         use __unbounded.
22783         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22784         or __ptrvalue.
22785         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22786         use __unbounded.
22787         (__new_shmctl): Do not use __ptrvalue.
22788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22790         Likewise.
22791         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22793         (__libc_sigaction): Likewise.
22794         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22795         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22796         Likewise.
22797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22798
22799 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22800
22801         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22802
22803         * string/mempcpy.c: Implement by calling memcpy.
22804
22805 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22806
22807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22808
22809         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22810         evaluation.
22811
22812         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22813         values in the mantissa.
22814
22815         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22816         minimize writes to Z.
22817         (sub_magnitudes): Simplify code a bit.
22818
22819 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22820
22821         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22822         from the message.  The linker prefixes all warnings with that already.
22823
22824 2013-02-12  Andreas Schwab  <schwab@suse.de>
22825
22826         [BZ #15078]
22827         * posix/regexec.c (extend_buffers): Add parameter min_len.
22828         (check_matching): Pass minimum needed length.
22829         (clean_state_log_if_needed): Likewise.
22830         (get_subexp): Likewise.
22831         * posix/Makefile (tests): Add bug-regex34.
22832         (bug-regex34-ENV): Define.
22833         * posix/bug-regex34.c: New file.
22834
22835         [BZ #11561]
22836         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22837         elements compare against the byte sequence of it, not its name.
22838         * posix/Makefile (tests): Add bug-regex35.
22839         (bug-regex35-ENV): Define.
22840         * posix/bug-regex35.c: New file.
22841
22842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22843
22844         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22845         comment.
22846         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22847         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22848         (CHECK_EOL): Add undef.
22849
22850 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22851
22852         * bits/stdlib-bsearch.h: New file.
22853         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22854         * stdlib/stdlib.h: Likewise.
22855
22856 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22857
22858         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22859         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22860         declaration.
22861         * manual/search.texi (Array Search Function): Add missing const in
22862         lfind prototype.
22863         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22864         declaration to use rlim_t.
22865         (Basic Scheduling Functions): Remove erroneous const from
22866         sched_getparam prototype.  Remove erroneous * from
22867         sched_get_priority_max and sched_get_priority_min prototypes.
22868         (Resource Usage): Fix summary @comment on vtimes to refer to
22869         sys/vtimes.h rather than vtimes.h.
22870         Add missing *s in vtimes prototype.
22871         (Limits on Resources): Fix ulimit prototype to return long int.
22872         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22873         prototypes to use long int rather than double.
22874         (BSD Random): Fix initstate and setstate to use char *, not void *.
22875         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22876         prototype to make second argument 'struct aiocb64 *const[]'.
22877         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22878         (Status of AIO Operations): Remove erroneous const in aio_return and
22879         aio_return64 prototypes.
22880         (Synchronizing I/O): Fix sync prototype to return void.
22881         * manual/startup.texi (Suboptions): Remove an erroneous const in
22882         getsubopt prototype.
22883         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22884         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22885         use size_t rather than int.
22886         (Scanning All Users): Likewise for getpwent_r.
22887         (Setting Groups): Add missing const to setgroups prototype.
22888         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22889         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22890         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22891         'const void *' rather than 'const char *'.
22892         (Host Address Functions): Likewise for inet_ntop.
22893         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22894         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22895         ssize_t for return value.
22896         (Sending Data): Likewise for send, sendto, sendmsg.
22897         (Socket Option Functions): Add a missing const in setsockopt prototype.
22898         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22899         use wchar_t for the argument.
22900         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22901         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22902         take no arguments.
22903         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22904         double/float/long double for second argument.
22905         Fix return types of significand, significandf, significandl.
22906         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22907         argument in fchmod prototype.
22908         (File Owner): Use uid_t and gid_t in fchown prototype.
22909         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22910         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22911         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22912         use 'const struct dirent **' as argument types to CMP function pointer
22913         argument.
22914         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22915         (File Times): Fix summary magic @comment for struct utimbuf and utime
22916         to refer to utime.h, not time.h.
22917         * manual/string.texi (Argz Functions): Add missing const in
22918         argz_extract and argz_next prototypes.
22919         (Finding Tokens in a String): Likewise for basename.
22920         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22921         (Copying and Concatenation): Fix typo in wmemmove prototype.
22922         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22923         (Signal Stack): Remove erroneous const in sigstack prototype.
22924         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22925         prototype.
22926         (Simple Calendar Time): Likewise for stime.
22927         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22928         prototype.
22929         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22930         say sys/sysctl.h instead.
22931         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22932         and vsyslog prototypes.
22933
22934 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22935
22936         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22937         Remove.
22938
22939 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22940
22941         * misc/sys/mman.h: Fix typo in mremap comment.
22942
22943 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22944
22945         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22946         the '\0' terminator.
22947
22948 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22949
22950         [BZ #13550]
22951         * debug/segfault.c: Don't include <bp-checks.h>.
22952         * sysdeps/generic/bp-checks.h: Remove file.
22953         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22954         (__GETDENTS): Don't use CHECK_N.
22955         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22956         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22957         (__getgroups): Don't use CHECK_N.
22958         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22959         (setgroups): Don't use CHECK_N.
22960         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22961         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22962         (__libc_msgrcv): Don't use CHECK_N.
22963         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22964         (__libc_msgsnd): Don't use CHECK_N.
22965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22966         <bp-checks.h>.
22967         (__libc_pread): Don't use CHECK_N.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22969         include <bp-checks.h>.
22970         (__libc_pread64): Don't use CHECK_N.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22972         include <bp-checks.h>.
22973         (__libc_pwrite): Don't use CHECK_N.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22975         include <bp-checks.h>.
22976         (__libc_pwrite64): Don't use CHECK_N.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22978         <bp-checks.h>.
22979         (__libc_pread): Don't use CHECK_N.
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22981         include <bp-checks.h>.
22982         (__libc_pread64): Don't use CHECK_N.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22984         include <bp-checks.h>.
22985         (__libc_pwrite): Don't use CHECK_N.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22987         include <bp-checks.h>.
22988         (__libc_pwrite64): Don't use CHECK_N.
22989         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22990         (do_pread): Don't use CHECK_N.
22991         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22992         (do_pread64): Don't use CHECK_N.
22993         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22994         (do_pwrite): Don't use CHECK_N.
22995         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22996         (do_pwrite64): Don't use CHECK_N.
22997         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22998         (__libc_readv): Don't use CHECK_N.
22999         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23000         (semop): Don't use CHECK_N.
23001         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23002         <bp-checks.h>.
23003         (semtimedop): Don't use CHECK_N.
23004         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23005         (__libc_pread): Don't use CHECK_N.
23006         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23007         <bp-checks.h>.
23008         (__libc_pread64): Don't use CHECK_N.
23009         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23010         <bp-checks.h>.
23011         (__libc_pwrite): Don't use CHECK_N.
23012         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23013         <bp-checks.h>.
23014         (__libc_pwrite64): Don't use CHECK_N.
23015         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23016         <bp-checks.h>.
23017         (__libc_msgrcv): Don't use CHECK_N.
23018         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23019         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23020         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23021         (__libc_writev): Don't use CHECK_N.
23022
23023 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23024
23025         * string/strcpy.c: Removed unused variable.
23026
23027         * Makeconfig (+sysdep-includes): Define with := rather than =.
23028         Use an existing include/ subdir of each sysdeps dir before it.
23029
23030 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23031
23032         * nscd/connection.c (register_traced_file): Comment function.
23033         [HAVE_INOTIFY] (union __inev): Define.
23034         [HAVE_INOTIFY] (inotify_check_files): New function.
23035         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23036         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23037         clear_db_cache.
23038         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23039
23040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23041
23042         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23043         loaded if not already and that a failure is permanent.
23044
23045 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23046
23047         [BZ #15006]
23048         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23049         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23050
23051 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23052
23053         [BZ #13550]
23054         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23055         (CHECK_1_NULL_OK): Likewise.
23056         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23057         (__fxstat): Do not use CHECK_1.
23058         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23059         <bp-checks.h>.
23060         (___fxstat64): Do not use CHECK_1.
23061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23062         <bp-checks.h>.
23063         (__fxstatat): Do not use CHECK_1.
23064         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23065         <bp-checks.h>.
23066         (__fxstatat64): Do not use CHECK_1.
23067         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23068         <bp-checks.h>.
23069         (__fxstat): Do not use CHECK_1.
23070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23071         <bp-checks.h>.
23072         (__fxstatat): Do not use CHECK_1.
23073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23074         <bp-checks.h>.
23075         (__getresgid): Do not use CHECK_1.
23076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23077         <bp-checks.h>.
23078         (__getresuid): Do not use CHECK_1.
23079         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23080         <bp-checks.h>.
23081         (__lxstat): Do not use CHECK_1.
23082         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23083         <bp-checks.h>.
23084         (__old_msgctl): Do not use CHECK_1.
23085         (__new_msgctl): Likewise.
23086         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23087         <bp-checks.h>.
23088         (__new_setrlimit): Do not use CHECK_1.
23089         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23090         <bp-checks.h>.
23091         (__old_shmctl): Do not use CHECK_1.
23092         (__new_shmctl): Likewise.
23093         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23094         <bp-checks.h>.
23095         (__xstat): Do not use CHECK_1.
23096         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23097         (__lxstat): Do not use CHECK_1.
23098         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23099         <bp-checks.h>.
23100         (___lxstat64): Do not use CHECK_1.
23101         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23102         (__old_msgctl): Do not use CHECK_1.
23103         (__new_msgctl): Likewise.
23104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23105         <bp-checks.h>.
23106         (__gettimeofday): Do not use CHECK_1.
23107         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23108         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23109         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23110         <bp-checks.h>.
23111         (__gettimeofday): Do not use CHECK_1.
23112         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23113         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23114         (__new_shmctl): Do not use CHECK_1.
23115         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23116         <bp-checks.h>.
23117         (do_sigtimedwait): Do not use CHECK_1.
23118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23119         <bp-checks.h>.
23120         (do_sigwaitinfo): Do not use CHECK_1.
23121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23122         <bp-checks.h>.
23123         (msgctl): Do not use CHECK_1.
23124         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23125         <bp-checks.h>.
23126         (shmctl): Do not use CHECK_1.
23127         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23128         (ustat): Do not use CHECK_1.
23129         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23130         <bp-checks.h>.
23131         (__fxstat): Do not use CHECK_1.
23132         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23133         <bp-checks.h>.
23134         (__fxstatat): Do not use CHECK_1.
23135         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23136         <bp-checks.h>.
23137         (__lxstat): Do not use CHECK_1.
23138         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23139         <bp-checks.h>.
23140         (__xstat): Do not use CHECK_1.
23141         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23142         (__xstat): Do not use CHECK_1.
23143         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23144         (___xstat64): Do not use CHECK_1.
23145
23146         [BZ #13550]
23147         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23148         definitions.
23149         (CHECK_BOUNDS_HIGH): Likewise.
23150         * string/strcpy.c: Do not include <bp-checks.h>.
23151         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23152
23153 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23154
23155         * nscd/nscd-client.h (__nscd_drop_map_ref):
23156         Add __attribute__ ((unused)).
23157         * nis/nss-nisplus.h (niserr2nss): Likewise.
23158
23159         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23160         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23161
23162         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23163         Remove inline keyword.
23164         * include/rounding-mode.h (round_away): Likewise.
23165         * libio/wfileops.c (adjust_wide_data): Likewise.
23166         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23167         (__m128i_strloadu_tolower): Likewise.
23168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23169         (__m128i_strloadu_tolower): Likewise.
23170         * time/mktime.c (ydhms_diff): Likewise.
23171         * locale/elem-hash.h (elem_hash): Likewise.
23172         * locale/setlocale.c (setdata): Likewise.
23173         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23174         (re_string_wchar_at): Likewise.
23175         (bitset_not, bitset_merge, bitset_mask): Likewise.
23176         [!(__GNUC__ > 3)] (inline): Remove macro.
23177         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23178         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23179         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23180         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23181         * string/memcmp.c (memcmp_bytes): Likewise.
23182         * locale/programs/locarchive.c (compute_hashval): Likewise.
23183         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23184         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23185         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23186         * nss/getent.c (print_rpc, print_protocols): Likewise.
23187         (print_passwd, print_group, print_aliases): Likewise.
23188         * nis/nss-nisplus.h (niserr2nss): Likewise.
23189         * nscd/connections.c (restart_p): Likewise.
23190         Change return type to bool.
23191
23192 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23193
23194         * Makeconfig (all-Depend-files): Add existing
23195         $(sorted-subdirs:=/Depend) files.
23196         (all-subdirs): Remove nss.
23197         * sysdeps/unix/inet/Subdirs: Add it here instead.
23198         * hesiod/Depend: New file.
23199
23200         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23201         instead of calling alloca.
23202
23203         * io/lseek.c (__lseek): Rename to __libc_lseek.
23204         Define __lseek as an alias.
23205
23206         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23207
23208 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23209
23210         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23211         else clause and remove check for non-standard endianness.
23212
23213 2013-02-04  David S. Miller  <davem@davemloft.net>
23214
23215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23216
23217 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23218
23219         [BZ #13550]
23220         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23221         (__ubp_memchr): Remove prototype.
23222         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23223         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23224         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23225         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23226         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23227         Remove alias.
23228         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23229         (__ubp_memchr): Likewise.
23230         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23231         (__ubp_memchr): Likewise.
23232         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23233         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23234         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23236         CHECK_STRING.
23237         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23238         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23239         (__getcwd): Do not use CHECK_STRING.
23240         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23241         <bp-checks.h>.
23242         (__real_chown): Do not use CHECK_STRING.
23243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23244         <bp-checks.h>.
23245         (fchownat): Do not use CHECK_STRING.
23246         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23247         CHECK_STRING.
23248         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23249         <bp-checks.h>.
23250         (__lchown): Do not use CHECK_STRING.
23251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23252         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23253         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23254         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23256         include <bp-checks.h>.
23257         (truncate64): Do not use CHECK_STRING.
23258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23259         <bp-checks.h>.
23260         (__real_chown): Do not use CHECK_STRING.
23261         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23262         <bp-checks.h>.
23263         (__lchown): Do not use CHECK_STRING.
23264         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23265         <bp-checks.h>.
23266         (__chown): Do not use CHECK_STRING.
23267         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23268         <bp-checks.h>.
23269         (truncate64): Do not use CHECK_STRING.
23270         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23273         (__xmknod): Do not use CHECK_STRING.
23274         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23275         <bp-checks.h>.
23276         (__xmknodat): Do not use CHECK_STRING.
23277         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23278         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23279
23280 2013-02-04  Andreas Schwab  <schwab@suse.de>
23281
23282         [BZ #14142]
23283         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23284         * include/netdb.h: Likewise for h_errno.
23285         * elf/tst-stackguard1.c: Include <tls.h>.
23286
23287 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23288
23289         * elf/link.h (struct link_map): Extend the l_addr comment.
23290         * include/link.h (struct link_map): Likewise.
23291
23292 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23293
23294         [BZ #13550]
23295         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23296         (BOUNDED_1): Remove macro.
23297         * debug/backtrace.c: Don't include <bp-checks.h>.
23298         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23299         (__backtrace): Likewise.
23300         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23301         <bp-checks.h>.
23302         (__backtrace): Don't use BOUNDED_1.
23303         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23304         <bp-checks.h>.
23305         (__backtrace): Don't use BOUNDED_1.
23306         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23307         (__backtrace): Don't use BOUNDED_1.
23308         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23309         (shmat): Don't use BOUNDED_N.
23310
23311 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23312
23313         [BZ #13550]
23314         * sysdeps/generic/bp-start.h: Remove file.
23315         * csu/libc-start.c: Don't include <bp-start.h>.
23316         (LIBC_START_MAIN): Set up __environ directly instead of using
23317         INIT_ARGV_and_ENVIRON.
23318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23319         <bp-start.h>.
23320
23321         [BZ #13550]
23322         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23323         definitions.
23324         (CHECK_FCNTL): Likewise.
23325         (CHECK_N_PAGES): Likewise.
23326
23327         [BZ #13550]
23328         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23329         definitions.
23330         (CHECK_SIGSET_NULL_OK): Likewise.
23331         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23332         <bp-checks.h>.
23333         (sigpending): Don't use CHECK_SIGSET.
23334         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23335         <bp-checks.h>.
23336         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23337         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23338         <bp-checks.h>.
23339         (do_sigsuspend): Don't use CHECK_SIGSET.
23340         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23341         use CHECK_SIGSET.
23342         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23343         (do_sigwait): Don't use CHECK_SIGSET.
23344         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23345         use CHECK_SIGSET.
23346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23347         include <bp-checks.h>.
23348         (sigpending): Don't use CHECK_SIGSET.
23349         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23350         include <bp-checks.h>.
23351         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23352         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23353         <bp-checks.h>.
23354         (sigpending): Don't use CHECK_SIGSET.
23355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23356         <bp-checks.h>.
23357         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23358
23359         [BZ #13550]
23360         * sysdeps/generic/bp-semctl.h: Remove file.
23361         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23362         <bp-checks.h> and <bp-semctl.h>.
23363         (__old_semctl): Don't use CHECK_SEMCTL.
23364         (__new_semctl): Likewise.
23365         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23366         and <bp-semctl.h>.
23367         (__old_semctl): Don't use CHECK_SEMCTL.
23368         (__new_semctl): Likewise.
23369         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23370         <bp-checks.h> and <bp-semctl.h>.
23371         (__old_semctl): Don't use CHECK_SEMCTL.
23372         (__new_semctl): Likewise.
23373         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23374         <bp-checks.h> and <bp-semctl.h>.
23375         (semctl): Don't use CHECK_SEMCTL.
23376
23377         [BZ #13550]
23378         * Makerules (elide-bp-thunks): Remove variable.
23379         (elide-routines.oS): Don't use $(elide-bp-thunks).
23380         (elide-routines.os): Likewise.
23381         (elide-routines.o): Likewise.
23382         (elide-routines.op): Likewise.
23383         (elide-routines.og): Likewise.
23384         (objects): Don't use $(bp-thunks).
23385         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23386         include.
23387         (common-generated): Do not add s-proto-bp.d.
23388         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23389         (int): Likewise.
23390         (typ): Likewise.
23391         Do not generate makefile rules for bounded-pointer thunks.
23392         * sysdeps/generic/bp-thunks.h: Remove file.
23393         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23394         * sysdeps/unix/s-proto-bp.S: Likewise.
23395
23396         [BZ #15062]
23397         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23398         parts of result separately when argument is not close to line from
23399         -i to i and one part of argument is small.
23400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23402         * math/libm-test.inc (cacos_test): Add more tests.
23403         (casin_test): Likewise.
23404         (casinh_test): Likewise.
23405         * sysdeps/i386/fpu/libm-test-ulps: Update.
23406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23407
23408 2013-01-31  David S. Miller  <davem@davemloft.net>
23409
23410         * po/de.po: Update from translation team.
23411
23412 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23413
23414         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23415
23416 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23417
23418         * configure.in (_AC_PROG_CC_C89): New definition.
23419         * configure: Regenerate.
23420
23421         * configure.in (AC_PROG_CPP): New definition.
23422         * configure: Regenerate.
23423
23424 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23425
23426         * debug/tst-backtrace.h: New file.
23427         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23428         (ret): Remove variable.
23429         (x): Likewise.
23430         (FAIL): Remove macro.
23431         (NO_INLINE): Likewise.
23432         (fn1): Use match function instead of strstr.
23433         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23434         (ret): Remove variable.
23435         (x): Likewise.
23436         (FAIL): Remove macro.
23437         (NO_INLINE): Likewise.
23438         (fn): Use match function instead of strstr.
23439         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23440         (ret): Remove variable.
23441         (x): Likewise.
23442         (FAIL): Remove macro.
23443         (NO_INLINE): Likewise.
23444         (handle_signal): Use match function instead of strstr.
23445         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23446         (ret): Remove variable.
23447         (x): Likewise.
23448         (FAIL): Remove macro.
23449         (NO_INLINE): Likewise.
23450         (handle_signal): Use match function instead of strstr.
23451
23452 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23453
23454         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23455
23456 2013-01-23  David S. Miller  <davem@davemloft.net>
23457
23458         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23459         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23460         argument of CAS if possible.
23461         * sysdeps/sparc/sparc64/bits/atomic.h
23462         (__arch_compare_and_exchange_val_32_acq): Likewise.
23463         (__arch_compare_and_exchange_val_64_acq): Likewise.
23464
23465 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23466
23467         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23468         * sysdeps/posix/ulimit.c: ... this.
23469         Include <limits.h>.
23470         * sysdeps/unix/bsd/ulimit.c: Remove file.
23471
23472 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23473
23474         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23475         (LDFLAGS-tst-array5): Likewise.
23476
23477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23478
23479         [BZ #15036]
23480         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23481         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23482         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23483         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23484
23485 2013-01-21  David S. Miller  <davem@davemloft.net>
23486
23487         * sysdeps/sparc/backtrace.c: New file.
23488         * sysdeps/sparc/sparc32/backtrace.h: New file.
23489         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23490         * sysdeps/sparc/sparc64/backtrace.h: New file.
23491         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23492         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23493         -funwind-tables.
23494
23495 2013-01-21  Andreas Schwab  <schwab@suse.de>
23496
23497         [BZ #15020]
23498         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23499         closed its stdout.
23500
23501 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23502
23503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23504         "mpa2.h".
23505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23506
23507 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23508             Mark Mitchell  <mark@codesourcery.com>
23509             Tom de Vries  <tom@codesourcery.com>
23510             Paul Pluzhnikov  <ppluzhnikov@google.com>
23511
23512         * debug/tst-backtrace2.c: New file.
23513         * debug/tst-backtrace3.c: Likewise.
23514         * debug/tst-backtrace4.c: Likewise.
23515         * debug/tst-backtrace5.c: Likewise.
23516         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23517         (CFLAGS-tst-backtrace3.c): Likewise.
23518         (CFLAGS-tst-backtrace4.c): Likewise.
23519         (CFLAGS-tst-backtrace5.c): Likewise.
23520         (LDFLAGS-tst-backtrace2): Likewise.
23521         (LDFLAGS-tst-backtrace3): Likewise.
23522         (LDFLAGS-tst-backtrace4): Likewise.
23523         (LDFLAGS-tst-backtrace5): Likewise.
23524         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23525         tst-backtrace4 and tst-backtrace5.
23526
23527 2013-01-18  Anton Blanchard  <anton@samba.org>
23528             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23529
23530         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23531         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23532         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23533         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23535         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23536         "+r" and remove output regs list as redundant.  Add explicit inline
23537         asm to specify register of return val to work around compiler codegen
23538         bug.  Remove (int) cast on return value.  Add return type parameter to
23539         use in macro so that this macro does not truncate return value for
23540         64-bit values.
23541         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23542         pass to INTERNAL_VSYSCALL_NCS.
23543         (INLINE_VSYSCALL): Add 'long int' as return type to
23544         INTERNAL_VSYSCALL_NCS macro invocation.
23545         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23546         INTERNAL_VSYSCALL_NCS macro invocation.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23548
23549 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23550
23551         [BZ #14496]
23552         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23553         Fix application of SIMD FP exception mask.
23554
23555         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23556         mp_no from a power of two.
23557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23558         __mpexp_twomm1.  Use __pow_mp.
23559
23560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23561         multiplication.
23562
23563 2013-01-17  David S. Miller  <davem@davemloft.net>
23564
23565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23566
23567 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23568
23569         [BZ #15023]
23570         * include/complex.h: Condition contents on [!_COMPLEX_H].
23571         (__kernel_casinhf): New prototype.
23572         (__kernel_casinh): Likewise.
23573         (__kernel_casinhl): Likewise.
23574         * math/Makefile (libm_calls): Add k_casinh.
23575         * math/k_casinh.c: New file.
23576         * math/k_casinhf.c: Likewise.
23577         * math/k_casinhl.c: Likewise.
23578         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23579         finite nonzero arguments.
23580         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23581         finite nonzero arguments.
23582         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23583         finite nonzero arguments.
23584         * math/s_casinh.c: Do not include <float.h>.
23585         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23586         * math/s_casinhf.c: Do not include <float.h>.
23587         (__casinhf): Move code for finite nonzero arguments to
23588         k_casinhf.c.
23589         * math/s_casinhl.c: Do not include <float.h>.
23590         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23591         redefine.
23592         (__casinhl): Move code for finite nonzero arguments to
23593         k_casinhl.c.
23594         * math/libm-test.inc (cacos_test): Add more tests.
23595         * sysdeps/i386/fpu/libm-test-ulps: Update.
23596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23597
23598 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23599
23600         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23601         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23602         [!HAVE_MREMAP]: Remove [defined linux] case.
23603         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23604
23605 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23606
23607         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23608
23609 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23610
23611         * elf/elf.h (R_386_SIZE32): New relocation.
23612         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23613         R_386_SIZE32.
23614         (elf_machine_rela): Likewise.
23615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23616         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23617
23618 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23619
23620         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23621         (FP_FAST_FMA): Do not define.
23622         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23623         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23624         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23625         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23626         !_SOFT_FLOAT]: Likewise.
23627         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23628         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23629         value.
23630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23631         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23633         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23634         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23635         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23636         file.
23637
23638 2013-01-16  Andreas Schwab  <schwab@suse.de>
23639
23640         [BZ #14327]
23641         * include/stdlib.h (__mktemp): Add declaration.
23642         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23643         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23644
23645 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23646
23647         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23648         definitions.
23649         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23650         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23651         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23652         definitions here.
23653         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23654         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23655         definitions.
23656         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23657         and ONE.
23658         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23659         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23660         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23661         definitions.
23662         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23663         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23664         definitions.
23665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23666
23667         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23668
23669 2013-01-15  David S. Miller  <davem@davemloft.net>
23670
23671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23672         trunc{,f} to libm-sysdep_routes.
23673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23675         file.
23676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23678         file.
23679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23680         file.
23681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23687         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23688         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23689
23690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23691         nearbyint{,f} to libm-sysdep_routes.
23692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23694         New file.
23695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23696         file.
23697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23698         New file.
23699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23700         file.
23701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23704         file.
23705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23706         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23707         file.
23708         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23709         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23710         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23711
23712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23713         libc_feholdexcept and libc_fesetenv.
23714
23715 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23716
23717         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23718
23719 2013-01-14  David S. Miller  <davem@davemloft.net>
23720
23721         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23722         (SPARC_ASM_VIS2_IFUNC): Likewise.
23723         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23725         use of 'siam' instruction.
23726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23727         Likewise.
23728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23729         Likewise.
23730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23731         Likewise.
23732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23737         file.
23738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23739         file.
23740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23741         file.
23742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23743         file.
23744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23749         new VIS2 routines.
23750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23753         Likewise.
23754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23759         routines to libm-sysdep_routines.
23760         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23761
23762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23763         fdim/fdimf to libm-sysdep_routines.
23764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23765         file.
23766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23768         file.
23769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23772         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23773         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23774         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23775         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23776
23777 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23778
23779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23780         to optimize copies.
23781
23782         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23785
23786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23787         local variable MPTWO.
23788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23789         Likewise.
23790
23791 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23792
23793         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23794         GLOB_NOESCAPE.
23795
23796 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23797
23798         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23799
23800 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23801
23802         * manual/pattern.texi (glob_t): Document gl_flags.
23803         (glob64_t): Likewise.
23804
23805 2013-01-11  David S. Miller  <davem@davemloft.net>
23806
23807         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23808         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23809         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23810         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23811         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23812         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23813         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23814         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23815         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23816         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23817         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23818         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23819         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23820
23821         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23822         sparc V9 rather than using V8 code.
23823         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23824         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23825
23826         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23827         Move to...
23828         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23829         Here.
23830
23831 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23832
23833         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23834         not in the main loop.
23835         * configure: Regenerated.
23836
23837 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23838
23839         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23840         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23841         to just #else.
23842         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23843         [!__GLIBC_HAVE_LONG_LONG] case.
23844         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23845         condition to just #else.
23846         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23847         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23848         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23849         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23850         unconditional.
23851         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23852         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23853         #elif condition to just #else.
23854         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23855         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23856         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23857         #elif condition to just #else.
23858
23859 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23860
23861         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23862         (EF_MIPS_ARCH_64): Fix value.
23863         (EF_MIPS_ARCH_32R2): New.
23864         (EF_MIPS_ARCH_64R2): New.
23865
23866 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23867
23868         * Makeconfig (+link-pie-before-libc): New.
23869         (+link-pie-after-libc): Likewise.
23870         (+link-pie-tests): Likewise.
23871         (+link-pie): Rewritten.
23872         (link-before-libc): Remove $(config-LDFLAGS).
23873         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23874         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23875         (config-LDFLAGS): Renamed to ...
23876         (rtld-LDFLAGS): This.
23877         (rtld-tests-LDFLAGS): New macro.
23878         (link-libc-rpath-link): Likewise.
23879         (link-libc-tests-rpath-link): Likewise.
23880         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23881         (link-libc): Prepand $(link-libc-rpath-link).
23882         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23883         (test-program-prefix): New macro.
23884         (test-via-rtld-prefix): Likewise.
23885         (test-program-cmd): Likewise.
23886         (host-test-program-cmd): Likewise.
23887         * Makefile ($(common-objpfx)testrun.sh): Replace
23888         $(run-program-prefix) with $(test-program-prefix).
23889         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23890         $(rtld-LDFLAGS).
23891         ($(common-objpfx)shlib.lds): Likewise.
23892         (build-module-helper): Likewise.
23893         ($(common-objpfx)format.lds): Likewise.
23894         * Rules (binaries-pie-tests): New.
23895         (binaries-pie-notests): Likewise.
23896         (binaries-pie): Rewritten.
23897         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23898         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23899         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23900         (make-test-out): Replace $(host-built-program-cmd) with
23901         $(host-test-program-cmd).
23902         * config.make.in (build-hardcoded-path-in-tests): New variable.
23903         * configure.in (--enable-hardcoded-path-in-tests): New configure
23904         option.
23905         (hardcoded_path_in_tests): New AC_SUBST.
23906         * configure: Regenerated.
23907         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23908         $(built-program-cmd) with $(test-program-cmd).
23909         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23910         (test_program_cmd): This.
23911         * elf/Makefile ($(objpfx)order.out): Run test with
23912         $(test-program-prefix).
23913         ($(objpfx)order2.out): Likewise.
23914         ($(objpfx)tst-initorder.out): Likewise.
23915         ($(objpfx)tst-initorder2.out): Likewise.
23916         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23917         $(test-program-cmd).
23918         ($(objpfx)tst-array1-static.out): Likewise.
23919         ($(objpfx)tst-array2.out): Likewise.
23920         ($(objpfx)tst-array3.out): Likewise.
23921         ($(objpfx)tst-array4.out): Likewise.
23922         ($(objpfx)tst-array5.out): Likewise.
23923         ($(objpfx)tst-array5-static.out): Likewise.
23924         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23925         $(test-program-cmd).
23926         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23927         $(run-program-prefix) with $(test-program-prefix).
23928         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23929         (test_program_prefix): This.
23930         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23931         $(run-program-prefix) with $(test-program-prefix).
23932         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23933         (test_program_prefix): This.
23934         * iconvdata/tst-tables.sh: Likewise.
23935         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23936         $(run-program-prefix) with $(test-program-prefix).
23937         ($(objpfx)tst-translit.out): Likewise.
23938         ($(objpfx)tst-gettext2.out): Likewise.
23939         ($(objpfx)tst-gettext4.out): Likewise.
23940         ($(objpfx)tst-gettext6.out): Likewise.
23941         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23942         (test_program_prefix): This.
23943         * intl/tst-gettext2.sh: Likewise.
23944         * intl/tst-gettext4.sh  Likewise.
23945         * intl/tst-gettext6.sh: Likewise.
23946         * intl/tst-translit.sh: Likewise.
23947         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23948         with $(test-program-cmd).
23949         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23950         $(run-program-prefix) with $(test-program-prefix).
23951         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23952         (test_program_prefix): This.
23953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23954         $(run-program-prefix) with $(test-program-prefix).
23955         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23956         (test_program_prefix): This.
23957         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23958         * posix/Makefile ($(objpfx)globtest.out): Replace
23959         $(run-via-rtld-prefix) and $(test-wrapper) with
23960         $(test-program-prefix) and $(test-via-rtld-prefix).
23961         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23962         $(test-program-prefix).
23963         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23964         $(host-test-program-cmd).
23965         (tst-spawn-ARGS): Likewise.
23966         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23967         $(test-program-prefix).
23968         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23969         (test_via_rtld_prefix): This.
23970         (test_wrapper): Renamed to ...
23971         (test_program_prefix): This.
23972         (run_program_prefix): Replaced by test_program_prefix.
23973         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23974         (test_program_prefix): This.
23975         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23976         with $(host-test-program-cmd).
23977         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23978         $(run-program-prefix) with $(test-program-prefix).
23979         ($(objpfx)tst-printf.out): Likewise.
23980         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23981         $(test-program-cmd).
23982         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23983         (test_program_prefix): This.
23984         * stdio-common/tst-unbputc.sh: Likewise.
23985         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23986         $(run-program-prefix) with $(test-program-prefix).
23987         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23988         (test_program_prefix): This.
23989         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23990         $(built-program-cmd) with $(test-program-cmd).
23991
23992 2013-01-11  Andreas Jaeger  <aj@suse.de>
23993
23994         [BZ #15003]
23995         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23996         value. Sync with Linux 3.7.
23997
23998 2013-01-10  David S. Miller  <davem@davemloft.net>
23999
24000         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24003
24004 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24005
24006         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24007         never set.
24008         * configure: Regenerated.
24009
24010 2013-01-10  David S. Miller  <davem@davemloft.net>
24011
24012         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24013         sparc V9 rather than using V8 code.
24014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24016
24017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24018
24019         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24020         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24021         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24022         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24023         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24024         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24025         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24026         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24027         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24028         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24029         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24030         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24031         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24032         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24033         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24034         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24035         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24036         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24037         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24038         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24039         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24040         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24041         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24042         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24043         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24044         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24045         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24046
24047 2013-01-10  David S. Miller  <davem@davemloft.net>
24048
24049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24050
24051 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24052
24053         * posix/Makefile (tests-static): New variable.
24054         (tests): Add $(tests-static).
24055         (tst-exec-static-ARGS): New variable.
24056         (tst-spawn-static-ARGS): Likewise.
24057         * posix/tst-exec-static.c: New file.
24058         * posix/tst-spawn-static.c: Likewise.
24059         * posix/tst-exec.c: Support run directly.
24060         * posix/tst-spawn.c: Likewise.
24061
24062 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24063
24064         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24065         long.
24066         * math/bits/mathcalls.h (llrint): Likewise.
24067         (llround): Likewise.
24068         * stdlib/stdlib.h (struct drand48_data): Likewise.
24069         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24070         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24071         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24072         Likewise.
24073         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24076         (elf_greg_t): Likewise.
24077         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24078         (__jmp_buf): Likewise.
24079         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24080         definitions.
24081         (llrint): Likewise, for all definitions.
24082         (llrintl): Likewise.
24083
24084         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24085         Remove [__GNUC__] condition.
24086         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24087         condition to just [__USE_ISOC99].
24088         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24089
24090 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24091
24092         [BZ #14200]
24093         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24094         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24095         defined.
24096         (_POSIX_V6_ILP32_OFF32): Likewise.
24097         (_XBS5_ILP32_OFF32): Likewise.
24098         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24099         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24100
24101 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24102
24103         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24104
24105         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24106         doubles __mpexp_twomm1.  Adjust usage.
24107         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24108         Remove.
24109
24110 2013-01-10  Andreas Schwab  <schwab@suse.de>
24111
24112         [BZ #14964]
24113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24114         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24115
24116 2013-01-09  David S. Miller  <davem@davemloft.net>
24117
24118         [BZ #15003]
24119         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24120         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24121         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24122         (TCP_FASTOPEN): Define.
24123         (tcp_repair_opt): New structure.
24124         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24125         enum values.
24126         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24127         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24128         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24129         (tcp_cookie_transactions): New structure.
24130
24131 2013-01-09  Anton Blanchard  <anton@samba.org>
24132
24133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24134         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24136         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24137
24138 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24139
24140         * include/features.h (__USE_ANSI): Remove.
24141
24142 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24143
24144         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24145
24146         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24147
24148 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24149
24150         * sysdeps/s390/fpu/libm-test-ulps: Update.
24151
24152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24153
24154         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24155         (__acr): Likewise.
24156         (__cpy): Likewise.
24157         (norm): Likewise.
24158         (denorm): Likewise.
24159         (__mp_dbl): Likewise.
24160         (__dbl_mp): Likewise.
24161         (add_magnitudes): Likewise.
24162         (sub_magnitudes): Likewise.
24163         (__add): Likewise.
24164         (__sub): Likewise.
24165         (__mul): Likewise.
24166         (__inv): Likewise.
24167         (__dvd): Likewise.
24168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24169         (__acr): Likewise.
24170         (__cpy): Likewise.
24171         (norm): Likewise.
24172         (denorm): Likewise.
24173         (__mp_dbl): Likewise.
24174         (__dbl_mp): Likewise.
24175         (add_magnitudes): Likewise.
24176         (sub_magnitudes): Likewise.
24177         (__add): Likewise.
24178         (__sub): Likewise.
24179         (__mul): Likewise.
24180         (__inv): Likewise.
24181         (__dvd): Likewise.
24182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24183         (__acr): Likewise.
24184         (__cpy): Likewise.
24185         (norm): Likewise.
24186         (denorm): Likewise.
24187         (__mp_dbl): Likewise.
24188         (__dbl_mp): Likewise.
24189         (add_magnitudes): Likewise.
24190         (sub_magnitudes): Likewise.
24191         (__add): Likewise.
24192         (__sub): Likewise.
24193         (__mul): Likewise.
24194         (__inv): Likewise.
24195         (__dvd): Likewise.
24196
24197 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24198
24199         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24200         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24201         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24202         2 && __USE_EXTERN_INLINES]: Likewise.
24203
24204 2013-01-08  Andreas Jaeger  <aj@suse.de>
24205
24206         [BZ# 14985]
24207         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24208         Remove.
24209         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24210         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24211
24212 2013-01-07  Anton Blanchard  <anton@samba.org>
24213
24214         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24215         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24216         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24217         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24218         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24219         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24220         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24221         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24230         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24232         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24235         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24236         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24237         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24239         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24240         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24241         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24242         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24243         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24244         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24246         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24248         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24249         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24251         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24252         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24253         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24255         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24256         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24257
24258 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24259
24260         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24261         (__MALLOC_PMT): Likewise.
24262         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24263         [__GNUC__], only on [_LIBC].
24264         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24265         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24266         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24267         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24268         forward declaration.
24269         (realloc_hook_ini): Likewise.
24270         (memalign_hook_ini): Likewise.
24271         (__libc_memalign): Do not use __MALLOC_PMT in variable
24272         declaration.
24273         (__libc_valloc): Likewise.
24274         (__libc_pvalloc): Likewise.
24275         (__libc_calloc): Likewise.
24276         (__posix_memalign): Likewise.
24277
24278         [BZ #14996]
24279         * math/s_casinh.c: Include <float.h>.
24280         (__casinh): Do not do computation with squaring and square root
24281         for large arguments.
24282         * math/s_casinhf.c: Include <float.h>.
24283         (__casinhf): Do not do computation with squaring and square root
24284         for large arguments.
24285         * math/s_casinhl.c: Include <float.h>.
24286         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24287         (__casinhl): Do not do computation with squaring and square root
24288         for large arguments.
24289         * math/libm-test.inc (casin_test): Add more tests.
24290         (casinh_test): Likewise.
24291         * sysdeps/i386/fpu/libm-test-ulps: Update.
24292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24293
24294 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24295
24296         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24297         (__x86_64_raw_data_cache_size): Likewise.
24298         (__x86_64_data_cache_size_half): Likewise.
24299         (__x86_64_raw_data_cache_size_half): Likewise.
24300         (__x86_64_shared_cache_size): Likewise.
24301         (__x86_64_raw_shared_cache_size): Likewise.
24302         (__x86_64_shared_cache_size_half): Likewise.
24303         (__x86_64_raw_shared_cache_size_half): Likewise.
24304         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24305         to ...
24306         (__x86_data_cache_size): This.
24307         (__x86_64_raw_data_cache_size): Renamed to ...
24308         (__x86_raw_data_cache_size): This.
24309         (__x86_64_data_cache_size_half): Renamed to ...
24310         (__x86_data_cache_size_half): This.
24311         (__x86_64_raw_data_cache_size_half): Renamed to ...
24312         (__x86_raw_data_cache_size_half): This.
24313         (__x86_64_shared_cache_size): Renamed to ...
24314         (__x86_shared_cache_size): This.
24315         (__x86_64_raw_shared_cache_size): Renamed to ...
24316         (__x86_raw_shared_cache_size): This.
24317         (__x86_64_shared_cache_size_half): Renamed to ...
24318         (__x86_shared_cache_size_half): This.
24319         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24320         (__x86_raw_shared_cache_size_half): This.
24321         * sysdeps/x86_64/memcpy.S: Updated.
24322         * sysdeps/x86_64/memset.S: Likewise.
24323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24326
24327 2013-01-04  David S. Miller  <davem@davemloft.net>
24328
24329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24330
24331 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24332
24333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24334         1 to avoid redefinition warning.
24335         (__USE_GNU): Don't define.
24336         (init_signaling_nan): Protoize.
24337
24338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24339
24340 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24341
24342         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24344         (__cpymn): Likewise.
24345         (norm): Remove commented code.
24346         (denorm): Likewise.
24347         (__mp_dbl): Likewise.
24348         (__inv): Likewise.
24349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24350         (__cpymn): Likewise.
24351         (norm): Remove commented code.
24352         (denorm): Likewise.
24353         (__mp_dbl): Likewise.
24354         (__inv): Likewise.
24355
24356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24357         mp_no value for 1.0 and 2.0.
24358         (norm): Use RADIXI instead of radixi.d.
24359         (denorm): Likewise.
24360         (__mul): Use 0.0 instead of zero.d.
24361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24362         mp_no value for 1.0 and 2.0.
24363         (norm): Use RADIXI instead of radixi.d.
24364         (denorm): Likewise.
24365         (__mul): Use 0.0 instead of zero.d.
24366
24367 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24368
24369         [BZ #14994]
24370         * math/s_casinh.c (__casinh): Reduce finite argument to first
24371         quadrant then set signs of results at the end.
24372         * math/s_casinhf.c (__casinhf): Likewise.
24373         * math/s_casinhl.c (__casinhl): Likewise.
24374         * math/libm-test.inc (casin_test): Add more tests.
24375         (casinh_test): Likewise.
24376         * sysdeps/i386/fpu/libm-test-ulps: Update.
24377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24378
24379 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24380
24381         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24382
24383         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24384
24385         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24386         declarations.
24387         (denorm): Likewise.
24388         (__mp_dbl): Likewise.
24389         (__inv): Likewise.
24390
24391         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24392         and adjust the header comment.
24393
24394         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24395         variable name from declaration.
24396
24397 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24398
24399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24400         Initialize COMMON_CPUID_INDEX_7 element.
24401         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24402         (CPUID_RTM): Likewise.
24403         (HAS_RTM): Likewise.
24404         (COMMON_CPUID_INDEX_7): New enum.
24405
24406 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24407
24408         [BZ #14981]
24409         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24410         size is zero, record memory as freed.
24411
24412 2013-01-03  Andreas Jaeger  <aj@suse.de>
24413
24414         * po/ia.po: Add new Interlingua translation.
24415
24416 2012-01-03  Allan McRae  <allan@archlinux.org>
24417
24418         * locale/programs/localedef.c: Fix description of '--posix' flag.
24419
24420 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24421
24422         * NEWS: Update dates in second copyright notice.
24423         * README: Update copyright dates in example.
24424         * manual/libc.texinfo: Update copyright dates.
24425         * scripts/test-installation.pl: Update copyright date in --version
24426         output.
24427
24428         * hurd/ctty-input.c: Fix copyright notice formatting.
24429         * hurd/ctty-output.c: Likewise.
24430         * hurd/dtable.c: Likewise.
24431         * hurd/hurd-raise.c: Likewise.
24432         * hurd/hurdprio.c: Likewise.
24433         * hurd/msgportdemux.c: Likewise.
24434         * misc/sys/file.h: Likewise.
24435         * misc/sys/ioctl.h: Likewise.
24436         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24437         * sysdeps/mach/hurd/chdir.c: Likewise.
24438         * sysdeps/mach/hurd/fchdir.c: Likewise.
24439         * sysdeps/mach/hurd/rename.c: Likewise.
24440         * sysdeps/mach/hurd/rmdir.c: Likewise.
24441         * sysdeps/mach/hurd/seekdir.c: Likewise.
24442         * sysdeps/mach/hurd/setsid.c: Likewise.
24443         * sysdeps/posix/wait3.c: Likewise.
24444
24445         * All files with FSF copyright notices: Update copyright dates
24446         using scripts/update-copyrights.
24447         * intl/plural.c: Regenerated.
24448         * locale/programs/charmap-kw.h: Likewise.
24449         * locale/programs/locfile-kw.h: Likewise.
24450
24451 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24452
24453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24454         four values.
24455
24456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24457         calculation loop and add branch prediction.
24458
24459         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24460         check access beyond bounds of m1np.
24461
24462         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24463         MPTWO.
24464         (__inv): Remove local variable MPTWO to use the global
24465         constant.
24466         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24467         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24468         variable MPTWO.
24469         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24470         MP3HALFS static const.
24471
24472 2013-01-01  David S. Miller  <davem@davemloft.net>
24473
24474         * po/ca.po: Update from translation team.
24475
24476 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24477
24478         * scripts/update-copyrights: New file.
24479         * Makeconfig: Reformat copyright notice.
24480         * ctype/ctype.h: Likewise.
24481         * debug/swprintf_chk.c: Likewise.
24482         * elf/dl-cache.c: Likewise.
24483         * elf/dl-debug.c: Likewise.
24484         * elf/dl-object.c: Likewise.
24485         * grp/initgroups.c: Likewise.
24486         * hurd/Makefile: Likewise.
24487         * hurd/hurd/signal.h: Likewise.
24488         * hurd/hurdfault.c: Likewise.
24489         * hurd/hurdioctl.c: Likewise.
24490         * hurd/hurdlookup.c: Likewise.
24491         * hurd/intr-msg.c: Likewise.
24492         * iconv/gconv_open.c: Likewise.
24493         * libio/swprintf.c: Likewise.
24494         * locale/lc-ctype.c: Likewise.
24495         * locale/nl_langinfo.c: Likewise.
24496         * mach/Machrules: Likewise.
24497         * mach/Makefile: Likewise.
24498         * malloc/obstack.h: Likewise.
24499         * manual/Makefile: Likewise.
24500         * manual/tsort.awk: Likewise.
24501         * misc/bits/stab.def: Likewise.
24502         * nis/nis_print_group_entry.c: Likewise.
24503         * nis/nis_table.c: Likewise.
24504         * nis/nss_compat/compat-pwd.c: Likewise.
24505         * nis/nss_compat/compat-spwd.c: Likewise.
24506         * po/Makefile: Likewise.
24507         * posix/fnmatch.c: Likewise.
24508         * posix/regex.h: Likewise.
24509         * resolv/Makefile: Likewise.
24510         * resolv/nss_dns/dns-network.c: Likewise.
24511         * resolv/res_hconf.c: Likewise.
24512         * scripts/gen-sorted.awk: Likewise.
24513         * soft-fp/soft-fp.h: Likewise.
24514         * stdio-common/printf.h: Likewise.
24515         * stdlib/monetary.h: Likewise.
24516         * stdlib/random.c: Likewise.
24517         * stdlib/random_r.c: Likewise.
24518         * sysdeps/generic/Makefile: Likewise.
24519         * sysdeps/gnu/Makefile: Likewise.
24520         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24522         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24524         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24527         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24528         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24529         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24530         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24531         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24532         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24533         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24534         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24535         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24536         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24538         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24539         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24540         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24541         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24542         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24544         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24547         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24548         * sysdeps/mach/hurd/errnos.awk: Likewise.
24549         * sysdeps/mach/hurd/fork.c: Likewise.
24550         * sysdeps/mach/hurd/getcwd.c: Likewise.
24551         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24552         * sysdeps/mach/hurd/mmap.c: Likewise.
24553         * sysdeps/mach/hurd/utimes.c: Likewise.
24554         * sysdeps/mach/hurd/xmknod.c: Likewise.
24555         * sysdeps/posix/profil.c: Likewise.
24556         * sysdeps/posix/readdir_r.c: Likewise.
24557         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24558         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24560         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24568         * sysdeps/pthread/lio_listio.c: Likewise.
24569         * sysdeps/sparc/dl-procinfo.h: Likewise.
24570         * sysdeps/unix/i386/sysdep.S: Likewise.
24571         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24572         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24573         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24574         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24576         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24577         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24578         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24579         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24580         * sysdeps/wordsize-32/divdi3.c: Likewise.
24581         * time/sys/time.h: Likewise.
24582         * wcsmbs/Makefile: Likewise.
24583
24584 2013-01-01  David S. Miller  <davem@davemloft.net>
24585
24586         * po/fr.po: Update from translation team.
24587
24588         * catgets/gencat.c: Update copyright year.
24589         * csu/version.c: Likewise.
24590         * debug/catchsegv.sh: Likewise.
24591         * debug/pcprofiledump.c: Likewise.
24592         * debug/xtrace.sh: Likewise.
24593         * elf/ldconfig.c: Likewise.
24594         * elf/ldd.bash.in: Likewise.
24595         * elf/pldd.c: Likewise.
24596         * elf/sotruss.ksh: Likewise.
24597         * elf/sprof.c: Likewise.
24598         * iconv/iconv_prog.c: Likewise.
24599         * iconv/iconvconfig.c: Likewise.
24600         * locale/programs/locale.c: Likewise.
24601         * locale/programs/localedef.c: Likewise.
24602         * login/programs/pt_chown.c: Likewise.
24603         * malloc/memusage.sh: Likewise.
24604         * malloc/memusagestat.c: Likewise.
24605         * malloc/mtrace.pl: Likewise.
24606         * nscd/nscd.c: Likewise.
24607         * nss/getent.c: Likewise.
24608         * nss/makedb.c: Likewise.
24609         * posix/getconf.c: Likewise.
24610
24611 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24612
24613         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24614         numbers.
24615
24616 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24617
24618         * math/bits/mathcalls.h (modf): Use __nonnull.
24619
24620 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24621
24622         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24623         (split): Use macro CN instead of the bare value.
24624         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24625         could be used.
24626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24627         instead of the bare value.
24628         (power1): Likewise.
24629
24630 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24631
24632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24633         __ATAN_TWOM.
24634         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24635
24636         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24637         their values.
24638         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24640         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24641         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24642
24643 2012-12-28  Andreas Jaeger  <aj@suse.de>
24644
24645         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24646         values are from Linux 3.7.
24647
24648         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24649         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24650
24651 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24652
24653         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24654         TRUE case.
24655
24656         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24657         (norm): Likewise.
24658         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24659         variables with preprocessor constants.
24660         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24661         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24662         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24663
24664 2012-12-27  Bruno Haible  <bruno@clisp.org>
24665
24666         [BZ #14317]
24667         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24668         only if needed.
24669
24670 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24671
24672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24673         and use variable directly.
24674         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24675
24676         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24677         MPONE.
24678         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24679         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24680         variable MPONE.
24681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24683         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24684         include directive.  Remove local variable MPONE.
24685         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24686         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24687         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24688
24689 2012-12-25  David S. Miller  <davem@davemloft.net>
24690
24691         * version.h (RELEASE): Set to "development".
24692         (VERSION): Set to "2.17.90".
24693         * NEWS: Add 2.18 section.
24694
24695 2012-12-21  David S. Miller  <davem@davemloft.net>
24696
24697         * po/hr.po: Update from translation team.
24698
24699 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24700
24701         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24702
24703 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24704
24705         * NEWS:  Mention new memcpy for MIPS.
24706
24707 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24708
24709         * manual/contrib.texi (Contributors): Spelling correction.
24710
24711 2012-12-15  David S. Miller  <davem@davemloft.net>
24712
24713         * po/ru.po: Update from translation team.
24714
24715 2012-12-13  David S. Miller  <davem@davemloft.net>
24716
24717         * NEWS: Mention IFUNC testsuite enhancements.
24718
24719         * po/pl.po: Update from translation team.
24720         * po/bg.po: Likewise.
24721
24722         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24723         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24724
24725 2012-12-11  David S. Miller  <davem@davemloft.net>
24726
24727         * po/sv.po: Update from translation team.
24728
24729         * po/vi.po: Update from translation team.
24730
24731         * po/cs.po: Update from translation team.
24732
24733         * po/de.po: Update from translation team.
24734         * po/eo.po: Likewise.
24735         * po/nl.po: Likewise.
24736
24737 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24738
24739         [BZ #14246]
24740         * manual/argp.texi (Argp Helper Functions): Move node to follow
24741         Argp Parsing State.
24742
24743         [BZ #14872]
24744         * manual/conf.texi (Limits on File System Capacity): Mention if
24745         terminating null is included in the max size.
24746
24747 2012-12-10  Andreas Jaeger  <aj@suse.de>
24748
24749         * po/cs.po: Update from translation team.
24750
24751 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24752
24753         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24754         void pointer and cast to uintptr_t.
24755         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24756         path.
24757         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24758         * sysdeps/s390/s390-64/memset.S: Likewise.
24759
24760 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24761
24762         [BZ #14833]
24763         * menual/message.texi (Message Translation): Fix typos.
24764         (Helper programs for gettext): Likewise.
24765
24766 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24767
24768         [BZ #14898]
24769         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24770         Change to -1.
24771
24772 2012-12-07  David S. Miller  <davem@davemloft.net>
24773
24774         * po/libc.pot: Update.
24775
24776 2012-12-07  Richard Henderson  <rth@redhat.com>
24777
24778         [BZ #10114]
24779         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24780         normal/normal case to before the switch.
24781         (_FP_DIV): Likewise.
24782
24783 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24784             Mike Frysinger  <vapier@gentoo.org>
24785
24786         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24787         check for __NR_fadvise64_64.
24788
24789 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24790
24791         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24792         0, not just to plain "0" as a statement.
24793         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24794         with cw.
24795
24796 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24797
24798         * NEWS: Use sourceware.org in Bugzilla URL.
24799
24800 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801
24802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24803         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24804
24805         * stdio-common/tst-put-error.c (do_test): Add newline to the
24806         padded test to ensure flush.
24807
24808 2012-12-05  Jeff Law  <law@redhat.com>
24809
24810         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24811
24812 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24813
24814         * README: Don't refer to ports add-on as distributed separately.
24815         Mention AArch64 in list of systems supported in the ports add-on.
24816
24817         * LICENSES: Add more non-FSF copyright and license notices.
24818
24819         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24820         ((unused)).
24821
24822         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24823
24824         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24825         10000 as width of padded output.
24826
24827 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24828
24829         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24830
24831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24832         variable LX with __attribute__ ((unused)).
24833         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24834         Likewise.
24835         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24838         with __attribute__ ((unused)).
24839
24840 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24841
24842         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24843
24844 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24845
24846         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24847         (CFLAGS-nldbl-acos.c): New variable.
24848         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24849         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24850         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24851         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24852         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24853         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24854         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24855         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24856         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24857         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24858         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24859         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24860         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24861         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24862         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24863         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24864         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24865         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24866         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24867         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24868         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24869         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24870         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24871         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24872         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24873         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24874         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24875         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24876         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24877         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24878         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24879         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24880         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24881         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24882         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24883         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24884         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24885         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24886         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24887         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24888         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24889         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24890         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24891         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24892         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24893         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24894         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24895         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24896         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24897         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24898         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24899         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24900         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24901         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24902         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24903         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24904         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24905         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24906         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24907         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24908         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24909         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24910         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24911         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24912         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24913         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24914         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24915         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24916         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24917         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24918         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24919         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24920         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24921         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24922         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24923         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24924         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24925         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24926         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24927         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24928         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24929         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24930         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24931         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24932         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24933         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24934         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24935         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24936         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24937         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24938         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24939         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24940         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24941         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24942         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24943         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24944         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24945
24946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24947         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24948
24949         [BZ #14914]
24950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24951         whole low double instead of just low 47 bits when splitting values
24952         into two parts.
24953
24954 2012-12-03  Allan McRae  <allan@archlinux.org>
24955
24956         * manual/stdio.texi (Predefined Printf Handlers): Remove
24957         @hsep and @vsep usage.
24958
24959 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24960
24961         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24962         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24963
24964 2012-12-03  Jeff Law  <law@redhat.com>
24965
24966         * time/sys/time.h (settimeofday): Do not mark TV argument
24967         as __nonnull.
24968
24969 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24970
24971         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24972         when currently writing and seek to current position when not.
24973         * libio/Makefile (tests): Remove bug-fclose1.
24974         * libio/bug-fclose1.c: Delete.
24975
24976 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24977
24978         * manual/arith.texi (feenableexcept): Fix typo.
24979         (fedisableexcept): Likewise.
24980
24981 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24982
24983         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24984         second, differently-typed declaration, rather than a cast.
24985
24986 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24987
24988         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24989         * include/rpc/svc.h: ... here.
24990
24991 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24992
24993         [BZ #13013]
24994         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24995         depending n and resplen2 to catch cases where answer
24996         equals answerp2.
24997
24998 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24999
25000         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25001         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25002
25003 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25004
25005         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25006
25007 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25008
25009         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25010
25011 2012-11-28  Jeff Law  <law@redhat.com>
25012
25013         [BZ #13761]
25014         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25015         dataset_temporary.  Track alloca usage into alloca_used.
25016         If dataset is large allocate and release it via malloc/free.
25017
25018 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25019
25020         [BZ #14197]
25021         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25022
25023 2012-11-28  David S. Miller  <davem@davemloft.net>
25024
25025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25026
25027 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25028
25029         [BZ #14803]
25030         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25031         of pi/2 rounded to nearest to 64 bits.
25032         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25033         nearest to 64 bits.
25034         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25035         bits.
25036
25037 2012-11-28  Jeff Law <law@redhat.com>
25038             Martin Osvald <mosvald@redhat.com>
25039
25040         [BZ #14889]
25041         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25042         * sunrpc/svc.c: Include time.h.
25043         (__svc_accept_failed): New function.
25044         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25045         any reason other than EINTR, call __svc_accept_failed.
25046         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25047         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25048
25049 2012-11-28  Andreas Schwab  <schwab@suse.de>
25050
25051         * scripts/abilist.awk: Also handle indirect functions in .opd
25052         section.
25053
25054 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25055
25056         [BZ #13881]
25057         * sysdeps/x86/fpu/powl_helper.c: New file.
25058         * sysdeps/x86/fpu/Makefile: Likewise.
25059         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25060         (p3): New object.
25061         (__ieee754_powl): Use __powl_helper for finite arguments except
25062         integer exponents below 8.
25063         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25064         (p3): New object.
25065         (__ieee754_powl): Use __powl_helper for finite arguments except
25066         integer exponents below 8.
25067         * math/libm-test.inc (pow_test): Add more tests and enable some
25068         previously disabled tests.
25069         * sysdeps/i386/fpu/libm-test-ulps: Update.
25070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25071
25072 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25073             Carlos O'Donell  <carlos_odonell@mentor.com>
25074
25075         * nss/makedb.c (is_prime): Assert that input is odd and greater
25076         than 4.  Note that fact in a comment too.
25077         (next_prime): Add 4 to input.
25078
25079 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25080
25081         [BZ #11741]
25082         * libio/Makefile (tests): Add test case tst-fwrite-error.
25083         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25084         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25085         * libio/tst-fwrite-error.c: New test case.
25086
25087 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25088
25089         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25090         before casting to void *.
25091         * include/libc-internal.h (__pointer_type): New macro.
25092         (__integer_if_pointer_type_sub): Likewise.
25093         (__integer_if_pointer_type): Likewise.
25094         (cast_to_integer): Likewise.
25095         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25096         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25097         before casting to atomic64_t.
25098         (atomic_exchange_acq): Likewise.
25099         (__arch_exchange_and_add_body): Likewise.
25100         (__arch_add_body): Likewise.
25101         (atomic_add_negative): Likewise.
25102         (atomic_add_zero): Likewise.
25103
25104 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25105
25106         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25107         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25108         (add_fdes): Likewise.
25109         (linear_search_fdes): Likewise.
25110         (binary_search_unencoded_fdes): Likewise.
25111
25112 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25113
25114         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25115
25116 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25117
25118         * configure.in: Autodetect C++ header directories.
25119         * configure: Regenerated.
25120
25121 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25122
25123         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25124
25125 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25126
25127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25128
25129 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25130
25131         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25132         LDBL_MANT_DIG == 106]: Disable some tests.
25133         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25134         Likewise.
25135         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25136         Likewise.
25137
25138         [BZ #14871]
25139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25140         input for small inputs.  Return +/- pi/2 for large inputs.
25141         * math/libm-test.inc (atan_test): Add more tests.
25142
25143         * sysdeps/generic/unwind-dw2-fde-glibc.c
25144         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25145         __attribute__ ((unused)).
25146
25147         [BZ #14645]
25148         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25149         x * y if x and y are nonzero and z is zero.
25150
25151         [BZ #14811]
25152         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25153         nonzero exponents with absolute value below 0x1p-117 to +/-
25154         0x1p-117.
25155
25156         [BZ #14869]
25157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25158         up arguments below 2**-450, not just those below 2**-500.
25159         * math/libm-test.inc (hypot_test): Add another test.
25160
25161         [BZ #14868]
25162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25163         Return a+b for ratio over 2**120, not 2**60.
25164         * math/libm-test.inc (hypot_test): Add another test.
25165
25166         * math/libm-test.inc (clog_test): Use
25167         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25168         (clog10_test): Likewise.
25169
25170         [BZ #6778]
25171         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25172
25173 2012-11-22  Andreas Schwab  <schwab@suse.de>
25174
25175         * sysdeps/i386/fpu/libm-test-ulps: Update.
25176
25177 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25178
25179         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25180         printf output with newline.
25181
25182 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25183
25184         [BZ #14865]
25185         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25186         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25187         -z nodlopen, -z initfirst and -z execstack support.
25188         * configure: Regenerated.
25189
25190         * elf/elf.h (DF_1_NODIRECT): New macro.
25191         (DF_1_IGNMULDEF): Likewise.
25192         (DF_1_NOKSYMS): Likewise.
25193         (DF_1_NOHDR): Likewise.
25194         (DF_1_EDITED): Likewise.
25195         (DF_1_NORELOC): Likewise.
25196         (DF_1_SYMINTPOSE): Likewise.
25197         (DF_1_GLOBAUDIT): Likewise.
25198         (DF_1_SINGLETON): Likewise.
25199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25200         DT_1_SUPPORTED_MASK bits.
25201         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25202
25203 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25204
25205         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25206
25207 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25208
25209         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25210         macro.
25211
25212         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25213         (sendmmsg): Move declarations...
25214         * socket/sys/socket.h: ... here.
25215         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25216         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25217         include it from...
25218         * socket/recvmmsg.c: ... this new file.
25219         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25220         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25221         definition of __sendmmsg hidden.
25222         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25223         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25224         Move ENOSYS stub into and include it from...
25225         * socket/sendmmsg.c: ... this new file.
25226         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25227         (sysdep_routines): Move recvmmsg and sendmmsg...
25228         * socket/Makefile (routines): ... here.
25229         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25230         (GLIBC_PRIVATE): Add __sendmmsg.
25231         * include/sys/socket.h (__sendmmsg): Add declarations.
25232         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25233         sendmmsg.
25234
25235 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25236
25237         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25238         variable I1 with __attribute__ ((unused)).
25239         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25240
25241 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25242
25243         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25244         DUMMY variables with __attribute__ ((unused)).
25245
25246         * bits/byteswap.h: Include <bits/types.h>.
25247         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25248
25249 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25250
25251         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25252         string_t.  Do not manually set errno.
25253         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25254         length with __strnlen.  Make sure to both set errno and return it on
25255         failure.
25256
25257 2012-11-19  David S. Miller  <davem@davemloft.net>
25258
25259         With help from Joseph Myers.
25260         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25261         very large arguments properly.
25262         * math/libm-test.inc (atan_test): New tests.
25263         (atan2_test): New tests.
25264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25266
25267 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25268
25269         [BZ #14856]
25270         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25271         Define to 3.
25272
25273         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25274         [POSIX] (EADDRNOTAVAIL): Likewise.
25275         [POSIX] (EAFNOSUPPORT): Likewise.
25276         [POSIX] (EALREADY): Likewise.
25277         [POSIX] (ECONNABORTED): Likewise.
25278         [POSIX] (ECONNREFUSED): Likewise.
25279         [POSIX] (ECONNRESET): Likewise.
25280         [POSIX] (EDESTADDRREQ): Likewise.
25281         [POSIX] (EDQUOT): Likewise.
25282         [POSIX] (EHOSTUNREACH): Likewise.
25283         [POSIX] (EIDRM): Likewise.
25284         [POSIX] (EISCONN): Likewise.
25285         [POSIX] (ELOOP): Likewise.
25286         [POSIX] (EMULTIHOP): Likewise.
25287         [POSIX] (ENETDOWN): Likewise.
25288         [POSIX] (ENETUNREACH): Likewise.
25289         [POSIX] (ENOBUFS): Likewise.
25290         [POSIX] (ENODATA): Likewise.
25291         [POSIX] (ENOLINK): Likewise.
25292         [POSIX] (ENOMSG): Likewise.
25293         [POSIX] (ENOPROTOOPT): Likewise.
25294         [POSIX] (ENOSR): Likewise.
25295         [POSIX] (ENOSTR): Likewise.
25296         [POSIX] (ENOTCONN): Likewise.
25297         [POSIX] (ENOTSOCK): Likewise.
25298         [POSIX] (EOPNOTSUPP): Likewise.
25299         [POSIX] (EOVERFLOW): Likewise.
25300         [POSIX] (EPROTO): Likewise.
25301         [POSIX] (EPROTONOSUPPORT): Likewise.
25302         [POSIX] (EPROTOTYPE): Likewise.
25303         [POSIX] (ESTALE): Likewise.
25304         [POSIX] (ETIME): Likewise.
25305         [POSIX] (ETXTBSY): Likewise.
25306         [POSIX] (EWOULDBLOCK): Likewise.
25307         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25308         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25309         [POSIX] (SEEK_CUR): Likewise.
25310         [POSIX] (SEEK_END): Likewise.
25311         [POSIX || UNIX98] (mode_t): Do not require.
25312         [POSIX] (off_t): Likewise.
25313         [POSIX] (pid_t): Likewise.
25314         [POSIX] (sys/stat.h): Do not allow header.
25315         [POSIX] (unistd.h): Likewise.
25316         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25317         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25318         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25319         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25320         require.
25321         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25322         sigevent): Specify elements.
25323         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25324         entry.
25325         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25326         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25327
25328         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25329         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25330         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25331         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25332         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25333         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25334         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25335         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25336         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25337         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25338         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25339         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25340         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25341         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25342         Likewise.
25343         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25344         Likewise.
25345         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25346         Likewise.
25347         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25348         Likewise.
25349         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25350         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25352         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25353         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25354         Specify lower bound on value.
25355         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25358         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25359         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25360         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25361         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25362         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25363         value.
25364         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25365         as optional.
25366         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25367         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25368         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25369         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25370         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25371         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25372         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25374         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25375         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25376         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25377         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25378         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25379         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25380         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25381         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25382         entry.
25383         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25384         optional.
25385         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25386         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25387         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25388         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25389         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25391         Likewise.
25392         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25393         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25394         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25395         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25396         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25397         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25399         as optional.
25400         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25402         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25403         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25404         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25405         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25406         specify as optional.
25407         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25408         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25409         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25410         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25411         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25412         [XPG3] (NL_LANGMAX): Likewise.
25413         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25414         [POSIX || XPG3] (NL_NMAX): Likewise.
25415         [POSIX || XPG3] (NL_SETMAX): Likewise.
25416         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25417         [XPG3] (NZERO): Likewise.
25418         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25419         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25420         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25421         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25422         (REG_ERANGE): Expect.
25423         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25424         optional-constant.
25425         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25426         Use (void) in prototype.
25427         [POSIX] (*_t): Allow.
25428         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25429         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25430         (WRDE_BADVAL): Expect.
25431
25432         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25433         expect.
25434         [XPG3 || XPG4] (O_RSYNC): Likewise.
25435         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25436         Likewise.
25437         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25438         [XPG3 || XPG4] (sigqueue): Likewise.
25439         [XPG3 || XPG4] (sigtimedwait): Likewise.
25440         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25441         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25442         [XPG3 || XPG4] (vsnprintf): Likewise.
25443         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25444         Likewise.
25445         [XPG3 || XPG4] (blksize_t): Likewise.
25446         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25447         Likewise.
25448         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25449         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25450         [XPG3 || XPG4] (struct itimerspec): Likewise.
25451         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25452         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25453         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25454         [XPG3 || XPG4] (clockid_t): Likewise.
25455         [XPG3 || XPG4] (timer_t): Likewise.
25456         [XPG3 || XPG4] (clock_getres): Likewise.
25457         [XPG3 || XPG4] (clock_gettime): Likewise.
25458         [XPG3 || XPG4] (clock_settime): Likewise.
25459         [XPG3 || XPG4] (nanosleep): Likewise.
25460         [XPG3 || XPG4] (timer_create): Likewise.
25461         [XPG3 || XPG4] (timer_delete): Likewise.
25462         [XPG3 || XPG4] (timer_gettime): Likewise.
25463         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25464         [XPG3 || XPG4] (timer_settime): Likewise.
25465         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25466         [XPG3 || XPG4] (getlogin_r): Likewise.
25467         [XPG3 || XPG4] (pread): Likewise.
25468         [XPG3 || XPG4] (pthread_atfork): Likewise.
25469         [XPG3 || XPG4] (pwrite): Likewise.
25470
25471         [BZ #14835]
25472         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25473         <bits/siginfo.h>.
25474
25475 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25476
25477         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25478         finalizing MALLSTREAM.
25479
25480         * sysdeps/mach/hurd/syncfs.c: New file.
25481
25482 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25483
25484         [BZ #14719]
25485         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25486         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25487         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25488         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25489         (_nss_dns_gethostbyname4_r): Likewise.
25490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25491         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25492
25493 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25494
25495         [BZ #13763]
25496         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25497
25498 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25499
25500         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25501         * elf/cache.c (print_entry): Print ",AArch64" for
25502         FLAG_AARCH64_LIB64
25503
25504         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25505         * elf/cache.c (print_entry): Print ",hard-float" for
25506         FLAG_ARM_LIBHF.
25507
25508 2012-11-18  David S. Miller  <davem@davemloft.net>
25509
25510         With help from Joseph Myers.
25511         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25512         cutoff to 2**-13.
25513         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25514         cutoff to 2**-25.
25515         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25516         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25517         small.
25518         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25519         * math/libm-test.inc (y0_test): New tests.
25520         (y1_test): New tests.
25521         * sysdeps/i386/fpu/libm-test-ulps: Update.
25522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25524
25525 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25526
25527         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25528         64-bit targets.
25529         * configure: Regenerated.
25530
25531 2012-11-17  David S. Miller  <davem@davemloft.net>
25532
25533         [BZ #14811]
25534         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25535         nonzero exponents with absolute value below 0x1p-128 to +/-
25536         0x1p-128.
25537
25538 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25539
25540         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25541
25542         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25543
25544         * posix/getconf-speclist.c: New file.
25545         * posix/posix-envs.def: Likewise.
25546         * posix/confstr.c (START_ENV_GROUP): New macro.
25547         (END_ENV_GROUP): Likewise.
25548         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25549         (KNOWN_PRESENT_ENV_STRING): Likewise.
25550         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25551         (UNKNOWN_ENVIRONMENT): Likewise.
25552         (confstr): Include posix-envs.def instead of handling
25553         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25554         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25555         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25556         (END_ENV_GROUP): Likewise.
25557         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25558         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25559         (UNKNOWN_ENVIRONMENT): Likewise.
25560         (__sysconf): Include posix-envs.def instead of handling associated
25561         cases directly here.
25562         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25563         preprocessing getconf-speclist.c rather than running getconf or
25564         generating empty file.
25565
25566 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25567
25568         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25569
25570 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25571
25572         [BZ #14672]
25573         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25574
25575 2012-11-16  David S. Miller  <davem@davemloft.net>
25576
25577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25578         smaller than LDBL_EPSILON/2.0L, just return xm1.
25579
25580 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25581
25582         * elf/tst-array1.c (init): Set constructor priority to 1000.
25583         (fini): Set destructor priority to 1000.
25584         * elf/tst-array2dep.c: Likewise.
25585
25586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25587
25588         [BZ #11741]
25589         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25590         (_IO_new_file_xsputn): Also return EOF if none of the input
25591         data was written when overflow failed.
25592         * libio/iopadn.c (_IO_padn): Likewise.
25593         * libio/iowpadn.c (_IO_wpadn): Likewise.
25594         * stdio-common/tst-put-error.c: Add copyright notice.
25595         (do_test): Add case for printing padded string.
25596         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25597         _IO_padn returned error.
25598         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25599         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25600         return EOF.
25601
25602 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25603
25604         * libio/libioP.h: Add comment note that the references to C++
25605         bits are now obsolete.
25606
25607 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25608
25609         * math/libm-test.inc (check_complex): Use asprintf.
25610
25611 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25612
25613         * debug/pcprofiledump.c (print_version): Update copyright year.
25614         * malloc/memusagestat.c (print_version): Likewise.
25615
25616 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25617
25618         [BZ #14831]
25619         * elf/Makefile (tests): Add tst-audit8.
25620         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25621         ($(objpfx)tst-audit8.out): New target.
25622         (tst-audit8-ENV): New variable.
25623         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25624         audit if l_reloc_result is NULL.
25625         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25626         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25627         * elf/tst-audit8.c: New file.
25628
25629 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25630
25631         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25632         * misc/Makefile (CFLAGS-select.c): Define.
25633         * posix/Makefile (CFLAGS-pause.c): Define.
25634
25635 2012-11-13  David S. Miller  <davem@davemloft.net>
25636
25637         * crypt/Makefile: Move test targets after toplevel Rules
25638         inclusion.  Grab any necessary sysdep routines when linking.
25639         * crypt/md5.c (md5_process_block): Remove define, we will always
25640         name it __md5_process_block.
25641         (md5_finish_ctx): Update md5_process_block call.
25642         (md5_stream): Likewise.
25643         (md5_process_bytes): Likewise.
25644         (md5_process_block): Rename to __md5_process_block and move to ...
25645         * crypt/md5-block.c: ... here.
25646         * crypt/sha256.c (sha256_process_block): Move to ...
25647         * crypt/sha256-block.c: ... here.
25648         * crypt/sha512.c (sha512_process_block): Move to ...
25649         * crypt/sha512-block.c: ... here.
25650         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25651         path.
25652         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25653         * sysdeps/sparc/sparc64/multiarch/Makefile
25654         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25655         crypt subdir.
25656         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25657         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25658         multiarch changes.
25659         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25660         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25661         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25662         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25663         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25664         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25665         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25666         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25668         file.
25669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25670         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25671         file.
25672         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25673
25674 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25675
25676         * timezone/tzselect.ksh: Update from tzcode git revision
25677         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25678         * timezone/zdump.c: Likewise.
25679         * timezone/zic.c: Likewise.
25680         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25681         in TZVERSION setting, not $(PKGVERSION).
25682         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25683         REPORT_BUGS_TO settings.
25684
25685         [BZ #14838]
25686         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25687         macro.
25688
25689 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25690
25691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25692         detection to immediately after _FP_ROUND().
25693         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25694         bits are 0.
25695
25696 2012-11-11  David S. Miller  <davem@davemloft.net>
25697
25698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25699         inttypes.h
25700         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25701         __close rather than their public counterparts.
25702
25703 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25704
25705         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25706         file.
25707         [UNIX98] (sem_timedwait): Do not expect.
25708         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25709         [XPG4 || UNIX98] (sockatmark): Do not expect.
25710         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25711         (clock_getcpuclockid): Do not expect.
25712         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25713         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25714         Do not expect.
25715         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25716         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25717         [UNIX98] (vwscanf): Likewise.
25718         [UNIX98] (vswscanf): Likewise.
25719
25720 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25721
25722         * timezone/version.h: Remove file.
25723         * timezone/README: Do not refer to version.h.
25724         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25725         $(objpfx)version.h.
25726         ($(objpfx)zdump.o): Likewise.
25727         ($(objpfx)version.h): New target.
25728
25729         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25730         2012i.
25731         * timezone/README: Don't mention modification to tzselect.ksh.
25732         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25733         work on unmodified tzselect.ksh.  Substitute version numbers in
25734         tzselect.ksh.
25735
25736         * Makefile (format-me): Remove.
25737         (INSTALL): Adjust indentation.  Use commands directly instead of
25738         using $(format-me).
25739
25740         * aclocal.m4 (ACX_PKGVERSION): New macro.
25741         (ACX_BUGURL): Likewise.
25742         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25743         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25744         (REPORT_BUGS_TO): Likewise.
25745         * configure: Regenerated.
25746         * config.h.in (PKGVERSION): New macro.
25747         (REPORT_BUGS_TO): Likewise.
25748         * config.make.in (PKGVERSION): New variable.
25749         (PKGVERSION_TEXI): Likewise.
25750         (REPORT_BUGS_TO): Likewise.
25751         (REPORT_BUGS_TEXI): Likewise.
25752         * Makefile (format-me): Use -I$(common-objpfx)manual.
25753         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25754         ($(common-objpfx)manual/%): New target.
25755         (manual/%): Remove target.
25756         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25757         (print_version): Use PKGVERSION.
25758         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25759         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25760         and REPORT_BUGS_TO.
25761         ($(objpfx)xtrace): Likewise.
25762         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25763         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25764         (print_version): Use PKGVERSION.
25765         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25766         (do_version): Use PKGVERSION.
25767         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25768         REPORT_BUGS_TO.
25769         (common-ldd-rewrite): Likewise.
25770         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25771         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25772         (print_version): Use PKGVERSION.
25773         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25774         * elf/pldd.c (argp_program_bug_address): Remove variable.
25775         (more_help): New function.
25776         (argp): Use more_help.
25777         (print_version): Use PKGVERSION.
25778         * elf/sln.c (main): Use PKGVERSION.
25779         (usage): Use REPORT_BUGS_TO.
25780         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25781         (top level): Use PKGVERSION.
25782         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25783         (print_version): Use PKGVERSION.
25784         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25785         (print_version): Use PKGVERSION.
25786         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25787         (print_version): Use PKGVERSION.
25788         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25789         (print_version): Use PKGVERSION.
25790         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25791         (print_version): Use PKGVERSION.
25792         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25793         (print_version): Use PKGVERSION.
25794         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25795         and BUGURL.
25796         ($(objpfx)memusage): Likewise.
25797         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25798         (do_version): Use PKGVERSION.
25799         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25800         (print_version): Use PKGVERSION.
25801         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25802         ($PKGVERSION): New variable.
25803         ($REPORT_BUGS_TO): Likewise.
25804         (usage): Use $REPORT_BUGS_TO.
25805         (top level): Use $PKGVERSION.
25806         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25807         ($(objpfx)pkgvers.texi): New rule.
25808         ($(objpfx)stamp-pkgvers): Likewise.
25809         * manual/install.texi: Include pkgvers.texi.
25810         (--with-pkgversion): Document new configure option.
25811         (--with-bugurl): Likewise.
25812         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25813         than necessarily for this particular distribution.  Use
25814         REPORT_BUGS_TO for where to report bugs.
25815         * INSTALL: Regenerated.
25816         * manual/libc.texinfo: Include pkgvers.texi.
25817         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25818         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25819         (print_version): Use PKGVERSION.
25820         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25821         (print_version): Use PKGVERSION.
25822         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25823         (print_version): Use PKGVERSION.
25824         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25825         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25826         macro.
25827         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25828         (print_version): Use PKGVERSION.
25829         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25830         (print_version): Use PKGVERSION.
25831         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25832         and PKGVERSION.
25833
25834         * timezone/checktab.awk: Update from tzcode 2012i.
25835         * timezone/ialloc.c: Likewise.
25836         * timezone/private.h: Likewise.
25837         * timezone/scheck.c: Likewise.
25838         * timezone/tzfile.h: Likewise.
25839         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25840         (TZVERSION): Hardcode tzcode version number.
25841         * timezone/zdump.c: Update from tzcode 2012i.
25842         * timezone/zic.c: Likewise.
25843         * timezone/version.h: New file.
25844         * timezone/README: Describe version.h.  Update upstream location.
25845
25846         [BZ #14824]
25847         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25848         (mktemp): Enable declaration.
25849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25852         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25853         Likewise.
25854         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25855         Likewise.
25856         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25857         Likewise.
25858         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25859         Likewise.
25860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25861         Likewise.
25862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25863         Likewise.
25864
25865         [BZ #14821]
25866         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25867         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25868         for copies of such integer values.
25869         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25870         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25871
25872 2012-11-09  Andreas Jaeger  <aj@suse.de>
25873
25874         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25875         definitions and declarations that are provided by
25876         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25877
25878 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25879
25880         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25881         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25882         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25883         definition.
25884
25885 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25886
25887         * elf/elf.h: Update comment before AArch64 relocations.
25888
25889 2012-11-07  David S. Miller  <davem@davemloft.net>
25890
25891         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25892         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25893         (__start_context): Declare.
25894         (__makecontext_ret): Delete.
25895         (__makecontext): Hook up __start_context instead of
25896         __makecontext_ret.
25897         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25898         (sysdep_routines): Add __start_context when in stdlib.
25899
25900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25901
25902         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25903         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25904         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25905         hardcoded "nm".
25906         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25907         (READELF): New variable.  Use it instead of hardcoded "readelf".
25908
25909 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25910
25911         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25912         * sysdeps/x86/Makefile: Here.
25913         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25914         * sysdeps/x86/tst-xmmymm.sh: This.
25915
25916 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25917
25918         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25919         expectations.
25920         [UNIX98] (pthread_barrier_t): Do not expect.
25921         [UNIX98] (pthread_barrierattr_t): Likewise.
25922         [UNIX98] (pthread_spinlock_t): Likewise.
25923         [UNIX98] (pthread_barrier_destroy): Likewise.
25924         [UNIX98] (pthread_barrier_init): Likewise.
25925         [UNIX98] (pthread_barrier_wait): Likewise.
25926         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25927         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25928         [UNIX98] (pthread_barrierattr_init): Likewise.
25929         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25930         [UNIX98] (pthread_getcpuclockid): Likewise.
25931         [UNIX98] (pthread_mutex_timedlock): Likewise.
25932         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25933         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25934         [UNIX98] (pthread_sigmask): Likewise.
25935         [UNIX98] (pthread_spin_destroy): Likewise.
25936         [UNIX98] (pthread_spin_init): Likewise.
25937         [UNIX98] (pthread_spin_lock): Likewise.
25938         [UNIX98] (pthread_spin_trylock): Likewise.
25939         [UNIX98] (pthread_spin_unlock): Likewise.
25940         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25941         Do not expect.
25942         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25943         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25944         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25945         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25946         [XPG3 || XPG4] (pthread_key_t): Likewise.
25947         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25948         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25949         [XPG3 || XPG4] (pthread_once_t): Likewise.
25950         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25951         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25952         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25953         [XPG3 || XPG4] (pthread_t): Likewise.
25954
25955         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25956         not expect.
25957         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25958
25959         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25960         Change function return type to int.
25961
25962         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25963         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25964         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25965         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25966         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25967         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25968         [!POSIX] (posix_madvise): Likewise.
25969         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25970         && !UNIX98].
25971         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25972         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25973         (mode_t): Likewise.
25974         (posix_mem_offset): Likewise.
25975         (posix_typed_mem_get_info): Likewise.
25976         (posix_typed_mem_open): Likewise.
25977
25978         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25979         Change condition to [XOPEN2K8].
25980
25981         * conform/conformtest.pl: Preprocess allow-header data with -x c
25982         instead of from stdin.
25983         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25984         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25985         [C99-based standards] (cerfc): Likewise.
25986         [C99-based standards] (cexp2): Likewise.
25987         [C99-based standards] (cexpm1): Likewise.
25988         [C99-based standards] (clog10): Likewise.
25989         [C99-based standards] (clog1p): Likewise.
25990         [C99-based standards] (clog2): Likewise.
25991         [C99-based standards] (clgamma): Likewise.
25992         [C99-based standards] (ctgamma): Likewise.
25993         [C99-based standards] (cerff): Likewise.
25994         [C99-based standards] (cerfcf): Likewise.
25995         [C99-based standards] (cexp2f): Likewise.
25996         [C99-based standards] (cexpm1f): Likewise.
25997         [C99-based standards] (clog10f): Likewise.
25998         [C99-based standards] (clog1pf): Likewise.
25999         [C99-based standards] (clog2f): Likewise.
26000         [C99-based standards] (clgammaf): Likewise.
26001         [C99-based standards] (ctgammaf): Likewise.
26002         [C99-based standards] (cerfl): Likewise.
26003         [C99-based standards] (cerfcl): Likewise.
26004         [C99-based standards] (cexp2l): Likewise.
26005         [C99-based standards] (cexpm1l): Likewise.
26006         [C99-based standards] (clog10l): Likewise.
26007         [C99-based standards] (clog1pl): Likewise.
26008         [C99-based standards] (clog2l): Likewise.
26009         [C99-based standards] (clgammal): Likewise.
26010         [C99-based standards] (ctgammal): Likewise.
26011         * conform/data/inttypes.h-data [C99-based standards]: Include
26012         stdint.h-data.  Remove all expectations for stdint.h contents.
26013         [C99-based standards] (PRI*): Do not allow.
26014         [C99-based standards] (SCN*): Likewise.
26015         [C99-based standards] (*_t): Likewise.
26016         [C99-based-standards] (PRId8): Expect macro.
26017         [C99-based-standards] (PRIi8): Likewise.
26018         [C99-based-standards] (PRIo8): Likewise.
26019         [C99-based-standards] (PRIu8): Likewise.
26020         [C99-based-standards] (PRIx8): Likewise.
26021         [C99-based-standards] (PRIX8): Likewise.
26022         [C99-based-standards] (SCNd8): Likewise.
26023         [C99-based-standards] (SCNi8): Likewise.
26024         [C99-based-standards] (SCNo8): Likewise.
26025         [C99-based-standards] (SCNu8): Likewise.
26026         [C99-based-standards] (SCNx8): Likewise.
26027         [C99-based-standards] (PRIdLEAST8): Likewise.
26028         [C99-based-standards] (PRIiLEAST8): Likewise.
26029         [C99-based-standards] (PRIoLEAST8): Likewise.
26030         [C99-based-standards] (PRIuLEAST8): Likewise.
26031         [C99-based-standards] (PRIxLEAST8): Likewise.
26032         [C99-based-standards] (PRIXLEAST8): Likewise.
26033         [C99-based-standards] (SCNdLEAST8): Likewise.
26034         [C99-based-standards] (SCNiLEAST8): Likewise.
26035         [C99-based-standards] (SCNoLEAST8): Likewise.
26036         [C99-based-standards] (SCNuLEAST8): Likewise.
26037         [C99-based-standards] (SCNxLEAST8): Likewise.
26038         [C99-based-standards] (PRIdFAST8): Likewise.
26039         [C99-based-standards] (PRIiFAST8): Likewise.
26040         [C99-based-standards] (PRIoFAST8): Likewise.
26041         [C99-based-standards] (PRIuFAST8): Likewise.
26042         [C99-based-standards] (PRIxFAST8): Likewise.
26043         [C99-based-standards] (PRIXFAST8): Likewise.
26044         [C99-based-standards] (SCNdFAST8): Likewise.
26045         [C99-based-standards] (SCNiFAST8): Likewise.
26046         [C99-based-standards] (SCNoFAST8): Likewise.
26047         [C99-based-standards] (SCNuFAST8): Likewise.
26048         [C99-based-standards] (SCNxFAST8): Likewise.
26049         [C99-based-standards] (PRId16): Likewise.
26050         [C99-based-standards] (PRIi16): Likewise.
26051         [C99-based-standards] (PRIo16): Likewise.
26052         [C99-based-standards] (PRIu16): Likewise.
26053         [C99-based-standards] (PRIx16): Likewise.
26054         [C99-based-standards] (PRIX16): Likewise.
26055         [C99-based-standards] (SCNd16): Likewise.
26056         [C99-based-standards] (SCNi16): Likewise.
26057         [C99-based-standards] (SCNo16): Likewise.
26058         [C99-based-standards] (SCNu16): Likewise.
26059         [C99-based-standards] (SCNx16): Likewise.
26060         [C99-based-standards] (PRIdLEAST16): Likewise.
26061         [C99-based-standards] (PRIiLEAST16): Likewise.
26062         [C99-based-standards] (PRIoLEAST16): Likewise.
26063         [C99-based-standards] (PRIuLEAST16): Likewise.
26064         [C99-based-standards] (PRIxLEAST16): Likewise.
26065         [C99-based-standards] (PRIXLEAST16): Likewise.
26066         [C99-based-standards] (SCNdLEAST16): Likewise.
26067         [C99-based-standards] (SCNiLEAST16): Likewise.
26068         [C99-based-standards] (SCNoLEAST16): Likewise.
26069         [C99-based-standards] (SCNuLEAST16): Likewise.
26070         [C99-based-standards] (SCNxLEAST16): Likewise.
26071         [C99-based-standards] (PRIdFAST16): Likewise.
26072         [C99-based-standards] (PRIiFAST16): Likewise.
26073         [C99-based-standards] (PRIoFAST16): Likewise.
26074         [C99-based-standards] (PRIuFAST16): Likewise.
26075         [C99-based-standards] (PRIxFAST16): Likewise.
26076         [C99-based-standards] (PRIXFAST16): Likewise.
26077         [C99-based-standards] (SCNdFAST16): Likewise.
26078         [C99-based-standards] (SCNiFAST16): Likewise.
26079         [C99-based-standards] (SCNoFAST16): Likewise.
26080         [C99-based-standards] (SCNuFAST16): Likewise.
26081         [C99-based-standards] (SCNxFAST16): Likewise.
26082         [C99-based-standards] (PRId32): Likewise.
26083         [C99-based-standards] (PRIi32): Likewise.
26084         [C99-based-standards] (PRIo32): Likewise.
26085         [C99-based-standards] (PRIu32): Likewise.
26086         [C99-based-standards] (PRIx32): Likewise.
26087         [C99-based-standards] (PRIX32): Likewise.
26088         [C99-based-standards] (SCNd32): Likewise.
26089         [C99-based-standards] (SCNi32): Likewise.
26090         [C99-based-standards] (SCNo32): Likewise.
26091         [C99-based-standards] (SCNu32): Likewise.
26092         [C99-based-standards] (SCNx32): Likewise.
26093         [C99-based-standards] (PRIdLEAST32): Likewise.
26094         [C99-based-standards] (PRIiLEAST32): Likewise.
26095         [C99-based-standards] (PRIoLEAST32): Likewise.
26096         [C99-based-standards] (PRIuLEAST32): Likewise.
26097         [C99-based-standards] (PRIxLEAST32): Likewise.
26098         [C99-based-standards] (PRIXLEAST32): Likewise.
26099         [C99-based-standards] (SCNdLEAST32): Likewise.
26100         [C99-based-standards] (SCNiLEAST32): Likewise.
26101         [C99-based-standards] (SCNoLEAST32): Likewise.
26102         [C99-based-standards] (SCNuLEAST32): Likewise.
26103         [C99-based-standards] (SCNxLEAST32): Likewise.
26104         [C99-based-standards] (PRIdFAST32): Likewise.
26105         [C99-based-standards] (PRIiFAST32): Likewise.
26106         [C99-based-standards] (PRIoFAST32): Likewise.
26107         [C99-based-standards] (PRIuFAST32): Likewise.
26108         [C99-based-standards] (PRIxFAST32): Likewise.
26109         [C99-based-standards] (PRIXFAST32): Likewise.
26110         [C99-based-standards] (SCNdFAST32): Likewise.
26111         [C99-based-standards] (SCNiFAST32): Likewise.
26112         [C99-based-standards] (SCNoFAST32): Likewise.
26113         [C99-based-standards] (SCNuFAST32): Likewise.
26114         [C99-based-standards] (SCNxFAST32): Likewise.
26115         [C99-based-standards] (PRId64): Likewise.
26116         [C99-based-standards] (PRIi64): Likewise.
26117         [C99-based-standards] (PRIo64): Likewise.
26118         [C99-based-standards] (PRIu64): Likewise.
26119         [C99-based-standards] (PRIx64): Likewise.
26120         [C99-based-standards] (PRIX64): Likewise.
26121         [C99-based-standards] (SCNd64): Likewise.
26122         [C99-based-standards] (SCNi64): Likewise.
26123         [C99-based-standards] (SCNo64): Likewise.
26124         [C99-based-standards] (SCNu64): Likewise.
26125         [C99-based-standards] (SCNx64): Likewise.
26126         [C99-based-standards] (PRIdLEAST64): Likewise.
26127         [C99-based-standards] (PRIiLEAST64): Likewise.
26128         [C99-based-standards] (PRIoLEAST64): Likewise.
26129         [C99-based-standards] (PRIuLEAST64): Likewise.
26130         [C99-based-standards] (PRIxLEAST64): Likewise.
26131         [C99-based-standards] (PRIXLEAST64): Likewise.
26132         [C99-based-standards] (SCNdLEAST64): Likewise.
26133         [C99-based-standards] (SCNiLEAST64): Likewise.
26134         [C99-based-standards] (SCNoLEAST64): Likewise.
26135         [C99-based-standards] (SCNuLEAST64): Likewise.
26136         [C99-based-standards] (SCNxLEAST64): Likewise.
26137         [C99-based-standards] (PRIdFAST64): Likewise.
26138         [C99-based-standards] (PRIiFAST64): Likewise.
26139         [C99-based-standards] (PRIoFAST64): Likewise.
26140         [C99-based-standards] (PRIuFAST64): Likewise.
26141         [C99-based-standards] (PRIxFAST64): Likewise.
26142         [C99-based-standards] (PRIXFAST64): Likewise.
26143         [C99-based-standards] (SCNdFAST64): Likewise.
26144         [C99-based-standards] (SCNiFAST64): Likewise.
26145         [C99-based-standards] (SCNoFAST64): Likewise.
26146         [C99-based-standards] (SCNuFAST64): Likewise.
26147         [C99-based-standards] (SCNxFAST64): Likewise.
26148         [C99-based-standards] (PRIdMAX): Likewise.
26149         [C99-based-standards] (PRIiMAX): Likewise.
26150         [C99-based-standards] (PRIoMAX): Likewise.
26151         [C99-based-standards] (PRIuMAX): Likewise.
26152         [C99-based-standards] (PRIxMAX): Likewise.
26153         [C99-based-standards] (PRIXMAX): Likewise.
26154         [C99-based-standards] (SCNdMAX): Likewise.
26155         [C99-based-standards] (SCNiMAX): Likewise.
26156         [C99-based-standards] (SCNoMAX): Likewise.
26157         [C99-based-standards] (SCNuMAX): Likewise.
26158         [C99-based-standards] (SCNxMAX): Likewise.
26159         [C99-based-standards] (PRIdPTR): Likewise.
26160         [C99-based-standards] (PRIiPTR): Likewise.
26161         [C99-based-standards] (PRIoPTR): Likewise.
26162         [C99-based-standards] (PRIuPTR): Likewise.
26163         [C99-based-standards] (PRIxPTR): Likewise.
26164         [C99-based-standards] (PRIXPTR): Likewise.
26165         [C99-based-standards] (SCNdPTR): Likewise.
26166         [C99-based-standards] (SCNiPTR): Likewise.
26167         [C99-based-standards] (SCNoPTR): Likewise.
26168         [C99-based-standards] (SCNuPTR): Likewise.
26169         [C99-based-standards] (SCNxPTR): Likewise.
26170         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26171         allow.
26172         * conform/data/stdint.h-data: Update comments to clarify
26173         requirements.
26174         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26175         type.
26176         [C99-based standards] (INT8_MAX): Likewise.
26177         [C99-based standards] (INT16_MIN): Likewise.
26178         [C99-based standards] (INT16_MAX): Likewise.
26179         [C99-based standards] (INT32_MIN): Likewise.
26180         [C99-based standards] (INT32_MAX): Likewise.
26181         [C99-based standards] (INT64_MIN): Likewise.
26182         [C99-based standards] (INT64_MAX): Likewise.
26183         [C99-based standards] (UINT8_MAX): Likewise.
26184         [C99-based standards] (UINT16_MAX): Likewise.
26185         [C99-based standards] (UINT32_MAX): Likewise.
26186         [C99-based standards] (UINT64_MAX): Likewise.
26187         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26188         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26189         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26190         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26191         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26192         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26193         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26194         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26195         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26196         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26197         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26198         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26199         [C99-based standards] (INT_FAST8_MIN): Likewise.
26200         [C99-based standards] (INT_FAST8_MAX): Likewise.
26201         [C99-based standards] (INT_FAST16_MIN): Likewise.
26202         [C99-based standards] (INT_FAST16_MAX): Likewise.
26203         [C99-based standards] (INT_FAST32_MIN): Likewise.
26204         [C99-based standards] (INT_FAST32_MAX): Likewise.
26205         [C99-based standards] (INT_FAST64_MIN): Likewise.
26206         [C99-based standards] (INT_FAST64_MAX): Likewise.
26207         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26208         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26209         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26210         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26211         [C99-based standards] (INTPTR_MIN): Likewise.
26212         [C99-based standards] (INTPTR_MAX): Likewise.
26213         [C99-based standards] (UINTPTR_MAX): Likewise.
26214         [C99-based standards] (INTMAX_MIN): Likewise.
26215         [C99-based standards] (INTMAX_MAX): Likewise.
26216         [C99-based standards] (UINTMAX_MAX): Likewise.
26217         [C99-based standards] (PTRDIFF_MIN): Likewise.
26218         [C99-based standards] (PTRDIFF_MAX): Likewise.
26219         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26220         [C99-based standards] (SIZE_MAX): Likewise.
26221         [C99-based standards] (WCHAR_MAX): Likewise.
26222         [C99-based standards] (WINT_MAX): Likewise.
26223         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26224         constraint on value.
26225         [C99-based standards] (WCHAR_MIN): Likewise.
26226         [C99-based standards] (WINT_MIN): Likewise.
26227         [C99-based standards] (*_t): Allow.
26228         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26229         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26230         Include math.h-data and complex.h-data.  Remove all expectations
26231         of math.h and complex.h contents.
26232         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26233         at end of line.
26234         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26235         (struct tm): Expect tag.
26236         [C99-based-standards] (wcstof): Expect function.
26237         [C99-based-standards] (wcstold): Likewise.
26238         [C99-based-standards] (wcstoll): Likewise.
26239         [C99-based-standards] (wcstoull): Likewise.
26240         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26241         macro-int-constant.  Specify type.
26242         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26243         constraint on value.
26244         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26245         Specify type.
26246         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26247         Specify value.
26248         [ISO C standards]: Do not allow headers.
26249         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26250         wcs[abcdefghijklmnopqrstuvwxyz]*.
26251         [ISO C standards] (*_t): Do not allow.
26252         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26253         Expect function.
26254         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26255         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26256         Specify type.
26257         [ISO C standards]: Do not allow headers.
26258         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26259         is[abcdefghijklmnopqrstuvwxyz]*.
26260         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26261         to[abcdefghijklmnopqrstuvwxyz]*.
26262         [ISO C standards] (*_t): Do not allow.
26263         * conform/data/stdalign.h-data: New file.
26264         * conform/data/stdbool.h-data: Likewise.
26265         * conform/data/stdnoreturn.h-data: Likewise.
26266
26267 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26268
26269         [BZ #14815]
26270         * manual/filesys.texi (Directory Entries): Typo fix.
26271         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26272
26273 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26274
26275         * elf/elf.h (EM_AARCH64): New macro.
26276         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26277         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26278         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26279         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26280         (R_AARCH64_TLSDESC): Likewise.
26281         (NT_ARM_TLS): Likewise.
26282         (NT_ARM_HW_BREAK): Likewise.
26283         (NT_ARM_HW_WATCH): Likewise.
26284
26285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26286
26287         [BZ #14811]
26288         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26289         (__ieee754_powl): Saturate nonzero exponents with absolute value
26290         below 0x1p-79 to +/- 0x1p-79.
26291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26292         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26293         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26294         nonzero exponents with absolute value below 0x1p-32 to +/-
26295         0x1p-32.
26296         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26297         (__ieee754_powl): Saturate nonzero exponents with absolute value
26298         below 0x1p-79 to +/- 0x1p-79.
26299         * math/libm-test.inc (pow_test): Add more tests.
26300
26301 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26302
26303         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26304         _dl_s390_cap_flags with kernel. Increase string length.
26305         (_dl_s390_platforms): Add z196 and zEC12.
26306
26307 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26308
26309         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26310         Change XOPEN21K to XOPEN2K.
26311
26312 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26313
26314         * string/memmove.c: Use memcpy when possible.
26315
26316 2012-11-06  Andreas Jaeger  <aj@suse.de>
26317
26318         * po/eo.po: Update from translation team.
26319
26320 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26321
26322         [BZ #14793]
26323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26324         exponent and small x and y exponents, scale x or y up.  Increase
26325         by 2 the exponent used in scaling up.
26326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26328         * math/libm-test.inc (fma_test): Add more tests.
26329         (fma_test_towardzero): Likewise.
26330         (fma_test_downward): Likewise.
26331         (fma_test_upward): Likewise.
26332
26333 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26334
26335         [BZ #14805]
26336         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26337         fenv_t *.
26338
26339         [BZ #14801]
26340         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26341         namespace for names of struct fields.
26342         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26343         fenv_t fields.
26344         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26345         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26346
26347 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26348
26349         [BZ #3665]
26350         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26351
26352 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26353
26354         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26355         PTR_DEMANGLE.
26356
26357         [BZ #5246]
26358         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26359         PTR_DEMANGLE.
26360
26361 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26362
26363         [BZ #14797]
26364         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26365         definitely overflow as x * y not x * y + z.
26366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26368         * math/libm-test.inc (fma_test): Add more tests.
26369         (fma_test_towardzero): Likewise.
26370         (fma_test_downward): Likewise.
26371         (fma_test_upward): Likewise.
26372
26373 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26374
26375         [BZ #157]
26376
26377         * include/stub-tag.h: Remove file.
26378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26379         '#include' of it.
26380         * manual/maint.texi (Porting): Don't reference it.
26381         * Makerules ($(objpfx)stubs): Likewise.
26382         * dirent/closedir.c: Don't include <stub-tag.h>.
26383         * dirent/dirfd.c: Likewise.
26384         * dirent/fdopendir.c: Likewise.
26385         * dirent/getdents.c: Likewise.
26386         * dirent/getdents64.c: Likewise.
26387         * dirent/opendir.c: Likewise.
26388         * dirent/readdir.c: Likewise.
26389         * dirent/readdir64.c: Likewise.
26390         * dirent/readdir64_r.c: Likewise.
26391         * dirent/readdir_r.c: Likewise.
26392         * dirent/rewinddir.c: Likewise.
26393         * dirent/seekdir.c: Likewise.
26394         * dirent/telldir.c: Likewise.
26395         * gmon/profil.c: Likewise.
26396         * grp/setgroups.c: Likewise.
26397         * inet/if_index.c: Likewise.
26398         * io/access.c: Likewise.
26399         * io/chdir.c: Likewise.
26400         * io/chmod.c: Likewise.
26401         * io/chown.c: Likewise.
26402         * io/close.c: Likewise.
26403         * io/dup.c: Likewise.
26404         * io/dup2.c: Likewise.
26405         * io/dup3.c: Likewise.
26406         * io/euidaccess.c: Likewise.
26407         * io/faccessat.c: Likewise.
26408         * io/fchdir.c: Likewise.
26409         * io/fchmod.c: Likewise.
26410         * io/fchmodat.c: Likewise.
26411         * io/fchown.c: Likewise.
26412         * io/fchownat.c: Likewise.
26413         * io/fcntl.c: Likewise.
26414         * io/flock.c: Likewise.
26415         * io/fstatfs.c: Likewise.
26416         * io/fstatfs64.c: Likewise.
26417         * io/fstatvfs.c: Likewise.
26418         * io/fstatvfs64.c: Likewise.
26419         * io/futimens.c: Likewise.
26420         * io/fxstat.c: Likewise.
26421         * io/fxstat64.c: Likewise.
26422         * io/fxstatat.c: Likewise.
26423         * io/fxstatat64.c: Likewise.
26424         * io/getcwd.c: Likewise.
26425         * io/isatty.c: Likewise.
26426         * io/lchmod.c: Likewise.
26427         * io/lchown.c: Likewise.
26428         * io/link.c: Likewise.
26429         * io/linkat.c: Likewise.
26430         * io/lseek.c: Likewise.
26431         * io/lseek64.c: Likewise.
26432         * io/lxstat64.c: Likewise.
26433         * io/mkdir.c: Likewise.
26434         * io/mkdirat.c: Likewise.
26435         * io/mkfifo.c: Likewise.
26436         * io/mkfifoat.c: Likewise.
26437         * io/open.c: Likewise.
26438         * io/open64.c: Likewise.
26439         * io/openat.c: Likewise.
26440         * io/openat64.c: Likewise.
26441         * io/pipe.c: Likewise.
26442         * io/pipe2.c: Likewise.
26443         * io/poll.c: Likewise.
26444         * io/posix_fadvise.c: Likewise.
26445         * io/posix_fadvise64.c: Likewise.
26446         * io/posix_fallocate.c: Likewise.
26447         * io/posix_fallocate64.c: Likewise.
26448         * io/read.c: Likewise.
26449         * io/readlink.c: Likewise.
26450         * io/readlinkat.c: Likewise.
26451         * io/rmdir.c: Likewise.
26452         * io/sendfile.c: Likewise.
26453         * io/sendfile64.c: Likewise.
26454         * io/statfs.c: Likewise.
26455         * io/statfs64.c: Likewise.
26456         * io/statvfs.c: Likewise.
26457         * io/statvfs64.c: Likewise.
26458         * io/symlink.c: Likewise.
26459         * io/symlinkat.c: Likewise.
26460         * io/ttyname.c: Likewise.
26461         * io/ttyname_r.c: Likewise.
26462         * io/umask.c: Likewise.
26463         * io/unlink.c: Likewise.
26464         * io/unlinkat.c: Likewise.
26465         * io/utime.c: Likewise.
26466         * io/utimensat.c: Likewise.
26467         * io/write.c: Likewise.
26468         * io/xmknod.c: Likewise.
26469         * io/xmknodat.c: Likewise.
26470         * io/xstat.c: Likewise.
26471         * io/xstat64.c: Likewise.
26472         * login/getpt.c: Likewise.
26473         * login/grantpt.c: Likewise.
26474         * login/unlockpt.c: Likewise.
26475         * math/e_acoshl.c: Likewise.
26476         * math/e_acosl.c: Likewise.
26477         * math/e_asinl.c: Likewise.
26478         * math/e_atan2l.c: Likewise.
26479         * math/e_atanhl.c: Likewise.
26480         * math/e_coshl.c: Likewise.
26481         * math/e_expl.c: Likewise.
26482         * math/e_fmodl.c: Likewise.
26483         * math/e_gammal_r.c: Likewise.
26484         * math/e_hypotl.c: Likewise.
26485         * math/e_j0l.c: Likewise.
26486         * math/e_j1l.c: Likewise.
26487         * math/e_jnl.c: Likewise.
26488         * math/e_lgammal_r.c: Likewise.
26489         * math/e_log10l.c: Likewise.
26490         * math/e_log2l.c: Likewise.
26491         * math/e_logl.c: Likewise.
26492         * math/e_powl.c: Likewise.
26493         * math/e_rem_pio2l.c: Likewise.
26494         * math/e_sinhl.c: Likewise.
26495         * math/e_sqrtl.c: Likewise.
26496         * math/fclrexcpt.c: Likewise.
26497         * math/fedisblxcpt.c: Likewise.
26498         * math/feenablxcpt.c: Likewise.
26499         * math/fegetenv.c: Likewise.
26500         * math/fegetexcept.c: Likewise.
26501         * math/fegetround.c: Likewise.
26502         * math/feholdexcpt.c: Likewise.
26503         * math/fesetenv.c: Likewise.
26504         * math/fesetround.c: Likewise.
26505         * math/feupdateenv.c: Likewise.
26506         * math/fgetexcptflg.c: Likewise.
26507         * math/fraiseexcpt.c: Likewise.
26508         * math/fsetexcptflg.c: Likewise.
26509         * math/ftestexcept.c: Likewise.
26510         * math/k_cosl.c: Likewise.
26511         * math/k_rem_pio2l.c: Likewise.
26512         * math/k_sinl.c: Likewise.
26513         * math/k_tanl.c: Likewise.
26514         * math/s_asinhl.c: Likewise.
26515         * math/s_atanl.c: Likewise.
26516         * math/s_cbrtl.c: Likewise.
26517         * math/s_erfl.c: Likewise.
26518         * math/s_expm1l.c: Likewise.
26519         * math/s_log1pl.c: Likewise.
26520         * math/s_tanhl.c: Likewise.
26521         * misc/acct.c: Likewise.
26522         * misc/brk.c: Likewise.
26523         * misc/chflags.c: Likewise.
26524         * misc/chroot.c: Likewise.
26525         * misc/fchflags.c: Likewise.
26526         * misc/fgetxattr.c: Likewise.
26527         * misc/flistxattr.c: Likewise.
26528         * misc/fremovexattr.c: Likewise.
26529         * misc/fsetxattr.c: Likewise.
26530         * misc/fsync.c: Likewise.
26531         * misc/ftruncate.c: Likewise.
26532         * misc/futimes.c: Likewise.
26533         * misc/futimesat.c: Likewise.
26534         * misc/getdomain.c: Likewise.
26535         * misc/getdtsz.c: Likewise.
26536         * misc/gethostid.c: Likewise.
26537         * misc/gethostname.c: Likewise.
26538         * misc/getloadavg.c: Likewise.
26539         * misc/getpagesize.c: Likewise.
26540         * misc/getsysstats.c: Likewise.
26541         * misc/getxattr.c: Likewise.
26542         * misc/gtty.c: Likewise.
26543         * misc/ioctl.c: Likewise.
26544         * misc/lgetxattr.c: Likewise.
26545         * misc/listxattr.c: Likewise.
26546         * misc/llistxattr.c: Likewise.
26547         * misc/lremovexattr.c: Likewise.
26548         * misc/lsetxattr.c: Likewise.
26549         * misc/lutimes.c: Likewise.
26550         * misc/madvise.c: Likewise.
26551         * misc/mincore.c: Likewise.
26552         * misc/mlock.c: Likewise.
26553         * misc/mlockall.c: Likewise.
26554         * misc/mmap.c: Likewise.
26555         * misc/mprotect.c: Likewise.
26556         * misc/msync.c: Likewise.
26557         * misc/munlock.c: Likewise.
26558         * misc/munlockall.c: Likewise.
26559         * misc/munmap.c: Likewise.
26560         * misc/preadv.c: Likewise.
26561         * misc/preadv64.c: Likewise.
26562         * misc/ptrace.c: Likewise.
26563         * misc/pwritev.c: Likewise.
26564         * misc/pwritev64.c: Likewise.
26565         * misc/readv.c: Likewise.
26566         * misc/reboot.c: Likewise.
26567         * misc/remap_file_pages.c: Likewise.
26568         * misc/removexattr.c: Likewise.
26569         * misc/revoke.c: Likewise.
26570         * misc/select.c: Likewise.
26571         * misc/setdomain.c: Likewise.
26572         * misc/setegid.c: Likewise.
26573         * misc/seteuid.c: Likewise.
26574         * misc/sethostid.c: Likewise.
26575         * misc/sethostname.c: Likewise.
26576         * misc/setregid.c: Likewise.
26577         * misc/setreuid.c: Likewise.
26578         * misc/setxattr.c: Likewise.
26579         * misc/sstk.c: Likewise.
26580         * misc/stty.c: Likewise.
26581         * misc/swapoff.c: Likewise.
26582         * misc/swapon.c: Likewise.
26583         * misc/sync.c: Likewise.
26584         * misc/syncfs.c: Likewise.
26585         * misc/syscall.c: Likewise.
26586         * misc/truncate.c: Likewise.
26587         * misc/ualarm.c: Likewise.
26588         * misc/usleep.c: Likewise.
26589         * misc/ustat.c: Likewise.
26590         * misc/utimes.c: Likewise.
26591         * misc/vhangup.c: Likewise.
26592         * misc/writev.c: Likewise.
26593         * posix/_exit.c: Likewise.
26594         * posix/alarm.c: Likewise.
26595         * posix/execve.c: Likewise.
26596         * posix/fexecve.c: Likewise.
26597         * posix/fork.c: Likewise.
26598         * posix/fpathconf.c: Likewise.
26599         * posix/getaddrinfo.c: Likewise.
26600         * posix/getegid.c: Likewise.
26601         * posix/geteuid.c: Likewise.
26602         * posix/getgid.c: Likewise.
26603         * posix/getgroups.c: Likewise.
26604         * posix/getlogin.c: Likewise.
26605         * posix/getlogin_r.c: Likewise.
26606         * posix/getpgid.c: Likewise.
26607         * posix/getpid.c: Likewise.
26608         * posix/getppid.c: Likewise.
26609         * posix/getresgid.c: Likewise.
26610         * posix/getresuid.c: Likewise.
26611         * posix/getsid.c: Likewise.
26612         * posix/getuid.c: Likewise.
26613         * posix/glob64.c: Likewise.
26614         * posix/nanosleep.c: Likewise.
26615         * posix/pathconf.c: Likewise.
26616         * posix/pause.c: Likewise.
26617         * posix/posix_madvise.c: Likewise.
26618         * posix/pread.c: Likewise.
26619         * posix/pread64.c: Likewise.
26620         * posix/pwrite.c: Likewise.
26621         * posix/pwrite64.c: Likewise.
26622         * posix/sched_getaffinity.c: Likewise.
26623         * posix/sched_getp.c: Likewise.
26624         * posix/sched_gets.c: Likewise.
26625         * posix/sched_primax.c: Likewise.
26626         * posix/sched_primin.c: Likewise.
26627         * posix/sched_rr_gi.c: Likewise.
26628         * posix/sched_setaffinity.c: Likewise.
26629         * posix/sched_setp.c: Likewise.
26630         * posix/sched_sets.c: Likewise.
26631         * posix/sched_yield.c: Likewise.
26632         * posix/setgid.c: Likewise.
26633         * posix/setlogin.c: Likewise.
26634         * posix/setpgid.c: Likewise.
26635         * posix/setresgid.c: Likewise.
26636         * posix/setresuid.c: Likewise.
26637         * posix/setsid.c: Likewise.
26638         * posix/setuid.c: Likewise.
26639         * posix/sleep.c: Likewise.
26640         * posix/spawni.c: Likewise.
26641         * posix/sysconf.c: Likewise.
26642         * posix/times.c: Likewise.
26643         * posix/wait.c: Likewise.
26644         * posix/wait3.c: Likewise.
26645         * posix/wait4.c: Likewise.
26646         * posix/waitpid.c: Likewise.
26647         * resolv/gai_sigqueue.c: Likewise.
26648         * resource/getpriority.c: Likewise.
26649         * resource/getrlimit.c: Likewise.
26650         * resource/getrusage.c: Likewise.
26651         * resource/nice.c: Likewise.
26652         * resource/setpriority.c: Likewise.
26653         * resource/setrlimit.c: Likewise.
26654         * resource/ulimit.c: Likewise.
26655         * rt/aio_cancel.c: Likewise.
26656         * rt/aio_fsync.c: Likewise.
26657         * rt/aio_read.c: Likewise.
26658         * rt/aio_sigqueue.c: Likewise.
26659         * rt/aio_suspend.c: Likewise.
26660         * rt/aio_write.c: Likewise.
26661         * rt/clock_getres.c: Likewise.
26662         * rt/clock_gettime.c: Likewise.
26663         * rt/clock_nanosleep.c: Likewise.
26664         * rt/clock_settime.c: Likewise.
26665         * rt/lio_listio.c: Likewise.
26666         * rt/mq_close.c: Likewise.
26667         * rt/mq_getattr.c: Likewise.
26668         * rt/mq_notify.c: Likewise.
26669         * rt/mq_open.c: Likewise.
26670         * rt/mq_receive.c: Likewise.
26671         * rt/mq_send.c: Likewise.
26672         * rt/mq_setattr.c: Likewise.
26673         * rt/mq_timedreceive.c: Likewise.
26674         * rt/mq_timedsend.c: Likewise.
26675         * rt/mq_unlink.c: Likewise.
26676         * rt/shm_open.c: Likewise.
26677         * rt/shm_unlink.c: Likewise.
26678         * rt/timer_create.c: Likewise.
26679         * rt/timer_delete.c: Likewise.
26680         * rt/timer_getoverr.c: Likewise.
26681         * rt/timer_gettime.c: Likewise.
26682         * rt/timer_settime.c: Likewise.
26683         * setjmp/__longjmp.c: Likewise.
26684         * setjmp/setjmp.c: Likewise.
26685         * signal/kill.c: Likewise.
26686         * signal/killpg.c: Likewise.
26687         * signal/raise.c: Likewise.
26688         * signal/sigaction.c: Likewise.
26689         * signal/sigaltstack.c: Likewise.
26690         * signal/sigblock.c: Likewise.
26691         * signal/sigignore.c: Likewise.
26692         * signal/sigintr.c: Likewise.
26693         * signal/signal.c: Likewise.
26694         * signal/sigpause.c: Likewise.
26695         * signal/sigpending.c: Likewise.
26696         * signal/sigqueue.c: Likewise.
26697         * signal/sigreturn.c: Likewise.
26698         * signal/sigset.c: Likewise.
26699         * signal/sigsetmask.c: Likewise.
26700         * signal/sigstack.c: Likewise.
26701         * signal/sigsuspend.c: Likewise.
26702         * signal/sigtimedwait.c: Likewise.
26703         * signal/sigvec.c: Likewise.
26704         * signal/sigwait.c: Likewise.
26705         * signal/sigwaitinfo.c: Likewise.
26706         * signal/sysv_signal.c: Likewise.
26707         * socket/accept.c: Likewise.
26708         * socket/accept4.c: Likewise.
26709         * socket/bind.c: Likewise.
26710         * socket/connect.c: Likewise.
26711         * socket/getpeername.c: Likewise.
26712         * socket/getsockname.c: Likewise.
26713         * socket/getsockopt.c: Likewise.
26714         * socket/isfdtype.c: Likewise.
26715         * socket/listen.c: Likewise.
26716         * socket/recv.c: Likewise.
26717         * socket/recvfrom.c: Likewise.
26718         * socket/recvmsg.c: Likewise.
26719         * socket/send.c: Likewise.
26720         * socket/sendmsg.c: Likewise.
26721         * socket/sendto.c: Likewise.
26722         * socket/setsockopt.c: Likewise.
26723         * socket/shutdown.c: Likewise.
26724         * socket/sockatmark.c: Likewise.
26725         * socket/socket.c: Likewise.
26726         * socket/socketpair.c: Likewise.
26727         * stdio-common/ctermid.c: Likewise.
26728         * stdio-common/cuserid.c: Likewise.
26729         * stdio-common/remove.c: Likewise.
26730         * stdio-common/rename.c: Likewise.
26731         * stdio-common/renameat.c: Likewise.
26732         * stdio-common/tempname.c: Likewise.
26733         * stdlib/getcontext.c: Likewise.
26734         * stdlib/makecontext.c: Likewise.
26735         * stdlib/setcontext.c: Likewise.
26736         * stdlib/swapcontext.c: Likewise.
26737         * stdlib/system.c: Likewise.
26738         * streams/fattach.c: Likewise.
26739         * streams/fdetach.c: Likewise.
26740         * streams/getmsg.c: Likewise.
26741         * streams/getpmsg.c: Likewise.
26742         * streams/putmsg.c: Likewise.
26743         * streams/putpmsg.c: Likewise.
26744         * sysdeps/unix/bsd/getpt.c: Likewise.
26745         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26746         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26747         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26749         Likewise.
26750         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26751         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26752         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26753         * sysvipc/msgctl.c: Likewise.
26754         * sysvipc/msgget.c: Likewise.
26755         * sysvipc/msgrcv.c: Likewise.
26756         * sysvipc/msgsnd.c: Likewise.
26757         * sysvipc/semctl.c: Likewise.
26758         * sysvipc/semget.c: Likewise.
26759         * sysvipc/semop.c: Likewise.
26760         * sysvipc/semtimedop.c: Likewise.
26761         * sysvipc/shmat.c: Likewise.
26762         * sysvipc/shmctl.c: Likewise.
26763         * sysvipc/shmdt.c: Likewise.
26764         * sysvipc/shmget.c: Likewise.
26765         * termios/tcdrain.c: Likewise.
26766         * termios/tcflow.c: Likewise.
26767         * termios/tcflush.c: Likewise.
26768         * termios/tcgetattr.c: Likewise.
26769         * termios/tcgetpgrp.c: Likewise.
26770         * termios/tcsendbrk.c: Likewise.
26771         * termios/tcsetattr.c: Likewise.
26772         * termios/tcsetpgrp.c: Likewise.
26773         * time/adjtime.c: Likewise.
26774         * time/clock.c: Likewise.
26775         * time/getitimer.c: Likewise.
26776         * time/gettimeofday.c: Likewise.
26777         * time/setitimer.c: Likewise.
26778         * time/settimeofday.c: Likewise.
26779         * time/stime.c: Likewise.
26780         * time/time.c: Likewise.
26781
26782 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26783
26784         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26785         /usr/old/bin.
26786
26787         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26788         instead of spaces.
26789         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26790
26791 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26792
26793         [BZ #14796]
26794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26795         FE_TONEAREST before applying Dekker multiplication and Knuth
26796         addition.  Clear inexact exceptions and check for exact zero
26797         results afterwards.
26798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26799         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26801         * math/libm-test.inc (fma_test): Add more tests.
26802         (fma_test_towardzero): Likewise.
26803         (fma_test_downward): Likewise.
26804         (fma_test_upward): Likewise.
26805         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26806         function.
26807         (libc_fesetround): New macro.
26808         (libc_fesetroundf): Likewise.
26809         (libc_fesetroundl): Likewise.
26810         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26811         function.
26812         (libc_fesetround_387): Likewise.
26813         (libc_fesetroundf): New macro.
26814         (libc_fesetround): Likewise.
26815         (libc_fesetroundl): Likewise.
26816         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26817         function.
26818         (libc_fesetroundf): New macro.
26819         (libc_fesetround): Likewise.
26820         (libc_fesetroundl): Likewise.
26821         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26822         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26823         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26824         libm_hidden_ver.
26825         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26826         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26827         libm_hidden_def.
26828         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26829         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26830         libm_hidden_ver.
26831         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26832         libm_hidden_def.
26833
26834         [BZ #3439]
26835         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26836         integer constant usable in #if and use that to give value to enum
26837         constant.
26838         (FE_DIVBYZERO): Likewise.
26839         (FE_UNDERFLOW): Likewise.
26840         (FE_OVERFLOW): Likewise.
26841         (FE_INVALID): Likewise.
26842         (FE_INVALID_SNAN): Likewise.
26843         (FE_INVALID_ISI): Likewise.
26844         (FE_INVALID_IDI): Likewise.
26845         (FE_INVALID_ZDZ): Likewise.
26846         (FE_INVALID_IMZ): Likewise.
26847         (FE_INVALID_COMPARE): Likewise.
26848         (FE_INVALID_SOFTWARE): Likewise.
26849         (FE_INVALID_SQRT): Likewise.
26850         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26851         (FE_TONEAREST): Likewise.
26852         (FE_TOWARDZERO): Likewise.
26853         (FE_UPWARD): Likewise.
26854         (FE_DOWNWARD): Likewise.
26855         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26856         (FE_DIVBYZERO): Likewise.
26857         (FE_OVERFLOW): Likewise.
26858         (FE_UNDERFLOW): Likewise.
26859         (FE_INEXACT): Likewise.
26860         (FE_TONEAREST): Likewise.
26861         (FE_DOWNWARD): Likewise.
26862         (FE_UPWARD): Likewise.
26863         (FE_TOWARDZERO): Likewise.
26864         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26865         (FE_UNDERFLOW): Likewise.
26866         (FE_OVERFLOW): Likewise.
26867         (FE_DIVBYZERO): Likewise.
26868         (FE_INVALID): Likewise.
26869         (FE_TONEAREST): Likewise.
26870         (FE_TOWARDZERO): Likewise.
26871         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26872         (FE_OVERFLOW): Likewise.
26873         (FE_UNDERFLOW): Likewise.
26874         (FE_DIVBYZERO): Likewise.
26875         (FE_INEXACT): Likewise.
26876         (FE_TONEAREST): Likewise.
26877         (FE_TOWARDZERO): Likewise.
26878         (FE_UPWARD): Likewise.
26879         (FE_DOWNWARD): Likewise.
26880         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26881         (FE_DIVBYZERO): Likewise.
26882         (FE_OVERFLOW): Likewise.
26883         (FE_UNDERFLOW): Likewise.
26884         (FE_INEXACT): Likewise.
26885         (FE_TONEAREST): Likewise.
26886         (FE_DOWNWARD): Likewise.
26887         (FE_UPWARD): Likewise.
26888         (FE_TOWARDZERO): Likewise.
26889
26890 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26891
26892         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26893
26894 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26895
26896         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26897         commands.  Quote $PWD.
26898         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26899         -x" by "export".
26900         (remove_newlines): Remove.
26901
26902 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26903
26904         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26905         * stdlib/stdlib.h (atof): Moved to ...
26906         * include/bits/stdlib-float.h: Here.  New file.
26907         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26908         * stdlib/bits/stdlib-float.h: New file.
26909         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26910         -mno-sse -mno-mmx.
26911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26912         <xmmintrin.h>.
26913
26914 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26915
26916         * conform/conformtest.pl (@headers): Add fenv.h.
26917         * conform/data/fenv.h-data: New file.
26918         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26919         include of <math/fenv.h>.
26920
26921         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26922         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26923         && !UNIX98].  Enables tests for XOPEN2K8.
26924         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26925         POSIX2008]: Likewise.
26926
26927         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26928         (struct rusage): Do not expect type or its members.
26929
26930         [BZ #3439]
26931         * math/math.h (FP_NAN): Define macro to integer constant usable in
26932         #if and use that to give value to enum constant.
26933         (FP_INFINITE): Likewise.
26934         (FP_ZERO): Likewise.
26935         (FP_SUBNORMAL): Likewise.
26936         (FP_NORMAL): Likewise.
26937
26938 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26939
26940         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26941         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26942         arguments.
26943
26944 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26945
26946         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26947         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26948         autoconf-time if not.
26949         * configure.in: Remove AC_PREREQ.
26950
26951 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26952
26953         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26954         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26955         of the internal implementation.
26956
26957 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26958
26959         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26960         except include of <misc/sys/syslog.h>.
26961
26962 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26963
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26965         function returns with a NULL context exit with zero.
26966
26967 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26968
26969         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26970
26971 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26972
26973         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26974         (run_program_cmd): This.
26975         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26976         (tst_langinfo): New variable.  Use it.
26977
26978 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26979
26980         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26981         floating point opcodes.
26982
26983 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26984
26985         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26986         variable.
26987
26988         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26989
26990         * sysdeps/mach/hurd/powerpc: Remove directory.
26991         * sysdeps/mach/powerpc: Likewise.
26992
26993 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26994
26995         * scripts/check-local-headers.sh: Ignore c++ headers.
26996
26997 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26998
26999         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27000         __libc_cleanup_region_start argument.
27001
27002 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27003
27004         [BZ #14784]
27005         [BZ #14785]
27006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27007         x * y using scaling, not as x * y + z.
27008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27010         * math/libm-test.inc (fma_test): Add more tests.
27011         (fma_test_towardzero): Likewise.
27012         (fma_test_downward): Likewise.
27013         (fma_test_upward): Likewise.
27014
27015 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27016
27017         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27018
27019 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27020
27021         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27022         New variable.
27023
27024 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27025
27026         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27027
27028 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27029
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27031         Fix sort order.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27033         Likewise.
27034
27035 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27036
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27038         Fix the order of the list for glibc 2.17.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27040         Likewise.
27041
27042 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27043
27044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27045
27046 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27047
27048         [BZ #14610]
27049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27050         for low part of x being zero before using __atanl (y).
27051         * math/libm-test.inc (atan2_test): Add another test.
27052
27053         * manual/install.texi (Configuring and compiling): Document
27054         general use of test-wrapper and test-wrapper-env.
27055         * INSTALL: Regenerated.
27056
27057         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27058         (__fma): Do not extract and scale down low bits on after-rounding
27059         systems when result rounded to normal precision would have normal
27060         exponent.
27061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27062         (__fmal): Do not extract and scale down low bits on after-rounding
27063         systems when result rounded to normal precision would have normal
27064         exponent.
27065         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27066         (__fmal): Do not extract and scale down low bits on after-rounding
27067         systems when result rounded to normal precision would have normal
27068         exponent.
27069         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27070         macro.
27071         (fma_test): Add more tests.
27072         (fma_test_towardzero): Likewise.
27073         (fma_test_downward): Likewise.
27074         (fma_test_upward): Likewise.
27075
27076 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27077
27078         * sysdeps/i386/tininess.h: Renamed to ...
27079         * sysdeps/x86/tininess.h: This.
27080         * sysdeps/x86_64/tininess.h: Removed.
27081
27082 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27083
27084         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27085         input.  Use $(build-program-cmd).
27086         ($(objpfx)tst-array1-static.out): Likewise.
27087         ($(objpfx)tst-array2.out): Likewise.
27088         ($(objpfx)tst-array3.out): Likewise.
27089         ($(objpfx)tst-array4.out): Likewise.
27090         ($(objpfx)tst-array5.out): Likewise.
27091         ($(objpfx)tst-array5-static.out): Likewise.
27092
27093 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27094
27095         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27096         if defined.
27097
27098         * nss/nsswitch.h (nss_interface_function): Provide new
27099         macro for use with NSS functions.
27100         * grp/initgroups.c: Use new macro.
27101         * nss/getXXbyYY.c: Likewise.
27102         * nss/getXXbyYY_r.c: Likewise.
27103         * nss/getXXent.c: Likewise.
27104         * nss/getXXent_r.c: Likewise.
27105         * sysdeps/posix/getaddrinfo.c: Likewise.
27106
27107 2012-10-30  Andreas Jaeger  <aj@suse.de>
27108
27109         * po/ru.po: Update Russion translation from translation project.
27110
27111 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27112
27113         [BZ #14152]
27114         [BZ #14783]
27115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27116         result and shift together with sticky bit instead of replicating
27117         round-to-nearest rounding.
27118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27120         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27121         missing underflow exceptions.
27122         (fma_test_towardzero): Add more tests.
27123         (fma_test_downward): Likewise.
27124         (fma_test_upward): Likewise.
27125
27126         [BZ #14047]
27127         * sysdeps/generic/tininess.h: New file.
27128         * sysdeps/i386/tininess.h: Likewise.
27129         * sysdeps/sh/tininess.h: Likewise.
27130         * sysdeps/x86_64/tininess.h: Likewise.
27131         * stdlib/tst-strtod-underflow.c: Likewise.
27132         * stdlib/tst-tininess.c: Likewise.
27133         * stdlib/strtod_l.c: Include <tininess.h>.
27134         (round_and_return): Do not set errno for exact underflow cases.
27135         Force an underflow exception when setting errno for underflow.
27136         Determine underflow based on rounding to normal precision if
27137         TININESS_AFTER_ROUNDING.
27138         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27139         ERANGE for exact underflow cases.
27140         * stdlib/Makefile (tests): Add tst-tininess and
27141         tst-strtod-underflow.
27142         ($(objpfx)tst-tininess): Use $(link-libm).
27143         ($(objpfx)tst-strtod-underflow): Likewise.
27144
27145 2012-10-30  Andreas Jaeger  <aj@suse.de>
27146
27147         [BZ#14767]
27148         * elf/Makefile (tests): Remove conditional for have-initfini-array
27149         since this is now always required and the variable does not exist
27150         anymore.
27151         (tests-static): Likewise.
27152         (modules-names): Likewise.
27153
27154         * po/eo.po: Add Esperanto translation from translation project.
27155
27156         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27157         merged with constructor/destructor.
27158         (init_array): Likewise.
27159         * elf/tst-array2dep.c (fini_array): Likewise.
27160         (init_array): Likewise.
27161
27162 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27163
27164         * manual/message.texi: Delete @cartouche tags.
27165
27166 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27167
27168         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27169         EOPNOTSUPP.
27170         * sysdeps/mach/hurd/fsync.c: Likewise.
27171
27172         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27173         [_POSIX_REALTIME_SIGNALS]: Change condition to
27174         [_POSIX_REALTIME_SIGNALS > 0].
27175
27176 2012-10-27  Andreas Jaeger  <aj@suse.de>
27177
27178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27179         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27181         [__WORDSIZE != 64]: Likewise.
27182
27183 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27184
27185         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27186         *  iconvdata/tst-tables.sh: Likewise.
27187
27188 2012-10-25  David S. Miller  <davem@davemloft.net>
27189
27190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27191         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27192         of strtoull.
27193
27194         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27195         ifunc-impl-list.c
27196         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27197         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27198         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27199         file.
27200
27201 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27202
27203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27204         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27205         __getdirentries.
27206
27207 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27208             Jim Blandy  <jimb@codesourcery.com>
27209
27210         * scripts/cross-test-ssh.sh: New file.
27211         * manual/install.texi (Configuring and compiling): Document use of
27212         cross-test-ssh.sh.
27213         * INSTALL: Regenerated.
27214
27215 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27216
27217         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27218         EOPNOTSUPP.
27219
27220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27221
27222         * Makeconfig (run-program-prefix): Fix comment.
27223
27224 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27225             Jim Blandy  <jimb@codesourcery.com>
27226
27227         * Makeconfig (test-wrapper): New variable,
27228         (test-wrapper-env): Likewise.
27229         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27230         (run-built-tests): Define to yes.
27231         (run-program-prefix): Use $(test-wrapper).
27232         (built-program-cmd): Likewise.
27233         * Rules (make-test-out): Use $(test-wrapper-env) and
27234         $(host-built-program-cmd).
27235         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27236         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27237         tst-pathopt.sh.
27238         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27239         $(test-wrapper-env) to tst-rtld-load-self.sh.
27240         ($(objpfx)order2.out): Use $(test-wrapper).
27241         ($(objpfx)tst-initorder.out): Likewise.
27242         ($(objpfx)tst-initorder2.out): Likewise.
27243         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27244         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27245         (test_wrapper_env): New variable.  Use it to run ld.so.
27246         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27247         Use it to run ld.so.
27248         (test_wrapper_env): Likewise.
27249         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27250         $(test-wrapper) to run-iconv-test.sh.
27251         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27252         (ICONV): Use $test_wrapper.
27253         * posix/Makefile ($(objpfx)globtest.out): Pass
27254         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27255         globtest.sh, not $(run-program-prefix).
27256         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27257         (test_wrapper): Likewise.
27258         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27259         set together with run_via_rtld_prefix.
27260         (run_program_prefix): Define in terms of test_wrapper and
27261         run_via_rtld_prefix.
27262
27263 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27264
27265         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27266         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27267         Targets removed.
27268
27269         [BZ #14743]
27270         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27271         Declare __clock_getres, __clock_gettime, __clock_settime,
27272         __clock_nanosleep, and __clock_getcpuclockid.
27273         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27274         Remove librt_hidden_def (clock_gettime).
27275         * sysdeps/unix/clock_gettime.c: Likewise.
27276         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27278         * rt/clock_getres.c: Define __clock_getres as an alias.
27279         * sysdeps/posix/clock_getres.c: Likewise.
27280         * rt/clock_settime.c: Define __clock_settime as an alias.
27281         * sysdeps/unix/clock_settime.c: Likewise.
27282         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27283         * sysdeps/unix/clock_nanosleep.c: Likewise.
27284         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27285         * rt/clock-compat.c: New file.
27286         * rt/Makefile (librt-routines): Add clock-compat and move
27287         $(clock-routines) to ...
27288         (routines): ... here, new variable.
27289         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27290         Don't add get_clockfreq here.
27291         * rt/Versions (libc: GLIBC_2.17): New version set.
27292         Add clock_* symbols here.
27293         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27295         (GLIBC_2.17): Add clock_* symbols.
27296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27298         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27300         Likewise.
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27302         Likewise.
27303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27307         * NEWS: Mention the move.
27308
27309         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27310         Use __open, __read, __close rather than their public counterparts.
27311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27312         (__get_clockfreq_via_cpuinfo): Likewise.
27313         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27314         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27315
27316         * config.h.in (HAVE_IFUNC): New #undef.
27317         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27318         was successful.
27319         * configure: Regenerated.
27320
27321 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27322
27323         * configure.in: Move READELF check to start of file.
27324         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27325         libc_cv_asm_gnu_indirect_function in the process.
27326         * configure: Regenerated.
27327
27328 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27329
27330         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27331         send the output to /dev/null.
27332         (libc_cv_cc_with_libunwind): Likewise.
27333         (libc_cv_as_noexecstack): Likewise.
27334         * configure: Regenerate.
27335
27336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27337
27338         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27339
27340         * posix/globtest.sh (TMPDIR): Do not set.
27341         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27342         (testout): Likewise.
27343
27344 2012-10-24  Andreas Jaeger  <aj@suse.de>
27345
27346         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27347         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27348         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27349         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27350         posix_fadvise64, posix_fallocate64.
27351
27352         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27353         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27354         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27355         Likewise.
27356         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27357         Likewise.
27358         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27359
27360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27361         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27362         <bits/fcntl-linux.h>.
27363         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27364
27365         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27366         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27367         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27368         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27369         [__WORDSIZE != 64]: Likewise.
27370
27371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27372
27373         * Makeconfig (run-built-tests): New variable.
27374         * Rules [$(cross-compiling) = yes]: Change condition to
27375         [$(run-built-tests) = no].
27376         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27377         to [$(run-built-tests) = yes].
27378         * elf/Makefile [$(cross-compiling) = no]: Likewise
27379         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27380         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27381         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27382         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27383         * io/Makefile [$(cross-compiling) = no]: Likewise.
27384         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27385         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27386         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27387         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27388         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27389         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27390         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27391         * string/Makefile [$(cross-compiling) = no]: Likewise.
27392
27393         * posix/Makefile ($(objpfx)globtest.out): Pass
27394         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27395         $(rtld-installed-name).
27396         * posix/globtest.sh (elf_objpfx): Remove variable.
27397         (rtld_installed_name): Likewise.
27398         (library_path): Likewise.
27399         (run_program_prefix): New variable.  Use for running globtest
27400         binary.
27401
27402 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27403             Joseph Myers  <joseph@codesourcery.com>
27404
27405         * Makeconfig (host-built-program-cmd): New variable.
27406         * elf/Makefile (tst-stackguard1-ARGS): Use
27407         $(host-built-program-cmd).
27408         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27409         (tst-spawn-ARGS): Likewise.
27410         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27411
27412 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27413             Jim Blandy  <jimb@codesourcery.com>
27414
27415         * Makeconfig (run-via-rtld-prefix): New variable.
27416         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27417         (built-program-cmd): Likewise.
27418
27419 2012-10-22  Andreas Jaeger  <aj@suse.de>
27420
27421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27422         __O_RSYNC if it exists, otherwise to O_SYNC.
27423
27424 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27425             Joseph Myers  <joseph@codesourcery.com>
27426
27427         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27428         /dev/null.
27429         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27430         from /dev/null
27431         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27432         /dev/null.
27433
27434 2012-10-22  Andreas Jaeger  <aj@suse.de>
27435
27436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27437         Define always.
27438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27439
27440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27441         bits/fcntl-linux.h.
27442
27443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27444         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27445
27446         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27447         to __O_LARGEFILE.
27448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27449         to __O_LARGEFILE.
27450
27451 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27452             Joseph Myers  <joseph@codesourcery.com>
27453
27454         * config.make.in (NM): New variable.
27455
27456 2012-10-21  Andreas Jaeger  <aj@suse.de>
27457
27458         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27459         definitions and declarations that are provided by
27460         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27461
27462 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27463
27464         [BZ #14683]
27465         * elf/Makefile (tests-static): Add tst-leaks1-static.
27466         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27467         ($(objpfx)tst-leaks1-static): New rule.
27468         ($(objpfx)tst-leaks1-static-mem): Likewise.
27469         (tst-leaks1-static-ENV): New macro.
27470         * elf/dl-open.c (dl_open_worker): Check the main application
27471         only if SHARED is defined.
27472         * elf/tst-leaks1-static.c: New file.
27473
27474 2012-10-20  Andreas Jaeger  <aj@suse.de>
27475
27476         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27477         generic values for Linux.
27478         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27479         and declarations that are provided by <bits/fcntl-linux.h> and
27480         include <bits/fcntl-linux.h>.
27481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27483
27484 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27485
27486         * io/fcntl.h: Move include of <bits/types.h> to the top and
27487         include it unconditionally.
27488
27489 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27490
27491         * wcsmbs/Makefile (tests-ifunc): New variable.
27492         (tests): Add $(tests-ifunc).
27493         * wcsmbs/test-wcschr-ifunc.c: New file.
27494         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27495         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27496         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27497         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27498         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27499
27500         * string/Makefile (tests-ifunc): New variable.
27501         (tests): Add $(tests-ifunc).
27502         * string/test-memccpy.c (TEST_NAME): New macro.
27503         * string/test-memchr.c (TEST_NAME): Likewise.
27504         * string/test-memcmp.c (TEST_NAME): Likewise.
27505         * string/test-memcpy.c (TEST_NAME): Likewise.
27506         * string/test-memmem.c (TEST_NAME): Likewise.
27507         * string/test-memmove.c (TEST_NAME): Likewise.
27508         * string/test-memset.c (TEST_NAME): Likewise.
27509         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27510         * string/test-stpcpy.c (TEST_NAME): Likewise.
27511         * string/test-stpncpy.c (TEST_NAME): Likewise.
27512         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27513         * string/test-strcasestr.c (TEST_NAME): Likewise.
27514         * string/test-strcat.c (TEST_NAME): Likewise.
27515         * string/test-strchr.c (TEST_NAME): Likewise.
27516         * string/test-strcmp.c(TEST_NAME): Likewise.
27517         * string/test-strcpy.c (TEST_NAME): Likewise.
27518         * string/test-strcspn.c (TEST_NAME): Likewise.
27519         * string/test-strlen.c (TEST_NAME): Likewise.
27520         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27521         * string/test-strncmp.c (TEST_NAME): Likewise.
27522         * string/test-strncpy.c (TEST_NAME): Likewise.
27523         * string/test-strnlen.c (TEST_NAME): Likewise.
27524         * string/test-strpbrk.c (TEST_NAME): Likewise.
27525         * string/test-strrchr.c (TEST_NAME): Likewise.
27526         * string/test-strspn.c (TEST_NAME): Likewise.
27527         * string/test-strstr.c (TEST_NAME): Likewise.
27528         * string/test-bcopy-ifunc.c: New file.
27529         * string/test-bzero-ifunc.c: Likewise.
27530         * string/test-memccpy-ifunc.c: Likewise.
27531         * string/test-memchr-ifunc.c: Likewise.
27532         * string/test-memcmp-ifunc.c: Likewise.
27533         * string/test-memcpy-ifunc.c: Likewise.
27534         * string/test-memmem-ifunc.c: Likewise.
27535         * string/test-memmove-ifunc.c: Likewise.
27536         * string/test-mempcpy-ifunc.c: Likewise.
27537         * string/test-memset-ifunc.c: Likewise.
27538         * string/test-rawmemchr-ifunc.c: Likewise.
27539         * string/test-stpcpy-ifunc.c: Likewise.
27540         * string/test-stpncpy-ifunc.c: Likewise.
27541         * string/test-strcasecmp-ifunc.c: Likewise.
27542         * string/test-strcasestr-ifunc.c: Likewise.
27543         * string/test-strcat-ifunc.c: Likewise.
27544         * string/test-strchr-ifunc.c: Likewise.
27545         * string/test-strchrnul-ifunc.c: Likewise.
27546         * string/test-strcmp-ifunc.c: Likewise.
27547         * string/test-strcpy-ifunc.c: Likewise.
27548         * string/test-strcspn-ifunc.c: Likewise.
27549         * string/test-strlen-ifunc.c: Likewise.
27550         * string/test-strncasecmp-ifunc.c: Likewise.
27551         * string/test-strncat-ifunc.c: Likewise.
27552         * string/test-strncmp-ifunc.c: Likewise.
27553         * string/test-strncpy-ifunc.c: Likewise.
27554         * string/test-strnlen-ifunc.c: Likewise.
27555         * string/test-strpbrk-ifunc.c: Likewise.
27556         * string/test-strrchr-ifunc.c: Likewise.
27557         * string/test-strspn-ifunc.c: Likewise.
27558         * string/test-strstr-ifunc.c: Likewise.
27559
27560         * debug/Makefile (tests-ifunc): New variable.
27561         (tests): Add $(tests-ifunc).
27562         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27563         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27564         * debug/test-stpcpy_chk-ifunc.c: New file.
27565         * debug/test-strcpy_chk-ifunc.c: Likewise.
27566
27567 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27568
27569         [BZ #13601]
27570         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27571         header is not read in.
27572
27573 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27574
27575         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27576         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27577         directly.  Pass built executable to script as
27578         $(built-program-cmd).
27579         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27580         $testprogram without using LD_LIBRARY_PATH and $ldso.
27581
27582         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27583         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27584         $(rtld-installed-name).
27585         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27586         (rtld_installed_name): Likewise.
27587         (library_path): Likewise.
27588         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27589         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27590         $(run-program-prefix) to tst-tables.sh.
27591         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27592         it to run tst-table-from and tst-table-to.
27593         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27594         Pass it to tst-table.sh.
27595         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27596         $(run-program-prefix) to tst-gettext.sh.
27597         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27598         tst-translit.sh.
27599         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27600         tst-gettext2.sh.
27601         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27602         to run tst-gettext.
27603         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27604         to run tst-gettext2.
27605         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27606         to run tst-translit.
27607         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27608         $(run-program-prefix) to tst-mtrace.sh.
27609         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27610         to run tst-mtrace.
27611         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27612         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27613         $(rtld-installed-name).
27614         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27615         (rtld_installed_name): Likewise.
27616         (run_program_prefix): New variable.  Use it to run wordexp-test.
27617
27618         * Makeconfig (ARCH): Remove all definitions.
27619         (machine): Likewise.
27620         [ARCH]: Remove conditional code.
27621         [!objdir]: Give error.
27622         [!objdir] (objpfx): Remove.
27623         [!objdir] (common-objpfx): Likewise.
27624         [!objdir] (common-objdir): Likewise.
27625         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27626         AC_CONFIG_FILES call.
27627         * configure: Regenerated.
27628
27629         [BZ #13888]
27630         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27631         or TMPDIR.
27632         (testout): Likewise.
27633
27634         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27635         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27636         $(rtld-installed-name).
27637         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27638         (rtld_installed_name): Likwise.
27639         (runit): Remove function.
27640         (run_getconf): New variable,  Use it for running getconf binary.
27641
27642 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27643
27644         [BZ #14716]
27645         * string/test-memmem.c (check_result): New function.
27646         (do_one_test): Use it.
27647         (check1): New function.
27648         (test_main): Use it.
27649
27650 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27651
27652         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27653
27654 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27655
27656         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27657         (_G_LSEEK64): Likewise.
27658         (_G_MMAP64): Likewise.
27659         (_G_FSTAT64): Likewise.
27660         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27661         (_G_LSEEK64): Likewise.
27662         (_G_MMAP64): Likewise.
27663         (_G_FSTAT64): Likewise.
27664         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27665         unconditional.  Call __mmap64 directly.
27666         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27667         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27668         __lseek64 directly.
27669         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27670         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27671         __mmap64 directly.
27672         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27673         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27674         __lseek64 directly.
27675         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27676         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27677         __lseek64 directly.
27678         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27679         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27680         __lseek64 directly.
27681         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27682         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27683         __fxstat64 directly.
27684         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27685         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27686         unconditional.
27687         (freopen64) [!_G_OPEN64]: Remove conditional code.
27688         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27689         unconditional.
27690         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27691         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27692         unconditional.
27693         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27694         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27695         unconditional.
27696         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27697         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27698         unconditional.
27699         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27700         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27701         unconditional.
27702         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27703         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27704         unconditional.
27705         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27706         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27707         unconditional.
27708         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27709
27710 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27711
27712         [BZ #12140]
27713         * manual/memory.texi (Malloc Tunable Parameters): Add note
27714         about free list pointers overwriting some perturb bytes.
27715         Wording suggested by Roland McGrath.
27716
27717 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27718
27719         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27720         (lgamma_test): Likewise.
27721         (tgamma_test): Likewise.
27722
27723 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27724
27725         [BZ #14700]
27726         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27727         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27728
27729 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27730
27731         * NEWS: Mention BZ #14716.
27732         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27733         when removing AVAILABLE1_USES_J macro.
27734
27735 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27736
27737         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27738         (__bswap_64): __uint64_t for unsigned 64-bit int.
27739
27740 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27741
27742         * include/string.h (memmem): Declare libc hidden alias.
27743         * string/memmem.c (memmem): Define libc hidden alias.
27744         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27745         __read, __close instead of open, read, close.
27746
27747 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27748
27749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27750         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27751         global and hidden.
27752         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27753         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27754         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27755         Likewise.
27756         (__rawmemchr_sse2): Likewise.
27757         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27758         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27759         (__strchr_sse2): Likewise.
27760         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27761         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27762         (__strcasecmp_sse2): Likewise.
27763         (__strncasecmp_sse2): Likewise.
27764         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27765         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27766         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27767         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27768         (__strrchr_sse2): Likewise.
27769         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27770         ifunc-impl-list.c.
27771         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27772         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27773         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27774         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27775         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27776         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27777         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27778         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27779         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27780         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27781         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27784         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27785         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27786         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27787         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27788         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27789         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27790         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27791         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27792         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27793         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27794         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27795         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27796         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27797         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27798         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27800         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27801
27802         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27803         global and hidden.
27804         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27805         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27806         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27807         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27808         Likewise.
27809         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27810         Likewise.
27811         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27812         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27813         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27814         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27815         ifunc-impl-list.c.
27816         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27817         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27818         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27819         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27820         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27821         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27822         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27823         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27824         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27825         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27829         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27830         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27831         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27832         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27833         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27834         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27835         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27836         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27837         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27838         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27839         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27840         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27841         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27842         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27843         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27844         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27845         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27846         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27847         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27848         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27849         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27856         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27857
27858         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27859         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27860         * include/ifunc-impl-list.h: New file.
27861         * misc/ifunc-impl-list.c: Likewise.
27862         * misc/Makefile (routines): Add ifunc-impl-list.
27863         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27864         * string/test-string.h: Include <ifunc-impl-list.h>.
27865         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27866         TEST_NAME]: New variables.
27867         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27868         are defined.
27869         (test_init): Call __libc_ifunc_impl_list to initialize
27870         func_list if TEST_IFUNC and TEST_NAME are defined.
27871
27872         * string/Makefile (strop-tests): Add bcopy and bzero.
27873         * string/test-bcopy.c: New file.
27874         * string/test-bzero.c: Likewise.
27875         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27876         defined.
27877         * string/test-memset.c: Support bzero test if TEST_BZERO is
27878         defined.
27879         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27880         __libc_memmove.
27881         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27882         __libc_memset.
27883         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27884         of memset.
27885
27886 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27887
27888         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27889         * configure: Regenerated.
27890
27891         * Makeconfig (+link-static-before-libc): Don't include
27892         $(link-static-libc).
27893
27894         * libio/libio.h (_IO_pos_t): Remove.
27895
27896 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27897
27898         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27899         McGrath.
27900
27901 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27902
27903         * crypt/crypt-entry.c: Include fips-private.h.
27904         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27905         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27906         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27907         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27908
27909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27910
27911         * crypt/crypt-private.h: Include stdbool.h.
27912         (_ufc_setup_salt_r): Return bool.
27913         * crypt/crypt-entry.c: Include errno.h.
27914         (__crypt_r): Return NULL with EINVAL for bad salt.
27915         * crypt/crypt_util.c (bad_for_salt): New.
27916         (_ufc_setup_salt_r): Check that salt is long enough and within
27917         the specified alphabet.
27918         * crypt/badsalttest.c: New file.
27919         * crypt/Makefile (tests): Add it.
27920         ($(objpfx)badsalttest): New.
27921
27922 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27923
27924         * NEWS: Add entry for BZ #14602.
27925
27926 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27927
27928         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27929         type-generic.
27930         * math/libm-test.inc: Update comment listing what functions and
27931         macros are tested.
27932         (isgreater_test): New function.
27933         (isgreaterequal_test): Likewise.
27934         (isless_test): Likewise.
27935         (islessequal_test): Likewise.
27936         (islessgreater_test): Likewise.
27937         (isunordered_test): Likewise.
27938         (main): Call the new functions.
27939
27940 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27941
27942         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27943         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27944         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27945         * sysdeps/i386/configure: Regenerated.
27946         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27947         * sysdeps/mach/configure: Regenerated.
27948         * sysdeps/mach/hurd/configure: Regenerated.
27949         * sysdeps/powerpc/configure: Regenerated.
27950         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27951         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27952         * sysdeps/s390/s390-32/configure: Regenerated.
27953         * sysdeps/s390/s390-64/configure: Regenerated.
27954         * sysdeps/sh/configure: Regenerated.
27955         * sysdeps/sparc/configure: Regenerated.
27956         * sysdeps/unix/sysv/linux/configure: Regenerated.
27957         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27958         * sysdeps/x86_64/configure: Regenerated.
27959
27960         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27961         defined.  Don't check if MAP is NULL.
27962
27963 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27964
27965         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27966         (_G_stat64): Likewise.
27967         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27968         (_G_stat64): Likewise.
27969         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27970         instead of struct _G_stat64.
27971         * libio/fileops.c (mmap_remap_check): Likewise.
27972         (decide_maybe_mmap): Likewise.
27973         (_IO_new_file_seekoff): Likewise.
27974         (_IO_file_stat): Likewise.
27975         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27976         _G_off64_t.
27977         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27978         instead of struct _G_stat64.
27979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27980
27981 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27982
27983         [BZ #14602]
27984         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27985         Replace with ...
27986         (CHECK_EOL): New macro.
27987         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27988         CHECK_EOL.
27989         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27990         Replace with CHECK_EOL.
27991         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27992         Replace with CHECK_EOL.
27993
27994 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27995
27996         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27997         type-generic.
27998         * math/libm-test.inc: Update comment listing what functions and
27999         macros are tested.
28000         (finite_test): New function.
28001         (isinf_test): Likewise.
28002         (isnan_test): Likewise.
28003         (fpclassify_test): Test subnormal input.
28004         (isfinite_test): Likewise.
28005         (isnormal_test): Likewise.
28006         (main): Call the new functions.
28007
28008 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28009
28010         [BZ #14660]
28011         * Makerules (%.dynsym): Force C locale when running
28012         $(OBJDUMP) --dynamic-syms.
28013
28014 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28015
28016         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28017         <stdint.h>.
28018
28019 2012-10-06  David S. Miller  <davem@davemloft.net>
28020
28021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28022         upper 32-bits of the length value in %o2 since we use branch-on-register
28023         tests which consider the entire 64-bit register.
28024
28025 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28026
28027         * string/test-strstr.c (check2): Add a test for page boundary.
28028
28029 2012-10-05  David S. Miller  <davem@davemloft.net>
28030
28031         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28032         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28033         file.
28034         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28035         sysdep_routines.
28036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28037         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28038         and bzero when HWCAP_SPARC_CRYPTO is present.
28039
28040 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28041
28042         [BZ #14602]
28043         * string/test-strstr.c (check2): New function.
28044         (test_main): Call check2.
28045
28046         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28047         and bug-strchr1.
28048         * string/bug-strcasestr1.c (do_test): Moved to ...
28049         * string/test-strcasestr.c (check1): Here.  New function.
28050         (do_one_test): Break out result checking code into ...
28051         (check_result): This.  New function.
28052         (do_one_test): Call check_result.
28053         (test_main): Call check1.
28054         * string/bug-strchr1.c (do_test): Moved to ...
28055         * string/test-strchr.c (check1): Here.  New function.
28056         (do_one_test): Break out result checking code into ...
28057         (check_result): This.  New function.
28058         (do_one_test): Call check_result.
28059         (test_main): Call check1.
28060         * string/bug-strstr1.c (main): Moved to ...
28061         * string/test-strstr.c (check1): Here.  New function.
28062         (do_one_test): Break out result checking code into ...
28063         (check_result): This.  New function.
28064         (do_one_test): Call check_result.
28065         (test_main): Call check1.
28066         * string/bug-strcasestr1.c: Removed.
28067         * string/bug-strchr1.c: Likewise.
28068         * string/bug-strstr1.c: Likewise.
28069
28070         * elf/Makefile (dl-routines): Add hwcaps.
28071         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28072         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28073         (_dl_important_hwcaps): Moved to ...
28074         * elf/dl-hwcaps.c: Here.  New file.
28075         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28076
28077         [BZ #14557]
28078         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28079         if IS_IN_rtld isn't defined.
28080
28081         * elf/dl-support.c (_dl_sysinfo_map): New.
28082         Include "get-dynamic-info.h" and "setup-vdso.h".
28083         (_dl_non_dynamic_init): Call setup_vdso.
28084         * elf/dynamic-link.h: Don't include <assert.h>.
28085         (elf_get_dynamic_info): Moved to ...
28086         * elf/get-dynamic-info.h: Here.  New file.
28087         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28088         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28089         * elf/setup-vdso.h: Here.  New file.
28090         * elf/rtld.c: Include "setup-vdso.h".
28091         (dl_main): Call setup_vdso.
28092
28093 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28094
28095         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28096         creal in comment listing functions tested.  List finite, isinf,
28097         isnan, isless, islessequal, isgreater, isgreaterequal,
28098         islessgreater, isunordered, lgamma_r and pow10 as functions and
28099         macros not tested.  Mention which functions not tested are aliases
28100         for other functions.  Fix typo.  Note that signs of NaNs are not
28101         tested.
28102
28103         * scripts/config.guess: Update from config.git.
28104         * scripts/config.sub: Likewise.
28105
28106 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28107
28108         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28109         * misc/madvise.c (madvise): Renamed to __madvise.
28110         Make madvise a weak alias.
28111         * include/sys/mman.h: Declare __madvise.
28112         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28113         * sysdeps/unix/syscalls.list
28114         (madvise): Make __madvise the strong name, and madvise a weak alias.
28115         * sysdeps/unix/sysv/linux/syscalls.list
28116         (madvise, mmap): Remove redundant entries.
28117         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28118         * malloc/malloc.c (mtrim): Likewise.
28119         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28120
28121 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28122
28123         * sysdeps/mach/hurd/dl-cache.c: File removed.
28124         * config.h.in (USE_LDCONFIG): New #undef.
28125         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28126         * configure: Regenerated.
28127         * elf/Makefile (dl-routines): Add dl-cache only under
28128         [$(use-ldconfig) = yes].
28129         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28130         cache on [USE_LDCONFIG].
28131         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28132         [USE_LDCONFIG].
28133         * elf/rtld.c (dl_main): Likewise.
28134
28135 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28136
28137         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28138         _SC_LEVEL4_CACHE_LINESIZE.
28139
28140 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28141
28142         * sysdeps/unix/bsd/confstr.h: File removed.
28143
28144 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28145
28146         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28147         sys/sdt-config.h.
28148
28149 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28150
28151         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28152         Make 'mapoff' field ElfW(Off) rather than off_t.
28153
28154 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28155
28156         * nscd/Makefile: Remove nscd-cflags and all its users.
28157         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28158         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28159
28160         [BZ #10631]
28161         * malloc.c (malloc_printerr): Clarify error message.
28162
28163 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28164
28165         [BZ #14648]
28166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28167         Set bit_FMA_Usable if FMA is supported.
28168         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28169         macro.
28170         (bit_FMA4_Usable): Updated.
28171         (index_FMA_Usable): New macro.
28172         (CPUID_FMA): Likewise
28173         (HAS_FMA): Defined with bit_FMA_Usable.
28174
28175 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28176
28177         * bits/types.h (__swblk_t): Type removed.
28178         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28179         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28180         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28181         (__SWBLK_T_TYPE): Likewise.
28182         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28183         (__SWBLK_T_TYPE): Likewise.
28184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28185         (__SWBLK_T_TYPE): Likewise.
28186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28187         (__SWBLK_T_TYPE): Likewise.
28188
28189 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28190             Honza Horak <hhorak@redhat.com>
28191
28192         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28193         (xdr_mapname): Use YPMAXMAP as maxsize.
28194         (xdr_peername): Use YPMAXPEER as maxsize.
28195         (xdr_keydat): Use YPAXRECORD as maxsize.
28196         (xdr_valdat): Use YPMAXRECORD as maxsize.
28197
28198 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28199
28200         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28201
28202         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28203         * csu/init-first.c: ... here.
28204         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28205         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28206         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28208         * sysdeps/i386/init-first.c: File removed.
28209         * sysdeps/sh/init-first.c: File removed.
28210
28211 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28212
28213         [BZ #14645]
28214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28215         if x * y might underflow to zero and z is zero.
28216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28217         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28218         * math/libm-test.inc (min_subnorm_value): New variable.
28219         (fma_test): Add more tests.
28220         (fma_test_towardzero): Likewise.
28221         (fma_test_downward): Likewise
28222         (fma_test_upward): Likewise.
28223         (initialize): Set min_subnorm_value.
28224
28225 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28226
28227         [BZ #14638]
28228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28229         0 + 0.
28230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28231         mode for addition resulting in exact zero.
28232         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28234         exact 0 + 0.
28235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28237         * math/libm-test.inc (fma_test): Add more tests.
28238         (fma_test_towardzero): New function.
28239         (fma_test_downward): Likewise.
28240         (fma_test_upward): Likewise.
28241         (main): Call the new functions.
28242
28243 2012-09-28  David S. Miller  <davem@davemloft.net>
28244
28245         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28246
28247 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28248
28249         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28250         instead of SIGALRM.
28251
28252         * sysdeps/gnu/_G_config.h: Moved to ...
28253         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28254         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28255         * sysdeps/generic/_G_config.h: ... here.
28256
28257         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28258
28259         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28260
28261         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28262         Conditionalize target on [libnss_test1.so-version].
28263
28264         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28265
28266         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28267         (elfobjdir): Move out of conditionals.
28268
28269         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28270         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28271         (__nss_lookup_function): Conditionalize label remove_from_tree on
28272         [!DO_STATIC_NSS || SHARED], matching its only use.
28273
28274 2012-09-28  David S. Miller  <davem@davemloft.net>
28275
28276         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28277         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28278         file.
28279         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28280         sysdep_routines.
28281         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28283         when HWCAP_SPARC_CRYPTO is present.
28284
28285 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28286
28287         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28288
28289 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28290
28291         [BZ #6530]
28292         * stdio-common/vfprintf.c (process_string_arg): Revert
28293         2000-07-22 change.
28294
28295 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28296
28297         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28298         for testcase.
28299         * stdio-common/tst-sprintf.c: Include <locale.h>
28300         (main): Test sprintf's handling of incomplete multibyte
28301         characters.
28302
28303 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28304
28305         * elf/dl-runtime.c (VERSYMIDX): Removed.
28306         * elf/dl-version.c (VERSYMIDX): Likewise.
28307         * elf/do-rel.h (VERSYMIDX): Likewise.
28308         (VALIDX): Likewise.
28309         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28310         * elf/rtld.c (VALIDX): Likewise.
28311         (ADDRIDX): Likewise.
28312         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28313         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28314         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28315         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28316         (VALIDX): Likewise.
28317         (ADDRIDX): Likewise.
28318
28319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28320
28321         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28322
28323 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28324
28325         [BZ #11438]
28326         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28327         to global scope.
28328         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28329         addresses are in the same scope as 192.0.2/24.
28330         * posix/gai.conf: Document new scope table defaults.
28331
28332 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28333
28334         [BZ #5298]
28335         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28336         for ftell.  Compute offsets from write pointers instead.
28337         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28338
28339 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28340
28341         [BZ #14543]
28342         * libio/Makefile (tests): New test case tst-fseek.
28343         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28344         combination works in wide mode.
28345         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28346         state when the external buffer state changes.
28347
28348 2012-09-27  David S. Miller  <davem@davemloft.net>
28349
28350         [BZ #14376]
28351         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28352         pass reloc->r_addend in as the 'high' argument to
28353         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28354
28355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28356
28357 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28358
28359         * rt/tst-aio2.c: Include <pthread.h>.
28360         * rt/tst-aio3.c: Likewise.
28361
28362 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28363
28364         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28365
28366 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28367
28368         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28369         contents on [SHARED].
28370
28371 2012-09-26  Marek Polacek  <polacek@redhat.com>
28372
28373         [BZ #14530]
28374         [BZ #13741]
28375         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28376         for C++ and GCC <4.3 as well as for non GCC compilers.
28377
28378 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28379
28380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28381
28382 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28383
28384         * Makefile.in (all, install): Declare with .PHONY.
28385         Reported by Michael Hope <michael.hope@linaro.org>.
28386
28387 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28388
28389         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28390         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28391         system header.
28392         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28393         Likewise.
28394         (sydep_routines): Add the new and the internal functions.
28395         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28396         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28398         (GLIBC_2.17): Add the new function.
28399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28400         (GLIBC_2.17): Likewise.
28401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28402         (GLIBC_2.17): Likewise.
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28404         (GLIBC_2.17): Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28406
28407 2012-09-25  Alan Modra  <amodra@gmail.com>
28408
28409         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28410         Add release barrier before setting once_control to say
28411         initialisation is done.  Add hints on lwarx.  Use macro in
28412         place of isync.
28413         (clear_once_control): Add release barrier.
28414
28415 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28416
28417         [BZ #13629]
28418         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28419         specially.
28420         * math/s_clog10.c (__clog10): Likewise.
28421         * math/s_clog10f.c (__clog10f): Likewise.
28422         * math/s_clog10l.c (__clog10l): Likewise.
28423         * math/s_clogf.c (__clogf): Likewise.
28424         * math/s_clogl.c (__clogl): Likewise.
28425         * math/Makefile (libm-calls): Add x2y2m1.
28426         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28427         (__x2y2m1): Likewise.
28428         (__x2y2m1l): Likewise.
28429         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28430         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28431         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28432         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28433         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28434         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28435         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28438
28439         [BZ #14621]
28440         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28441         int as type of variable DEPTH.
28442         (glob): Use size_t instead of int as type of variables NEWCOUNT
28443         and OLD_PATHC.
28444
28445 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28446
28447         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28448         Add s_sincosf-sse2.
28449         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28450         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28451         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28452         macros for using routine as __sincosf_ia32.
28453         Use macro for function declaration and weak_alias.
28454         * sysdeps/i386/fpu/libm-test-ulps: Update.
28455
28456         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28458
28459         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28460         subnormal argument.
28461         * math/s_cexpf.c (__cexpf): Likewise.
28462         * math/s_csinf.c (__csinf): Likewise.
28463         * math/s_csinhf.c (__csinhf): Likewise.
28464         * math/s_ctanf.c (__ctanf): Likewise.
28465         * math/s_ctanhf.c (__ctanhf): Likewise.
28466         * math/s_ccosh.c (__ccoshf): Likewise.
28467         * math/s_cexp.c (__cexpl): Likewise.
28468         * math/s_csin.c (__csin): Likewise.
28469         * math/s_csinh.c (__csinh): Likewise.
28470         * math/s_ctan.c (__ctan): Likewise.
28471         * math/s_ctanh.c (ctanh): Likewise.
28472         * math/s_ccoshl.c (__ccoshl): Likewise.
28473         * math/s_cexpl.c (__cexpl): Likewise.
28474         * math/s_csinl.c (__csinl): Likewise.
28475         * math/s_csinhl.c (__csinhl): Likewise.
28476         * math/s_ctanl.c (__ctanl): Likewise.
28477         * math/s_ctanhl.c (__ctanhl): Likewise.
28478
28479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28480
28481         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28482         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28483         (_IO_off_t): Define to __off_t, not _G_off_t.
28484         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28485         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28486         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28487         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28488         type of __dummy and __dummy2 fields.
28489         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28490         (_G_ssize_t): Likewise.
28491         (_G_off_t): Likewise.
28492         (_G_pid_t): Likewise.
28493         (_G_uid_t): Likewise.
28494         (_G_wchar_t): Likewise.
28495         (_G_wint_t): Likewise.
28496         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28497         (_G_ssize_t): Likewise.
28498         (_G_off_t): Likewise.
28499         (_G_pid_t): Likewise.
28500         (_G_uid_t): Likewise.
28501         (_G_wchar_t): Likewise.
28502         (_G_wint_t): Likewise.
28503         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28504         (_G_ssize_t): Likewise.
28505         (_G_off_t): Likewise.
28506         (_G_pid_t): Likewise.
28507         (_G_uid_t): Likewise.
28508         (_G_wchar_t): Likewise.
28509         (_G_wint_t): Likewise.
28510
28511 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28512
28513         * malloc/arena.c: Include malloc-sysdep.h.
28514         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28515         is sufficient to shrink the heap or an unmap is needed.
28516         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28517         new function check_may_shrink_heap.
28518         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28519         new function check_may_shrink_heap.
28520
28521 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522
28523         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28524         comments.
28525
28526 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28527
28528         * catgets/test-gencat.sh: Add "set -e".
28529         * elf/tst-pathopt.sh: Likewise.
28530         * grp/tst_fgetgrent.sh: Likewise.
28531         * iconvdata/run-iconv-test.sh: Likewise.
28532         * intl/tst-gettext.sh: Likewise.
28533         * intl/tst-gettext2.sh: Likewise.
28534         * intl/tst-gettext4.sh: Likewise.
28535         * intl/tst-gettext6.sh: Likewise.
28536         * intl/tst-translit.sh: Likewise.
28537         * io/ftwtest-sh: Likewise.
28538         * libio/test-freopen.sh: Likewise.
28539         * malloc/tst-mtrace.sh: Likewise.
28540         * posix/globtest.sh: Likewise.
28541         * posix/tst-getconf.sh: Likewise.
28542         * posix/wordexp-tst.sh: Likewise.
28543         * stdio-common/tst-printf.sh: Likewise.
28544         * stdio-common/tst-unbputc.sh: Likewise.
28545         * stdlib/tst-fmtmsg.sh: Likewise.
28546         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28547         * catgets/Makefile: Do not specify -e option when running
28548         testsuite shell scripts.
28549         * elf/Makefile: Likewise.
28550         * grp/Makefile: Likewise.
28551         * iconvdata/Makefile: Likewise.
28552         * intl/Makefile: Likewise.
28553         * io/Makefile: Likewise.
28554         * libio/Makefile: Likewise.
28555         * malloc/Makefile: Likewise.
28556         * posix/Makefile: Likewise.
28557         * stdio-common/Makefile: Likewise.
28558         * stdlib/Makefile: Likewise.
28559         * sysdeps/x86_64/Makefile: Likewise.
28560
28561         * io/ftwtest-sh: Add copyright header.
28562         * posix/globtest.sh: Likewise.
28563         * posix/tst-getconf.sh: Likewise.
28564         * posix/wordexp-tst.sh: Likewise.
28565         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28566
28567 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28568
28569         [BZ #13679]
28570         * Makeconfig (+link): Defined as $(+link-static) if
28571         $(build-shared) isn't yes.
28572         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28573         isn't yes.
28574         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28575
28576         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28577
28578         [BZ #14562]
28579         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28580         new chunk size with MALLOC_ALIGN_MASK.
28581
28582 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28583
28584         [BZ #5044]
28585         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28586         <rounding-mode.h>.
28587         (__printf_fphex): Determine rounding using get_rounding_mode and
28588         round_away.
28589         * stdio-common/tst-printf-round.c (struct hex_test): New
28590         structure.
28591         (hex_tests): New variable.
28592         (test_hex_in_one_mode): New function.
28593         (do_test): Also run tests for hex float output.
28594
28595 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28596
28597         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28599         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28600         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28601         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28602         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28603         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28605
28606 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28607
28608         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28609         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28610         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28611         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28612
28613 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28614
28615         [BZ #14579]
28616         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28617         mode only.
28618         * elf/tst-rtld-load-self.sh: New test.
28619         * elf/Makefile: Run it.
28620
28621 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28622
28623         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28624         (tst-writev-ENV): Remove.
28625         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28626
28627 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28628
28629         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28630
28631 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28632
28633         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28634         unconditional.
28635         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28636         Likewise.
28637         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28638         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28640         Likewise.
28641
28642 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28643
28644         [BZ #14587]
28645         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28646         * config.make.in (have-cpp-asm-debuginfo): Removed.
28647         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28648         * configure: Regenerated.
28649
28650 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28651
28652         [BZ #5044]
28653         * stdio-common/printf_fp.c: Include <stdbool.h> and
28654         <rounding-mode.h>.
28655         (___printf_fp): Determine rounding using get_rounding_mode and
28656         round_away.
28657         * stdio-common/tst-printf-round.c: New file.
28658         * stdio-common/Makefile (tests): Add tst-printf-round.
28659         (link-libm): New variable.
28660         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28661
28662 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28663
28664         [BZ #14576]
28665         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28666         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28667         Likewise.
28668         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28669         Likewise.
28670
28671 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28672
28673         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28674         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28675         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28676         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28677
28678 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28679
28680         [BZ #14518]
28681         * include/rounding-mode.h: New file.
28682         * sysdeps/generic/get-rounding-mode.h: Likewise.
28683         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28684         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28685         (MAX_VALUE): New macro.
28686         (MIN_VALUE): Likewise.
28687         (overflow_value): New function.
28688         (underflow_value): Likewise.
28689         (round_and_return): Use overflow_value and underflow_value to
28690         determine return values in overflow and underflow cases.  Use
28691         round_away to determine rounding depending on rounding mode.
28692         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28693         determine return values in overflow and underflow cases.
28694         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28695         (struct test_results): New structure.
28696         (struct test): Use struct test_results to store expected results
28697         for all rounding modes.
28698         (TEST): Include expected results for all rounding modes.
28699         (test_in_one_mode): New function.
28700         (do_test): Use test_in_one_mode to compute and check results.
28701         Check results for all rounding modes.
28702         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28703         $(link-libm).
28704
28705 2012-12-09  Allan McRae  <allan@archlinux.org>
28706
28707         * sysdeps/i386/fpu/libm-test-ulps: Update
28708
28709 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28710
28711         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28712         (_G_int32_t): Likewise.
28713         (_G_uint16_t): Likewise.
28714         (_G_uint32_t): Likewise.
28715         (_G_HAVE_BOOL): Likewise.
28716         (_G_HAVE_ATEXIT): Likewise.
28717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28718         (_G_HAVE_IO_FILE_OPEN): Likewise.
28719         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28720         (_G_int32_t): Likewise.
28721         (_G_uint16_t): Likewise.
28722         (_G_uint32_t): Likewise.
28723         (_G_HAVE_BOOL): Likewise.
28724         (_G_HAVE_ATEXIT): Likewise.
28725         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28726         (_G_HAVE_IO_FILE_OPEN): Likewise.
28727         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28728         (_G_int32_t): Likewise.
28729         (_G_uint16_t): Likewise.
28730         (_G_uint32_t): Likewise.
28731         (_G_HAVE_BOOL): Likewise.
28732         (_G_HAVE_ATEXIT): Likewise.
28733         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28734         (_G_HAVE_IO_FILE_OPEN): Likewise.
28735
28736 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28737
28738         * csu/libc-tls.c: Update copyright years.
28739
28740 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28741
28742         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28743         [!_G_USING_THUNKS]: Remove conditional code.
28744         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28745         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28746
28747         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28748         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28749         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28750         (_G_VTABLE_LABEL_PREFIX): Likewise.
28751         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28752         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28753         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28754         (_G_VTABLE_LABEL_PREFIX): Likewise.
28755         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28756         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28757         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28758         (_G_VTABLE_LABEL_PREFIX): Likewise.
28759         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28760
28761 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28762
28763         * libio/Makefile: Include ../Makeconfig before tests.
28764         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28765         only if $(build-shared) is yes.
28766
28767         * iconv/gconv_db.c: Update copyright years.
28768
28769 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28770
28771         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28772         unwind info if defined PIC. Fix special cases description.
28773         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28774
28775         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28776         DP_HI_MASK entry.
28777         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28778
28779 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28780
28781         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28782
28783         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28784         is NULL.
28785
28786         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28787         (LDLIBS-tst-chk4): This.
28788         (LDFLAGS-tst-chk5): Renamed to ...
28789         (LDLIBS-tst-chk5): This.
28790         (LDFLAGS-tst-chk6): Renamed to ...
28791         (LDLIBS-tst-chk6): This.
28792         (LDFLAGS-tst-lfschk4): Renamed to ...
28793         (LDLIBS-tst-lfschk4): This.
28794         (LDFLAGS-tst-lfschk5): Renamed to ...
28795         (LDLIBS-tst-lfschk5): This.
28796         (LDFLAGS-tst-lfschk6): Renamed to ...
28797         (LDLIBS-tst-lfschk6): This.
28798
28799         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28800         on $(common-objpfx)soversions.mk.
28801
28802 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28803
28804         [BZ #10014]
28805         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28806         example host name.
28807
28808 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809
28810         * malloc/arena.c (arena_get_retry): New function that gets
28811         another arena for the caller to try its request on.
28812         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28813         current arena cannot fulfill the request.
28814         (__libc_memalign): Likewise.
28815         (__libc_memalign): Likewise.
28816         (__libc_pvalloc): Likewise.
28817         (__libc_calloc): Likewise.
28818
28819 2012-09-05  John Tobey  <john.tobey@gmail.com>
28820
28821         [BZ #13542]
28822         * manual/arith.texi (Operations on Complex): Fix description
28823         of carg branch cut.
28824
28825 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28826
28827         [BZ #10014]
28828         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28829         host name.
28830
28831         [BZ #10038]
28832         * manual/memory.texi (Memory): Make order of menu items match
28833         order of sections.
28834
28835 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28836
28837         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28838         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28839         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28840
28841 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28842
28843         * csu/libc-tls.c (static_dtv): Renamed to ...
28844         (_dl_static_dtv): This.  Make it global.
28845         (_dl_initial_dtv): Removed.
28846         (__libc_setup_tls): Updated.
28847         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28848         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28849         DL_INITIAL_DTV.
28850
28851 2012-09-06  Petr Machata  <pmachata@redhat.com>
28852
28853         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28854         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28855         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28856         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28857
28858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28859
28860         [BZ #14545]
28861         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28862         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28863         freeing dtv[-1].
28864
28865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28866
28867         [BZ #14544]
28868         * Makeconfig (link-static-before-libc): Replace $(+prector)
28869         with $(+prectorT).
28870         (link-static-after-libc): Replace $(+postctor) with
28871         $(+postctorT).
28872         (link-bounded): Replace $(+prector)/$(+postctor) with
28873         $(+prectorT)/$(+postctorT).
28874         (+prectorT): New macro.
28875         (+postctorT): Likewise.
28876
28877 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28878
28879         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28880         (round_str): Handle values above the maximum for IBM long double
28881         as inexact.
28882         * stdlib/tst-strtod-round.c (tests): Regenerated.
28883
28884 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28885
28886         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28887         assembler flag.
28888         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28889         zarch_nohighgprs around the zarch optimized routines.
28890         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28891         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28893         for zarch.
28894
28895 2012-09-05  David S. Miller  <davem@davemloft.net>
28896
28897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28898
28899         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28900         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28901         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28902         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28903         entries.
28904
28905 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28906
28907         * malloc/arena.c: Fold copyright years.
28908         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28909
28910 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28911
28912         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28913
28914 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28915
28916         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28917
28918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28919
28920         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28921         change internal state upon failure.
28922
28923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28924
28925         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28926         * malloc/memusage.c (mmap): Likewise.
28927         (mmap64, mremap): Likewise.  Adjust name in comment.
28928
28929 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28930
28931         * libio/fileops.c: Fix typos in comments.
28932         * libio/oldfileops.c: Likewise.
28933         * libio/wfileops.c: Likewise.
28934
28935 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28936
28937         [BZ #1349]
28938         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28939         (tst-malloc-usable-ENV): Set environment for test case.
28940         * malloc/hooks.c (malloc_check_get_size): New function to get
28941         requested size.
28942         * malloc/malloc.c (musable): Use malloc_check_get_size.
28943         * malloc/tst-malloc-usable.c: New test case.
28944
28945 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28946
28947         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28948
28949 2012-09-05  Allan McRae  <allan@archlinux.org>
28950
28951         [BZ #13966]
28952         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28953         determine header location.
28954         * configure: Regenerated.
28955
28956 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28957
28958         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28959         float format.
28960         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28961         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28962         format.
28963         (test): Regenerate.
28964
28965 2012-09-04  David S. Miller  <davem@davemloft.net>
28966
28967         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28968         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28970
28971 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28972
28973         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28974         failures.
28975
28976         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28977
28978 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28979
28980         [BZ #9914]
28981         * libio/iogetdelim.c: Include <limits.h>.
28982         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28983         + len + 1 would overflow.
28984
28985 2012-09-03  Andreas Jaeger  <aj@suse.de>
28986
28987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28988         * sysdeps/i386/fpu/libm-test-ulps: Update.
28989
28990 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28991
28992         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28993         Add s_sinf-sse2, s_conf-sse2.
28994
28995         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28996         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28997         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28998         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28999
29000         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29001         for using routine as __sinf_ia32.
29002         Use macro for function declaration and weak_alias.
29003         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29004         for using routine as __cosf_ia32.
29005         Use macro for function declaration and weak_alias.
29006
29007         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29008         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29009
29010         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29011         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29013
29014         * math/libm-test.inc (cos_test): Add more test cases.
29015         (sin_test): Likewise.
29016         (sincos_test): Likewise.
29017
29018 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29019
29020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29021         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29022         hidden.
29023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29024
29025 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29026
29027         [BZ #14538]
29028         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29029         first element of the GOT.
29030         (elf_machine_load_address): Return the difference between
29031         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29032
29033 2012-09-01  Allan McRae  <allan@archlinux.org>
29034
29035         [BZ #13412]
29036         * configure.in (AWK): Require gawk version 3.0 or later.
29037         * configure: Regenerated.
29038
29039 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29040
29041         * sysdeps/unix/sysv/linux/kernel-features.h
29042         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29044         [__NR_clock_getres]: Make code unconditional.
29045         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29046         (clock_getcpuclockid): Remove code left unreachable by removal of
29047         conditionals.
29048         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29049         code unconditional.
29050         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29051         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29052         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29053         Make code unconditional.
29054         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29055         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29056         * sysdeps/unix/sysv/linux/clock_settime.c
29057         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29058         conditional code.
29059         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29060         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29061
29062 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29063
29064         [BZ #14476]
29065         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29066         scripts/test-installation.pl.
29067
29068         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29069         and $ld_so_version if it is set.
29070
29071 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29072
29073         [BZ #14516]
29074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29075         failure if reading from procfs failed.
29076         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29077
29078 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29079
29080         * sysdeps/unix/sysv/linux/kernel-features.h
29081         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29082         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29083         Remove conditional code.
29084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29085         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29086         Remove conditional code.
29087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29088         * sysdeps/unix/sysv/linux/i386/fxstat.c
29089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29091         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29094         * sysdeps/unix/sysv/linux/i386/lxstat.c
29095         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29097         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29098         Remove conditional code.
29099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29100         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29101         Remove conditional code.
29102         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29103         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29104         <kernel-features.h>.
29105         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29106         Remove.
29107         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29108         Remove conditional code.
29109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29110         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29111         Remove conditional.
29112
29113 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29114
29115         [BZ #5400]
29116         * NEWS: Add fixed bug number.
29117
29118 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29119
29120         [BZ #14519]
29121         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29122         underflowing exponent in case of negative sign.
29123         * stdlib/tst-strtod-round-data: Add more tests.
29124         * stdlib/tst-strtod-round.c (tests): Regenerated.
29125
29126         [BZ #3479]
29127         * stdlib/strtod_l.c (NDIG): Remove.
29128         (HEXNDIG): Likewise.
29129         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29130         smallest representable value.
29131         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29132         lie within an exact representation of 1/2 ulp of the result.
29133         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29134         unconditionally.
29135         (TENS_P9_IDX): Define unconditionally.
29136         (TENS_P9_SIZE): Likewise.
29137         (TENS_P10_IDX): Likewise.
29138         (TENS_P10_SIZE): Likewise.
29139         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29140         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29141         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29142         entries for 10^2^13 and 10^2^14.
29143         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29144         (TENS_P13_IDX): Define.
29145         (TENS_P13_SIZE): Likewise.
29146         (TENS_P14_IDX): Likewise.
29147         (TENS_P14_SIZE): Likewise.
29148         (_fpioconst_pow10): Change array size to
29149         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29150         unconditional.
29151         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29152         1024]: Add entries for 10^2^13 and 10^2^14.
29153         [LAST_POW10 > _LAST_POW10]: Remove #error.
29154         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29155         (_fpioconst_pow10): Change array size to
29156         FPIOCONST_POW10_ARRAY_SIZE.
29157         * stdlib/gen-fpioconst.c: New file.
29158         * stdlib/gen-tst-strtod-round.c: Likewise.
29159         * stdlib/tst-strtod-round-data: Likewise.
29160         * stdlib/tst-strtod-round.c: Likewise.
29161         * stdlib/Makefile (tests): Add tst-strtod-round.
29162
29163         [BZ #14459]
29164         * stdlib/strtod_l.c: Include <stdint.h>.
29165         (NDEBUG): Do not define.
29166         (round_and_return): Change EXPONENT parameter to type intmax_t.
29167         Rearrange calculations to avoid internal overflow possibilities.
29168         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29169         Rearrange calculations to avoid internal overflow possibilities.
29170         Assert that number fits inside MPNSIZE limbs.
29171         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29172         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29173         calculations and add assertions to avoid internal overflow
29174         possibilities.  Add casts to avoid signed/unsigned operations.
29175         * stdlib/tst-strtod-overflow.c: New file.
29176         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29177
29178 2012-08-25  Marek Polacek  <polacek@redhat.com>
29179
29180         * time/time.h: Fix some typos in comments.
29181
29182 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29183
29184         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29185         * posix/tst-rfc3484-2.c: Likewise.
29186         * posix/tst-rfc3484-3.c: Likewise.
29187
29188 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29189
29190         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29191         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29192
29193 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29194
29195         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29196         #include of fxstatat64.c.
29197
29198 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29199
29200         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29201         * shadow/getspent_r.c: Likewise.
29202         * shadow/getspnam.c: Likewise.
29203         * shadow/getspnam_r.c: Likewise.
29204         * gshadow/getsgent.c: Likewise.
29205         * gshadow/getsgent_r.c: Likewise.
29206         * gshadow/getsgnam.c: Likewise.
29207         * gshadow/getsgnam_r.c: Likewise.
29208         * inet/getnetbyad.c: Likewise.
29209         * inet/getnetbyad_r.c: Likewise.
29210         * inet/getnetbynm.c: Likewise.
29211         * inet/getnetbynm_r.c: Likewise.
29212         * inet/getnetent.c: Likewise.
29213         * inet/getnetent_r.c: Likewise.
29214         * inet/getproto.c: Likewise.
29215         * inet/getproto_r.c: Likewise.
29216         * inet/getprtent.c: Likewise.
29217         * inet/getprtent_r.c: Likewise.
29218         * inet/getprtname.c: Likewise.
29219         * inet/getprtname_r.c: Likewise.
29220         * inet/getrpcbyname.c: Likewise.
29221         * inet/getrpcbyname_r.c: Likewise.
29222         * inet/getrpcbynumber.c: Likewise.
29223         * inet/getrpcbynumber_r.c: Likewise.
29224         * inet/getrpcent.c: Likewise.
29225         * inet/getrpcent_r.c: Likewise.
29226         * inet/getaliasent.c: Likewise.
29227         * inet/getaliasent_r.c: Likewise.
29228         * inet/getaliasname.c: Likewise.
29229         * inet/getaliasname_r.c: Likewise.
29230         * nscd/getgrgid_r.c: Likewise.
29231         * nscd/getgrnam_r.c: Likewise.
29232         * nscd/gethstbyad_r.c: Likewise.
29233         * nscd/gethstbynm3_r.c: Likewise.
29234         * nscd/getpwnam_r.c: Likewise.
29235         * nscd/getpwuid_r.c: Likewise.
29236         * nscd/getsrvbynm_r.c: Likewise.
29237         * nscd/getsrvbypt_r.c: Likewise.
29238         * nscd/gai.c: Likewise.
29239
29240         * configure.in (build_nscd): New substituted variable, set
29241         by --disable-build-nscd and defaults to $use_nscd.
29242         * configure: Regenerated.
29243         * config.make.in (build-nscd): New substituted variable.
29244         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29245         Change conditional to require [$(build-nscd) = yes] as well.
29246         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29247
29248         [BZ# 13696]
29249         * configure.in (use_nscd): New substituted variable, set by
29250         --disable-nscd.  If enabled, define USE_NSCD.
29251         * configure: Regenerated.
29252         * config.h.in: Add USE_NSCD.
29253         * config.make.in (use-nscd): New substituted variable.
29254         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29255         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29256         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29257         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29258         (CFLAGS-getgrnam_r.c): Likewise.
29259         (CFLAGS-initgroups.c): Likewise.
29260         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29261         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29262         Variables removed.
29263         * inet/getnetgrent_r.c
29264         (nscd_setnetgrent): New function, broken out of ...
29265         (setnetgrent): ... here.  Call it.
29266         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29267         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29268         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29269         * nscd/Makefile (routines, aux): Move definitions after include of
29270         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29271         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29272         Conditionalize on [USE_NSCD].
29273         (is_nscd, nscd_init_cb): Likewise.
29274         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29275         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29276         * nss/nss_db/db-init.c: Likewise.
29277         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29278         [USE_NSCD].
29279         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29280         (make_request): Use it.
29281         (cache_valid_p): New function.
29282         (__check_pf): Use it.
29283         * NEWS: Add item for --disable-nscd.
29284
29285 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29286
29287         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29288         to support sed >= 4.2.1-20-ga9bf076.
29289         * configure: Regenerated.
29290
29291 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29292
29293         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29294         Conditionalize whole body on [IREL].
29295
29296 2012-08-22  Jeff Law <law@redhat.com>
29297
29298         [BZ #14505]
29299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29300         if the family is PF_UNSPEC.
29301
29302 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29303
29304         * Makerules (lib-version): Rename from V.
29305         (install-lib-nosubdir): Change V to lib-version.
29306
29307 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29308
29309         [BZ #14252]
29310         * powerpc32/power6/wcschr.c: New file.
29311         * powerpc32/power6/wcscpy.c: New file.
29312         * powerpc32/power6/wcsrchr.c: New file.
29313         * powerpc64/power6/wcschr.c: New file.
29314         * powerpc64/power6/wcscpy.c: New file.
29315         * powerpc64/power6/wcsrchr.c: New file.
29316
29317 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29318
29319         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29320         (two_way_short_needle): Use it.
29321         * string/strstr.c (AVAILABLE1_USES_J): Define.
29322         * string/strcasestr.c: Likewise.
29323
29324         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29325         array references.
29326         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29327
29328         [BZ #11607]
29329         * NEWS: Add an entry.
29330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29331         define their defaults.
29332         (two_way_short_needle): Detect end-of-string on-the-fly.
29333         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29334         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29335         * string/bug-strcasestr1.c: New test.
29336         * string/Makefile: Run it.
29337
29338 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29339
29340         [BZ #11607]
29341         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29342         the first character.
29343
29344 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29345
29346         * csu/elf-init.c (__libc_csu_irel): Function removed.
29347         * csu/libc-start.c (apply_irel): New function.
29348         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29349
29350 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29351
29352         * sysdeps/unix/sysv/linux/kernel-features.h
29353         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29354         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29355         <kernel-features.h>.
29356         [__NR_fadvise64_64]: Make code unconditional.
29357         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29358         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29359         !__NR_fadvise64_64)]: Likewise.
29360         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29361         !__NR_fadvise64_64))]: Likewise.
29362         [__NR_fadvise64]: Make code unconditional.
29363         [!__NR_fadvise64]: Remove conditional code.
29364         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29365         <kernel-features.h>.
29366         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29367         unconditional.
29368         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29369         conditional code.
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29371         not include <kernel-features.h>.
29372         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29373         unconditional.
29374         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29375         conditional code.
29376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29377         include <kernel-features.h>.
29378         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29379         unconditional.
29380         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29381         conditional code.
29382
29383 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29384
29385         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29386         slight instruction rearrangements per scrollpipe analysis.
29387         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29388
29389 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29390
29391         * manual/syslog.texi (syslog; vsyslog, closelog):
29392         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29393         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29394
29395         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29396         DSOCAPS to match condition on defining it.
29397
29398 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29399
29400         * sysdeps/unix/sysv/linux/kernel-features.h
29401         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29409         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29410         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29411
29412         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29413         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29414
29415         * sysdeps/unix/sysv/linux/kernel-features.h
29416         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29417         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29418         unconditional.
29419         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29420         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29421         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29422         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29423         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29424         Make code unconditional.
29425         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29426         (__mmap64) [!__NR_mmap2]: Likewise.
29427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29428         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29429         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29430         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29431         [__NR_mmap2]: Make code unconditional.
29432         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29433         (__mmap64) [!__NR_mmap2]: Likewise.
29434
29435 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29436
29437         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29438
29439 2012-08-18  Andreas Jaeger  <aj@suse.de>
29440
29441         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29442
29443 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29444
29445         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29446         * include/unistd.h (__have_sock_cloexec): Likewise.
29447         (__have_pipe2): Likewise.
29448         (__have_dup3): Likewise.
29449
29450 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29451
29452         [BZ #9685]
29453         * include/unistd.h (__have_pipe2): Change define into an extern int.
29454         (__have_dup3): Likewise.
29455         * socket/have_sock_cloexec.c: Include fcntl.h.
29456         (__have_pipe2): New variable.
29457         (__have_dup3): Likewise.
29458
29459 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29460
29461         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29462
29463 2012-08-17  Marek Polacek  <polacek@redhat.com>
29464
29465         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29466         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29467
29468 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29469
29470         * configure.in: Add AC_SUBST for sysheaders.
29471         * configure: Regenerated.
29472         * config.make.in (sysheaders): New substituted variable.
29473
29474         * sysdeps/unix/mkfifo.c: Moved ...
29475         * sysdeps/posix/mkfifo.c: ... here.
29476         * sysdeps/unix/mkfifoat.c: Moved ...
29477         * sysdeps/posix/mkfifoat.c: ... here.
29478
29479         * sysdeps/unix/utime.c: Moved ...
29480         * sysdeps/posix/utime.c: ... here.
29481
29482         * sysdeps/unix/time.c: Moved ...
29483         * sysdeps/posix/time.c: ... here.
29484         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29485         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29486
29487         * sysdeps/unix/nice.c: Moved ...
29488         * sysdeps/posix/nice.c: ... here.
29489
29490         * sysdeps/unix/alarm.c: Moved ...
29491         * sysdeps/posix/alarm.c: ... here.
29492
29493         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29494
29495 2012-08-17  Jeff Law <law@redhat.com>
29496
29497         * intl/Makefile (codeset_mo): New variable.
29498         ($(codeset_mo)): New target.
29499         (tst-codeset.out): Depend on that.  Remove explicit rule.
29500         (tst-gettext3.out, tst-gettext5.out): Likewise.
29501         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29502         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29503         * intl/tst-codeset.sh: Remove.
29504         * intl/tst-gettext3.sh: Likewise.
29505         * intl/tst-gettext5.sh: Likewise.
29506
29507 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29508
29509         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29510         * sysdeps/unix/syscalls.list: ... here.
29511
29512         * sysdeps/posix/getaddrinfo.c
29513         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29514         (gaiconf_init, gaiconf_reload): Use them.
29515         [!_STATBUF_ST_NSEC]
29516         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29517         Define using time_t rather than struct timespec.
29518
29519         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29520         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29521         Macros removed.
29522         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29523         [!NO_THREADS].
29524         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29525         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29526         Likewise.
29527
29528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29529         __libc_cleanup_push argument.
29530
29531         * bits/param.h: New file.
29532         * misc/sys/param.h: New file.
29533         * include/sys/param.h: New file.
29534         * misc/Makefile (headers): Add bits/param.h.
29535         * sysdeps/generic/sys/param.h: File removed.
29536         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29537         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29538         * sysdeps/mach/hurd/bits/param.h: New file.
29539         * sysdeps/mach/hurd/sys/param.h: File removed.
29540
29541         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29542         last change.
29543
29544         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29545         [_IO_MTSAFE_IO].
29546         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29547         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29548         New macros.
29549
29550         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29551         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29552         rather than -D_IO_MTSAFE_IO conditionally.
29553         * stdio-common/Makefile (CPPFLAGS): Likewise.
29554         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29555         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29556         Use $(libio-mtsafe).
29557         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29558         of -D_IO_MTSAFE_IO.
29559         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29560         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29561         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29562         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29563         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29564         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29565         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29566         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29567         (CFLAGS-fread_u_chk.c): Likewise.
29568         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29569         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29570         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29571         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29572         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29573         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29574         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29575         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29576         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29577
29578         * libio/Makefile: Test [$(libc-reentrant) = yes]
29579         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29580
29581         * Makeconfig
29582         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29583         * sysdeps/pthread/configure: File removed.
29584         * sysdeps/pthread/Makeconfig: New file.
29585         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29586         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29587
29588 2012-08-16  Gary Benson  <gbenson@redhat.com>
29589
29590         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29591         unmapping the first object in a namespace.
29592
29593 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29594
29595         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29596         (__internal_setnetgrent): ... this.  Add internal_function to
29597         definition.  Add libc_hidden_def.
29598         (setnetgrent): Update caller.
29599         (internal_endnetgrent): Renamed to ...
29600         (__internal_endnetgrent): ... this.  Add internal_function to
29601         definition.  Add libc_hidden_def.
29602         (endnetgrent): Update caller.
29603         (internal_getnetgrent_r): Renamed to ...
29604         (__internal_getnetgrent_r): ... this.  Add internal_function to
29605         definition.  Add libc_hidden_def.
29606         (__getnetgrent_r): Update caller.
29607         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29608
29609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29610
29611         * stdlib/longlong.h: Update from GCC.
29612
29613 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29614
29615         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29616         on _QL, which is set by umul_ppmm but never used.
29617         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29618         variables, which are set by GMP macros but never used.
29619         * stdio-common/_itowa.c (_itowa): Likewise.
29620         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29621         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29622
29623 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29624
29625         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29626         struct La_sh_regs is not constant.
29627         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29628         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29629         and struct La_sparc64_regs are not constant.
29630
29631 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29632
29633         * sysdeps/unix/sysv/linux/kernel-features.h
29634         (__ASSUME_POSIX_TIMERS): Remove.
29635         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29637         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29638         Make code unconditional.
29639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29640         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29641         Make code unconditional.
29642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29643         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29644         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29646         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29647         Make code unconditional.
29648         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29649         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29650         (__libc_missing_posix_timers): Remove.
29651
29652 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29653
29654         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29655         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29656
29657         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29658
29659         * elf/dl-sym.c: Include <stdlib.h>.
29660
29661         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29662         constants, which avoids warnings in 32-bit builds.
29663
29664         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29665         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29666
29667         * misc/lseek.c: File moved to ...
29668         * io/lseek.c: ... here.
29669
29670         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29671
29672         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29673         shifting LEN more than 31 bits at once.
29674
29675 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29676
29677         [BZ #14195]
29678         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29679         segmentation fault for a case of two empty input strings.
29680         * string/test-strncasecmp.c (check1): Renamed to...
29681         (bz12205): ...this.
29682         (bz14195): Add new testcase for two empty input strings and N > 0.
29683         (test_main): Call new testcase, adapt for renamed function.
29684
29685 2012-08-15  Andreas Jaeger  <aj@suse.de>
29686
29687         [BZ #14090]
29688         * crypt/md5test2.c: New test, based on test supplied by Serge
29689         Belyshev <belyshev@depni.sinp.msu.ru>.
29690         * crypt/Makefile (xtests): Add md5test-giant..
29691         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29692
29693 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29694
29695         [BZ #14090]
29696         * crypt/md5.c (md5_process_block): Don't assume the buffer
29697         length is less than 2**32.
29698         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29699         length is less than 2**64.
29700
29701 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29702
29703         * string/str-two-way.h: Include <sys/param.h>.
29704         (MAX): Macro removed.
29705
29706         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29707         Move #define and #undef of memmove to just before and after
29708         including <string.h>.
29709
29710         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29711         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29712         and after including <string.h>.  Move declarations of
29713         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29714         to before #include "string/memmove.c".
29715
29716         * include/dirent.h: Declare __getdirentries.
29717
29718         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29719         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29720
29721 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29722
29723         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29724         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29725         * sysdeps/i386/configure: Regenerated.
29726         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29727         STABS_CURRENT_FILE, and STABS_FUN.
29728         (END): Remove call to STABS_FUN_END.
29729         (STABS_CURRENT_FILE1): Delete.
29730         (STABS_CURRENT_FILE): Likewise.
29731         (STABS_FUN): Likewise.
29732         (STABS_FUN_END): Likewise.
29733         (STABS_FUN2): Likewise.
29734         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29735         * sysdeps/x86_64/configure: Regenerated.
29736
29737 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29738
29739         * elf/dl-open.c: Include <atomic.h>.
29740         * elf/dl-lookup.c: Likewise.
29741
29742 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29743
29744         * sysdeps/unix/sysv/linux/kernel-features.h
29745         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29746         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29747         unconditionally.
29748         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29749         unconditionally.
29750         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29751         condition on __ASSUME_CLONE_THREAD_FLAGS.
29752
29753 2012-08-14  Andreas Jaeger  <aj@suse.de>
29754
29755         * sysdeps/i386/fpu/libm-test-ulps: Update.
29756
29757 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29758
29759         * include/atomic.h (atomic_exchange_and_add): Split into ...
29760         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29761         New atomic macros.
29762
29763 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29764
29765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29766
29767 2012-08-13  Jeff Law <law@redhat.com>
29768
29769         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29770         null byte in the output string.
29771
29772 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29773
29774         * sysdeps/unix/sysv/linux/kernel-features.h
29775         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29776         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29777         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29778         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29779         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29780         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29781         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29782
29783 2012-08-09  Jeff Law <law@redhat.com>
29784
29785         [BZ #13939]
29786         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29787         When avoid_arena is set, don't retry in the that arena.  Pick the
29788         next one, whatever it might be.
29789         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29790         (arena_lock): Pass in new parameter to arena_get2.
29791         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29792         arena_get2.
29793         (__libc_malloc): Unify retrying after main arena failure with
29794         __libc_memalign version.
29795         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29796
29797 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29798
29799         [BZ #14166]
29800         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29801         to __redirect_strstr.
29802         (__strstr_sse42): Use typeof __redirect_strstr.
29803         (__strstr_ia32): Likewise.
29804         (__libc_strstr): New prototype.
29805         (strstr): Renamed to ...
29806         (__libc_strstr): This.
29807         (strstr): New strong alias of __libc_strstr.
29808         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29809         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29810         __redirect_time.
29811         Include <time.h>.
29812         (__libc_time): New prototype.
29813         (time_ifunc): Replace time with __libc_time.
29814         (time): New strong alias and hidden definition of __libc_time.
29815         (__GI_time): Remove strong alias.
29816         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29817         Include <stddef.h>.
29818         (memmove): Redefined to __redirect_memmove.
29819         (__memmove_sse2): Use typeof __redirect_memmove.
29820         (__memmove_ssse3): Likewise.
29821         (__memmove_ssse3_back): Likewise.
29822         (__libc_memmove): New prototype.
29823         (memmove): Renamed to ...
29824         (__libc_memmove): This.
29825         (memmove): New strong alias of __libc_memmove.
29826
29827 2012-08-08  Mark Salter  <msalter@redhat.com>
29828
29829         * elf/elf.h
29830         (R_MN10300_TLS_GD): Define.
29831         (R_MN10300_TLS_LD): Likewise.
29832         (R_MN10300_TLS_LDO): Likewise.
29833         (R_MN10300_TLS_GOTIE): Likewise.
29834         (R_MN10300_TLS_IE): Likewise.
29835         (R_MN10300_TLS_LE): Likewise.
29836         (R_MN10300_TLS_DTPMOD): Likewise.
29837         (R_MN10300_TLS_DTPOFF): Likewise.
29838         (R_MN10300_TLS_TPOFF): Likewise.
29839         (R_MN10300_SYM_DIFF): Likewise.
29840         (R_MN10300_ALIGN): Likewise.
29841         (R_MN10300_NUM): Update.
29842
29843 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29844
29845         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29846         Remove.
29847
29848 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29849
29850         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29851
29852         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29853         sysdeps/unix -> sysdeps/posix move.
29854         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29855
29856 2012-08-07      Allan McRae     <allan@archlinux.org>
29857
29858         [BZ #14303]
29859         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29860         (SUNOS_CPP): Likewise.
29861         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29862         not found.
29863         (open_input): Call CPP using execvp.
29864
29865 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29866
29867         * sysdeps/unix/sysv/linux/kernel-features.h
29868         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29869         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29870         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29871         (__ASSUME_WAITID_SYSCALL): Likewise.
29872         * sysdeps/unix/sysv/linux/dl-execstack.c
29873         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29874         code unconditional.
29875         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29876         conditional code.
29877         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29878         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29879         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29880         code.
29881         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29882         unconditional.
29883         [__ASSUME_WAITID_SYSCALL]: Likewise.
29884         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29885
29886 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29887
29888         * sysdeps/unix/closedir.c: Renamed to ...
29889         * sysdeps/posix/closedir.c: ... here.
29890         * sysdeps/unix/dirfd.c: Renamed to ...
29891         * sysdeps/posix/dirfd.c: ... here.
29892         * sysdeps/unix/dirstream.h: Renamed to ...
29893         * sysdeps/posix/dirstream.h: ... here.
29894         * sysdeps/unix/fdopendir.c: Renamed to ...
29895         * sysdeps/posix/fdopendir.c: ... here.
29896         * sysdeps/unix/opendir.c: Renamed to ...
29897         * sysdeps/posix/opendir.c: ... here.
29898         * sysdeps/unix/readdir.c: Renamed to ...
29899         * sysdeps/posix/readdir.c: ... here.
29900         * sysdeps/unix/readdir_r.c: Renamed to ...
29901         * sysdeps/posix/readdir_r.c: ... here.
29902         * sysdeps/unix/rewinddir.c: Renamed to ...
29903         * sysdeps/posix/rewinddir.c: ... here.
29904         * sysdeps/unix/seekdir.c: Renamed to ...
29905         * sysdeps/posix/seekdir.c: ... here.
29906         * sysdeps/unix/telldir.c: Renamed to ...
29907         * sysdeps/posix/telldir.c: ... here.
29908         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29909         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29910         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29911         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29912
29913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29914         * bits/fcntl.h: ... here.
29915
29916         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29917         not 0.
29918         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29919         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29920         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29921         (struct flock): Move l_start, l_len to the beginning.
29922         Use __pid_t for l_pid.
29923         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29924         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29925         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29926         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29927         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29928         [__USE_LARGEFILE64] (struct flock64): New type.
29929         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29930
29931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29932         * bits/dirent.h: ... here.
29933
29934         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29935         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29936
29937 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29938
29939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29940         Change from 2.6.0 to 2.6.16.
29941         * sysdeps/unix/sysv/linux/configure: Regenerated.
29942         * sysdeps/unix/sysv/linux/kernel-features.h
29943         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29944         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29945         version.
29946         (__ASSUME_UTIMES): Likewise.
29947         (__ASSUME_CLONE_STOPPED): Remove.
29948         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29949         architectures, not kernel version.
29950         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29951         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29952         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29953         (__ASSUME_WAITID_SYSCALL): Likewise.
29954         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29955         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29956         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29957         refer to older versions.
29958
29959 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29960
29961         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29962         Define alphasort64 as an alias.
29963         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29964         Define versionsort64 as an alias.
29965         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29966         Define scandir64 as an alias.
29967         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29968         Define scandirat64 as an alias.
29969         * dirent/alphasort64.c (alphasort64):
29970         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29971         * dirent/versionsort64.c: Likewise.
29972         * dirent/scandir64.c: Likewise.
29973         * dirent/scandirat64.c: Likewise.
29974         * sysdeps/wordsize-64/alphasort.c: File removed.
29975         * sysdeps/wordsize-64/alphasort64.c: File removed.
29976         * sysdeps/wordsize-64/scandir.c: File removed.
29977         * sysdeps/wordsize-64/scandir64.c: File removed.
29978         * sysdeps/wordsize-64/scandirat.c: File removed.
29979         * sysdeps/wordsize-64/scandirat64.c: File removed.
29980         * sysdeps/wordsize-64/versionsort.c: File removed.
29981         * sysdeps/wordsize-64/versionsort64.c: File removed.
29982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29983         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29984         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29985         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29986         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29987         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29988         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29989         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29990
29991         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29993         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29995         [defined __arch64__ || defined __sparcv9]
29996         (__INO_T_MATCHES_INO64_T): New macro.
29997         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29998         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29999         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30000         * sysdeps/unix/sysv/linux/bits/dirent.h
30001         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30002         (_DIRENT_MATCHES_DIRENT64): New macro.
30003
30004         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30005         Define lockf64 as an alias.
30006         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30007         Define fseeko64 as an alias.
30008         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30009         Define ftello64 as an alias.
30010         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30011         Define _IO_fgetpos64 and fgetpos64 as aliases.
30012         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30013         Define _IO_fsetpos64 and fsetpos64 as aliases.
30014         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30015         Conditionalize body on this.
30016         * libio/fseeko64.c: Likewise.
30017         * libio/ftello64.c: Likewise.
30018         * libio/iofgetpos64.c: Likewise.
30019         * libio/iofsetpos64.c: Likewise.
30020         * sysdeps/wordsize-64/lockf.c: File removed.
30021         * sysdeps/wordsize-64/lockf64.c: File removed.
30022         * sysdeps/wordsize-64/fseeko.c: File removed.
30023         * sysdeps/wordsize-64/fseeko64.c: File removed.
30024         * sysdeps/wordsize-64/ftello.c: File removed.
30025         * sysdeps/wordsize-64/ftello64.c: File removed.
30026         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30027         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30028         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30029         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30031         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30032         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30033         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30034         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30035         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30040
30041         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30042         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30043         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30045         [defined __arch64__ || defined __sparcv9]
30046         (__OFF_T_MATCHES_OFF64_T): New macro.
30047         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30048         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30050         (__OFF_T_MATCHES_OFF64_T): New macro.
30051
30052 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30053
30054         * stdlib/secure-getenv.c (__secure_getenv): Replace
30055         GLIBC_2_16 with GLIBC_2_17.
30056
30057 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30058
30059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30060         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30061
30062 2012-08-03  David S. Miller  <davem@davemloft.net>
30063
30064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30065
30066 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30067
30068         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30069         Remove.
30070         (__ASSUME_CORRECT_SI_PID): Likewise.
30071         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30072         (__ASSUME_TMPFS_NAME): Likewise.
30073         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30074         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30075         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30076         (HAVE_AUX_SECURE): Make definition unconditional.
30077         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30078         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30079
30080 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30081
30082         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30083         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30084         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30085         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30086         __eloop_threshold instead of SYMLOOP_MAX.
30087
30088         * sysdeps/generic/eloop-threshold.h: New file.
30089         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30090         of MAXSYMLINKS.
30091         * elf/chroot_canon.c (chroot_canon): Likewise.
30092
30093 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30094
30095         [BZ #13717]
30096         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30097         Change to 2.6.0 everywhere.
30098         * sysdeps/unix/sysv/linux/configure: Regenerated.
30099         * sysdeps/unix/sysv/linux/kernel-features.h
30100         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30101         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30102         kernel versions.
30103         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30104         (__ASSUME_FUTEX_REQUEUE): Remove.
30105         (__ASSUME_STATFS64): Define unconditionally.
30106         (__ASSUME_AT_SECURE): Likewise.
30107         (__ASSUME_CORRECT_SI_PID): Likewise.
30108         (__ASSUME_TGKILL): Define without depending on kernel version for
30109         i386.
30110         (__ASSUME_UTIMES): Likewise.
30111         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30112         kernel version.
30113         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30114         (__ASSUME_TMPFS_NAME): Likewise.
30115         * README: Update reference to Linux kernel versions.
30116
30117 2012-08-02  Marek Polacek  <polacek@redhat.com>
30118
30119         [BZ# 14150]
30120         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30121         libc_cv_asm_type_prefix with %.
30122         * configure: Regenerated.
30123         * include/libc-symbols.h: Remove comment about
30124         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30125         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30126         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30127         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30128         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30129         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30130         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30131         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30132         * elf/tst-unique2mod1.c: Likewise.
30133         * elf/tst-unique1mod2.c: Likewise.
30134         * elf/tst-unique1mod1.c: Likewise.
30135         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30136         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30137         Replace ASM_TYPE_DIRECTIVE with .type.
30138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30139         * sysdeps/i386/sysdep.h: Likewise.
30140         * sysdeps/x86_64/sysdep.h: Likewise.
30141         * sysdeps/sh/sysdep.h: Likewise.
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30143         Do not define ASM_TYPE_DIRECTIVE.
30144         * sysdeps/powerpc/sysdep.h: Likewise.
30145         * sysdeps/powerpc/powerpc32/sysdep.h:
30146         Replace ASM_TYPE_DIRECTIVE with .type.
30147         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30148         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30149         * sysdeps/i386/fpu/e_powf.S: Likewise.
30150         * sysdeps/i386/fpu/e_expl.S: Likewise.
30151         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30152         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30153         * sysdeps/i386/fpu/e_pow.S: Likewise.
30154         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30155         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30156         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30157         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30158         * sysdeps/i386/fpu/e_log2.S: Likewise.
30159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30160         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30161         * sysdeps/i386/fpu/e_powl.S: Likewise.
30162         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30163         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30164         * sysdeps/i386/fpu/e_logl.S: Likewise.
30165         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30166         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30167         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30168         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30169         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30170         * sysdeps/i386/fpu/e_log.S: Likewise.
30171         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30172         * sysdeps/i386/fpu/e_logf.S: Likewise.
30173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30175         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30176         * sysdeps/i386/fpu/e_log10.S: Likewise.
30177         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30179         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30180         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30181         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30182         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30183         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30184         * sysdeps/i386/i686/strtok.S: Likewise.
30185         * sysdeps/i386/i386-mcount.S: Likewise.
30186         * sysdeps/i386/strtok.S: Likewise.
30187         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30188         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30189         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30191         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30193         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30194         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30196         * sysdeps/x86_64/_mcount.S: Likewise.
30197         * sysdeps/x86_64/strtok.S: Likewise.
30198         * sysdeps/sh/_mcount.S: Likewise.
30199
30200 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30201
30202         * libio/iofopen.c: Include <fcntl.h>.
30203         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30204         (_IO_fopen64, fopen64): Define as aliases.
30205         * libio/iofopen64.c: Include <fcntl.h>.
30206         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30207         Conditionalize body on this.
30208         * sysdeps/wordsize-64/iofopen.c: File removed.
30209         * sysdeps/wordsize-64/iofopen64.c: File removed.
30210
30211 2012-08-01  Marek Polacek  <polacek@redhat.com>
30212
30213         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30214         Use dlfcn directly instead of a variable.
30215         (binfmt-subdir): Do not define.
30216         (dlfcn): Likewise.
30217
30218 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30219
30220         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30221         Remove all definitions.
30222         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30223         <kernel-features.h>.
30224         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30225         (miss_F_GETOWN_EX): Remove all definitions.
30226         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30227         macro definition.
30228         [!__ASSUME_FCNTL64]: Remove conditional code.
30229         [__ASSUME_FCNTL64]: Make code unconditional.
30230         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30231         <kernel-features.h>.
30232         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30233         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30234         (lockf64) [__NR_fcntl64]: Make code unconditional.
30235         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30236
30237         * sysdeps/unix/sysv/linux/kernel-features.h
30238         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30239         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30240         Make code unconditional.
30241         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30242         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30244         [__NR_vfork]: Make code unconditional.
30245         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30246         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30248         [__NR_vfork]: Make code unconditional.
30249         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30250         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30251
30252 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30253
30254         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30255         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30256
30257         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30258         Define mkstemp64 as an alias.
30259         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30260         Define mkstemps64 as an alias.
30261         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30262         Define mkostemp64 as an alias.
30263         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30264         Define mkostemps64 as an alias.
30265         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30266         Conditionalize body on this.
30267         * misc/mkostemp64.c: Likewise.
30268         * misc/mkostemps64.c: Likewise.
30269         * misc/mkstemps64.c: Likewise.
30270         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30271         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30272         * sysdeps/wordsize-64/mkostemp.c: File removed.
30273         * sysdeps/wordsize-64/mkstemp.c: File removed.
30274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30276         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30277         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30278
30279         [BZ #14138]
30280         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30281         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30282         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30283         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30284
30285         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30286         compat_symbol macros from <shlib-compat.h> rather than the underlying
30287         default_symbol_version and symbol_version macros, so that DEFAULT
30288         lines in shlib-versions are respected.
30289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30290
30291 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30292
30293         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30294         Declare with warn_unused_result.
30295         (setgid, setregid, setegid, setresgid): Likewise.
30296         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30297         Likewise.
30298         * WUR-REPORT: Remove set*id functions.
30299
30300 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30301
30302         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30303
30304 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30305
30306         [BZ #10191]
30307         * include/sys/socket.h (__libc_accept, __libc_accept4):
30308         Add attribute_hidden.
30309         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30310
30311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30312         use of PTR_MANGLE.
30313         * inet/getnetgrent_r.c (setup): Likewise.
30314
30315         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30316
30317 2012-07-31  David S. Miller  <davem@davemloft.net>
30318
30319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30320
30321 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30322
30323         [BZ #13629]
30324         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30325         value between 1.0 and 2.0 and smaller part has absolute value less
30326         than 1.0.
30327         * math/s_clog10.c (__clog10): Likewise.
30328         * math/s_clog10f.c (__clog10f): Likewise.
30329         * math/s_clog10l.c (__clog10l): Likewise.
30330         * math/s_clogf.c (__clogf): Likewise.
30331         * math/s_clogl.c (__clogl): Likewise.
30332         * math/libm-test.inc (clog_test): Add more tests.
30333         (clog10_test): Likewise.
30334         * sysdeps/i386/fpu/libm-test-ulps: Update.
30335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30336
30337 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30338
30339         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30340         Exit with zero in case no suitable GID is found, and write a
30341         message to standard error.
30342
30343 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30344
30345         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30346         rather than to 1.
30347         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30348         (MAXPATHLEN): Removed.
30349         (NOGROUP, NODEV): New macros.
30350         (setbit, clrbit, isset, isclr): New macros.
30351         (howmany, roundup, powerof2): New macros.
30352         (DEV_BSIZE): New macro.
30353
30354         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30355         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30356
30357         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30358         definition on [!__NO_LONG_DOUBLE_MATH].
30359
30360         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30361         PTR_MANGLE and PTR_DEMANGLE.
30362
30363         * socket/accept4.c (accept4): Rename to __libc_accept4.
30364         Define accept4 as a weak alias.
30365
30366         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30367         on [_DIRENT_HAVE_D_TYPE].
30368         * io/ftw.c (ftw_dir): Likewise.
30369
30370         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30371
30372         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30373
30374         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30375         Use the BSD numbers rather than the arbitrary ones we had.
30376         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30377         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30378         (SIGXCPU, SIGXFSZ): New macros.
30379         (_NSIG): Now 32.
30380
30381         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30382         initializer on [_LIBC_REENTRANT].
30383
30384         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30385         definitions inside [_POSIX_MAPPED_FILES].
30386
30387         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30388
30389         * dirent/opendir.c: Include <fcntl.h>.
30390
30391         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30392         (__libc_getspecific): Likewise.
30393         (__libc_key_create): Likewise.
30394
30395         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30396         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30397         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30398         (tmpfile64): Define as alias.
30399         * sysdeps/wordsize-64/tmpfile.c: File removed.
30400         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30401         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30402         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30403
30404         * stdio-common/vfscanf.c: Include <stdbool.h>.
30405         * nss/makedb.c: Likewise.
30406         * stdio-common/_i18n_number.h: Likewise.
30407         * argp/argp-help.c: Likewise.
30408         * posix/wordexp.c: Likewise.
30409         * sysdeps/posix/spawni.c: Likewise.
30410         * nss/nss_files/files-initgroups.c: Likewise.
30411         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30412         * nss/nss_files/files-initgroups.c: Likewise.
30413         * nss/nss_db/db-netgrp.c: Likewise.
30414         * nss/nss_db/db-initgroups.c: Likewise.
30415         * io/fchmodat.c: Include <sys/stat.h>.
30416
30417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30418         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30419
30420         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30421         [HAVE_MMAP].
30422
30423         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30424         Add multiple inclusion protection.
30425
30426 2012-07-27  David S. Miller  <davem@davemloft.net>
30427
30428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30429
30430 2012-07-27  Gary Benson  <gbenson@redhat.com>
30431
30432         [BZ #14298]
30433         * elf/rtld.c: Include <stap-probe.h>.
30434         (dl_main): Added static probes "init_start" and "init_complete".
30435         * elf/dl-load.c: Include <stap-probe.h>.
30436         (lose): Take new parameter "nsid".
30437         Added static probe "map_failed".
30438         (_dl_map_object_from_fd): Pass namespace id to lose.
30439         Added static probe "map_start".
30440         (open_verify): Pass namespace id to lose.
30441         * elf/dl-open.c: Include <stap-probe.h>.
30442         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30443         and "reloc_complete".
30444         * elf/dl-close.c: Include <stap-probe.h>.
30445         (_dl_close_worker): Added static probes "unmap_start" and
30446         "unmap_complete".
30447         * elf/rtld-debugger-interface.txt: New file documenting the above.
30448
30449 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30450
30451         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30452         rather than a string variable.
30453         * sunrpc/rpc_main.c (h_output): Likewise.
30454         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30455
30456 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30457
30458         * inet/check_native.c: New file.
30459
30460 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30461
30462         [BZ #13629]
30463         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30464         if larger part has absolute value 1.0.
30465         * math/s_clog10.c (__clog10): Likewise.
30466         * math/s_clog10f.c (__clog10f): Likewise.
30467         * math/s_clog10l.c (__clog10l): Likewise.
30468         * math/s_clogf.c (__clogf): Likewise.
30469         * math/s_clogl.c (__clogl): Likewise.
30470         * math/libm-test.inc (clog_test): Add more tests.
30471         (clog10_test): Likewise.
30472         * sysdeps/i386/fpu/libm-test-ulps: Update.
30473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30474
30475         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30476         (pltexit): Likewise.
30477         (La_regs): Likewise.
30478         (La_retval): Likewise.
30479         (int_retval): Likewise.
30480         Update #error for removed macros to refer only to definitions in
30481         tst-audit.h.
30482         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30483         macro.
30484         (pltexit): Likewise.
30485         (La_regs): Likewise.
30486         (La_retval): Likewise.
30487         (int_retval): Likewise.
30488         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30489         macro.
30490         (pltexit): Likewise.
30491         (La_regs): Likewise.
30492         (La_retval): Likewise.
30493         (int_retval): Likewise.
30494         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30495         macro.
30496         (pltexit): Likewise.
30497         (La_regs): Likewise.
30498         (La_retval): Likewise.
30499         (int_retval): Likewise.
30500         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30501         macro.
30502         (pltexit): Likewise.
30503         (La_regs): Likewise.
30504         (La_retval): Likewise.
30505         (int_retval): Likewise.
30506         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30507         macro.
30508         (pltexit): Likewise.
30509         (La_regs): Likewise.
30510         (La_retval): Likewise.
30511         (int_retval): Likewise.
30512         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30513         macro.
30514         (pltexit): Likewise.
30515         (La_regs): Likewise.
30516         (La_retval): Likewise.
30517         (int_retval): Likewise.
30518         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30519         macro definitions in tst-audit.h.
30520         * sysdeps/i386/tst-audit.h: New file.
30521         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30522         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30523         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30524         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30525         * sysdeps/sh/tst-audit.h: Likewise.
30526         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30527         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30528         * sysdeps/x86_64/tst-audit.h: Likewise.
30529
30530 2012-07-26  Andreas Jaeger  <aj@suse.de>
30531
30532         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30533         ptrace.
30534
30535         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30536         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30537         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30538         PTRACE_O_MASK.
30539         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30540         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30541         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30542
30543         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30544         value.
30545
30546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30547         _sigsys.
30548         (si_call_addr, si_syscall, si_arch): Define new macro.
30549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30550         _sigsys.
30551         (si_call_addr, si_syscall, si_arch): Define new marcro.
30552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30553         _sigsys.
30554         (si_call_addr, si_syscall, si_arch): Define new macro.
30555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30556         _sigsys.
30557         (si_call_addr, si_syscall, si_arch): Define new macro.
30558
30559 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30560
30561         [BZ #13717]
30562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30563         Change to 2.4.21 where previously 2.4.1.
30564         * sysdeps/unix/sysv/linux/configure: Regenerated.
30565         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30566         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30567         Linux kernel version.
30568         (__ASSUME_STD_AUXV): Remove.
30569         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30570         kernel version.
30571         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30572         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30573         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30574         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30575         (__ASSUME_NETLINK_SUPPORT): Likewise.
30576         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30577         (__no_netlink_support): Remove conditional definition.
30578         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30579         Remove.
30580         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30581         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30582         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30583         (if_nameindex_ioctl): Remove.
30584         (if_nameindex_netlink): Do not handle __no_netlink_support.
30585         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30586         code.
30587         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30588         Remove conditional code.
30589         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30590         code.
30591         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30592         unconditional.
30593         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30594         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30595         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30596         Remove.
30597         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30598         [!__ASSUME_STD_AUXV]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30600         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30601         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30603         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30604         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30605         code.
30606         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30608         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30609         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30610         conditional code.
30611         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30613         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30614         code.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30616         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30617         conditional code.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30619         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30620         code unconditional.
30621         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30622         conditional code.
30623         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30624         unconditional.
30625         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30626         conditional code.
30627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30628         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30629         unconditional.
30630         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30631         conditional code.
30632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30633         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30634         code unconditional.
30635         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30636         conditional code.
30637         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30638         unconditional.
30639         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30640         conditional code.
30641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30642         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30643         code unconditional.
30644         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30645         conditional code.
30646         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30647         unconditional.
30648         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30649         conditional code.
30650
30651 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30652
30653         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30654         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30655         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30656         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30657         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30658         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30659         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30660         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30661         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30662         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30663         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30664         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30665         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30668         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30669         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30670         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30671         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30673         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30674         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30675         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30676
30677 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30678
30679         * Versions.def: Add GLIBC_2.17.
30680         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30681         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30682         Introduce __libc_secure_getenv.
30683         * stdlib/Versions (2.17): Add secure_getenv
30684         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30685         * stdlib/secure-getenv.c: Rename __secure_getenv to
30686         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30687         symbol __secure_getenv for GLIBC_2.0.
30688         * stdlib/tst-secure-getenv.c: New.
30689         * stdlib/Makefile (tests): Add testcase.
30690         * manual/startup.texi (Environment Access): Document
30691         secure_getenv.
30692         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30693         __libc_secure_getenv.
30694         * inet/ruserpass.c (ruserpass): Likewise.
30695         * malloc/mtrace.c (mtrace): Likewise.
30696         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30697         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30698         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30699         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30700         HAVE_SECURE_GETENV.
30701         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30702         __secure_getenv to __libc_secure_getenv.
30703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30705         Likewise.
30706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30707         Likewise.
30708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30715
30716 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30717
30718         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30719         (struct La_i86_retval): Likewise.
30720         (struct La_x86_64_regs): Likewise.
30721         (struct La_x86_64_retval): Likewise.
30722         (struct La_x32_regs): Likewise.
30723         (struct La_x32_retval): Likewise.
30724         (struct La_ppc32_regs): Likewise.
30725         (struct La_ppc32_retval): Likewise.
30726         (struct La_ppc64_regs): Likewise.
30727         (struct La_ppc64_retval): Likewise.
30728         (struct La_sh_regs): Likewise.
30729         (struct La_sh_retval): Likewise.
30730         (struct La_s390_32_regs): Likewise.
30731         (struct La_s390_32_retval): Likewise.
30732         (struct La_s390_64_regs): Likewise.
30733         (struct La_s390_64_retval): Likewise.
30734         (struct La_sparc32_regs): Likewise.
30735         (struct La_sparc32_retval): Likewise.
30736         (struct La_sparc64_regs): Likewise.
30737         (struct La_sparc64_retval): Likewise.
30738         (struct audit_ifaces): Remove architecture-specific pltenter and
30739         pltexit members.
30740         * sysdeps/i386/ldsodefs.h: New file.
30741         * sysdeps/powerpc/ldsodefs.h: Likewise.
30742         * sysdeps/s390/ldsodefs.h: Likewise.
30743         * sysdeps/sh/ldsodefs.h: Likewise.
30744         * sysdeps/sparc/ldsodefs.h: Likewise.
30745         * sysdeps/x86_64/ldsodefs.h: Likewise.
30746
30747 2012-07-25  Marek Polacek  <polacek@redhat.com>
30748
30749         [BZ #6808]
30750         * math/libm-test.inc (yn_test): Add another test.
30751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30752         to ERANGE when the result is +-Inf.
30753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30754         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30756         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30757
30758 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30759
30760         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30761         equal to 0.
30762         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30763         clock_t.
30764         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30765
30766 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30767
30768         * configure.in <sysdeps resolving>: Correct printing
30769         Implies_before.
30770         * configure: Regenerate.
30771
30772 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30773
30774         * math/w_ilogb.c: Include <limits.h>.
30775         * math/w_ilogbl.c: Likewise.
30776
30777 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30778
30779         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30780         va_copy.  Document allowing for unavailable va_copy only as
30781         pre-C99 compatibility.
30782         * manual/string.texi (Copying and Concatenation): Use va_copy
30783         instead of __va_copy in concat example.
30784
30785 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30786
30787         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30788         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30789         it if not null.
30790
30791         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30792         with O_NOLINK passed to __file_name_lookup.
30793
30794         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30795         with O_NOLINK passed to __file_name_lookup.
30796
30797         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30798         negative N or less than NGIDS.
30799
30800         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30801         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30802         enough.  Use memcpy instead of strncpy.
30803
30804 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30805
30806         * elf/Makefile (check-data): Remove.
30807         (localplt.data): New vpath directive.
30808         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30809         instead of $(check-data).
30810         * scripts/data/localplt-generic.data: Move to ...
30811         * sysdeps/generic/localplt.data: ... here.
30812         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30813         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30814         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30816         ... here.
30817         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30819         ... here.
30820         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30822         ... here.
30823         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30825         ... here.
30826         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30828         ... here.
30829         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30831         ... here.
30832
30833 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30834
30835         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30836         PPC32 and PPC64 files.
30837         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30838         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30839
30840 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30841
30842         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30843         __makecontext_ret to ...
30844         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30845         ... here and call exit if uc_link is NULL.  New file.
30846         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30847         __makecontext_ret.S.
30848         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30849         __makecontext_ret to ...
30850         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30851         ... here and call exit if uc_link is NULL.  New file.
30852         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30853         __makecontext_ret.S.
30854
30855 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30856
30857         * elf/elf.h (R_390_IRELATIVE): New definition.
30858         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30859         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30860         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30862         (elf_machine_lazy_rel): Likewise.
30863         * sysdeps/s390/dl-irel.h: New file.
30864         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30865         * sysdeps/s390/s390-64/memset.S: New asm code.
30866         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30867         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30868         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30869         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30870         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30871         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30872         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30873         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30874         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30875         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30876         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30877         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30878         * sysdeps/s390/s390-32/memset.S: New asm code.
30879         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30880
30881 2012-07-17  Marek Polacek  <polacek@redhat.com>
30882
30883         [BZ #14349]
30884         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30885         * sysdeps/s390/s390-64/configure.in: Likewise.
30886         * sysdeps/sparc/configure.in: Likewise.
30887         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30888         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30889         * sysdeps/i386/configure.in: Likewise.
30890         * sysdeps/x86_64/configure.in: Likewise.
30891         * sysdeps/sh/configure.in: Likewise.
30892         * sysdeps/s390/s390-32/configure: Regenerated.
30893         * sysdeps/s390/s390-64/configure: Likewise.
30894         * sysdeps/x86_64/configure: Likewise.
30895         * sysdeps/sh/configure: Likewise.
30896         * sysdeps/powerpc/powerpc64/configure: Likewise.
30897         * sysdeps/powerpc/powerpc32/configure: Likewise.
30898         * sysdeps/sparc/configure: Likwise.
30899         * sysdeps/i386/configure: Likewise.
30900
30901         * elf/dl-open.c: Comment fixes.
30902
30903 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30904
30905         * Makefile [CXX] (check-data): Remove.
30906         [CXX] (c++-types.data): New vpath directive.
30907         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30908         vpath.  Do not allow for C++ type data being missing.
30909         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30910         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30911         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30912         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30913         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30914         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30915         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30917         ... here.
30918         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30920         ... here.
30921         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30923         ... here.
30924         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30926         ... here.
30927         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30929         ... here.
30930         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30932         ... here.
30933         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30935         ... here.
30936         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30938
30939         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30940         definitions to architecture-specific files.
30941         (TLS_IE): Likewise.
30942         (TLS_LD): Likewise.
30943         (TLS_GD): Likewise.
30944         * sysdeps/i386/tls-macros.h: New file.
30945         * sysdeps/powerpc/tls-macros.h: Likewise.
30946         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30947         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30948         * sysdeps/sh/tls-macros.h: Likewise.
30949         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30950         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30951         * sysdeps/x86_64/tls-macros.h: Likewise.
30952
30953 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30954
30955         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30956         zero value for regular exit case.
30957
30958         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30959         (__start_context): Preserve zero value for regular exit case.
30960
30961 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30963
30964         * manual/setjmp.texi (setcontext): Clarify normal process
30965         termination when uc_link is the null pointer.
30966         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30967         exit call.
30968
30969 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30970
30971         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30972         preprocessor.  Test for each exception mask separately.
30973
30974 2012-07-16  Andreas Jaeger  <aj@suse.de>
30975
30976         * po/ru.po: Update from translation team.
30977
30978 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30979
30980         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30981         equal to 0.
30982         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30983         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30984         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30985         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30987
30988 2012-07-13  Andreas Jaeger  <aj@suse.de>
30989
30990         * po/fr.po: Update from translation team.
30991
30992 2012-07-12  Marek Polacek  <polacek@redhat.com>
30993
30994         [BZ #14173]
30995         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30996         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30997         loop condition.
30998
30999 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31000
31001         [BZ #13717]
31002         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31003         Change to 2.4.1 where previously 2.4.0.
31004         * sysdeps/unix/sysv/linux/configure: Regenerated.
31005         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31006         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31007         version.
31008         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31009         (__ASSUME_AT_CLKTCK): Remove.
31010         (__ASSUME_AT_PAGESIZE): Likewise.
31011         (__ASSUME_AT_XID): Likewise.
31012         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31013         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31014         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31015         unconditionally.
31016         (HAVE_AUX_PAGESIZE): Likewise.
31017         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31018         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31019         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31020
31021 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31022
31023         [BZ #14307]
31024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31025         the temporary buffer used to invoke __gethostbyname2_r,
31026         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31027         host_data / struct gaih_addrtuple.
31028         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31029         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31030         header file nss/nsswitch.h.
31031         * nss/nsswitch.h (global scope): Add definition of implementation
31032         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31033         resolv/nss_dns/dns-host.c).
31034
31035 2012-07-11  Andreas Jaeger  <aj@suse.de>
31036
31037         * po/fr.po: Update from translation team.
31038
31039         * po/sv.po: Update from translation team
31040         * po/fr.po: Another update from translation team.
31041
31042 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31043
31044         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31045         for subnormals or multiply small sinh result by itself.
31046         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31048
31049 2012-07-11  David S. Miller  <davem@davemloft.net>
31050
31051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31052
31053 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31054
31055         [BZ #14347]
31056         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31057         (INTERNAL_MARK): Shift it here.
31058
31059 2012-07-10  Marek Polacek  <polacek@redhat.com>
31060
31061         [BZ #14151]
31062         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31063         libc_cv_asm_global_directive with .globl.
31064         * configure: Regenerated.
31065         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31066         with .globl.
31067         * sysdeps/i386/configure: Regenerated.
31068         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31069         with .globl.
31070         * sysdeps/x86_64/configure: Regenerated.
31071         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31072         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31073         * elf/tst-unique2mod2.c: Likewise.
31074         * elf/tst-unique2mod1.c: Likewise.
31075         * elf/tst-unique1mod2.c: Likewise.
31076         * elf/tst-unique1mod1.c: Likewise.
31077         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31078         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31080         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31081         * sysdeps/mach/sysdep.h: Likewise.
31082         * sysdeps/i386/sysdep.h: Likewise.
31083         * sysdeps/i386/i386-mcount.S: Likewise.
31084         * sysdeps/x86_64/_mcount.S: Likewise.
31085         * sysdeps/x86_64/sysdep.h: Likewise.
31086         * sysdeps/sh/_mcount.S: Likewise.
31087         * sysdeps/sh/sysdep.h: Likewise.
31088         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31089         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31090         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31092         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31093         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31094         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31095         * locale/localeinfo.h: Likewise.
31096         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31097         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31098
31099 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31100
31101         [BZ #14336]
31102         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31103         system".
31104         * manual/message.texi (The Uniforum approach): Likewise.
31105         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31106         (glibc iconv Implementation): Likewise.
31107
31108 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31109
31110         [BZ #14337]
31111         * math/s_clog.c (__clog): Avoid scaling a value down where that
31112         could result in underflow.
31113         * math/s_clog10.c (__clog10): Likewise.
31114         * math/s_clog10f.c (__clog10f): Likewise.
31115         * math/s_clog10l.c (__clog10l): Likewise.
31116         * math/s_clogf.c (__clogf): Likewise.
31117         * math/s_clogl.c (__clogl): Likewise.
31118         * math/libm-test.inc (clog_test): Add more tests.
31119         (clog10_test): Likewise.
31120         * sysdeps/i386/fpu/libm-test-ulps: Update.
31121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31122
31123 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31124
31125         [BZ #14283]
31126         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31127         by 7 not 8 to examine high bit of fractional part.
31128
31129         [BZ #14042]
31130         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31131         for call to __mcount_internal.
31132         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31133         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31134         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31135
31136 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31137
31138         [BZ #14154]
31139         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31140         approximation for values within 0x1p-13f of an odd multiple of
31141         pi/4.
31142         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31143         exception.  Add more tests.
31144         * sysdeps/i386/fpu/libm-test-ulps: Update.
31145
31146         [BZ #6778]
31147         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31148         inputs and return -1 for them.  Do not check for +Inf in case not
31149         reachable for +Inf.
31150         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31151         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31153         and return -1 for them.  Do not check for +Inf in case not
31154         reachable for +Inf.
31155         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31156         define.
31157         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31158         and return -1 for them.  Do not check for +Inf in case not
31159         reachable for +Inf.
31160         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31161         spurious underflow.
31162         * sysdeps/i386/fpu/libm-test-ulps: Update.
31163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31164
31165 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31166
31167         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31168
31169 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31170
31171         [BZ #14157]
31172         [BZ #14331]
31173         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31174         could result in spurious underflow.  Scale down values above
31175         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31176         * math/s_csqrtf.c (__csqrtf): Likewise.
31177         * math/s_csqrtl.c (__csqrtl): Likewise.
31178         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31179         spurious underflow.
31180         * sysdeps/i386/fpu/libm-test-ulps: Update.
31181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31182
31183 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31184
31185         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31186         xopen-msg.sed.
31187         * catgets/xopen-msg.awk: New file.
31188         * catgets/xopen-msg.sed: Removed.
31189
31190         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31191         po2text.sed.
31192         * intl/po2test.awk: New file.
31193         * intl/po2test.sed: Removed.
31194
31195 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31196
31197         [BZ #14328]
31198         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31199         or multiply small sinh result by itself.
31200         * math/s_ctanf.c (__ctanf): Likewise.
31201         * math/s_ctanh.c (__ctanh): Likewise.
31202         * math/s_ctanhf.c (__ctanhf): Likewise.
31203         * math/s_ctanhl.c (__ctanhl): Likewise.
31204         * math/s_ctanl.c (__ctanl): Likewise.
31205         * math/libm-test.inc (ctan_test_tonearest): New function.
31206         (ctan_test_towardzero): Likewise.
31207         (ctan_test_downward): Likewise.
31208         (ctan_test_upward): Likewise.
31209         (ctanh_test_tonearest): Likewise.
31210         (ctanh_test_towardzero): Likewise.
31211         (ctanh_test_downward): Likewise.
31212         (ctanh_test_upward): Likewise.
31213         (main): Call these new functions.
31214         * sysdeps/i386/fpu/libm-test-ulps: Update.
31215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31216
31217 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31218
31219         * .gitignore: Delete /ports entry.
31220
31221 2012-07-03  Andreas Jaeger  <aj@suse.de>
31222
31223         * po/bg.po: Update from translation team.
31224         * po/cs.po: Likewise.
31225         * po/de.po: Likewise.
31226         * po/hr.po: Likewise.
31227         * po/nl.pl: Likewise.
31228         * po/pl.po: Likewise.
31229         * po/vi.po: Likewise.
31230
31231 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31232
31233         * Makeconfig [!+link] (+link-before-libc): New variable.
31234         [!+link] (+link-after-libc): Likewise.
31235         [!+link] (+link-tests): Likewise.
31236         [!+link] (+link): Define in terms of $(+link-before-libc) and
31237         $(+link-after-libc).
31238         [!+link-static] (+link-static-before-libc): New variable.
31239         [!+link-static] (+link-static-after-libc): Likewise.
31240         [!+link-static] (+link-static-tests): Likewise.
31241         [!+link-static] (+link-static): Define in terms of
31242         $(+link-static-before-libc) and $(+link-static-after-libc).
31243         [build-shared] (link-libc-before-gnulib): New variable.
31244         [build-shared] (link-libc-tests): Likewise.
31245         [build-shared] (link-libc): Define in terms of
31246         $(link-libc-before-gnulib).
31247         [!build-shared] (link-libc-tests): New variable.
31248         (link-libc-static-tests): New variable.
31249         [!gnulib] (gnulib-arch): New variable.
31250         [!gnulib] (gnulib-tests): Likewise.
31251         [!gnulib] (static-gnulib-arch): Likewise.
31252         [!gnulib] (static-gnulib-tests): Likewise.
31253         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31254         Define with "=" instead of ":=".
31255         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31256         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31257         * Rules (binaries-all-notests): New variable.
31258         (binaries-all-tests): Likewise.
31259         (binaries-static-notests): Likewise.
31260         (binaries-static-tests): Likewise.
31261         (binaries-all): Define using $(binaries-all-notests) and
31262         $(binaries-all-tests).
31263         (binaries-static): Define using $(binaries-static-notests) and
31264         $(binaries-static-tests).
31265         (binaries-shared-tests): New variable.
31266         (binaries-shared-notests): Likewise.
31267         (binaries-shared): Remove variable.
31268         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31269         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31270         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31271         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31272         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31273         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31274         * elf/Makefile (sln-modules): New variable.
31275         (extra-objs): Add $(sln-modules:=.o).
31276         (ldconfig-modules): Add static-stubs.
31277         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31278         * elf/static-stubs.c: New file.
31279
31280         [BZ #14283]
31281         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31282         by 7 not 8 to examine high bit of fractional part.  Use volatile
31283         variables when splitting into final array of floats if
31284         __FLT_EVAL_METHOD__ != 0.
31285         * math/libm-test.inc (cos_test): Add another test.
31286         (sin_test): Likewise.
31287         * sysdeps/i386/fpu/libm-test-ulps: Update.
31288
31289         [BZ #14273]
31290         * math/libm-test.inc (cosh_test): Add more tests.
31291
31292         * version.h (RELEASE): Set to "development".
31293         (VERSION): Set to "2.16.90".
31294
31295 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31296
31297         * NEWS: Update copyright. Remove last-updated date.
31298         Mention math library bug fixes and timezone data changes.
31299         * README: Mention GNU/Hurd, x32, and HPPA support status.
31300
31301 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31302
31303         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31304
31305 2012-06-27  Andreas Jaeger  <aj@suse.de>
31306
31307         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31308
31309 2012-06-25  Andreas Jaeger  <aj@suse.de>
31310
31311         * sysdeps/s390/fpu/libm-test-ulps: Update.
31312
31313 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31314             Thomas Schwinge  <thomas@codesourcery.com>
31315
31316         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31317         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31319         fanotify_mark.
31320
31321 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31322
31323         * sysdeps/mach/start.c: Remove file.
31324         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31325         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31326         * sysdeps/sh/init-first.c: Likewise.
31327
31328         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31329         registers for frame unwinding purposes, add CFI directives.
31330         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31332         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31333         Likewise.
31334
31335         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31336         __fortify_fail returning.
31337         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31338
31339         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31340         sysdeps/sh/____longjmp_chk.S.
31341         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31342         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31343         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31344         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31345
31346         * sysdeps/sh/abort-instr.h: New file.
31347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31348         process in case exit returns.
31349
31350         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31351         initialize the GOT register before use.
31352
31353         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31354         calculation of ARGC > 4.
31355
31356         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31357         meaningful names to some local labels.
31358
31359 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31360             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31361
31362         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31363         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31364         (__arch_compare_and_exchange_val_16_acq): Likewise.
31365         (__arch_compare_and_exchange_val_32_acq): Likewise.
31366         (atomic_exchange_and_add): Fix gUSA sequence.
31367         (atomic_add): Likewise.
31368         (atomic_add_negative): Likewise.
31369         (atomic_add_zero): Likewise.
31370         (atomic_bit_test_set): Likewise.
31371
31372 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31373
31374         [BZ #13579]
31375         * include/link.h (struct link_map): Add l_free_initfini.
31376         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31377         l_initfini.
31378         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31379         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31380         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31381         set.
31382
31383 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31384
31385         * configure.in: Use AC_LANG_SOURCE.
31386         * configure: Regenerate.
31387
31388 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31389
31390         * configure.in (libc_cv_localstatedir): New substituted variable.
31391         * configure: Regenerated.
31392         * config.make.in (localstatedir): New variable, substituted from
31393         libc_cv_localstatedir.
31394         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31395         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31396         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31397         * sysdeps/gnu/configure: Regenerated.
31398
31399 2012-06-21  Jeff Law  <law@redhat.com>
31400
31401         [BZ #14277]
31402         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31403         free.  Simplify list management for _LIBC case.
31404
31405 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31406
31407         [BZ #14273]
31408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31409         Clear sign bit of 64-bit integer value before comparing against
31410         overflow value.
31411
31412         * sysdeps/mach/configure: Regenerated.
31413
31414 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31415
31416         [BZ #14278]
31417         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31418
31419 2012-06-21  Jeff Law  <law@redhat.com>
31420
31421         [BZ #13882]
31422         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31423         uint16_t for elements in the "seen" array to avoid char overflows.
31424         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31425         * elf/dl-open.c (dl_open_worker): Likewise.
31426
31427 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31428
31429         * scripts/list-sources.sh: Scan PORTS for translations.
31430         * po/libc.pot: Regenerated.
31431
31432 2012-06-21  Andreas Jaeger  <aj@suse.de>
31433
31434         [BZ #12194]
31435         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31436         warning.
31437         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31438         * bits/byteswap-16.h (__bswap_16): Likewise.
31439         * bits/byteswap.h (__bswap_constant_16): Likewise.
31440
31441 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31442
31443         [BZ #14117]
31444         * sysdeps/i386/fpu_control.h: Removed.
31445         * sysdeps/x86_64/fpu_control.h: Moved to ...
31446         * sysdeps/x86/fpu_control.h: Here.
31447
31448         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31449         (_FPU_SETCW): Likewise.
31450
31451 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31452
31453         [BZ #14117]
31454         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31455         * sysdeps/x86/fpu/bits/mathinline.h: This.
31456         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31457
31458         [BZ #14050]
31459         [BZ #14117]
31460         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31461         functions if __x86_64__ is defined.
31462
31463 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31464
31465         * string/endian.h: Add !__ASSEMBLER__ condition for including
31466         conversion interfaces.
31467
31468 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31469
31470         [BZ #14241]
31471         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31472         of ABS(x) in calculating zero to negative powers other than odd
31473         integers.
31474         * math/libm-test.inc (pow_test): Add more tests.
31475
31476 2012-06-15  Andreas Jaeger  <aj@suse.de>
31477
31478         * manual/contrib.texi (Contributors): Update entry of Liubov
31479         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31480         Machado Filho.
31481
31482 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31483
31484         * string/string.h: Add __wur to GNU version of strerror_r.
31485
31486 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31487
31488         [BZ #14229]
31489         * string/Makefile (tests): Add tst-strtok_r.
31490         * string/tst-strtok_r.c: New file.
31491         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31492         RAX_LP/RDX_LP on SAVE_PTR.
31493
31494 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31495
31496         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31497
31498 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31499
31500         * libm_test.inc (csqrt_test): Allow more spurious underflow
31501         exceptions.
31502         (j0_test): Likewise.
31503         (j1_test): Likewise.
31504         (y0_test): Likewise.
31505         (y1_test): Likewise.
31506
31507 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31508
31509         * po/Makefile (libc.pot): Use UTF-8 charset.
31510
31511 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31512
31513         [BZ #14210]
31514         Suppress sign-conversion warning from FD_SET.
31515         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31516         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31517         not unsigned long int.
31518         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31519
31520 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31521
31522         [BZ #14050]
31523         [BZ #14117]
31524         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31525         __extern_always_inline instead of __extern_inline.
31526         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31527         (__signbit): Likewise.
31528         (__signbitl): Support C++ namespace.
31529         (lrintf): New inline function.
31530         (lrint): Likewise.
31531         (llrintf): Likewise.
31532         (llrint): Likewise.
31533         (fmaxf): Likewise.
31534         (fmax): Likewise.
31535         (fminf): Likewise.
31536         (fmin): Likewise.
31537         (rint): Likewise.
31538         (rintf): Likewise.
31539         (ceil): Likewise.
31540         (ceilf): Likewise.
31541         (floor): Likewise.
31542         (floorf): Likewise.
31543         (nearbyint): Likewise.
31544         (nearbyintf): Likewise.
31545
31546 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31547
31548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31549         non-default versions.
31550
31551 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31552
31553         [BZ #14218]
31554         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31555
31556 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31557
31558         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31559         (FE_UPWARD, FE_DOWNWARD): Don't define.
31560         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31562
31563         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31564         reading it.
31565         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31566         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31567
31568 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31569
31570         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31572         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31573         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31574
31575 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31576
31577         [BZ #14117]
31578         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31579         * sysdeps/i386/fpu/Implies: New file.
31580         * sysdeps/x86_64/fpu/Implies: Likewise.
31581         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31582         * sysdeps/x86/fpu/bits/fenv.h: This.
31583
31584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31585         __SSE_MATH__.
31586
31587 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31588
31589         [BZ #14134]
31590         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31591         character 0xffff that matches the last element of the
31592         conversion table.
31593
31594 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31595
31596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31597         fmodl commit.
31598
31599 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31600
31601         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31602         values higher than 25.6283.
31603
31604 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31605
31606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31607         subnormal exponent extraction and add some __builtin_expect.
31608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31609         Fix for subnormal mantissa calculation.
31610
31611 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31612
31613         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31614         cpu2 is -1 and errno is not ENOSYS.
31615
31616 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31617
31618         [BZ #14117]
31619         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31620         * sysdeps/x86/bits/string.h: This.
31621         * sysdeps/x86_64/bits/string.h: Removed.
31622
31623         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31624         if not compiling for x86-64, but compiling for >= i486.
31625
31626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31627         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31628
31629         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31630         New macro from Linux kernel 3.4.0.
31631         (FP_XSTATE_MAGIC2): Likewise.
31632         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31633         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31634         (struct _fpx_sw_bytes): New struct.
31635         (struct _xsave_hdr): Likewise.
31636         (struct _ymmh_state): Likewise.
31637         (struct _xstate): Likewise.
31638
31639         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31640         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31641         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31642         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31643         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31644         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31645
31646         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31647         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31648         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31649         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31650         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31651         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31652
31653 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31654
31655         [BZ #13743]
31656         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31657         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31658         (sysdep_headers): Include sys/platform/ppc.h.
31659         * sysdeps/powerpc/test-gettimebase.c: Test for
31660         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31661         * manual/Makefile (appendices): Include platform.texi.
31662         * manual/contrib.texi (Contributors): Update @node pointers.
31663         * manual/maint.texi (Maintenance): Likewise.
31664         (Platform): New node.
31665         * manual/platform.texi: New file.  Document the new features.
31666
31667 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31668             Jakub Jelinek  <jakub@redhat.com>
31669
31670         [BZ #14188]
31671         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31672         where __builtin_expect is unavailable.
31673
31674 2012-06-03  David S. Miller  <davem@davemloft.net>
31675
31676         * stdlib/longlong.h: Updated from GCC.
31677
31678 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31679
31680         [BZ #14042]
31681         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31682         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31683         __mcount_internal.
31684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31685         (GLIBC_2.16): Likewise.
31686
31687 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31688
31689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31690
31691 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31692
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31694         (default-abi): New variable.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31696         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31697         variable.
31698         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31699         Likewise.
31700         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31701         Likewise.
31702         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31703         Likewise.
31704
31705         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31706         definition.  Document in comment.
31707
31708 2012-06-01  David S. Miller  <davem@davemloft.net>
31709
31710         * stdlib/longlong.h: Updated from GCC.
31711
31712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31713
31714         [BZ #14117]
31715         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31716         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31717         sys/debugreg.h sys/io.h here.
31718         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31719         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31720         sys/io.h.
31721         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31722         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31723         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31724         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31725         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31726         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31727
31728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31729         Define only if __x86_64__ is defined.
31730
31731 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31732
31733         [BZ #14048]
31734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31735         Use int64_t for variable i.
31736         * math/libm-test.inc (fmod_test): Add more tests.
31737
31738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31739         z computation is not scheduled after fetestexcept.
31740         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31741         Use math_force_eval instead of asm to ensure calculation scheduled
31742         before exception test.
31743         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31744         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31745
31746 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31747
31748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31749         computation is not scheduled after fetestexcept.
31750
31751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31752
31753         [BZ #14117]
31754         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31755         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31756
31757 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31758
31759         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31761
31762 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31763
31764         [BZ #14117]
31765         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31766         <bits/wordsize.h>.
31767         (__WCHAR_MIN): Support __WORDSIZE == 64.
31768         (__WCHAR_MAX): Likewise.
31769
31770         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31772
31773         [BZ #14183]
31774         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31775         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31776
31777         [BZ #14117]
31778         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31780
31781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31782         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31783
31784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31785         Defined to 1 if __x86_64__ isn't defined.
31786         (_STAT_VER_LINUX_OLD): New.
31787         (st_atime): Remove duplicate.
31788         (st_mtime): Likewise.
31789         (st_ctime): Likewise.
31790
31791 2012-05-31  David S. Miller  <davem@davemloft.net>
31792
31793         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31794         entries.
31795
31796 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31797
31798         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31799         gen-libm-test.pl.
31800
31801         [BZ #14132]
31802         * elf/dl-reloc.c: Include <_itoa.h>.
31803         (_dl_reloc_bad_type): Remove use of INTUSE.
31804         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31805         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31806         * stdio-common/psiginfo.c (psiginfo): Likewise.
31807         * stdio-common/psignal.c (psignal): Likewise.
31808         * string/strsignal.c (strsignal): Likewise.
31809         * include/signal.h (_sys_siglist): Declare hidden proto.
31810         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31811         INTVARDEF with libc_hidden_data_def.
31812         * stdio-common/itoa-udigits.c: Likewise.
31813         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31814         (_itoa_lower_digits_internal): Remove declaration.
31815         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31816         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31817         (_sys_sigabbrev_internal): Remove aliases.
31818         (_sys_siglist): Define hidden alias.
31819
31820 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31821
31822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31823         bits/sysctl.h.
31824
31825 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31826
31827         [BZ #14117]
31828         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31829         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31830
31831         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31832         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31833         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31834         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31835         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31836         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31837
31838         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31839         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31841
31842         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31843         with __addr.
31844         (insw): Likewise.
31845         (insl): Likewise.
31846         (outsb): Likewise.
31847         (outsw): Likewise.
31848         (outsl): Likewise.
31849
31850         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31852         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31853
31854         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31855         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31856         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31857         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31858         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31859         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31860
31861         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31862         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31863
31864         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31865         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31866
31867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31868         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31870
31871         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31872         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31873         to ...
31874         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31875
31876         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31877         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31878         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31879
31880         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31881         for x86-64.
31882         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31883
31884 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31885
31886         * math/math.h (M_El): Use two more decimal places.
31887         (M_LOG2El): Likewise.
31888         (M_LOG10El): Likewise.
31889         (M_LN2l): Likewise.
31890         (M_LN10l): Likewise.
31891         (M_PIl): Likewise.
31892         (M_PI_2l): Likewise.
31893         (M_PI_4l): Likewise.
31894         (M_1_PIl): Likewise.
31895         (M_2_PIl): Likewise.
31896         (M_2_SQRTPIl): Likewise.
31897         (M_SQRT2l): Likewise.
31898         (M_SQRT1_2l): Likewise.
31899
31900 2012-05-31  David S. Miller  <davem@davemloft.net>
31901
31902         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31903         values between float registers.
31904         * sysdeps/sparc/sparc64/memset.S: Likewise.
31905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31906
31907 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31908
31909         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31910         -D_FORTIFY_SOURCE=1.
31911         (CPPFLAGS-tst-longjmp_chk.c): Define.
31912         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31913         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31914         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31915         CFLAGS-tst-wchar-h.c.
31916
31917 2012-05-31  Marek Polacek  <polacek@redhat.com>
31918
31919         [BZ #14132]
31920         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31921         __endmntent_internal): Remove declaration.
31922         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31923         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31924         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31925
31926 2012-05-30  David S. Miller  <davem@davemloft.net>
31927
31928         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31929         (___Q_simulate_exceptions): Use real FP ops rather than writing
31930         into the %fsr.
31931         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31932         Likewise.
31933
31934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31935
31936         [BZ #14117]
31937         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31938         * sysdeps/x86/bits/xtitypes.h: This.
31939
31940         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31941         * sysdeps/x86/bits/wordsize.h: This.
31942
31943         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31944         * sysdeps/x86/bits/huge_vall.h: This.
31945
31946         * sysdeps/i386/bits/select.h: Removed.
31947         * sysdeps/x86_64/bits/select.h: Renamed to ...
31948         * sysdeps/x86/bits/select.h: This.
31949
31950         * sysdeps/i386/bits/setjmp.h: Removed.
31951         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31952         * sysdeps/x86/bits/setjmp.h: This.
31953
31954         * sysdeps/i386/bits/mathdef.h: Removed.
31955         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31956         * sysdeps/x86/bits/mathdef.h: This.
31957
31958 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31959
31960         [BZ #14132]
31961         * include/sys/socket.h (__connect_internal)
31962         (__libc_sa_len_internal): Remove declaration.
31963         (__connect, __libc_sa_len): Declare hidden_proto.
31964         (SA_LEN): Remove use of INTUSE.
31965         * socket/connect.c: Add libc_hidden_def.
31966         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31967         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31968         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31969         alias.
31970         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31971         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31972         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31973         of adding _internal alias.
31974
31975 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31976
31977         [BZ #14117]
31978         * sysdeps/i386/bits/link.h: Removed.
31979         * sysdeps/i386/bits/linkmap.h: Likewise.
31980         * sysdeps/x86_64/bits/link.h: Renamed to ...
31981         * sysdeps/x86/bits/link.h: This.
31982         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31983         * sysdeps/x86/bits/linkmap.h: This.
31984
31985         * sysdeps/i386/bits/endian.h: Removed.
31986         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31987         * sysdeps/x86/bits/endian.h: This.
31988
31989         * sysdeps/i386/bits/byteswap.h: Removed.
31990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31991         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31992         * sysdeps/x86/bits/byteswap.h: This.
31993         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31994         * sysdeps/x86/bits/byteswap-16.h: This.
31995         * sysdeps/i386/Implies: Add x86.
31996         * sysdeps/x86_64/Implies: Likewise.
31997
31998 2012-05-30  David S. Miller  <davem@davemloft.net>
31999
32000         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32001         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32002         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32003         (FP_TRAPPING_EXCEPTIONS): Define.
32004         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32005         (FP_TRAPPING_EXCEPTIONS): Define.
32006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32007         subnormals only when inexact has been signalled or underflow
32008         exceptions are enabled.
32009         (_FP_PACK_CANONICAL): Likewise.
32010
32011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32012
32013         [BZ #14183]
32014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32015         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32016
32017 2012-05-30  Richard Henderson  <rth@twiddle.net>
32018
32019         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32020         with #ifndef NOT_IN_libc.
32021
32022         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32023         marked to avoid plt entry.
32024
32025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32026
32027         [BZ #14112]
32028         * Makeconfig (default-abi): New macro.
32029         (abi-includes): Likewise.
32030         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32031         $(abi-$(default-abi)-lib-soname) for soname if defined.
32032         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32033         abi-variants.
32034         * Makefile (installed-stubs): Likewise.
32035         * include/stubs-biarch.h: Removed.
32036         * scripts/lib-names.awk: Only handle one library at a time.
32037         * scripts/soversions.awk: Remove WORDSIZE support.
32038         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32039         entries.
32040         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32041         Removed.
32042         (syscall-list-default-condition): Likewise.
32043         (syscall-list-default-condition): Likewise.
32044         (syscall-list-includes): Likewise.
32045         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32046         syscall-list-* with abi-*.  Handle undefined abi-variants.
32047         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32048         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32049         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32050         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32051         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32052         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32053         Removed.
32054         (syscall-list-32-options): Likewise.
32055         (syscall-list-32-condition): Likewise.
32056         (syscall-list-64-options): Likewise.
32057         (syscall-list-64-condition): Likewise.
32058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32059         macro.
32060         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32061         Renamed to ...
32062         (abi-*): This.
32063         (abi-64-ld-soname): New macro.
32064         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32065         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32066         Renamed to ...
32067         (abi-*): This.
32068         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32069         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32070
32071 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32072
32073         * sysdeps/unix/sysv/linux/kernel-features.h
32074         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32075         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32076         include <kernel-features.h>.
32077         [!__NR_ftruncate64]: Remove conditional code.
32078         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32079         [__NR_ftruncate64]: Make code unconditional.
32080         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32081         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32082         include <kernel-features.h>.
32083         [!__NR_ftruncate64]: Remove conditional code.
32084         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32085         [__NR_ftruncate64]: Make code unconditional.
32086         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32088         include <kernel-features.h>.
32089         [!__NR_ftruncate64]: Remove conditional code.
32090         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32091         [__NR_ftruncate64]: Make code unconditional.
32092         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32094         include <kernel-features.h>.
32095         [!__NR_ftruncate64]: Remove conditional code.
32096         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32097         [__NR_ftruncate64]: Make code unconditional.
32098         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32099
32100         * configure.in (libc_cv_fpie): Weaken to a compile test using
32101         LIBC_TRY_CC_OPTION.
32102         * configure: Regenerated.
32103
32104 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32105
32106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32110         Refreshed.
32111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32117         Refreshed.
32118
32119 2012-05-27  David S. Miller  <davem@davemloft.net>
32120
32121         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32122         (___Q_zero): New.
32123         (__Q_simulate_exceptions): Return void.  Change to simulate
32124         exceptions by writing into the %fsr.
32125         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32126         (__Qp_handle_exceptions): Likewise.
32127         (numbers): Delete.
32128         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32129         __Qp_handle_exceptions.
32130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32131         __Qp_handle_exceptions.
32132         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32133         as unused and give dummy FP_RND_NEAREST initializer.
32134         (FP_INHIBIT_RESULTS): Define.
32135         (___Q_simulate_exceptions): Update declaration.
32136         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32137         formatting.
32138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32139         as unused and give dummy FP_RND_NEAREST initializer.
32140         (__Qp_handle_exceptions): Update declaration.
32141         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32142         formatting.
32143
32144 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32145
32146         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32147         the temporary FPU control word.
32148         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32149         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32150         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32151         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32153         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32154         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32155         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32157         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32159
32160 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32161
32162         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32163         fields.
32164
32165 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32166
32167         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32168         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32169         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32170         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32171         Likewise.
32172         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32173         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32174         Likewise.
32175
32176 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32177
32178         * po/h.po: Update from translation team.
32179
32180 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32181
32182         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32183
32184         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32185         handling of denormals.
32186         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32187         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32188         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32193         Likewise.
32194
32195 2012-05-26  Marek Polacek  <polacek@redhat.com>
32196
32197         [BZ #14152]
32198         * math/libm-test.inc (fma_test): Don't always expect underflow
32199         exception.
32200
32201 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32202
32203         [BZ #12416]
32204         * elf/tst-execstack.c: Include stackinfo.h.
32205         (do_test): Adjust test case to ensure that pthread_getattr_np
32206         behaviour remains the same after marking stack executable.
32207
32208 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32209
32210         * sysdeps/unix/sysv/linux/kernel-features.h
32211         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32212         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32213         kernel-features.h.
32214         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32215         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32216         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32217         kernel-features.h.
32218         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32219         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32220
32221 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32222
32223         * configure.in: Define the default includes to being none.
32224         * configure: Regenerated.
32225
32226 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32227
32228         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32229         * sysdeps/x86_64/setjmp.S: Likewise.
32230         * sysdeps/i386/bsd-setjmp.S: Likewise.
32231         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32232         * sysdeps/i386/setjmp.S: Likewise.
32233         * sysdeps/i386/__longjmp.S: Likewise.
32234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32235         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32236
32237         * include/stap-probe.h: New file.
32238         * configure.in: Handle --enable-systemtap.
32239         * configure: Regenerated.
32240         * config.h.in (USE_STAP_PROBE): New #undef.
32241         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32242         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32243         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32244
32245 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32246
32247         [BZ #13717]
32248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32249         to 2.4.0 where earlier.
32250         * sysdeps/unix/sysv/linux/configure: Regenerated.
32251         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32252         <kernel-features.h>.
32253         [__ASSUME_32BITUIDS]: Make code unconditional.
32254         [!__ASSUME_32BITUIDS]: Remove conditional code.
32255         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32256         <kernel-features.h>.
32257         [__ASSUME_32BITUIDS]: Make code unconditional.
32258         [!__ASSUME_32BITUIDS]: Remove conditional code.
32259         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32260         [__ASSUME_32BITUIDS]: Make code unconditional.
32261         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32262         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32263         <kernel-features.h>.
32264         [__ASSUME_32BITUIDS]: Make code unconditional.
32265         [!__ASSUME_32BITUIDS]: Remove conditional code.
32266         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32267         <kernel-features.h>.
32268         [__ASSUME_32BITUIDS]: Make code unconditional.
32269         [!__ASSUME_32BITUIDS]: Remove conditional code.
32270         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32271         <kernel-features.h>.
32272         [__ASSUME_32BITUIDS]: Make code unconditional.
32273         [!__ASSUME_32BITUIDS]: Remove conditional code.
32274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32275         <kernel-features.h>.
32276         [__ASSUME_32BITUIDS]: Make code unconditional.
32277         [!__ASSUME_32BITUIDS]: Remove conditional code.
32278         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32279         <kernel-features.h>.
32280         [__ASSUME_32BITUIDS]: Make code unconditional.
32281         [!__ASSUME_32BITUIDS]: Remove conditional code.
32282         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32283         <kernel-features.h>.
32284         [__ASSUME_32BITUIDS]: Make code unconditional.
32285         [!__ASSUME_32BITUIDS]: Remove conditional code.
32286         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32287         <kernel-features.h>.
32288         [__ASSUME_32BITUIDS]: Make code unconditional.
32289         [!__ASSUME_32BITUIDS]: Remove conditional code.
32290         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32291         <kernel-features.h>.
32292         [__ASSUME_32BITUIDS]: Make code unconditional.
32293         [!__ASSUME_32BITUIDS]: Remove conditional code.
32294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32295         <kernel-features.h>.
32296         [__ASSUME_32BITUIDS]: Make code unconditional.
32297         [!__ASSUME_32BITUIDS]: Remove conditional code.
32298         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32299         <kernel-features.h>.
32300         [__ASSUME_32BITUIDS]: Make code unconditional.
32301         [!__ASSUME_32BITUIDS]: Remove conditional code.
32302         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32303         <kernel-features.h>.
32304         [__NR_setresgid] (__setresgid): Do not declare.
32305         [__ASSUME_32BITUIDS]: Make code unconditional.
32306         [!__ASSUME_32BITUIDS]: Remove conditional code.
32307         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32308         <kernel-features.h>.
32309         [__NR_setresuid] (__setresuid): Do not declare.
32310         [__ASSUME_32BITUIDS]: Make code unconditional.
32311         [!__ASSUME_32BITUIDS]: Remove conditional code.
32312         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32313         <kernel-features.h>.
32314         [__ASSUME_32BITUIDS]: Make code unconditional.
32315         [!__ASSUME_32BITUIDS]: Remove conditional code.
32316         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32317         <kernel-features.h>.
32318         [__ASSUME_32BITUIDS]: Make code unconditional.
32319         [!__ASSUME_32BITUIDS]: Remove conditional code.
32320         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32321         <kernel-features.h>.
32322         [__ASSUME_32BITUIDS]: Make code unconditional.
32323         [!__ASSUME_32BITUIDS]: Remove conditional code.
32324         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32325         <kernel-features.h>.
32326         [__ASSUME_32BITUIDS]: Make code unconditional.
32327         [!__ASSUME_32BITUIDS]: Remove conditional code.
32328         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32329         <kernel-features.h>.
32330         [__ASSUME_32BITUIDS]: Make code unconditional.
32331         [!__ASSUME_32BITUIDS]: Remove conditional code.
32332         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32333         <kernel-features.h>.
32334         [__ASSUME_32BITUIDS]: Make code unconditional.
32335         [!__ASSUME_32BITUIDS]: Remove conditional code.
32336         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32337         <kernel-features.h>.
32338         [__ASSUME_32BITUIDS]: Make code unconditional.
32339         [!__ASSUME_32BITUIDS]: Remove conditional code.
32340         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32341         <kernel-features.h>.
32342         [__ASSUME_32BITUIDS]: Make code unconditional.
32343         [!__ASSUME_32BITUIDS]: Remove conditional code.
32344         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32345         <kernel-features.h>.
32346         [__ASSUME_32BITUIDS]: Make code unconditional.
32347         [!__ASSUME_32BITUIDS]: Remove conditional code.
32348         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32349         <kernel-features.h>.
32350         [__ASSUME_32BITUIDS]: Make code unconditional.
32351         [!__ASSUME_32BITUIDS]: Remove conditional code.
32352         * sysdeps/unix/sysv/linux/kernel-features.h
32353         (__ASSUME_SETRESUID_SYSCALL): Remove.
32354         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32355         (__ASSUME_32BITUIDS): Likewise.
32356         (__ASSUME_LDT_WORKS): Likewise.
32357         (__ASSUME_O_DIRECTORY): Likewise.
32358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32359         architecture but not kernel version.
32360         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32361         (__ASSUME_MMAP2_SYSCALL): Likewise.
32362         (__ASSUME_STAT64_SYSCALL): Likewise.
32363         (__ASSUME_IPC64): Likewise.
32364         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32365         <kernel-features.h>.
32366         [__ASSUME_32BITUIDS]: Make code unconditional.
32367         [!__ASSUME_32BITUIDS]: Remove conditional code.
32368         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32369         <kernel-features.h>.
32370         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32371         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32372         132096]: Remove conditional code.
32373         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32374         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32375         <kernel-features.h>.
32376         [__ASSUME_32BITUIDS]: Make code unconditional.
32377         [!__ASSUME_32BITUIDS]: Remove conditional code.
32378         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32379         <kernel-features.h>.
32380         [__ASSUME_32BITUIDS]: Make code unconditional.
32381         [!__ASSUME_32BITUIDS]: Remove conditional code.
32382         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32383         <kernel-features.h>.
32384         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32385         unconditional.
32386         (__setresgid): Do not declare.
32387         [__ASSUME_32BITUIDS]: Make code unconditional.
32388         [!__ASSUME_32BITUIDS]: Remove conditional code.
32389         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32390         <kernel-features.h>.
32391         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32392         unconditional.
32393         (__setresuid): Do not declare.
32394         [__ASSUME_32BITUIDS]: Make code unconditional.
32395         [!__ASSUME_32BITUIDS]: Remove conditional code.
32396         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32397         <kernel-features.h>.
32398         [__ASSUME_32BITUIDS]: Make code unconditional.
32399         [!__ASSUME_32BITUIDS]: Remove conditional code.
32400         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32401         <kernel-features.h>.
32402         [__ASSUME_32BITUIDS]: Make code unconditional.
32403         [!__ASSUME_32BITUIDS]: Remove conditional code.
32404
32405 2012-05-25  Richard Henderson  <rth@twiddle.net>
32406
32407         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32408         dl_hwcap to ifunc resolver.
32409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32410         elf_ifunc_invoke.
32411         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32412         dl_hwcap to ifunc resolver.
32413         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32414
32415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32416
32417         [BZ #14153]
32418         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32419         for |x| <= 2**-26, not 2**-57.
32420         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32421         exception.
32422
32423 2012-05-24  Jeff Law  <law@redhat.com>
32424
32425         * stdio-common/Makefile (tests): Add bug25.
32426         * stdio-common/bug25.c: New test.
32427
32428 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32429
32430         [BZ #13576]
32431         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32432         multiple of MALLOC_ALIGNMENT in size.
32433         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32434
32435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32436
32437         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32438         Require >= 256.
32439         (FILENAME_MAX): Use macro-int-constant.
32440         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32441         (_IOFBF): Use macro-int-constant.
32442         (_IOLBF): Likewise.
32443         (_IONBF): Likewise.
32444         (SEEK_CUR): Likewise.
32445         (SEEK_END): Likewise.
32446         (SEEK_SET): Likewise.
32447         (TMP_MAX): Likewise.
32448         (EOF): Use macro-int-constant.  Require < 0.
32449         (NULL): Use macro-constant.  Require == 0.
32450         (stdin): Require type to be FILE *.
32451         (stdout): Likewise.
32452         (stderr): Likewise.
32453         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32454         macro-int-constant.
32455         (EXIT_SUCCESS): Likewise.
32456         (NULL): Use macro-constant.  Require == 0.
32457         (RAND_MAX): Use macro-int-constant.
32458         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32459         [C99-based standards] (strtof): Require function.
32460         [C99-based standards] (strtold): Likewise.
32461         [C99-based standards] (strtoll): Likewise.
32462         [C99-based standards] (strtoull): Likewise.
32463         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32464         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32465         [ISO || ISO99 || ISO11] (math.h): Likewise.
32466         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32467         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32469
32470 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32471
32472         [BZ #14132]
32473         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32474         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32475         * intl/dgettext.c (DCGETTEXT): Likewise.
32476         * intl/gettext.c (DCGETTEXT): Likewise.
32477         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32478         * posix/regex_internal.h (gettext): Likewise.
32479         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32480         Remove declaration.
32481         * include/argz.h (__argz_count_internal)
32482         (__argz_stringify_internal): Remove declaration.
32483         (__argz_count, __argz_stringify): Declare hidden proto.
32484         * intl/dcgettext.c: Remove use of INTDEF.
32485         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32486         * string/argz-stringify.c: Likewise.
32487         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32488         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32489         Declare hidden proto.
32490         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32491         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32492         Declare hidden proto.
32493         * include/stdio.h (__asprintf_internal): Don't declare.
32494         (__asprintf): Don't define as macro.  Declare hidden proto.
32495         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32496         (__fsetlocking): Declare hidden proto.
32497         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32498         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32499         hidden proto.
32500         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32501         (_IO_setlinebuf): Remove use of INTUSE.
32502         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32503         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32504         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32505         Remove declaration.
32506         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32507         (_IO_do_flush): Remove use of INTUSE.
32508         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32509         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32510         (_IO_adjust_column, _IO_least_wmarker)
32511         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32512         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32513         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32514         (_IO_default_doallocate, _IO_wdefault_doallocate)
32515         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32516         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32517         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32518         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32519         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32520         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32521         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32522         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32523         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32524         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32525         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32526         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32527         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32528         proto.
32529         (_IO_flush_all_internal, _IO_adjust_column_internal)
32530         (_IO_default_uflow_internal, _IO_default_finish_internal)
32531         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32532         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32533         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32534         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32535         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32536         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32537         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32538         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32539         (_IO_file_close_internal, _IO_file_close_it_internal)
32540         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32541         (_IO_file_init_internal, _IO_file_attach_internal)
32542         (_IO_file_fopen_internal, _IO_file_read_internal)
32543         (_IO_file_sync_internal, _IO_file_seek_internal)
32544         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32545         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32546         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32547         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32548         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32549         (_IO_list_all_internal, _IO_link_in_internal)
32550         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32551         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32552         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32553         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32554         (_IO_do_write_internal, _IO_padn_internal)
32555         (_IO_getline_info_internal, _IO_getline_internal)
32556         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32557         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32558         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32559         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32560         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32561         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32562         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32563         with libc_hidden_ver, remove use of INTUSE.
32564         * libio/genops.c: Likewise.
32565         * libio/freopen.c: Likewise.
32566         * libio/freopen64.c: Likewise.
32567         * libio/iofclose.c: Likewise.
32568         * libio/iofdopen.c: Likewise.
32569         * libio/iofflush.c: Likewise.
32570         * libio/iofflush_u.c: Likewise.
32571         * libio/iofgets.c: Likewise.
32572         * libio/iofgets_u.c: Likewise.
32573         * libio/iofopen.c: Likewise.
32574         * libio/iofopncook.c: Likewise.
32575         * libio/iofread.c: Likewise.
32576         * libio/iofread_u.c: Likewise.
32577         * libio/ioftell.c: Likewise.
32578         * libio/iofwrite.c: Likewise.
32579         * libio/iogetline.c: Likewise.
32580         * libio/iogets.c: Likewise.
32581         * libio/iogetwline.c: Likewise.
32582         * libio/iopadn.c: Likewise.
32583         * libio/iopopen.c: Likewise.
32584         * libio/ioseekoff.c: Likewise.
32585         * libio/ioseekpos.c: Likewise.
32586         * libio/iosetbuffer.c: Likewise.
32587         * libio/iosetvbuf.c: Likewise.
32588         * libio/ioungetc.c: Likewise.
32589         * libio/ioungetwc.c: Likewise.
32590         * libio/iovdprintf.c: Likewise.
32591         * libio/iovsprintf.c: Likewise.
32592         * libio/iovsscanf.c: Likewise.
32593         * libio/memstream.c: Likewise.
32594         * libio/obprintf.c: Likewise.
32595         * libio/oldfileops.c: Likewise.
32596         * libio/oldiofclose.c: Likewise.
32597         * libio/oldiofdopen.c: Likewise.
32598         * libio/oldiofopen.c: Likewise.
32599         * libio/oldiopopen.c: Likewise.
32600         * libio/oldstdfiles.c: Likewise.
32601         * libio/putc.c: Likewise.
32602         * libio/setbuf.c: Likewise.
32603         * libio/setlinebuf.c: Likewise.
32604         * libio/stdfiles.c: Likewise.
32605         * libio/strops.c: Likewise.
32606         * libio/vasprintf.c: Likewise.
32607         * libio/vscanf.c: Likewise.
32608         * libio/vsnprintf.c: Likewise.
32609         * libio/vswprintf.c: Likewise.
32610         * libio/wfiledoalloc.c: Likewise.
32611         * libio/wfileops.c: Likewise.
32612         * libio/wgenops.c: Likewise.
32613         * libio/wmemstream.c: Likewise.
32614         * libio/wstrops.c: Likewise.
32615         * libio/__fpurge.c: Likewise.
32616         * libio/__fsetlocking.c: Likewise.
32617         * assert/assert.c: Likewise.
32618         * debug/fgets_chk.c: Likewise.
32619         * debug/fgets_u_chk.c: Likewise.
32620         * debug/fread_chk.c: Likewise.
32621         * debug/fread_u_chk.c: Likewise.
32622         * debug/gets_chk.c: Likewise.
32623         * debug/obprintf_chk.c: Likewise.
32624         * debug/vasprintf_chk.c: Likewise.
32625         * debug/vdprintf_chk.c: Likewise.
32626         * debug/vsnprintf_chk.c: Likewise.
32627         * debug/vsprintf_chk.c: Likewise.
32628         * malloc/mtrace.c: Likewise.
32629         * misc/error.c: Likewise.
32630         * misc/syslog.c: Likewise.
32631         * stdio-common/asprintf.c: Likewise.
32632         * stdio-common/fxprintf.c: Likewise.
32633         * stdio-common/getw.c: Likewise.
32634         * stdio-common/isoc99_fscanf.c: Likewise.
32635         * stdio-common/isoc99_scanf.c: Likewise.
32636         * stdio-common/isoc99_vfscanf.c: Likewise.
32637         * stdio-common/isoc99_vscanf.c: Likewise.
32638         * stdio-common/isoc99_vsscanf.c: Likewise.
32639         * stdio-common/printf-prs.c: Likewise.
32640         * stdio-common/printf_fp.c: Likewise.
32641         * stdio-common/printf_fphex.c: Likewise.
32642         * stdio-common/printf_size.c: Likewise.
32643         * stdio-common/putw.c: Likewise.
32644         * stdio-common/scanf.c: Likewise.
32645         * stdio-common/sprintf.c: Likewise.
32646         * stdio-common/tmpfile.c: Likewise.
32647         * stdio-common/vfprintf.c: Likewise.
32648         * stdio-common/vfscanf.c: Likewise.
32649         * stdlib/strfmon_l.c: Likewise.
32650         * sunrpc/openchild.c: Likewise.
32651         * sunrpc/xdr_stdio.c: Likewise.
32652         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32653         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32654
32655 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32656
32657         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32658
32659         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32660         in the third column, to generate for the shared library an IFUNC
32661         that uses _dl_vdso_vsym.
32662         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32663         * Makeconfig (object-suffixes-noshared): New variable.
32664
32665         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32666         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32667         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32668         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32669
32670         [BZ #14132]
32671         * include/sys/time.h (__gettimeofday): Remove macro.
32672         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32673         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32674         Remove INTDEF.
32675         (__gettimeofday): Add libc_hidden_def.
32676         (gettimeofday): Add libc_hidden_weak.
32677         * sysdeps/mach/gettimeofday.c: Likewise.
32678         * sysdeps/posix/gettimeofday.c: Likewise.
32679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32680         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32682         (__gettimeofday_internal): Remove strong_alias.
32683         (__gettimeofday): Add libc_hidden_def.
32684         (gettimeofday): Add libc_hidden_weak.
32685         * sysdeps/unix/syscalls.list (gettimeofday):
32686         Remove __gettimeofday_internal alias.
32687
32688 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32689             H.J. Lu  <hongjiu.lu@intel.com>
32690
32691         [BZ #12495]
32692         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32693         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32694         (largebin_index_32_big): New.
32695         (largebin_index): Use it for 16-byte alignment.
32696         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32697         correction with front_misalign.
32698
32699 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32700
32701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32703         Likewise.
32704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32705         Likewise.
32706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32707         Likewise.
32708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32709         Likewise.
32710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32711         Likewise.
32712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32713         Likewise.
32714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32715         Likewise.
32716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32717         Likewise.
32718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32719         Likewise.
32720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32721         Likewise.
32722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32723         Likewise.
32724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32725         Likewise.
32726
32727         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32728         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32729
32730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32731
32732         [BZ #10846]
32733         [BZ #14036]
32734         * math/libm-test.inc (exp_test): Add test from bug 14036.
32735         (pow_test): Add test from bug 10846.
32736
32737         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32738         and other flags.
32739         (special_function): Do not include flags in test name.
32740         (parse_args): Likewise.
32741         * sysdeps/i386/fpu/libm-test-ulps: Update.
32742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32744         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746
32747         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32748         exceptions.
32749         * math/libm-test.inc ("Philosophy"): Update comment about
32750         exception testing.
32751         (UNDERFLOW_EXCEPTION): New macro.
32752         (UNDERFLOW_EXCEPTION_OK): Likewise.
32753         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32754         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32755         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32756         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32757         (INVALID_EXCEPTION_OK): Update value.
32758         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32759         (OVERFLOW_EXCEPTION_OK): Likewise.
32760         (IGNORE_ZERO_INF_SIGN): Likewise.
32761         (test_exceptions): Handle underflow exceptions.
32762         (acos_test): Update for underflow exception expectations.
32763         (cexp_test): Likewise.
32764         (clog_test): Likewise.
32765         (clog10_test): Likewise.
32766         (csqrt_test): Likewise.
32767         (ctan_test): Likewise.
32768         (ctanh_test): Likewise.
32769         (exp_test): Likewise.
32770         (exp10_test): Likewise.
32771         (exp2_test): Likewise.
32772         (expm1_test): Likewise.
32773         (fma_test): Likewise.
32774         (j0_test): Likewise.
32775         (jn_test): Likewise.
32776         (nexttoward_test): Likewise.
32777         (pow_test): Likewise.
32778         (scalbn_test): Likewise.
32779         (scalbln_test): Likewise.
32780         (tan_test): Likewise.
32781         (y1_test): Likewise.
32782         * sysdeps/i386/fpu/libm-test-ulps: Update.
32783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32784
32785 2012-05-23  David S. Miller  <davem@davemloft.net>
32786
32787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32788         (__libc_sigaction): Remove unused local variables.
32789
32790 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32791
32792         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32793
32794 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32795
32796         mktime: avoid signed integer overflow
32797         * time/mktime.c (__mktime_internal): Do not mishandle the case
32798         where diff == INT_MIN.
32799
32800         mktime: simplify computation of average
32801         * time/mktime.c (ranged_convert): Use new time_t_avg function
32802         instead of rolling our own (probably-slower) code.
32803
32804         mktime: do not assume signed right shift propagates sign bit
32805         * time/mktime.c (isdst_differ): New static function.
32806         (__mktime_internal): No need to normalize tm_isdst now.
32807         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32808         tm_isdst values.
32809
32810         mktime: merge another wrapv change from gnulib
32811         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32812         from some compilers.
32813
32814         mktime: remove incorrect attempt at unusual arithmetics
32815         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32816         The code didn't really work on such machines anyway.
32817         (TYPE_MINIMUM): Assume two's complement.
32818         (twos_complement_arithmetic): Verify that long_int and time_t
32819         are two's complement (or unsigned, in the latter case).
32820
32821         mktime: check signed shifts on long_int and time_t, too
32822         * time/mktime.c (SHR): Check that shifts work as desired
32823         on the types long_int and time_t too, as SHR is used on
32824         such types.
32825
32826         mktime: do not assume 'long' is wide enough
32827         * time/mktime.c (verify): Move decl up.
32828         (long_int): New type.
32829         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32830         to remove assumption in the code that 'long' is wide enough to
32831         store year values.  This assumption is not true on x32 and on
32832         some non-glibc platforms.
32833
32834         mktime: merge wrapv change from gnulib
32835         * time/mktime.c (WRAPV): New macro.
32836         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32837         (guess_time_tm, __mktime_internal): Do not assume that signed
32838         integer overflow wraps around; modern compilers generate code
32839         where this assumption is no longer valid.
32840
32841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32842
32843         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32844         Replace "jmp L(pseudo_end)" with "ret".
32845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32846         Likewise.
32847
32848 2012-05-23  Andreas Jaeger  <aj@suse.de>
32849
32850         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32851         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32852
32853 2012-05-23  Andreas Jaeger  <aj@suse.de>
32854             Maximilian Attems  <max@stro.at>
32855
32856         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32857         New macros.
32858
32859 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32860
32861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32862         code so that pseudo_end is just ret and the stack pointer is
32863         correct also for static library in error case.
32864
32865 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32866
32867         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32868         move to syscalls.list.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32873
32874         * manual/install.texi (Running make install): Do not mention Linux
32875         kernel version for which pt_chown is not needed.
32876         (Linux): Do not mention problems with nscd with 2.0 kernels.
32877         * INSTALL: Regenerated.
32878
32879 2012-05-23  Andreas Jaeger  <aj@suse.de>
32880
32881         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32882         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32883         macro.
32884         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32885         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32886         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32887         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32888         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32889         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32890         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32891         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32892         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32893         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32894         * sysdeps/unix/sysv/linux/bits/in.h
32895         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32896
32897 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32898
32899         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32900         (PREPARE_VERSION): Just use assert instead, it will be elided
32901         under [NDEBUG] anyway.
32902
32903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32904
32905         * sysdeps/unix/sysv/linux/Makefile: Include
32906         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32907         (sysdep_routines): Remove sysctl.
32908         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32909         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32910         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32911         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32912         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32913
32914 2012-05-22  Andreas Jaeger  <aj@suse.de>
32915
32916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32917         that pseudo_end is just ret and the stack pointer is correct also
32918         for static library in error case.
32919
32920 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32921
32922         [BZ #14122]
32923         * nss/nsswitch.c (defconfig_entries): New variable.
32924         (__nss_database_lookup): Don't leak defconfig entries.
32925         (nss_parse_service_list): Don't leak on error paths.
32926         (free_database_entries): New function.
32927         (free_defconfig): New function.
32928         (free_mem): Move common code to free_database_entries.
32929
32930 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32931
32932         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32933         Add arch_prctl.
32934         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32935
32936         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32937         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32938         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32939         New macro.
32940         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32941         (INTERNAL_SYSCALL_TYPES): Likewise.
32942         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32943         (LOAD_REGS_TYPES_[1-6]): Likewise.
32944         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32945         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32946
32947 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32948
32949         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32950         copysignl for GLIBC_2_0.
32951         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32952         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32954         logbl for GLIBC_2_0.
32955         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32956         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32957
32958 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32959
32960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32962
32963         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32964         Use "neg %eax".
32965
32966         * time/mktime.c: Update copyright years.
32967
32968 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32969
32970         mktime: merge comment-quoting-style change from gnulib
32971         * time/mktime.c: Quote 'like this' in comments.
32972         The GNU coding standards suggest that we no longer quote `like this',
32973         as "`" and "'" are typically rendered asymmetrically nowadays.
32974         The typical gnulib style is to quote 'like this' when quoting
32975         code, and "like this" when quoting English.
32976
32977         * time/mktime.c (compile-command): Add "-I.".
32978
32979         mktime: merge mktime-internal.h change from gnulib
32980         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32981
32982         mktime: merge time_r change from gnulib
32983         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32984
32985         mktime: merge DEBUG change from gnulib
32986         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32987         case system <time.h> has a #define.
32988
32989         mktime: merge <sys/types.h> change from gnulib
32990         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32991         since <time.t> is now guaranteed to define time_t.
32992
32993         mktime: merge HAVE_CONFIG_H change from gnulib
32994         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32995
32996 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32997
32998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32999         Use "neg %eax".
33000
33001         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33002         __rlim_t cast.
33003         (struct rusage): Use anonymous union to pad each field to
33004         __syscall_slong_t.
33005
33006 2012-05-21  David S. Miller  <davem@davemloft.net>
33007
33008         * Makefules (o-iterator): Remove .s cases.
33009         (compile-command.s): Delete.
33010         (COMPILE.s): Delete.
33011         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33012
33013 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33014
33015         * configure.in (libc_cv_predef_stack_protector): Only consider
33016         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33017         * configure: Regenerated.
33018
33019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33020
33021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33022         New macro.  Use R*LP on int and pointer.
33023         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33024         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33025         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33026         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33027
33028         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33029         [__WORDSIZE_TIME64_COMPAT32] instead of
33030         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33031         (struct utmp): Likewise.
33032         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33033         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33034         Renamed to ...
33035         (__WORDSIZE_TIME64_COMPAT32): This.
33036         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33037         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33038         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33039         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33040         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33041         (__WORDSIZE_TIME64_COMPAT32): New macro.
33042
33043 2012-05-21  Andreas Jaeger  <aj@suse.de>
33044
33045         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33046         only if [SHARED]. Add prototype for __wcschr_ia32.
33047
33048 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33049
33050         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33051         of %rbp unmolested in the jmp_buf while mangling the low bits.
33052         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33053         unmolested high bits of %rbp while demangling the low bits.
33054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33055
33056 2012-05-21  Andreas Jaeger  <aj@suse.de>
33057
33058         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33059         * sunrpc/svc_simple.c: Use it for registerrpc.
33060         * sunrpc/xcrypt.c: Use it for passwd2des.
33061
33062         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33063
33064 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33065
33066         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33067         Don't define if [__SYSCALL_WORDSIZE != 32].
33068         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33069         New macro.
33070
33071 2012-05-21  Bruno Haible  <bruno@clisp.org>
33072             Andreas Jaeger  <aj@suse.de>
33073
33074         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33075         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33076         inptr and inend for must_buffer_ch.
33077         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33078         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33079         * stdio-common/Makefile (tests): Remove bug15.
33080         (bug15-ENV): Remove macro.
33081         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33082         anymore.
33083
33084 2012-05-19  Andreas Jaeger  <aj@suse.de>
33085             Roland McGrath  <roland@hack.frob.com>
33086
33087         * manual/contrib.texi: Completely rewritten. It contains now an
33088         alphabetical list of contributors and their contributions.
33089
33090 2012-05-21  Richard Henderson  <rth@twiddle.net>
33091
33092         * misc/getauxval.c (__getauxval): Use unsigned long int.
33093         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33094         (getauxval): Use unsigned long int.
33095
33096 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33097
33098         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33099
33100 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33101
33102         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33103         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33104         __alignof__ (long double).
33105
33106 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33107
33108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33109
33110 2012-05-20  Richard Henderson  <rth@twiddle.net>
33111
33112         * misc/getauxval.c: New file.
33113         * misc/sys/auxv.h: New file.
33114         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33115         (routines): Add getauxval.
33116         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33117         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33118         * elf/dl-sysdep.c (_dl_auxv): Remove.
33119         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33120         * elf/dl-support.c (_dl_auxv): New variable.
33121         (_dl_aux_init): Initialize it.
33122         * manual/startup.texi (Auxiliary Vector): New node.
33123         * sysdeps/generic/bits/hwcap.h: New file.
33124         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33125         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33126         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33127         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33128         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33129         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33131         Update.
33132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33140
33141 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33142
33143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33144
33145 2012-05-19  David S. Miller  <davem@davemloft.net>
33146
33147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33148
33149 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33150
33151         [BZ #14123]
33152         * math/s_ccosh.c: Include <float.h>
33153         (__ccosh): Avoid internal overflow calculating sinh and cosh
33154         values before multiplying by sin and cos values.
33155         * math/s_ccoshf.c: Likewise.
33156         * math/s_ccoshl.c: Likewise.
33157         * math/s_csin.c: Likewise.
33158         * math/s_csinf.c: Likewise.
33159         * math/s_csinl.c: Likewise.
33160         * math/s_csinh.c: Likewise.
33161         * math/s_csinhf.c: Likewise.
33162         * math/s_csinhl.c: Likewise.
33163         * math/libm-test.inc (ccos_test): Add more tests.
33164         (ccosh_test): Likewise.
33165         (csin_test): Likewise.
33166         (csinh_test): Likewise.
33167         * sysdeps/i386/fpu/libm-test-ulps: Update.
33168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33169
33170 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33171
33172         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33173         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33174
33175         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33176
33177 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33178
33179         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33180         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33181         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33182         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33183         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33184         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33185         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33186         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33187         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33188         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33189         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33190         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33191         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33192         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33193         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33194         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33195         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33196         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33197         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33198         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33199         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33200         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33201         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33202         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33203         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33204         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33205         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33206         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33207         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33208         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33209         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33210
33211 2012-05-18  Andreas Jaeger  <aj@suse.de>
33212
33213         * csu/.gitignore: Delete.
33214
33215 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33216
33217         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33218         (timex): Use __syscall_slong_t.
33219
33220 2012-05-18  Andreas Jaeger  <aj@suse.de>
33221             Carlos O'Donell  <carlos_odonell@mentor.com>
33222
33223         * manual/install.texi (Configuring and compiling): Update
33224         description about files modified in the source directory.
33225         * INSTALL: Regenerated.
33226
33227 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33228
33229         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33230         value.  Use "or" to set return value to -1.
33231         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33232         negate return value.
33233
33234 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33235
33236         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33237         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33238         failure if the compiler has Graphite support disabled.
33239         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33240         Likewise.
33241         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33242         (CFLAGS-memmove.c): Likewise.
33243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33244         Likewise.
33245
33246 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33247
33248         * sysdeps/x86_64/x32/_itoa.h: New file.
33249
33250         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33251         getdents system call only if kernel and user dirents have the
33252         same d_ino and d_off.
33253
33254         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33255         LLONG_MAX != LONG_MAX.
33256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33257         (_fitoa_word): Likewise.
33258
33259         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33260         years.
33261         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33262         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33264
33265         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33266         include <bits/wordsize.h>.  Check __x86_64__ instead of
33267         __WORDSIZE.
33268         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33269         if __x86_64__ is defined.  Use anonymous union on fpstate.
33270
33271         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33272         anonymous union.
33273
33274 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33275
33276         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33277         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33279         Refer to _rtld_local_ro instead of _rtld_global_ro.
33280         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33281         Likewise.
33282         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33283         Likewise.
33284         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33285         Likewise.
33286         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33287         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33288         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33289
33290         * sysdeps/powerpc/powerpc32/dl-machine.c
33291         (__elf_machine_runtime_setup) [PROF]: Don't reference
33292         _dl_prof_resolve.
33293
33294 2012-05-18  Andreas Jaeger  <aj@suse.de>
33295
33296         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33297         function only available for GCCs before 3.4 since GCC 3.4
33298         introduced a builtin.
33299         (lrint): Likewise.
33300         (llrintf): Likewise.
33301         (llrint): Likewise.
33302         (fmaxf): Likewise.
33303         (fmax): Likewise.
33304         (fminf): Likewise.
33305         (fmin): Likewise.
33306         (rint): Likewise.
33307         (rintf): Likewise.
33308         (nearbyint): Likewise.
33309         (nearbyintf): Likewise.
33310         (ceil): Likewise.
33311         (ceilf): Likewise.
33312         (floor): Likewise.
33313         (floorf): Likewise.
33314
33315 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33316
33317         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33318         on both fields and cast pointer to __syscall_ulong_t.
33319
33320         * bits/types.h (__fsword_t): New type.
33321         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33322         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33324         (__FSWORD_T_TYPE): Likewise.
33325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33326         (__FSWORD_T_TYPE): Likewise.
33327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33328         (__FSWORD_T_TYPE): Likewise.
33329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33330         (__FSWORD_T_TYPE): Likewise.
33331         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33332         __SWORD_TYPE with __fsword_t.
33333         (statfs64): Likewise.
33334
33335 2012-05-17  David S. Miller  <davem@davemloft.net>
33336
33337         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33338
33339 2012-05-17  Andreas Jaeger  <aj@suse.de>
33340
33341         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33342         warning.
33343
33344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33345
33346         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33347
33348 2012-05-17  Andreas Jaeger  <aj@suse.de>
33349
33350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33351         when it is used.
33352
33353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33354
33355         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33356
33357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33358
33359         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33360         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33361
33362 2012-05-17  Andreas Jaeger  <aj@suse.de>
33363             Carlos O'Donell  <carlos_odonell@mentor.com>
33364
33365         [BZ #14059]
33366         * sysdeps/x86_64/multiarch/init-arch.h
33367         (bit_YMM_Usable): Rename to...
33368         (bit_AVX_Usable): ... this.
33369         (bit_FMA4_Usable): New macro.
33370         (bit_XMM_state): New macro.
33371         (bit_YMM_state): New macro.
33372         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33373         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33374         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33375         (CPUID_OSXSAVE): New macro.
33376         (CPUID_AVX): New macro.
33377         (CPUID_FMA4): New macro.
33378         (index_YMM_Usable): Rename to...
33379         (index_AVX_Usable): ... this.
33380         (HAS_AVX): Use HAS_ARCH_FEATURE.
33381         (HAS_FMA4): Likewise.
33382         (HAS_YMM_USABLE): Remove.
33383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33384         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33385         are present.
33386         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33387         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33388         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33389         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33390         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33391
33392 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33393
33394         * math/libm-test.c: Support platforms without multiple rounding modes.
33395         * math/bug-nextafter.c: Support platforms without FP exceptions.
33396         * math/bug-nexttoward.c: Likewise.
33397         * math/test-fenv.c: Likewise.
33398         * math/test-misc.c: Likewise.
33399         * stdlib/bug-getcontext.c: Likewise.
33400
33401 2012-05-17  Andreas Jaeger  <aj@suse.de>
33402
33403         * manual/examples/search.c (critter_cmp): Change signature to
33404         avoid warnings.
33405         * manual/string.texi (Collation Functions): Likewise.
33406
33407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33408
33409         * bits/types.h: Fold copyright years.
33410         * bits/typesizes.h: Likewise.
33411         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33415         * time/time.h: Likewise.
33416
33417 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33418
33419         [BZ #208]
33420         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33421         in instead of returning them.  Return void.
33422         (__libc_mallinfo): Accumulate over all arenas.
33423         (__malloc_stats): Adjust for change in int_mallinfo interface.
33424
33425 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33426
33427         [BZ #10375]
33428         * configure.in (NM): Add AC_CHECK_TOOL for it.
33429         (libc_extra_cflags): New substituted variable.
33430         Check for -fstack-protector being used implicitly.
33431         * configure: Regenerated.
33432         * config.make.in (config-extra-cflags): New variable,
33433         gets @libc_extra_cflags@.
33434         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33435
33436         [BZ #10375]
33437         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33438         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33439         * configure: Regenerated.
33440         * config.make.in (CPPUNDEFS): New substituted variable.
33441         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33442         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33443         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33444
33445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33446
33447         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33448         (mq_attr): Use __syscall_slong_t.
33449
33450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33451
33452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33453         Check __x86_64__ instead of __WORDSIZE.
33454         (_STAT_VER_LINUX): Likewise.
33455         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33456         __syscall_ulong_t and __syscall_slong_t.
33457         (stat64): Likewise.
33458
33459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33460
33461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33462
33463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33464
33465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33466
33467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33468
33469         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33470         __syscall_ulong_t.
33471
33472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33473         include <bits/wordsize.h>.  Check __x86_64__ instead of
33474         __WORDSIZE.
33475         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33476         defined.
33477         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33478
33479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33480         include <bits/wordsize.h>.  Check __x86_64__ instead of
33481         __WORDSIZE.
33482         (user_regs_struct): Use "__extension__ unsigned long long"
33483         instead of "unsigned long" if __x86_64__ is defined.
33484         (user): Likewise.  Pad after pointer field if __ILP32__ is
33485         defined.
33486
33487 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33488
33489         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33490         versions 5 to 9.
33491         * configure: Regenerated.
33492         * manual/install.texi (texinfo): Increase version requirement to
33493         4.5 or later.
33494         * INSTALL: Regenerated.
33495
33496         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33497
33498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33499
33500         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33501
33502         * sysdeps/x86_64/x32/ffs.c: New file.
33503
33504         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33505         __syscall_ulong_t.
33506         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33507         defined.  Use __syscall_ulong_t.
33508         (shminfo): Use __syscall_ulong_t.
33509         (shm_info): Likewise.
33510
33511         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33512         __syscall_ulong_t.
33513
33514         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33515         <bits/wordsize.h>.
33516         (msgqnum_t): Use __syscall_ulong_t.
33517         (msglen_t): Likewise.
33518         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33519         __syscall_ulong_t.
33520
33521         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33523
33524         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33525
33526         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33527         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33528
33529         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33530         __syscall_slong_t.
33531
33532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33533         include <bits/wordsize.h>.  Check __x86_64__ instead of
33534         __WORDSIZE.
33535
33536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33537         "unsigned long long int" if __x86_64__ is defined.
33538         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33539
33540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33542         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33543
33544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33545         <stdint.h>.
33546         (GET_PC): Cast to uintptr_t first.
33547         (GET_FRAME): Likewise.
33548         (GET_STACK): Likewise.
33549
33550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33555         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33556         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33557         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33558         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33564         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33565         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33566         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33568         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33570         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33571         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33572         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33573         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33574         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33575         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33576         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33579
33580 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33581
33582         * Makerules (+depfiles): Also collect depfiles from .oS in
33583         $(extra-objs).
33584         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33585         .oS, $(libnldbl-routines)).
33586
33587         * Makerules (native-compile-mkdep-flags): Define.
33588         * sunrpc/Makefile (extra-objs): Add $(addprefix
33589         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33590         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33591         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33592         calling $(make-target-directory).
33593
33594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33595
33596         * bits/types.h (__snseconds_t): Removed.
33597         * time/time.h (struct timespec): Replace __snseconds_t with
33598         __syscall_slong_t.
33599         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33600         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33601         Likewise.
33602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33603         (__SNSECONDS_T_TYPE): Likewise.
33604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33605         (__SNSECONDS_T_TYPE): Likewise.
33606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33607         (__SNSECONDS_T_TYPE): Likewise.
33608
33609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33610
33611         * sysdeps/mach/hurd/bits/typesizes.h
33612         (__SYSCALL_SLONG_TYPE): New macro.
33613         (__SYSCALL_ULONG_TYPE): Likewise.
33614
33615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33616
33617         * bits/types.h (__syscall_slong_t): New type.
33618         (__syscall_ulong_t): Likewise.
33619
33620         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33621         (__SYSCALL_ULONG_TYPE): Likewise.
33622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33623         (__SYSCALL_SLONG_TYPE): Likewise.
33624         (__SYSCALL_ULONG_TYPE): Likewise.
33625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33626         (__SYSCALL_SLONG_TYPE): Likewise.
33627         (__SYSCALL_ULONG_TYPE): Likewise.
33628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33629         (__SYSCALL_SLONG_TYPE): Likewise.
33630         (__SYSCALL_ULONG_TYPE): Likewise.
33631
33632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33633
33634         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33635         Add sigaltstack-offsets.sym.
33636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33637         <sigaltstack-offsets.h>.
33638         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33639         longjmp_msg pointer.
33640         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33641         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33642         signal stack.
33643         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33644
33645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33646
33647         * elf/stackguard-macros.h: Remove file.
33648         * sysdeps/generic/stackguard-macros.h: New file.
33649         * sysdeps/i386/stackguard-macros.h: Likewise.
33650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33656         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33657         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33658         <elf/stackguard-macros.h>.
33659
33660         [BZ #14109]
33661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33662         __aligned__ in attribute.
33663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33664         (gregset_t): Likewise.
33665
33666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33667
33668         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33669         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33670         * sysdeps/x86_64/x32/Implies-after: New file.
33671
33672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33673
33674         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33675         and access return value for _dl_profile_fixup.  Use R10_LP to
33676         load frame size.
33677
33678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33679
33680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33681
33682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33683
33684         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33685         * sysdeps/x86_64/x32/sysdep.h: New file.
33686
33687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33688
33689         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33690         * sysdeps/x86_64/setjmp.S: Likewise.
33691
33692 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33693
33694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33696         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33698         remove unused global constant.
33699
33700 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33701
33702         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33703         include of <not-cancel.h>.
33704
33705 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33706
33707         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33708
33709 2012-05-15  Jeff Law  <law@redhat.com>
33710             Andreas Jaeger  <aj@suse.de>
33711
33712         [BZ #13594]
33713         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33714         out from...
33715         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33716         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33718         code changing __hst_map_handle.map.
33719
33720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33721
33722         * configure.in (sysnames): Look for Implies-before and Implies-after
33723         files.
33724         * configure: Regenerated.
33725
33726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33727
33728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33729         8-byte data alignment with LP_SIZE alignment.
33730
33731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33732
33733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33734         into R10_LP.
33735
33736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33737
33738         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33739
33740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33741
33742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33743         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33745         Likewise.
33746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33747
33748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33749
33750         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33751         (stackinfo_sub_sp): Likewise.
33752
33753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33754
33755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33756         RAX_LP.
33757
33758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33759
33760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33761         into R*_LP.
33762
33763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33764
33765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33766         sizes into R*_LP.
33767
33768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33769
33770         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33771
33772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33773
33774         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33775         into R11_LP and load __x86_64_shared_cache_size_half into
33776         R8_LP.
33777
33778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33779
33780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33781         R8_LP.
33782
33783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33784
33785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33786         logb for POWER7.
33787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33788         logbf for POWER7.
33789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33790         logbl for POWER7.
33791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33792         powerpc32/power7/fpu/s_logb.c via #include.
33793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33794         powerpc32/power7/fpu/s_logbf.c via #include.
33795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33796         powerpc32/power7/fpu/s_logbl.c via #include.
33797
33798 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33799
33800         * README.libm: Remove file.
33801
33802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33803
33804         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33805         count for x32.  Use R*_LP and omit operand-size suffix.
33806
33807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33808
33809         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33810         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33811         * sysdeps/x86_64/x32/shlib-versions: New file.
33812
33813 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33814
33815         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33816         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33817         Use _dl_fatal_printf instead.
33818
33819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33820
33821         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33822         set if not set by the user.  Do not allow for being unset.
33823         * sysdeps/unix/sysv/linux/configure: Regenerated.
33824
33825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33826
33827         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33828         the `q' suffix from lea and replace .quad with ASM_ADDR.
33829
33830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33831
33832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33833         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33834         instead of $17.
33835         (PTR_DEMANGLE): Likewise.
33836
33837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33838
33839         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33840         (LP_OP): Likewise.
33841         (ASM_ADDR): Likewise.
33842         (RAX_LP): Likewise.
33843         (RBP_LP): Likewise.
33844         (RBX_LP): Likewise.
33845         (RCX_LP): Likewise.
33846         (RDI_LP): Likewise.
33847         (RSI_LP): Likewise.
33848         (RSP_LP): Likewise.
33849         (R8_LP): Likewise.
33850         (R9_LP): Likewise.
33851         (R10_LP): Likewise.
33852         (R10_LP): Likewise.
33853         (R11_LP): Likewise.
33854         (R12_LP): Likewise.
33855         (R13_LP): Likewise.
33856         (R14_LP): Likewise.
33857         (R15_LP): Likewise.
33858
33859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33860
33861         * sysdeps/x86_64/x32/dl-machine.h: New file.
33862
33863 2012-05-14  Andreas Jaeger  <aj@suse.de>
33864
33865         * manual/Makefile (subdir): Remove export of subdir.
33866         (all): Remove target.
33867         (.PHONY): Remove all from list.
33868         (mkinstalldirs): Remove.
33869         (.PHONY): Remove installdirs from list.
33870         ($(inst_infodir)/libc.info): Use make-target-directory.
33871         (installdirs): Remove.
33872         (subdir_%): Remove.
33873         (glibc-targets): Remove.
33874         (lib): Remove.
33875         (stubs): Remove.
33876         ($(objpfx)stubs ../po/manual.pot): Remove.
33877         ($(objpfx)stamp%): Remove.
33878         (make-target-directory): Remove.
33879         (subdir_install): Remove.
33880         (routines): Remove.
33881         (aux): Remove.
33882         (sources): Remove.
33883         (objects): Remove.
33884         (headers): Remove.
33885
33886         [BZ #13750]
33887         * manual/.gitignore: Remove, it's not needed anymore.
33888         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33889         all files in it.
33890         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33891         directory.
33892         (texis): Renamed to $(objpfx)texis.
33893         (texis-path): New, contains path to generated files.
33894         (chapters.%): Use texis-path for complete path, add extra argument
33895         libc-texinfo.sh.
33896         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33897         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33898         (summary,texi, stamp-summary): Use complete path of
33899         files. Generate files in build dir.
33900         (dir-add.texi): Build in build dir.
33901         (libm-err.texi,stamp-libm-err): Likewise.
33902         (version.texi, stamp-version): Likewise.
33903         (.%c.texi): Likewise.
33904         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33905         (mostlyclean): Remove target.
33906         (realclean): Remove target.
33907         (generated): Add new variable with contents from mostlyclean and
33908         realclean, remove entries duplicated in common-mostlyclean, add
33909         stamp-libm-err and stamp-version.
33910         (generated-dirs): Add libc directory.
33911         ($(inst_infodir)/libc.info): Install files from build dir.
33912
33913         * manual/install.texi (Configuring and compiling): Adjust since
33914         the info files are not part of the tar ball anymore.
33915
33916 2012-05-14  Andreas Jaeger  <aj@suse.de>
33917
33918         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33919         variable.
33920
33921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33922
33923         [BZ #13717]
33924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33925         to 2.2.0 where earlier.
33926         * sysdeps/unix/sysv/linux/configure: Regenerated.
33927         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33928         Remove conditional code.
33929         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33930         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33931         Remove conditional code.
33932         [!__NR_lchown]: Likewise.
33933         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33934         [__NR_lchown]: Likewise.
33935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33936         comment referencing __ASSUME_LCHOWN_SYSCALL.
33937         * sysdeps/unix/sysv/linux/i386/sigaction.c
33938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33940         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33941         Remove conditional code.
33942         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33943         (__protocol_available): Remove #if 0 code.
33944         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33945         conditional code.
33946         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33947         * sysdeps/unix/sysv/linux/kernel-features.h
33948         (__ASSUME_GETCWD_SYSCALL): Don't define.
33949         (__ASSUME_REALTIME_SIGNALS): Likewise.
33950         (__ASSUME_PREAD_SYSCALL): Likewise.
33951         (__ASSUME_PWRITE_SYSCALL): Likewise.
33952         (__ASSUME_POLL_SYSCALL): Likewise.
33953         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33954         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33955         non-SPARC.
33956         (__ASSUME_SIOCGIFNAME): Don't define.
33957         (__ASSUME_MSG_NOSIGNAL): Likewise.
33958         (__ASSUME_SENDFILE): Define unconditionally.
33959         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33960         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33961         conditional code.
33962         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33963         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33965         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33967         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33968         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33993         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33994         Remove conditional code.
33995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33996         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33997         Remove conditional code.
33998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34000         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34001         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34002         Remove conditional code.
34003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34004         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34005         Remove conditional code.
34006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34007         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34008         Remove conditional code.
34009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34010         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34011         Remove conditional code.
34012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34013         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34014         Remove conditional code.
34015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34016         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34019         * sysdeps/unix/sysv/linux/sigaction.c
34020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34022         * sysdeps/unix/sysv/linux/sigpending.c
34023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34025         * sysdeps/unix/sysv/linux/sigprocmask.c
34026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34028         * sysdeps/unix/sysv/linux/sigsuspend.c
34029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34032         (__libc_missing_rt_sigs): Remove.
34033         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34034         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34035         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34036         Remove conditional code.
34037         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34038         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34039         return 1.
34040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34041         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34044
34045 2012-05-14  Andreas Jaeger  <aj@suse.de>
34046
34047         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34048         it's not used in glibc.
34049         (__coshm1): Likewise.
34050         (__acosh1p): Likewise.
34051         (__sgn): Likewise.
34052
34053         * manual/string.texi (Copying and Concatenation): Add missing
34054         variable in concat example.
34055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34056
34057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34058
34059         [BZ #14103]
34060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34061         __builtin_clzl with __builtin_clzll.
34062
34063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34064
34065         [BZ #14104]
34066         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34067         libc_freeres_ptr.
34068
34069 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34070
34071         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34072         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34073         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34075
34076 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34077
34078         * NEWS: Update ia64 info.
34079
34080 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34081
34082         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34083         used as bcopy.
34084
34085 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34086
34087         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34088         * sysdeps/unix/syscalls.list (dup3): Likewise.
34089         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34090         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34091
34092 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34093
34094         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34095         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34096
34097 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34098
34099         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34100         thread pointer.
34101         (TLS_IE): Use mov/add instead of movq/addq to load thread
34102         pointer.
34103         (TLS_GD_PREFIX): New.
34104         (TLS_GD): Use it.
34105
34106 2012-05-11  David S. Miller  <davem@davemloft.net>
34107
34108         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34109         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34110         (_FPU_SETCW): Likewise.
34111
34112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34115         is 32-byte aligned.
34116
34117 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34118
34119         [BZ #11837]
34120         * iconvdata/gb18030.c: Update tables.
34121         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34122         characters specially.
34123         (BODY for TO_LOOP): Add encoding of missing ranges.
34124
34125 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34126
34127         [BZ #13673]
34128         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34129         * sysdeps/mach/hurd/dup3.c: Likewise.
34130         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34131         * sysdeps/powerpc/memmove.c:: Likewise.
34132
34133 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34134
34135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34136         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34137
34138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34139
34140         * elf/elf.h (R_X86_64_RELATIVE64): New.
34141         (R_X86_64_NUM): Updated.
34142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34143         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34144         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34145         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34146         tst-quad1pie tst-quad2pie
34147         (modules-names): Add tst-quadmod1 tst-quadmod2.
34148         ($(objpfx)tst-quad1): New dependency.
34149         ($(objpfx)tst-quad2): Likewise.
34150         ($(objpfx)tst-quad1pie): Likewise.
34151         ($(objpfx)tst-quad2pie): Likewise.
34152         * sysdeps/x86_64/tst-quad1.c: New file.
34153         * sysdeps/x86_64/tst-quad1pie.c: New file.
34154         * sysdeps/x86_64/tst-quad2.c: Likewise.
34155         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34156         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34157         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34158         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34159         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34160
34161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34162
34163         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34164         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34165         * streams/stropts.h (t_scalar_t): Define type.
34166
34167         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34168         (_PATH_PRESERVE): Set to "/var/lib".
34169         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34170
34171         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34172         instead of int.
34173
34174         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34175         if __dir_mkfile succeeded.
34176
34177         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34178         checking for _hurd_dtablesize.  Unlock it right after having
34179         finished _hurd_dtable allocation.
34180
34181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34182
34183         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34184         * sysdeps/mach/hurd/configure: Regenerated.
34185         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34186         special-casing to...
34187         * sysdeps/gnu/configure.in: ... this new file.
34188         * sysdeps/unix/sysv/linux/configure: Regenerated.
34189         * sysdeps/gnu/configure: New generated file.
34190
34191         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34192         for Linux: use nsec instead of usec, as well as:
34193         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34194         members of type struct timespec.
34195         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34196         New macros.
34197         (struct stat64): Likewise.
34198         (_STATBUF_ST_NSEC): New macro.
34199         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34200
34201         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34202         __strtoul_internal rather than strtoul.
34203
34204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34205
34206         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34207         and reject them.
34208
34209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34210
34211         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34212         which preserves existing values.
34213         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34214
34215 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34216
34217         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34218         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34219         greater than FD_SETSIZE.
34220
34221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34222
34223         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34224         allocated, call __vm_protect to finish enabling the existing space, and
34225         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34226         allocate the remainder.
34227
34228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34229
34230         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34231         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34232
34233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34234
34235         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34236         sysdeps/mach/hurd/readlink.c.
34237
34238         * posix/tst-sysconf.c (posix_options): Only use
34239         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34240         _POSIX_SYNCHRONIZED_IO when they are defined
34241         * sysdeps/mach/hurd/bits/posix_opt.h:
34242         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34243         (_XOPEN_REALTIME): Undefine macro.
34244         (_XOPEN_REALTIME_THREADS): Undefine macro.
34245         (_XOPEN_SHM): Undefine macro.
34246         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34247         macro to -1.
34248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34249         macro to -1.
34250         (_POSIX_ASYNC_IO): Undefine macro.
34251         (_POSIX_PRIORITIZED_IO): Undefine macro.
34252         (_POSIX_SPIN_LOCKS): Define macro to -1.
34253
34254         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34255         SA_NODEFER, SA_RESETHAND.
34256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34257         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34258         F_DUPFD_CLOEXEC.
34259
34260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34261
34262         * elf/Makefile (pldd-modules): Define unconditionally.
34263
34264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34265
34266         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34267
34268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34269
34270         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34271         Return ENOENT when name is empty.
34272         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34273
34274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34275
34276         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34277
34278         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34279
34280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34281
34282         Fix mlock in all cases except non-readable pages.
34283         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34284         instead of VM_PROT_ALL as parameter to __vm_wire function.
34285
34286         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34287         (__mkdir): When path is `/', just fail with EEXIST.
34288         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34289
34290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34291
34292         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34293         <sys/uio.h> (for writev).
34294         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34295         and <sys/param.h> (for MIN).
34296
34297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34298
34299         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34300         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34301         if interrupted.
34302
34303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34304
34305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34306         Depend on against $(link-rpcuserlibs).
34307
34308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34309
34310         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34311         (__libc_stack_end): Do not use attribute_relro.
34312         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34313         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34314         to libthread-provided value.
34315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34316         attribute_relro.
34317
34318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34319
34320         [BZ #3748]
34321         * bits/libc-lock.h (__libc_once_get): New macro.
34322         * sysdeps/mach/bits/libc-lock.h: Likewise.
34323         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34325         instead of using implementation details.
34326
34327         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34328         * libio/freopen.c: Likewise.
34329         * libio/freopen64.c: Likewise.
34330         * misc/syslog.c: Likewise.
34331         * nscd/connections.c: Likewise.
34332         * nscd/netgroupcache.c: Likewise.
34333         * sysdeps/posix/getcwd.c: Likewise.
34334
34335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34336
34337         * math/w_ilogbf.c: Add #include <limits.h>.
34338
34339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34340
34341         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34342         path instead of returning without unlocking.
34343
34344         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34345         immediate-write ioctls.
34346         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34347
34348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34349
34350         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34351         __builtin_frame_address instead of making assumptions about the
34352         location of the return address relative to DATA.  Force early load of
34353         the return address.
34354         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34355         __builtin_frame_address.
34356
34357         dup3 for GNU Hurd.
34358         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34359         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34360         implement dup3 and do some further code clean-ups.
34361         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34362         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34363
34364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34365
34366         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34367
34368         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34369         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34370         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34371         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34372         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34373         d->port.lock.
34374
34375         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34376         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34377         when handler == SIG_ERR, not when handler != SIG_ERR.
34378
34379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34380
34381         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34382         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34383         definitions.
34384
34385         accept4 for GNU Hurd.
34386         * include/sys/socket.h (__libc_accept4): New prototype.
34387         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34388         to implement __libc_accept4.
34389         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34390         __libc_accept4.
34391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34392
34393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34394         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34395         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34396         signal-defines.sym.
34397
34398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34399
34400         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34401
34402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34403
34404         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34405         assertion on O_CLOEXEC flag.
34406         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34407         * hurd/intern-fd.c: Likewise.
34408         * hurd/port2fd.c: Likewise.
34409
34410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34411
34412         [BZ #3906]
34413         * bits/in.h (IPV6_PKTINFO): Define new macro.
34414         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34415
34416 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34417
34418         [BZ #13954]
34419         [BZ #13955]
34420         [BZ #13956]
34421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34423         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34427         * math/libm-test.inc (logb_test) : Additional logb tests.
34428
34429 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34430             Andreas Jaeger  <aj@suse.de>
34431
34432         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34433         * configure: Regenerated.
34434         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34435         * config.make.in (link-obsolete-rpc): New substituted variable.
34436         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34437         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34438         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34439         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34440         so that libc.a contains the symbols.
34441         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34442         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34443         * sunrpc/auth_none.c: Likewise.
34444         * sunrpc/auth_unix.c: Likewise.
34445         * sunrpc/authdes_prot.c: Likewise.
34446         * sunrpc/authuxprot.c: Likewise.
34447         * sunrpc/clnt_gen.c: Likewise.
34448         * sunrpc/clnt_perr.c: Likewise.
34449         * sunrpc/clnt_raw.c: Likewise.
34450         * sunrpc/clnt_simp.c: Likewise.
34451         * sunrpc/clnt_tcp.c: Likewise.
34452         * sunrpc/clnt_udp.c: Likewise.
34453         * sunrpc/clnt_unix.c: Likewise.
34454         * sunrpc/des_crypt.c: Likewise.
34455         * sunrpc/des_soft.c: Likewise.
34456         * sunrpc/get_myaddr.c: Likewise.
34457         * sunrpc/key_call.c: Likewise.
34458         * sunrpc/key_prot.c: Likewise.
34459         * sunrpc/netname.c: Likewise.
34460         * sunrpc/pm_getmaps.c: Likewise.
34461         * sunrpc/pm_getport.c: Likewise.
34462         * sunrpc/pmap_clnt.c: Likewise.
34463         * sunrpc/pmap_prot.c: Likewise.
34464         * sunrpc/pmap_prot2.c: Likewise.
34465         * sunrpc/pmap_rmt.c: Likewise.
34466         * sunrpc/publickey.c: Likewise.
34467         * sunrpc/rpc_cmsg.c: Likewise.
34468         * sunrpc/rpc_common.c: Likewise.
34469         * sunrpc/rpc_dtable.c: Likewise.
34470         * sunrpc/rpc_prot.c: Likewise.
34471         * sunrpc/rpc_thread.c: Likewise.
34472         * sunrpc/rtime.c: Likewise.
34473         * sunrpc/svc.c: Likewise.
34474         * sunrpc/svc_auth.c: Likewise.
34475         * sunrpc/svc_raw.c: Likewise.
34476         * sunrpc/svc_run.c: Likewise.
34477         * sunrpc/svc_tcp.c: Likewise.
34478         * sunrpc/svc_udp.c: Likewise.
34479         * sunrpc/svc_unix.c: Likewise.
34480         * sunrpc/svcauth_des.c: Likewise.
34481         * sunrpc/xcrypt.c: Likewise.
34482         * sunrpc/xdr.c: Likewise.
34483         * sunrpc/xdr_array.c: Likewise.
34484         * sunrpc/xdr_float.c: Likewise.
34485         * sunrpc/xdr_intXX_t.c: Likewise.
34486         * sunrpc/xdr_mem.c: Likewise.
34487         * sunrpc/xdr_rec.c: Likewise.
34488         * sunrpc/xdr_ref.c: Likewise.
34489         * sunrpc/xdr_sizeof.c: Likewise.
34490         * sunrpc/xdr_stdio.c: Likewise.
34491
34492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34493
34494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34495         change.  Update copyright years.
34496
34497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34498
34499         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34500
34501 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34502             Joseph Myers  <joseph@codesourcery.com>
34503             Paul Pluzhnikov  <ppluzhnikov@google.com>
34504
34505         [BZ #14012]
34506         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34507         requiring rpcgen.
34508         [cross-compiling] (extra-libs): Likewise.
34509         [cross-compiling] (extra-libs-others): Likewise.
34510         [cross-compiling] (librpcsvc-routines): Likewise.
34511         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34512         [cross-compiling] (omit-deps): Likewise.
34513         (sunrpc-CPPFLAGS): New variable.
34514         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34515         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34516         (cross-rpcgen-objs): New variable.
34517         (extra-objs): Append $(cross-rpcgen-objs).
34518         ($(cross-rpcgen-objs)): New rule.
34519         ($(objpfx)cross-rpcgen): Likewise.
34520         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34521         comment.
34522         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34523         ($(objpfx)x%.stmp): Likewise.
34524         * sunrpc/proto.h [IS_IN_build] (_): Define.
34525         [IS_IN_build] (_libc_intl_domainname): Likewise.
34526
34527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34528
34529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34530         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34531         and R_X86_64_TPOFF64.
34532
34533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34534
34535         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34536         sysdeps/unix/sysv/syscalls.list.
34537         (stime): Likewise.
34538         (utime): Likewise.
34539         * sysdeps/unix/sysv/syscalls.list: Remove file.
34540
34541 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34542
34543         [BZ #3440]
34544         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34545         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34546         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34547         (__LC_IDENTIFICATION): Make these macros useful in #if
34548         expressions, as required by C99.
34549
34550 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34551
34552         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34553         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34554         after this.
34555
34556 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34557
34558         * stdlib/longlong.h: Updated from GCC.
34559
34560 2012-05-09  Andreas Jaeger  <aj@suse.de>
34561
34562         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34563         default is first entry.
34564         (run_mode): Set type.
34565         (main): Remove informal message about syslog.
34566         (options): Fix typo.
34567
34568         [BZ #14053]
34569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34570         to asm.
34571         (lrint): Likewise.
34572         (llrintf): Likewise.
34573         (llrint): Likewise.
34574         (rint): Likewise.
34575         (rintf): Likewise.
34576         (nearbyint): Likewise.
34577         (nearbyintf): Likewise.
34578
34579 2012-05-09  Andreas Jaeger  <aj@suse.de>
34580             Pedro Alves  <palves@redhat.com>
34581
34582         * nscd/nscd.c (run_mode): Use enum.
34583         (main): Cleanup coding style issue.
34584
34585 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34586             Andreas Jaeger  <aj@suse.de>
34587
34588         * nscd/nscd.c (go_background): Replaced with...
34589         (run_mode): ... this.
34590         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34591         (options): Add -F --foreground.
34592         (main): Implement it.
34593         (parse_opt): Parse it.
34594
34595 2012-05-09  Andreas Jaeger  <aj@suse.de>
34596
34597         [BZ #14083]
34598         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34599         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34600         -Wconversion warning.
34601         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34602         Likewise.
34603
34604 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34605
34606         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34607         == 0.
34608         (LC_ALL): Use macro-int-constant.
34609         (LC_COLLATE): Likewise.
34610         (LC_CTYPE): Likewise.
34611         (LC_MESSAGES): Likewise.
34612         (LC_MONETARY): Likewise.
34613         (LC_NUMERIC): Likewise.
34614         (LC_TIME): Likewise.
34615         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34616         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34618         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34619         Specify type.
34620         [C99-based standards] (float_t): Expect type.
34621         [C99-based standards] (double_t): Expect type.
34622         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34623         type.
34624         [C99-based standards] (HUGE_VALL): Likewise.
34625         [C99-based standards] (INFINITY): Likewise.
34626         [C99-based standards] (NAN): Likewise.
34627         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34628         [C99-based standards] (FP_NAN): Likewise.
34629         [C99-based standards] (FP_NORMAL): Likewise.
34630         [C99-based standards] (FP_SUBNORMAL): Likewise.
34631         [C99-based standards] (FP_ZERO): Likewise.
34632         [C99-based standards] (FP_FAST_FMA): Use
34633         optional-macro-int-constant.  Specify type.  Require == 1.
34634         [C99-based standards] (FP_FAST_FMAF): Likewise.
34635         [C99-based standards] (FP_FAST_FMAL): Likewise.
34636         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34637         [C99-based standards] (FP_ILOGBNAN): Likewise.
34638         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34639         Specify type.
34640         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34641         [C99-based standards] (math_errhandling): Specify type.
34642         [ISO99 || ISO11] (signgam): Do not allow.
34643         [non-C99-based standards] (copysignf): Do not allow.
34644         [non-C99-based standards] (exp2f): Likewise.
34645         [non-C99-based standards] (log2f): Likewise.
34646         [non-C99-based standards] (modff): Allow.
34647         [non-C99-based standards] (erff): Do not allow.
34648         [non-C99-based standards] (erfcf): Likewise.
34649         [non-C99-based standards] (gammaf): Likewise.
34650         [non-C99-based standards] (hypotf): Likewise.
34651         [non-C99-based standards] (j0f): Likewise.
34652         [non-C99-based standards] (j1f): Likewise.
34653         [non-C99-based standards] (jnf): Likewise.
34654         [non-C99-based standards] (lgammaf): Likewise.
34655         [non-C99-based standards] (tgammaf): Likewise.
34656         [non-C99-based standards] (y0f): Likewise.
34657         [non-C99-based standards] (y1f): Likewise.
34658         [non-C99-based standards] (ynf): Likewise.
34659         [non-C99-based standards] (isnanf): Likewise.
34660         [non-C99-based standards] (acoshf): Likewise.
34661         [non-C99-based standards] (asinhf): Likewise.
34662         [non-C99-based standards] (atanhf): Likewise.
34663         [non-C99-based standards] (cbrtf): Likewise.
34664         [non-C99-based standards] (expm1f): Likewise.
34665         [non-C99-based standards] (ilogbf): Likewise.
34666         [non-C99-based standards] (log1pf): Likewise.
34667         [non-C99-based standards] (logbf): Likewise.
34668         [non-C99-based standards] (nextafterf): Likewise.
34669         [non-C99-based standards] (remainderf): Likewise.
34670         [non-C99-based standards] (rintf): Likewise.
34671         [non-C99-based standards] (scalbf): Likewise.
34672         [non-C99-based standards] (copysignl): Likewise.
34673         [non-C99-based standards] (exp2l): Likewise.
34674         [non-C99-based standards] (log2l): Likewise.
34675         [non-C99-based standards] (modfl): Allow.
34676         [non-C99-based standards] (erfl): Do not allow.
34677         [non-C99-based standards] (erfcl): Likewise.
34678         [non-C99-based standards] (gammal): Likewise.
34679         [non-C99-based standards] (hypotl): Likewise.
34680         [non-C99-based standards] (j0l): Likewise.
34681         [non-C99-based standards] (j1l): Likewise.
34682         [non-C99-based standards] (jnl): Likewise.
34683         [non-C99-based standards] (lgammal): Likewise.
34684         [non-C99-based standards] (tgammal): Likewise.
34685         [non-C99-based standards] (y0l): Likewise.
34686         [non-C99-based standards] (y1l): Likewise.
34687         [non-C99-based standards] (ynl): Likewise.
34688         [non-C99-based standards] (isnanl): Likewise.
34689         [non-C99-based standards] (acoshl): Likewise.
34690         [non-C99-based standards] (asinhl): Likewise.
34691         [non-C99-based standards] (atanhl): Likewise.
34692         [non-C99-based standards] (cbrtl): Likewise.
34693         [non-C99-based standards] (expm1l): Likewise.
34694         [non-C99-based standards] (ilogbl): Likewise.
34695         [non-C99-based standards] (log1pl): Likewise.
34696         [non-C99-based standards] (logbl): Likewise.
34697         [non-C99-based standards] (nextafterl): Likewise.
34698         [non-C99-based standards] (remainderl): Likewise.
34699         [non-C99-based standards] (rintl): Likewise.
34700         [non-C99-based standards] (scalbl): Likewise.
34701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34702         [non-C99-based standards] (FP_*): Do not allow.
34703         [C99-based standards] (FP_*): Change to
34704         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34705         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34706         allow.
34707         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34708         (SIG_ERR): Likewise.
34709         [X/Open-based standards] (SIG_HOLD): Likewise.
34710         (SIG_IGN): Likewise.
34711         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34712         positive value.
34713         (SIGFPE): Likewise.
34714         (SIGILL): Likewise.
34715         (SIGINT): Likewise.
34716         (SIGSEGV): Likewise.
34717         (SIGTER): Likewise.
34718         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34719         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34720         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34721         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34722         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34723         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34724         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34725         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34726         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34727         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34728         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34729         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34730         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34731         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34732         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34733         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34734         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34735         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34736         [X/Open-based standards] (SIGTRAP): Likewise.
34737         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34738         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34739         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34740         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34741         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34742         allow.
34743
34744 2012-05-08  Ian Wienand  <ianw@vmware.com>
34745
34746         [BZ #14080]
34747         * time/tzset.c (__tzset_parse_tz): Update default rules for
34748         daylight time changes in the Energy Policy Act of 2005.
34749
34750 2012-05-09  Andreas Jaeger  <aj@suse.de>
34751
34752         [BZ #13983]
34753         * elf/ldconfig.c (parse_conf): Change string to make clear that
34754         ldconfig only issued a warning if ld.so.conf does not exist.
34755
34756 2012-05-08  David S. Miller  <davem@davemloft.net>
34757
34758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34759         movxtod instead of popping the value on the stack.
34760
34761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34762
34763 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34764
34765         * config.h.in: Add HAVE_ARM_PCS_VFP.
34766
34767 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34768
34769         [BZ #13979]
34770         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34771         checking but the checks are disabled for any reason.
34772
34773 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34774
34775         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34776         and ELF64_R_TYPE with ELFW(R_TYPE).
34777
34778 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34779
34780         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34781         (ulimit): Likewise.
34782
34783         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34784         (settimeofday): Likewise.
34785
34786 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34787
34788         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34789         a struct th_u2 inside the union, and move tu_block/tu_code into
34790         a new th_u3 union of tu_block/tu_code inside of that.  Move
34791         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34792         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34793         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34794         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34795         (th_stuff): Change to th_u1.tu_stuff.
34796         (th_data): Define.
34797         (th_msg): Change to th_u1.th_u2.tu_data.
34798
34799 2012-05-07  David S. Miller  <davem@davemloft.net>
34800
34801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34802
34803         [BZ #14074]
34804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34805         (SETUP_PIC_REG): Use it.
34806         (SETUP_PIC_REG_LEAF): Use it.
34807
34808 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34809
34810         [BZ #13885]
34811         [BZ #13923]
34812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34813         USE_AS_EXPM1L.
34814         (EXPL_FINITE): Likewise.
34815         (FLDLOG): Likewise.
34816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34817         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34818         e_expl.S.
34819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34820         USE_AS_EXPM1L.
34821         (EXPL_FINITE): Likewise.
34822         (FLDLOG): Likewise.
34823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34824         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34825         e_expl.S.
34826         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34827         test of -max_value argument for long double.
34828         * sysdeps/i386/fpu/libm-test-ulps: Update.
34829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34830
34831 2012-05-06  David S. Miller  <davem@davemloft.net>
34832
34833         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34834         quad soft-float symbols whose references which are compiler
34835         generated.
34836         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34837
34838 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34839
34840         [BZ #13884]
34841         [BZ #13914]
34842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34843         USE_AS_EXP10L.
34844         (EXPL_FINITE): Likewise.
34845         (FLDLOG): Likewise.
34846         (c0): Likewise.
34847         (c1): Likewise.
34848         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34849         Adjust comments for base varying.
34850         (__expl_finite): Change alias to EXPL_FINITE.
34851         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34852         e_expl.S.
34853         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34854         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34856         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34858         USE_AS_EXP10L.
34859         (EXPL_FINITE): Likewise.
34860         (FLDLOG): Likewise.
34861         (c0): Likewise.
34862         (c1): Likewise.
34863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34864         Adjust comments for base varying.
34865         (__expl_finite): Change alias to EXPL_FINITE.
34866         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34867         tests for bugs.
34868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34869
34870         [BZ #14064]
34871         * math/libm-test.inc (check_float_internal): Correct ulp
34872         calculation for subnormal expected results.
34873
34874 2012-05-06  Andreas Jaeger  <aj@suse.de>
34875
34876         * Makeconfig (+math-flags): New, set to -frounding-math.
34877         (+cflags): Add +math-flags so that all of glibc gets compiled with
34878         it.
34879
34880         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34881
34882 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34883
34884         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34885         Disable one test.
34886
34887         [BZ #13787]
34888         [BZ #13922]
34889         [BZ #14036]
34890         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34891         (__ieee754_expl): Allow for and saturate large arguments.
34892         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34893         (u_threshold): Likewise.
34894         (__exp): Call __ieee754_exp before checking for overflow and
34895         underflow.
34896         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34897         (u_threshold): Likewise.
34898         (__expf): Call __ieee754_expf before checking for overflow and
34899         underflow.
34900         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34901         (u_threshold): Likewise.
34902         (__expl): Call __ieee754_expl before checking for overflow and
34903         underflow.
34904         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34905         (__ieee754_expl): Allow for and saturate large arguments.
34906         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34907         missing overflow exception on overflow.
34908         (expm1_test): Do not allow missing overflow exception on overflow.
34909
34910         * sysdeps/i386/fpu/e_expl.c: Move to ...
34911         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34912         rather than using inline asm.
34913         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34914         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34915         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34916
34917         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34918         (nice): Likewise.
34919         (poll): Likewise.
34920         (signal): Likewise.
34921         (time): Likewise.
34922         (times): Likewise.
34923
34924 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34925
34926         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34927         sysdeps/unix/common/syscalls.list.
34928         (fchmod): Likewise.
34929         (fchown): Likewise.
34930         (ftruncate): Likewise.
34931         (getrusage): Likewise.
34932         (gettimeofday): Likewise.
34933         (setpgid): Likewise.
34934         (setregid): Likewise.
34935         (setreuid): Likewise.
34936         (sigaction): Likewise.
34937         (truncate): Likewise.
34938         (vhangup): Likewise.
34939         * sysdeps/unix/common/syscalls.list: Remove file.
34940         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34941         * sysdeps/unix/sysv/linux/Implies: Likewise.
34942
34943 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34944
34945         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34947         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34948         Moved to ...
34949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34950         Here.
34951         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34952         to ...
34953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34954         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34955         to ...
34956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34958         to ...
34959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34961         to ...
34962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34964         to ...
34965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34967         to ...
34968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34969         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34970         to ...
34971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34972         Here.
34973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34974         to ...
34975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34976         Here.
34977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34978         to ...
34979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34980         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34981         Moved to ...
34982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34983         Here.
34984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34985         to ...
34986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34987
34988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34989
34990         * sysdeps/unix/common/bits/dirent.h: Remove file.
34991         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34992
34993         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34994         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34995         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34996         * sysdeps/unix/bsd/isatty.c: Likewise.
34997         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34998         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34999         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35000
35001 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002
35003         [BZ #13563]
35004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35005         long double comparison inaccuracies.
35006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35008
35009 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35010
35011         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35013
35014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35015
35016         [BZ #14049]
35017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35018         nonzero digits before rounding a hex value.
35019         * stdlib/tst-strtod.c (tests): Add another test.
35020
35021 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35022
35023         * sysdeps/s390/fpu/libm-test-ulps: Update.
35024
35025 2012-05-03  Andreas Jaeger  <aj@suse.de>
35026
35027         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35028         does not get optimized out.
35029         (malloc_opt_barrier): New.
35030
35031 2012-05-03  Andreas Jaeger  <aj@suse.de>
35032             Roland McGrath  <roland@hack.frob.com>
35033
35034         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35035         intermediate file deletion.
35036         (generated): Add .symlist files.
35037
35038 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35039
35040         [BZ #13775]
35041         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35042         Redirect under this condition.
35043         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35044         [__USE_GNU] (__dprintf_chk): Not under this condition.
35045         [__USE_GNU] (__vdprintf_chk): Likewise.
35046         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35047         under this condition.
35048         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35049         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35050         [__USE_XOPEN2K8] (vdprintf): Likewise.
35051         [__USE_GNU] (__dprintf_chk): Not under this condition.
35052         [__USE_GNU] (__vdprintf_chk): Likewise.
35053         [__USE_GNU] (dprintf): Likewise.
35054         [__USE_GNU] (vdprintf): Likewise.
35055
35056 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35057
35058         * elf/Makefile (common-generated): Set this instead of generated for
35059         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35060         $(all-built-dso)-derived lists.
35061
35062 2012-05-03  Andreas Jaeger  <aj@suse.de>
35063
35064         * sysdeps/i386/fpu/libm-test-ulps: Update.
35065
35066         * FAQ: Removed.
35067         * FAQ.in: Likewise.
35068         * scripts/gen-FAQ.pl: Likewise.
35069         * manual/install.texi (Installation): Point to online location of
35070         FAQ.
35071         * Makefile (files-for-dist): Remove FAQ.
35072         (FAQ): Remove.
35073
35074 2012-05-02  Allan McRae  <allan@archlinux.org>
35075
35076         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35077         (LDFLAGS-reldepmod5.so): Likewise.
35078         (LDFLAGS-reldep6mod1.so): Likewise.
35079         (LDFLAGS-reldep6mod4.so): Likewise.
35080         (LDFLAGS-reldep8mod3.so): Likewise.
35081         (LDFLAGS-unload4mod1.so): Likewise.
35082         (LDFLAGS-unload4mod2.so): Likewise.
35083         (LDFLAGS-tst-initorder): Likewise.
35084         (LDFLAGS-tst-initordera2.so): Likewise.
35085         (LDFLAGS-tst-initordera3.so): Likewise.
35086         (LDFLAGS-tst-initordera4.so): Likewise.
35087         (LDFLAGS-tst-initorderb2.so): Likewise.
35088         (LDFLAGS-noload): Likewise.
35089         (LDFLAGS-next): Likewise.
35090         (LDFLAGS-order2mod1.so): Likewise.
35091         (LDFLAGS-order2mod2.so): Likewise.
35092         (LDFLAGS-tst-initorder2): Likewise.
35093         (LDFLAGS-tst-initorder2a.so): Likewise.
35094         (LDFLAGS-tst-initorder2b.so): Likewise.
35095         (LDFLAGS-tst-initorder2c.so): Likewise.
35096         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35097
35098 2012-05-02  David S. Miller  <davem@davemloft.net>
35099
35100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35101
35102 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35103
35104         [BZ #14055]
35105         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35106
35107 2012-05-02  Andreas Jaeger  <aj@suse.de>
35108
35109         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35110         since we manipulate rounding mode.
35111         (CPPFLAGS-test-idouble.c): Likewise.
35112         (CPPFLAGS-test-ifloat.c): Likewise.
35113         (CFLAGS-test-ldouble.c): Likewise.
35114         (CFLAGS-test-double.c): Likewise.
35115         (CFLAGS-test-float.c): Likewise.
35116         (CFLAGS-test-misc.c): Likewise.
35117         (CFLAGS-test-test-fenv.c): Likewise.
35118
35119 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35120
35121         [BZ #2550]
35122         [BZ #2570]
35123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35124         comparisons to determine direction to adjust input.
35125
35126 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35127
35128         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35129         output to the target.
35130
35131         * scripts/localplt.awk: New file.
35132         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35133         (check-localplt-CFLAGS): Variable removed.
35134         ($(all-built-dso:=.jmprel)): New static pattern rule.
35135         (generated): Add those targets.
35136         (localplt-built-dso): New variable.
35137         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35138
35139         * elf/check-localplt.c: File removed.
35140
35141         * scripts/check-execstack.awk: New file.
35142         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35143         (check-execstack-CFLAGS): Variable removed.
35144         ($(objpfx)check-execstack.h): Target removed.
35145         ($(objpfx)execstack-default): New target.
35146         (generated): Add that instead of check-execstack.h.
35147         ($(all-built-dso:=.phdr)): New static pattern rule.
35148         (generated): Add those targets.
35149         * elf/check-execstack.c: File removed.
35150
35151         * scripts/check-textrel.awk: New file.
35152         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35153         (check-textrel-CFLAGS): Variable removed.
35154         (all-built-dso): Use := to define.o
35155         ($(all-built-dso:=.dyn)): New static pattern rule.
35156         (generated): Add those targets.
35157         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35158         * config.make.in (READELF): New substituted variable.
35159         * elf/check-textrel.c: File removed.
35160
35161 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35162
35163         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35164         allow.
35165         * conform/data/ctype.h-data [C99-based standards] (isblank):
35166         Expect function.
35167         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35168         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35170         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35171         Specify type.  Require positive value.
35172         (EILSEQ): Likewise.
35173         (ERANGE): Likewise.
35174         [ISO || POSIX] (EILSEQ): Do not expect.
35175         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35176         Specify type.  Require positive value.
35177         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35178         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35179         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35180         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35181         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35182         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35183         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35184         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35185         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35190         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35191         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35192         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35193         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35194         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35195         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35196         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35197         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35198         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35199         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35200         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35201         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35202         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35203         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35204         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35205         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35206         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35207         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35208         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35209         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35210         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35211         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35212         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35213         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35214         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35215         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35216         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35217         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35218         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35219         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35220         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35221         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35222         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35223         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35224         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35225         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35226         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35227         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35228         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35229         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35230         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35231         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35232         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35233         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35234         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35235         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35236         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35237         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35238         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35239         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35240         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35241         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35242         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35243         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35244         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35245         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35246         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35247         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35248         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35249         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35250         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35251         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35252         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35253         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35254         Require >= 2.
35255         (FLT_ROUNDS): Expect as macro, not constant.
35256         (FLT_MANT_DIG): Use macro-int-constant.
35257         (DBL_MANT_DIG): Likewise.
35258         (LDBL_MANT_DIG): Likewise.
35259         (FLT_DIG): Likewise.
35260         (DBL_DIG): Likewise.
35261         (LDBL_DIG): Likewise.
35262         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35263         (DBL_MIN_EXP): Likewise.
35264         (LDBL_MIN_EXP): Likewise.
35265         (FLT_MAX_EXP): Use macro-int-constant.
35266         (DBL_MAX_EXP): Likewise.
35267         (LDBL_MAX_EXP): Likewise.
35268         (FLT_MAX_10_EXP): Likewise.
35269         (DBL_MAX_10_EXP): Likewise.
35270         (LDBL_MAX_10_EXP): Likewise.
35271         (FLT_MAX): Use macro-constant.
35272         (DBL_MAX): Likewise.
35273         (LDBL_MAX): Likewise.
35274         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35275         (DBL_EPSILON): Likewise.
35276         (LDBL_EPSILON): Likewise.
35277         (FLT_MIN): Likewise.
35278         (DBL_MIN): Likewise.
35279         (LDBL_MIN): Likewise.
35280         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35281         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35282         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35283         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35284         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35285         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35286         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35287         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35288         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35289         [ISO11] (FLT_TRUE_MIN): Likewise.
35290         [ISO11] (LDBL_TRUE_MIN): Likewise.
35291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35292         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35293         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35294         (SCHAR_MAX): Likewise.
35295         (UCHAR_MAX): Likewise.
35296         (CHAR_MIN): Likewise.
35297         (CHAR_MAX): Likewise.
35298         (MB_LEN_MAX): Use macro-int-constant.
35299         (SHRT_MIN): Use macro-int-constant.  Specify type.
35300         (SHRT_MAX): Likewise.
35301         (USHRT_MAX): Likewise.
35302         (INT_MAX): Likewise.
35303         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35304         bound negative.
35305         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35306         bound with "U".
35307         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35308         bound with "L".
35309         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35310         bound negative.  Suffix upper bound with "L".
35311         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35312         bound with "UL".
35313         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35314         Specify type.
35315         [C99-based standards] (LLONG_MAX): Likewise.
35316         [C99-based standards] (ULLONG_MAX): Likewise.
35317         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35318         == 0.
35319         [ISO11] (max_align_t): Require type.
35320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35321
35322         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35323         from $CFLAGS, without defining away __attribute__ calls.
35324         (checknamespace): Use $CFLAGS_namespace.
35325
35326         * conform/conformtest.pl (@keywords): Only include C99 keywords
35327         for standards based on C99 or C11.
35328
35329         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35330         Disable tests.
35331         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35332         UNIX98]: Likewise.
35333
35334         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35335         usability of symbols in #if.
35336
35337         * conform/conformtest.pl: If macro or constant types start
35338         "promoted:", expect the symbol to be of the following type
35339         promoted by the integer promotions.
35340
35341         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35342         in one place.  Also handle "macro-constant".
35343
35344         * conform/conformtest.pl: Only accept expected macro values with
35345         "==".  Parse all "macro" lines in one place.
35346         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35347
35348         * conform/conformtest.pl: Handle braced types on "constant" lines
35349         instead of handling "typed-constant".
35350         * conform/data/signal.h-data: Use "constant" instead of
35351         "typed-constant".
35352
35353         * conform/conformtest.pl: Handle "optional-" at start of lines in
35354         one place rather than duplicating several cases.  Handle each
35355         format of "macro" line with initial "optional-".
35356
35357         * conform/conformtest.pl: Only accept expected constant or
35358         optional-constant values with "==".  Parse all "constant" lines in
35359         one place.  Parse all "optional-constant" lines in one place.
35360         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35361         * conform/data/fmtmsg.h-data: Likewise.
35362         * conform/data/netinet/in.h-data: Likewise.
35363         * conform/data/tar.h-data: Likewise.
35364         * conform/data/limits.h-data: Use "==" form on "constant" and
35365         "optional-constant" lines.
35366
35367         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35368         Use -std=c99 for XOPEN2K.
35369         (@knownproblems): Remove.
35370         (newtoken): Don't check %isknown.
35371
35372         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35373         Do not expect macro.
35374         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35375         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35376         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35377         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35378         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35379         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35380         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35381         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35382         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35383         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35384         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35385         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35386         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35387         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35388         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35389         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35390         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35391         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35392         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35393         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35394         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35395         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35396         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35398         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35399         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35400         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35401         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35402         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35403         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35404         [XPG3] (acosh): Likewise.
35405         [XPG3] (asinh): Likewise.
35406         [XPG3] (atanh): Likewise.
35407         [XPG3] (cbrt): Likewise.
35408         [XPG3] (expm1): Likewise.
35409         [XPG3] (ilogb): Likewise.
35410         [XPG3] (log1p): Likewise.
35411         [XPG3] (logb): Likewise.
35412         [XPG3] (nextafter): Likewise.
35413         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35414         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35415         [XPG3] (remainder): Likewise.
35416         [XPG3] (rint): Likewise.
35417         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35418         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35419         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35420         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35421         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35422         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35423         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35424         [UNIX98 || XOPEN2K] (scalb): Expect.
35425         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35426         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35427         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35428         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35429         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35430         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35431         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35432         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35433         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35434         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35435         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35436         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35437         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35438         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35439         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35440         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35441         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35442         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35443         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35444         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35445         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35446         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35447         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35448         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35449         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35450         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35451         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35452         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35453         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35454         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35455         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35456         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35457         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35458         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35459         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35460         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35461         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35463         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35464         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35465         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35466         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35467         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35468         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35469         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35470         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35471         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35472         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35473         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35474         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35475         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35476         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35477         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35478         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35481         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35482         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35483         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35484         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35490         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35491         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35492         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35501         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35502         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35503         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35504         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35505         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35506         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35507         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35508         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35509         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35512         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35513         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35515         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35516         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35517         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35518         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35519         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35520         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35521         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35522         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35523         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35524         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35525         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35526         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35527         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35528         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35529         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35530         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35531         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35532         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35533         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35534         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35535         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35536         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35537         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35538         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35539         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35540         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35541         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35542         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35543         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35544         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35545         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35546         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35547         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35548         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35549         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35550         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35551         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35552         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35553         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35554         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35555         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35556         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35557         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35558         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35559         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35560         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35561         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35562
35563         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35564         _XOPEN_SOURCE_EXTENDED for XPG4.
35565
35566         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35567
35568         * Makeconfig (localtime): Remove variable.
35569         (inst_localtime-file): Likewise.
35570
35571 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35572
35573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35574         Update.
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35576         Update.
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35578         Update.
35579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35580         Update.
35581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35582         Update.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35584         Update.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35586         Update.
35587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35588         Update.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35590         Update.
35591
35592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35593
35594         [BZ #2550]
35595         [BZ #2570]
35596         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35597         comparisons to determine direction to adjust input.
35598         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35599         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35601         Likewise.
35602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35603         Likewise.
35604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35605         Likewise.
35606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35608         Likewise.
35609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35610         Likewise.
35611         * math/libm-test.inc (nexttoward_test): Add more tests.
35612
35613 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35614
35615         [BZ #14040]
35616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35617         in version GLIBC_2.1, not GLIBC_2.0.
35618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35619         Likewise.
35620
35621 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35622
35623         [BZ #13942]
35624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35625         (1 - x) * (1 + x).
35626         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35627         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35628         * math/libm-test.inc (acos_test): Add more tests.
35629         (asin_test): Likewise.
35630         * sysdeps/i386/fpu/libm-test-ulps: Update.
35631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35632
35633         [BZ #14034]
35634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35635         of square root.
35636         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35637         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35638         * math/libm-test.inc (acos_test_tonearest): New function.
35639         (acos_test_towardzero): Likewise.
35640         (acos_test_downward): Likewise.
35641         (acos_test_upward): Likewise.
35642         (asin_test_tonearest): Likewise.
35643         (asin_test_towardzero): Likewise.
35644         (asin_test_downward): Likewise.
35645         (asin_test_upward): Likewise.
35646         (main): Call the new functions.
35647         * sysdeps/i386/fpu/libm-test-ulps: Update.
35648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35649
35650         [BZ #13884]
35651         [BZ #13924]
35652         * math/e_exp10.c: Include <float.h>.
35653         (__ieee754_exp10): Handle underflow here rather than multiplying
35654         large negative argument by M_LN10.
35655         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35656         of __ieee754_expf.
35657         * math/e_exp10l.c: Include <float.h>.
35658         (__ieee754_exp10l): Handle underflow here rather than multiplying
35659         large negative argument by M_LN10l.
35660         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35661         spurious overflow exception on underflow.
35662
35663 2012-04-29  Marek Polacek  <polacek@redhat.com>
35664
35665         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35666         (__fortify_function): New macro.
35667         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35668         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35669         __extern_always_inline.
35670         * libio/bits/stdio2.h: Likewise.
35671         * libio/bits/stdio.h: Likewise.
35672         * string/string.h: Likewise.
35673         * string/bits/string3.h: Likewise.
35674         * include/stdio.h: Likewise.
35675         * stdlib/bits/stdlib.h: Likewise.
35676         * stdlib/stdlib.h: Likewise.
35677         * rt/bits/mqueue2.h: Likewise.
35678         * rt/mqueue.h: Likewise.
35679         * posix/bits/unistd.h: Likewise.
35680         * posix/unistd.h: Likewise.
35681         * io/bits/poll2.h: Likewise.
35682         * io/bits/fcntl2.h: Likewise.
35683         * io/fcntl.h: Likewise.
35684         * io/sys/poll.h: Likewise.
35685         * misc/bits/syslog.h: Likewise.
35686         * misc/bits/syslog-ldbl.h: Likewise.
35687         * misc/sys/syslog.h: Likewise.
35688         * socket/bits/socket2.h: Likewise.
35689         * socket/sys/socket.h: Likewise.
35690         * debug/tst-chk1.c: Likewise.
35691         * wcsmbs/bits/wchar2.h: Likewise.
35692         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35693         * wcsmbs/wchar.h: Likewise.
35694
35695 2012-04-29  Andreas Jaeger  <aj@suse.de>
35696
35697         * Makerules (tests): Remove enable-check-abi protection.
35698         (check-abi-warn): Remove.
35699         (check-abi-%): Remove check-abi-warn usage.
35700
35701         * configure.in: Remove check-abi configure option.
35702         * configure: Regenerated.
35703         * config.make.in (enable-check-abi): Remove.
35704
35705 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35706
35707         [BZ #14033]
35708         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35709         double functions to double *_finite functions.
35710
35711         [BZ #13941]
35712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35713         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35714         LDBL_MIN_EXP.
35715         * stdio-common/Makefile (tests): Add tst-sprintf3.
35716         * stdio-common/tst-sprintf3.c: New file.
35717
35718         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35719         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35720
35721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35722
35723         * conform/conformtest.pl: Remove duplicate typed-constant
35724         handling.
35725
35726 2012-04-28  David S. Miller  <davem@davemloft.net>
35727
35728         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35729         (check-abi-%): Remove AWK script prerequisite and explicit
35730         abilist directory.
35731         (check-abi): Rewrite to just diff the symlist with the abilist.
35732         (config-tls, config-abi-config): Delete, no longer used.
35733         (update-abi-%): Remove AWK script and explicit abilist directory.
35734         (update-abi): Rewrite to simply compare and conditionally copy the
35735         symlist and the sysdep abilist file.  Remove update-abi-config
35736         checks.
35737         * abilist/ld.abilist: Remove.
35738         * abilist/libBrokenLocale.abilist: Remove.
35739         * abilist/libanl.abilist: Remove.
35740         * abilist/libcrypt.abilist: Remove.
35741         * abilist/libdl.abilist: Remove.
35742         * abilist/librt.abilist: Remove.
35743         * abilist/libthread_db.abilist: Remove.
35744         * abilist/libutil.abilist: Remove.
35745         * scripts/extract-abilist.awk: Remove.
35746         * scripts/merge-abilist.awk: Remove.
35747         * sysdeps/generic/libcidn.abilist: New file.
35748         * sysdeps/generic/libnss_compat.abilist: New file.
35749         * sysdeps/generic/libnss_db.abilist: New file.
35750         * sysdeps/generic/libnss_dns.abilist: New file.
35751         * sysdeps/generic/libnss_files.abilist: New file.
35752         * sysdeps/generic/libnss_hesiod.abilist: New file.
35753         * sysdeps/generic/libnss_nis.abilist: New file.
35754         * sysdeps/generic/libnss_nisplus.abilist: New file.
35755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35756         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35758         file.
35759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35760         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35761         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35764         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35766         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35768         file.
35769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35770         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35771         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35772         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35773         file.
35774         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35775         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35776         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35777         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35778         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35780         file.
35781         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35783         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35784         file.
35785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35787         New file.
35788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35789         New file.
35790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35791         New file.
35792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35793         New file.
35794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35795         New file.
35796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35797         New file.
35798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35799         New file.
35800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35801         New file.
35802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35803         New file.
35804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35805         New file.
35806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35807         New file.
35808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35809         New file.
35810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35811         New file.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35813         file.
35814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35815         New file.
35816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35817         New file.
35818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35819         file.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35821         New file.
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35823         New file.
35824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35825         file.
35826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35827         New file.
35828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35829         New file.
35830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35831         New file.
35832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35833         New file.
35834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35835         New file.
35836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35837         New file.
35838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35840         file.
35841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35842         New file.
35843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35844         file.
35845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35846         file.
35847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35848         file.
35849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35850         file.
35851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35852         file.
35853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35854         New file.
35855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35856         file.
35857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35858         file.
35859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35860         New file.
35861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35862         file.
35863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35865         file.
35866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35867         New file.
35868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35869         file.
35870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35871         file.
35872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35873         file.
35874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35875         file.
35876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35877         file.
35878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35879         New file.
35880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35881         file.
35882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35883         file.
35884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35885         New file.
35886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35887         file.
35888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35891         file.
35892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35898         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35901         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35904         file.
35905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35906         New file.
35907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35908         file.
35909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35910         file.
35911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35912         file.
35913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35914         file.
35915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35916         file.
35917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35918         New file.
35919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35920         New file.
35921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35922         file.
35923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35924         New file.
35925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35926         file.
35927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35929         file.
35930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35931         New file.
35932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35933         file.
35934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35935         file.
35936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35937         file.
35938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35939         file.
35940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35941         file.
35942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35943         New file.
35944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35945         New file.
35946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35947         file.
35948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35949         New file.
35950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35951         file.
35952
35953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35954
35955         * conform/conformtest.pl: Fix typo in handling typed-constant from
35956         allow-header.
35957
35958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35959
35960         * README: Cut down references to pre-2.6 Linux kernels and
35961         Linuxthreads.  Update lists of configurations in libc and ports
35962         and sort alphabetically.  Say "or newer" with Linux kernel version
35963         requirements.
35964
35965         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35966
35967 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35968
35969         [BZ #887]
35970         * math/libm-test.inc (logb_test_downward): New test to expose
35971         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35972         rounding mode.
35973
35974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35975
35976         [BZ #14027]
35977         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35978         to be done.
35979         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35980         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35981
35982 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35983
35984         * sysdeps/unix/i386/brk.S: Remove file.
35985         * sysdeps/unix/i386/dl-brk.S: Likewise.
35986         * sysdeps/unix/i386/pipe.S: Likewise.
35987         * sysdeps/unix/i386/sigreturn.S: Likewise.
35988         * sysdeps/unix/i386/syscall.S: Likewise.
35989         * sysdeps/unix/i386/vfork.S: Likewise.
35990         * sysdeps/unix/i386/wait.S: Likewise.
35991
35992         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35993         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35994
35995         * configure.in (arm*-none*): Do not allow without
35996         --enable-hacker-mode.
35997         (netbsd*): Remove case setting base_os.
35998         (386bsd*): Likewise.
35999         (freebsd*): Likewise.
36000         (bsdi*): Likewise.
36001         (osf*): Likewise.
36002         (sunos*): Likewise.
36003         (ultrix*): Likewise.
36004         (newsos*): Likewise.
36005         (dynix*): Likewise.
36006         (*bsd*): Likewise.
36007         (sysv*): Likewise.
36008         (isc*): Likewise.
36009         (esix*): Likewise.
36010         (sco*): Likewise.
36011         (minix*): Likewise.
36012         (irix4*): Likewise.
36013         (irix6*): Likewise.
36014         (solaris[2-9]*): Likewise.
36015         (none): Likewise.
36016         * configure: Regenerated.
36017
36018 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36019
36020         [BZ #11521]
36021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36022         overflow or cancellation in calculating denominator.
36023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36025         down expression to avoid unexpected rounding in newer GCCs.
36026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36027
36028 2012-04-26  David S. Miller  <davem@davemloft.net>
36029
36030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36031         long-double compat symbols.
36032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36045
36046 2012-04-25  David S. Miller  <davem@davemloft.net>
36047
36048         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36049         HWCAP_* values only after the memory barriers have been defined.
36050         (atomic_full_barrier): Define.
36051         (atomic_read_barrier): Define.
36052         (atomic_write_barrier): Define.
36053
36054 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36055
36056         * shlib-versions: Add libgcc_s version information.
36057         * sysdeps/generic/libgcc_s.h: Remove.
36058         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36059         libgcc_s.h.
36060         * sysdeps/gnu/unwind-resume.c: Likewise.
36061         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36062
36063 2012-04-25  David S. Miller  <davem@davemloft.net>
36064
36065         * sysdeps/unix/sparc/brk.S: Delete.
36066         * sysdeps/unix/sparc/dl-brk.S: Delete.
36067         * sysdeps/unix/sparc/pipe.S: Delete.
36068         * sysdeps/unix/sparc/sysdep.S: Delete.
36069         * sysdeps/unix/sparc/sysdep.h: Delete.
36070         * sysdeps/unix/sparc/vfork.S: Delete.
36071         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36072         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36074         (ret_ERRVAL, r0, r1, MOVE): Define.
36075         (JUMPTARGET): Remove.
36076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36077         sysdeps/unix/sparc/sysdep.h
36078         (ENTRY, END): Remove.
36079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36080
36081 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36082
36083         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36084         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36085         -DIS_IN_build.
36086
36087         * timezone/README: Update upstream location and email address for
36088         tzcode and tzdata.
36089         * timezone/zdump.c: Update from tzcode 2012b.
36090         * timezone/zic.c: Likewise.
36091
36092         * configure.in (libc_cv_as_needed): Remove test.
36093         * configure: Regenerated.
36094         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36095         conditional definition.
36096         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36097         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36098         * config.make.in (have-as-needed): Remove variable.
36099
36100 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36101             Paul Pluzhnikov  <ppluzhnikov@google.com>
36102
36103         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36104         strings correctly.
36105
36106 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36107
36108         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36109         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36110         * sysdeps/sh/strlen.S: Likewise.
36111
36112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36113
36114         * sysdeps/unix/fork.S: Remove file.
36115         * sysdeps/unix/i386/fork.S: Likewise.
36116         * sysdeps/unix/sparc/fork.S: Likewise.
36117
36118         * sysdeps/unix/system.c: Remove file.
36119         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36120
36121         * sysdeps/unix/getegid.S: Remove file.
36122         * sysdeps/unix/geteuid.S: Likewise.
36123
36124 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36125
36126         * scripts/check-localplt.awk: New file.
36127         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36128         of diff.
36129         * scripts/data/localplt-generic.data: Add a comment.
36130
36131         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36132         NODE when __dir_mkfile failed.
36133         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36134         Reported by Ludovic Courtès <ludo@gnu.org>.
36135
36136 2012-04-24  Andreas Jaeger  <aj@suse.de>
36137
36138         * Makerules (common-clean): Also remove gen-as-const-headers
36139         files.
36140
36141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36142
36143         * Makerules (native-compile): Do not change working directory for
36144         build.  Use $(OUTPUT_OPTION) in command.
36145         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36146
36147 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36148
36149         [BZ #13886]
36150         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36151         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36152         * math/libm-test.inc (floor_test): Add more tests.
36153         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36154
36155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36156
36157         * sysdeps/unix/getdents.c: Remove file.
36158         * sysdeps/unix/sysv/getdents.c: Likewise.
36159         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36160
36161         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36162         sysdeps/unix/mman/syscalls.list.
36163         (mmap): Likewise.
36164         (mprotect): Likewise.
36165         (msync): Likewise.
36166         (munmap): Likewise.
36167         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36168         * sysdeps/unix/mman/syscalls.list: Remove.
36169         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36170
36171         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36172         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36173         * configure: Regenerated.
36174         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36175         $(libgcc_s_suffix).
36176         * config.make.in (libgcc_s_suffix): Remove variable.
36177
36178 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36179
36180         * sysdeps/unix/sysv/gethostname.c: Move to ...
36181         * sysdeps/posix/gethostname.c: ... here.
36182
36183         * sysdeps/unix/execve.S: Remove file.
36184
36185         * sysdeps/unix/_exit.S: Remove file.
36186
36187 2012-04-23  Andreas Jaeger  <aj@suse.de>
36188
36189         [BZ #13739]
36190         * manual/Makefile: Remove make dist support, there's no
36191         need for a stand-alone documentation tar ball.
36192         (TEXI2DVI): Define always, it's not in Makeconfig.
36193         (dist): Removed.
36194         (tar-it): Removed.
36195         (edition): Removed.
36196         (glibc-doc-$(edition).tar): Removed
36197         (%.Z): Removed.
36198         (%.gz): Removed.
36199         (%.uu): Removed.
36200         (ETAGS): Remove, it's in Makeconfig.
36201         (move-if-change): Remove, it's in Makeconfig.
36202
36203 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36204
36205         [BZ #13970]
36206         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36207         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36208         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36209         (strtod_l, strtof_l, strtold_l): Remove __wur.
36210         It is not necessarily an error to ignore strtol's return value.
36211         One can reliably look at the stored endptr to decide whether
36212         the number had valid syntax.
36213
36214 2012-04-21  Andreas Jaeger  <aj@suse.de>
36215
36216         [BZ #13739]
36217         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36218
36219 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36220
36221         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36222         * sysdeps/unix/sysv/Versions: Remove file.
36223
36224 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36225
36226         [BZ #13927]
36227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36228
36229 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36230
36231         [BZ #7064]
36232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36233         version from __vm86.
36234
36235 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36236
36237         * sysdeps/unix/common/lxstat.c: Remove file.
36238         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36239
36240         * sysdeps/unix/sysv/Makefile: Remove file.
36241
36242         * sysdeps/unix/sysv/direct.h: Remove file.
36243
36244         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36245         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36246         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36247         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36248         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36249         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36250         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36251
36252         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36253
36254         * sysdeps/unix/xmknod.c: Remove file.
36255         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36256
36257         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36258
36259         * sysdeps/unix/sysv/i386/time.S: Remove file.
36260
36261         * sysdeps/unix/fxstat.c: Remove file.
36262         * sysdeps/unix/xstat.c: Likewise.
36263         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36264
36265         * sysdeps/unix/sysv/sigaction.c: Remove file.
36266
36267         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36268         (sysdep_headers): Remove variable.
36269         [termio.h not in sysdep_headers] (generated): Likewise.
36270         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36271         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36272         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36273         * sysdeps/unix/sysv/tcflow.c: Likewise.
36274         * sysdeps/unix/sysv/tcflush.c: Likewise.
36275         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36276         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36277         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36278         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36279         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36280
36281         * sysdeps/unix/siglist.c: Remove file.
36282
36283         * sysdeps/unix/getppid.S: Remove file.
36284
36285         * sysdeps/unix/mkdir.c: Remove file.
36286         * sysdeps/unix/rmdir.c: Likewise.
36287
36288 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36289
36290         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36291         ERR_MAX value.
36292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36293         errlist-compat value.
36294
36295 2012-04-18  David S. Miller  <davem@davemloft.net>
36296
36297         * sysdeps/generic/memcopy.h (reg_char): Delete.
36298         * debug/strcat_chk.c: Use char, not reg_char.
36299         * debug/strcpy_chk.c: Likewise.
36300         * debug/strncat_chk.c: Likewise.
36301         * debug/strncpy_chk.c: Likewise.
36302         * string/memchr.c: Likewise.
36303         * string/memrchr.c: Likewise.
36304         * string/rawmemchr.c: Likewise.
36305         * string/strcat.c: Likewise.
36306         * string/strchr.c: Likewise.
36307         * string/strchrnul.c: Likewise.
36308         * string/strcmp.c: Likewise.
36309         * string/strcpy.c: Likewise.
36310         * string/strncat.c: Likewise.
36311         * string/strncmp.c: Likewise.
36312         * string/strncpy.c: Likewise.
36313
36314 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36315
36316         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36317         __builtin_memcopy is called when src and dest ranges are known to not
36318         overlap.
36319
36320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36321
36322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36323         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36324         fwd_align_merge macro call.
36325         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36326         bwd_align_merge macro call.
36327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36328
36329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36330
36331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36332         bwd_align_merge macros.
36333         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36334         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36336
36337 2012-04-18  David S. Miller  <davem@davemloft.net>
36338
36339         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36340
36341 2012-04-18  Andreas Jaeger  <aj@suse.de>
36342
36343         [BZ# 6794]
36344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36345         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36347
36348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36351
36352         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36353         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36354         Adjust for changed ldbl-128 files.
36355
36356         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36357         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36359
36360 2012-04-17  David S. Miller  <davem@davemloft.net>
36361
36362         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36363
36364 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36365
36366         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36367         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36368         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36369         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36370         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36371         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36372
36373 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36374
36375         [BZ #6794]
36376         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36377         * math/libm-test.inc: Add ilogb errno and exception tests.
36378         * math/w_ilogb.c: New file: ilogb wrapper.
36379         * math/w_ilogbf.c: New file: ilogbf wrapper.
36380         * math/w_ilogbl.c: New file: ilogbl wrapper.
36381         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36382         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36383         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36384         exception being thrown with 0.0 as argument.
36385         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36386         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36387         exception being thrown with 0.0 as argument.
36388         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36389         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36390         exception being thrown with 0.0 as argument.
36391         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36392         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36393         exception being thrown with 0.0 as argument.
36394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36395         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36397         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36400         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36401         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36402         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36403
36404 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36405
36406         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36407         with altivec.
36408
36409 2012-04-16  Marek Polacek  <polacek@redhat.com>
36410
36411         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36412
36413 2012-04-16  Marek Polacek  <polacek@redhat.com>
36414
36415         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36416         operands of fdivp instruction.
36417
36418 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36419
36420         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36421         * elf/tst-auditmod3b.c: Likewise.
36422         * elf/tst-auditmod4b.c: Likewise.
36423         * elf/tst-auditmod5b.c: Likewise.
36424         * elf/tst-auditmod6b.c: Likewise.
36425         * elf/tst-auditmod6c.c: Likewise.
36426         * elf/tst-auditmod7b.c: Likewise.
36427         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36428         * sysdeps/x86_64/preconfigure.in: Likewise.
36429         * sysdeps/x86_64/preconfigure: Regenerated.
36430
36431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36432
36433         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36434         __ILP32__.
36435
36436 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36437
36438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36439         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36440
36441 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36442
36443         [BZ #13973]
36444         * locale/iso-639.def: Fix gl language name. Spotted by
36445         Yaron Shahrabani.
36446
36447 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36448
36449         [BZ #2074]
36450         * libio/libio.h (__io_write_fn): Update comment.
36451
36452 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36453
36454         [BZ #2074]
36455         * stdio.texi (Hook Functions): The user provided writer function
36456         is not allowed to return -1.
36457
36458 2012-04-11  David S. Miller  <davem@davemloft.net>
36459
36460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36461
36462 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36463
36464         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36465         Add a leading slash to rtkaio.
36466
36467 2012-04-11  Jim Meyering  <meyering@redhat.com>
36468
36469         [BZ #11959]
36470         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36471         It is not necessarily an error to ignore fwrite's return
36472         value.  One can reliably use ferror to test for errors after
36473         the fact.
36474
36475 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36476
36477         * bits/types.h (__snseconds_t): New type.
36478         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36479
36480         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36482         (__SNSECONDS_T_TYPE): Likewise.
36483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36484         (__SNSECONDS_T_TYPE): Likewise.
36485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36486         (__SNSECONDS_T_TYPE): Likewise.
36487
36488 2012-04-10  Andreas Jaeger  <aj@suse.de>
36489
36490         [BZ #2636]
36491         * manual/time.texi (Processor Time): Return type of times is
36492         elapsed real time since an arbitrary point in the past.
36493         (CPU Time): Move CLK_TCK from here...
36494         (Processor Time): ...to here.  Correct description.
36495         * manual/conf.texi (Constants for Sysconf): Correct description of
36496         _SC_CLK_TCK.
36497
36498 2012-04-10  David S. Miller  <davem@davemloft.net>
36499
36500         [BZ #13967]
36501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36502         where the is a gap between DT_REL(A) and DT_JMPREL.
36503
36504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36505
36506         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36507         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36508         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36509
36510 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36511
36512         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36513         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36514         (dl_main): Handle --inhibit-cache.
36515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36516         _dl_inhibit_cache.
36517         * elf/dl-load.c (_dl_map_object): Use it.
36518         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36519
36520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36521
36522         [BZ #13872]
36523         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36524         (__ieee754_powl): Saturate large exponents rather than testing for
36525         overflow of y*log2(x).
36526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36527         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36528         exceptions.
36529
36530         [BZ #11521]
36531         * math/s_ctan.c: Include <float.h>.
36532         (__ctan): Avoid internal overflow or cancellation in calculating
36533         denominator.
36534         * math/s_ctanf.c: Likewise.
36535         * math/s_ctanl.c: Likewise.
36536         * math/s_ctanh.c: Likewise.
36537         * math/s_ctanhf.c: Likewise.
36538         * math/s_ctanhl.c: Likewise.
36539         * math/libm-test.inc (ctan_test): Add more tests.
36540         (ctanh_test): Likewise.
36541         * sysdeps/i386/fpu/libm-test-ulps: Update.
36542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36543
36544 2012-04-09  Andreas Jaeger  <aj@suse.de>
36545
36546         [BZ #6894]
36547         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36548         is an optional BSD extension.
36549
36550         [BZ #10254]
36551         * manual/stdio.texi (Opening Streams): Document additional fopen
36552         parameters.
36553
36554 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36555
36556         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36557         %eax without telling the compiler.
36558
36559 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36560
36561         [BZ # 13963]
36562         * manual/install.texi: Use sourceware.org.
36563
36564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36565
36566         [BZ #13873]
36567         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36568         (__ieee754_pow): Generate overflow and underflow using huge*huge
36569         and tiny*tiny rather than just returning constant infinity or zero
36570         for large exponents.
36571         * math/libm-test.inc (pow_test): Require overflow exceptions for
36572         applicable cases of large exponents.
36573
36574         [BZ #706]
36575         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36576         (__ieee754_pow): Use iterative multiplication algorithm only for
36577         integer exponents with absolute value below 1024.  Check for odd
36578         integer exponents when using algorithm for real exponents.
36579         * math/libm-test.inc (pow_test): Add more tests.
36580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36581
36582 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36583
36584         [BZ #13705]
36585         * math/libm-test.inc (exp_test): Do not allow overflow exception
36586         on underflow test.
36587
36588 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36589
36590         [BZ #13705]
36591         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36592         instead of __kernel_standard_f.
36593
36594 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36595
36596         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36597         * sysdeps/x86_64/memset_chk.S: Likewise.
36598
36599 2012-04-08  Andreas Jaeger  <aj@suse.de>
36600
36601         [BZ #10153]
36602         * manual/startup.texi (Environment Access): Describe return value
36603         for putenv and setenv.
36604
36605         [BZ #6895]
36606         * manual/filesys.texi (Directory Entries): Add description for
36607         DT_LNK.
36608
36609         [BZ #6890]
36610         * manual/filesys.texi (Directory Entries): Clarify that it's file
36611         system not operating system in the description of DT_UNKNOWN.
36612
36613         [BZ #6578]
36614         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36615
36616 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36617
36618         [BZ #6649]
36619         * manual/llio.texi (Opening and Closing Files): Add cross
36620         reference to explain mode argument.
36621
36622 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36623
36624         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36625         * sysdeps/x86_64/memset_chk.S: Likewise.
36626
36627 2012-04-07  David S. Miller  <davem@davemloft.net>
36628
36629         * elf/elf.h (R_SPARC_WDISP10): Define.
36630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36631         R_SPARC_SIZE32.
36632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36633         R_SPARC_SIZE64 and R_SPARC_H34.
36634
36635 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36636
36637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36638         conditions and remove no longer applicable assertion.
36639
36640 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36641
36642         * bits/byteswap.h: Include <features.h>.
36643         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36644         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36645
36646 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36647
36648         * bits/byteswap.h (__bswap_16): Removed.
36649         Include <bits/byteswap-16.h> to get __bswap_16.
36650         * sysdeps/i386/bits/byteswap.h: Likewise.
36651         * sysdeps/s390/bits/byteswap.h: Likewise.
36652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36653         * bits/byteswap-16.h: New file.
36654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36655         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36656         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36657         * string/Makefile (headers): Add bits/byteswap-16.h.
36658
36659 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36660
36661         [BZ #13895]
36662         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36663         extra indirection.
36664         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36665         * nss/tst-nss-static.c: New.
36666
36667 2012-04-06  Robert Millan  <rmh@gnu.org>
36668
36669         [BZ #6486]
36670         * manual/llio.texi (File Position Primitive): lseek
36671         refers to WHENCE when it really means OFFSET.
36672
36673 2012-04-06  Andreas Jaeger  <aj@suse.de>
36674
36675         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36676         strncmp declarations.
36677
36678         * abilist/libc.abilist: Add __poll and __ppoll.
36679
36680 2012-04-05  David S. Miller  <davem@davemloft.net>
36681
36682         * scripts/check-local-headers.sh: Accept a host triplet in the
36683         path matched by the exclude regexp.
36684
36685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36686         definition.
36687         * sysdeps/powerpc/powerpc32/dl-machine.h
36688         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36689         * sysdeps/s390/s390-32/dl-machine.h
36690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36691         * sysdeps/sparc/sparc32/dl-machine.h
36692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36693         * sysdeps/sparc/sparc64/dl-machine.h
36694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36695
36696         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36697         lazy binding.
36698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36699         undefined symbol errors.
36700
36701         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36702         DT_NEEDED entries.
36703
36704 2012-04-05  Michael Matz  <matz@suse.de>
36705
36706         [BZ #13592]
36707         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36708
36709 2012-04-05  Andreas Jaeger  <aj@suse.de>
36710
36711         [BZ #13908]
36712         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36713         comment.
36714
36715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36716
36717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36718         which ROUND is no valid rounding mode.
36719
36720 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36721
36722         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36723         read again.
36724         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36725
36726 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36727
36728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36729         an exception using FPU order intentionally.
36730
36731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36732
36733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36734         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36735         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36736         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36737
36738 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36739
36740         [BZ #12340]
36741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36742         EINVAL when BUFLEN is too smal.
36743
36744 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36745
36746         [BZ #13553]
36747         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36748         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36749
36750 2012-04-03  Andreas Jaeger  <aj@suse.de>
36751
36752         [BZ #13938]
36753         * manual/setjmp.texi (System V contexts): Fix sentence.
36754
36755         [BZ #13926]
36756         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36757         New macro for this case.
36758         [!__GNUC__] (__bswap_64): New inline function for this case.
36759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36760         * bits/byteswap.h: Likewise.
36761         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36762         ull, guard with __GLIBC_HAVE_LONG_LONG.
36763
36764         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36765         __GLIBC_HAVE_LONG_LONG.
36766
36767         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36768         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36769
36770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36771
36772         [BZ #13691]
36773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36774         inptr and inend, rather than using last_ch.
36775
36776 2012-04-02  David S. Miller  <davem@davemloft.net>
36777
36778         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36779         * stdio-common/printf-parse.h (read_int): Change return type to
36780         'int', return -1 on INT_MAX overflow.
36781         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36782         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36783         overflows INT_MAX.  Check for overflow of in-format-string precision
36784         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36785         SIZE_MAX not INT_MAX for integer overflow test.
36786         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36787         skip the construct in the format string but do not record anything.
36788         * stdio-common/bug22.c: Adjust to test both width/prevision
36789         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36790         explicitly for proper errno values.
36791
36792 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36793
36794         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36795         CHAR_MAX.
36796         * string/test-strcmp.c [! WIDE]: Likewise.
36797         * time/tst-mktime2.c: Likewise for INT_MAX.
36798         * string/test-string.h: #include <sys/param.h> for MIN.
36799
36800         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36801         * sysdeps/i386/init-first.c (init): Likewise.
36802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36803         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36804         * sysdeps/sh/init-first.c (init): Likewise.
36805
36806 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36807
36808         * po/ru.po: Update from translation team.
36809         * po/vi.po: Likewise.
36810
36811 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36812
36813         * resolv/nss_dns/dns-host.c: Merge copyright years.
36814
36815 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36816
36817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36818         Optimize memcpy with prefetch if
36819         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36820         src, dst pointers have unequal 16 byte alignments.
36821
36822 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36823
36824         [BZ #13928]
36825         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36826         from a CNAME entry and return the minimum ttl for the query.
36827         (gaih_getanswer_slice): Likewise.
36828
36829 2012-03-30  Jeff Law  <law@redhat.com>
36830
36831         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36832         due to long keys.
36833         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36834         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36835
36836         * resolv/nss_dns/dns-host.c: Update copyright year.
36837
36838 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36839
36840         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36841         requests to save a system call.  Fix check that all bytes are sent.
36842
36843         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36844         comments for sendmmsg.
36845
36846 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36847
36848         [BZ #13691]
36849         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36850         with only 1 character between 0x0041 and 0x01b0.
36851         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36852         * wcsmbs/tst-mbsnrtowcs.c: New file.
36853
36854 2012-03-29  David S. Miller  <davem@davemloft.net>
36855
36856         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36857         small copies by hand.
36858
36859 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36860
36861         [BZ #13761]
36862         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36863         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36864         group memberships.
36865
36866 2012-03-28  David S. Miller  <davem@davemloft.net>
36867
36868         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36869         that branches into memcpy.
36870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36875         bits.
36876         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36877         implementation too.
36878         * sysdeps/sparc/mempcpy.S: New file.
36879
36880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36881         the IFUNC routine in the libc case.
36882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36883
36884         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36885         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36886         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36887         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36888         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36889         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36890         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36891         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36892
36893         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36894         loop to 256 bytes instead of 64 bytes and fix test signedness.
36895
36896         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36897         * sysdeps/sparc/sparc32/Makefile: rather than here...
36898         * sysdeps/sparc/sparc64/Makefile: and here.
36899
36900 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36901
36902         * malloc/mallocbug.c: Avoid warnings about unused variables.
36903
36904 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36905
36906         [BZ #13760]
36907         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36908         in the right place. Discard and retry query if response is
36909         larger than input buffer size.
36910
36911 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36912
36913         [BZ #369]
36914         [BZ #2678]
36915         [BZ #3866]
36916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36917         x for large integer exponent.
36918         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36919         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36920         sign of result as needed afterwards.
36921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36923         result for underflowing pow the same as for overflow.
36924         (__kernel_standard_l): Handle powl overflow and underflow here
36925         rather than calling __kernel_standard.
36926         * math/libm-test.inc (pow_test): Add more tests.
36927
36928         [BZ #3868]
36929         [BZ #13879]
36930         [BZ #13910]
36931         [BZ #13911]
36932         [BZ #13912]
36933         [BZ #13913]
36934         [BZ #13915]
36935         [BZ #13916]
36936         [BZ #13917]
36937         [BZ #13918]
36938         [BZ #13919]
36939         [BZ #13920]
36940         [BZ #13921]
36941         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36942         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36943         (__kernel_standard_l): New function.
36944         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36945         __kernel_standard.
36946         * math/w_acosl.c (__acosl): Likewise.
36947         * math/w_asinl.c (__asinl): Likewise.
36948         * math/w_atan2l.c (__atan2l): Likewise.
36949         * math/w_atanhl.c (__atanhl): Likewise.
36950         * math/w_coshl.c (__coshl): Likewise.
36951         * math/w_exp10l.c (__exp10l): Likewise.
36952         * math/w_exp2l.c (__exp2l): Likewise.
36953         * math/w_fmodl.c (__fmodl): Likewise.
36954         * math/w_hypotl.c (__hypotl): Likewise.
36955         * math/w_j0l.c (__j0l, __y0l): Likewise.
36956         * math/w_j1l.c (__j1l, __y1l): Likewise.
36957         * math/w_jnl.c (__jnl, __ynl): Likewise.
36958         * math/w_lgammal.c (__lgammal): Likewise.
36959         * math/w_log10l.c (__log10l): Likewise.
36960         * math/w_log2l.c (__log2l): Likewise.
36961         * math/w_logl.c (__logl): Likewise.
36962         * math/w_powl.c (__powl): Likewise.
36963         * math/w_remainderl.c (__remainderl): Likewise.
36964         * math/w_scalbl.c (sysv_scalbl): Likewise.
36965         * math/w_sinhl.c (__sinhl): Likewise.
36966         * math/w_sqrtl.c (__sqrtl): Likewise.
36967         * math/w_tgammal.c (__tgammal): Likewise.
36968         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36969         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36970         * math/libm-test.inc (acos_test): Add more tests.
36971         (acosh_test): Likewise.
36972         (asin_test): Likewise.
36973         (atanh_test): Likewise.
36974         (exp_test): Likewise.
36975         (exp10_test): Likewise.
36976         (exp2_test): Likewise.
36977         (expm1_test): Likewise.
36978         (lgamma_test): Likewise.
36979         (log_test): Likewise.
36980         (log10_test): Likewise.
36981         (log1p_test): Likewise.
36982         (log2_test): Likewise.
36983         (pow_test): Do not allow some spurious overflow exceptions.
36984         (sqrt_test): Add more tests.
36985         (tgamma_test): Likewise.
36986         (y0_test): Likewise.
36987         (y1_test): Likewise.
36988         (yn_test): Likewise.
36989
36990 2012-03-27  Anton Blanchard  <anton@samba.org>
36991
36992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36993         MAP_HUGETLB.
36994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36997
36998 2012-03-27  David S. Miller  <davem@davemloft.net>
36999
37000         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37001
37002         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37003         have-as-vis3 check.
37004
37005 2012-03-27  Andreas Jaeger  <aj@suse.de>
37006
37007         * sysdeps/x86_64/elf/configure.in: Moved to ...
37008         * sysdeps/x86_64/configure.in: ... here.
37009         * sysdeps/x86_64/elf/start.S: Moved to ...
37010         * sysdeps/x86_64/start.S: ... here.
37011         * sysdeps/x86_64/elf/configure: Delete.
37012
37013         * sysdeps/x86_64/configure.in: Merge contents from
37014         sysdeps/i386/configure.in (without i686 check).
37015
37016         * sysdeps/i386/elf/Versions: Merge into ...
37017         * sysdeps/i386/Versions: ... this.
37018         * sysdeps/i386/elf/Versions: Delete file.
37019         * sysdeps/i386/elf/start.S: Moved to ...
37020         * sysdeps/i386/start.S: ...here.
37021         * sysdeps/i386/elf/configure.in: Merge into...
37022         * sysdeps/i386/configure.in: ...here.
37023         * sysdeps/i386/elf/configure.in: Delete file.
37024         * sysdeps/i386/elf/configure: Delete file.
37025
37026         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37027         * debug/backtracesyms.c: ... here.
37028         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37029         * debug/backtracesymsfd.c: ... here.
37030         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37031         * sysdeps/generic/ifunc-sel.h: ... here.
37032
37033         * sysdeps/unix/i386/start.c: Delete file.
37034         * sysdeps/unix/sparc/start.c: Delete file.
37035         * sysdeps/unix/start.c: Delete file.
37036
37037         * sysdeps/sh/elf/configure.in: Moved to ...
37038         * sysdeps/sh/configure.in: ... here.
37039         * sysdeps/sh/elf/start.S: Moved to ...
37040         * sysdeps/sh/start.S: ... here.
37041         * sysdeps/sh/elf/configure: Delete file.
37042
37043         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37044         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37045         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37046         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37047         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37048         * sysdeps/powerpc/powerpc64/start.S: here.
37049         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37050         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37051         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37052         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37053         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37054
37055         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37056         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37057         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37058         * sysdeps/powerpc/powerpc32/start.S: ... here.
37059         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37060         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37061         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37062
37063         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37064         * sysdeps/powerpc/ifunc-sel.h: ... here.
37065         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37066         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37067
37068         * sysdeps/sparc/elf/configure.in: Moved to ...
37069         * sysdeps/sparc/configure.in: ... here.
37070         * sysdeps/sparc/elf/configure: Delete file.
37071         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37072         * sysdeps/sparc/sparc32/start.S: ... here.
37073         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37074         * sysdeps/sparc/sparc64/start.S: ... here.
37075         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37076         * sysdeps/sparc/sparc32/Makefile: ... this.
37077         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37078         * sysdeps/sparc/sparc64/Makefile: ... this.
37079
37080         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37081         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37082         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37083         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37084         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37085         * sysdeps/s390/s390-32/setjmp.S: ... here.
37086         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37087         * sysdeps/s390/s390-32/configure.in: ... here.
37088         * sysdeps/s390/s390-32/elf/configure: Delete file.
37089         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37090         * sysdeps/s390/s390-32/start.S: ... here.
37091
37092         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37093         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37094         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37095         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37096         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37097         * sysdeps/s390/s390-64/setjmp.S: ... here.
37098         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37099         * sysdeps/s390/s390-64/configure.in: ... here
37100         * sysdeps/s390/s390-64/elf/configure: Delete file.
37101         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37102         * sysdeps/s390/s390-64/start.S: ... here.
37103         * sysdeps/s390/s390-64/elf/configure: Delete.
37104
37105         * configure.in: Remove support for elf directories in sysdeps.
37106
37107         * configure: Regenerated.
37108         * sysdeps/i386/configure: Regenerated.
37109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37110         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37111         * sysdeps/s390/s390-32/configure: Regenerated.
37112         * sysdeps/s390/s390-64/configure: Regenerated.
37113         * sysdeps/sh/configure: Regenerated.
37114         * sysdeps/sparc/configure: Regenerated.
37115         * sysdeps/x86_64/configure: Regenerated.
37116
37117 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37118
37119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37120
37121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37122         denormal result into account.
37123
37124 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37125
37126         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37127         Reported by Allan McRae <allan@archlinux.org>.
37128
37129 2012-03-23  Jeff Law  <law@redhat.com>
37130
37131         * nss/getnssent.c (__nss_getent): Fix typo.
37132
37133 2012-03-23  David S. Miller  <davem@davemloft.net>
37134
37135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37136
37137 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37138
37139         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37140         to pad to uint64_t for each field.
37141         (dl_tls_index): Replace unsigned long with uint64_t.
37142
37143 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37144         Paul Pluzhnikov  <ppluzhnikov@google.com>
37145
37146         [BZ #6528]
37147         * grp/Makefile (otherlibs): Don't set it.
37148         * inet/Makefile (otherlibs): Likewise.
37149         * login/Makefile (otherlibs): Likewise.
37150         * nscd/Makefile (otherlibs): Likewise.
37151         * posix/Makefile (otherlibs): Likewise.
37152         * pwd/Makefile (otherlibs): Likewise.
37153         * rt/Makefile (otherlibs): Likewise.
37154         * sunrpc/Makefile (otherlibs): Likewise.
37155         * nss/Makefile (otherlibs): Likewise.
37156         Add libnss_files to routines and static-only-routines.
37157         ($(objpfx)getent): Remove rule.
37158         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37159         static-only-routines.
37160
37161 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37162
37163         [BZ #13892]
37164         * math/s_cexp.c: Include <float.h>.
37165         (__cexp): Handle exp result overflowing not necessarily
37166         overflowing both real and imaginary parts of result.
37167         * math/s_cexpf.c: Likewise.
37168         * math/s_cexpl.c: Likewise.
37169         * math/libm-test.inc (cexp_test): Add more tests.
37170         * sysdeps/i386/fpu/libm-test-ulps: Update.
37171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37172
37173 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37174
37175         * include/link.h (ELFW): New macro.
37176         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37177         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37178
37179 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37180
37181         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37182         with uint64_t.
37183
37184 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37185
37186         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37187         declaration.
37188         (struct La_x32_retval): Likewise.
37189
37190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37191
37192         * sysdeps/x86_64/preconfigure.in: New file.
37193         * sysdeps/x86_64/preconfigure: New generated file.
37194
37195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37196
37197         [BZ #13824]
37198         * math/e_exp2l.c: Include <float.h>.
37199         (__ieee754_exp2l): Handle overflow and underflow cases
37200         separately.  Only pass fractional part of argument to
37201         __ieee754_expl.
37202         * math/libm-test.inc (exp2_test): Add more tests.
37203
37204         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37205         negating x to take absolute value.
37206         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37207         Likewise.
37208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37210         Likewise.
37211         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37212         computing low part if x was negated.
37213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37214
37215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37216
37217         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37218         la_x32_gnu_pltexit.
37219         (pltexit): Cast int_retval to ptrdiff_t.
37220         * elf/tst-auditmod3b.c: Likewise.
37221         * elf/tst-auditmod4b.c: Likewise.
37222         * elf/tst-auditmod5b.c: Likewise.
37223         * elf/tst-auditmod6b.c: Likewise.
37224         * elf/tst-auditmod6c.c: Likewise.
37225         * elf/tst-auditmod7b.c: Likewise.
37226
37227         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37228         and x32_gnu_pltexit.
37229
37230         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37231         __ELF_NATIVE_CLASS.
37232         (La_x32_regs): New macro.
37233         (La_x32_retval): Likewise.
37234         (la_x32_gnu_pltenter): New function prototype.
37235         (la_x32_gnu_pltexit): Likewise.
37236
37237 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37238
37239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37240         exponent.
37241
37242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37243
37244         * configure.in (libc_cv_cc_nofma): Check for option to disable
37245         generation of FMA instructions.
37246         * configure: Regenerate.
37247         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37248         * sysdeps/ieee754/dbl-64/Makefile: New file.
37249         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37250         Remove brandred-fma4.
37251         (CFLAGS-brandred-fma4.c): Remove.
37252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37254         define.
37255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37256         define.
37257
37258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37259
37260         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37261         LLONG_MAX != LONG_MAX.
37262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37263         (_fitoa_word): Likewise.
37264         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37265         LLONG_MAX != LONG_MAX.
37266         * stdio-common/_itowa.h: Include <_itoa.h>.
37267         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37268         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37269         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37270         only if not defined.
37271         (_ITOA_WORD_TYPE): Likewise.
37272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37273         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37274
37275 2012-03-21  David S. Miller  <davem@davemloft.net>
37276
37277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37278
37279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37280
37281         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37282         of x86_64 when setting libc_cv_slibdir, libdir and
37283         libc_cv_localedir.
37284         * sysdeps/unix/sysv/linux/configure: Regenerated.
37285
37286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37287
37288         * manual/lang.texi (Old Varargs): Remove section.
37289         (How Variadic): Update menu.
37290         (va_start): Do not mention varargs.h.
37291
37292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37293             Joseph Myers  <joseph@codesourcery.com>
37294
37295         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37296         link test.
37297         * configure: Regenerated.
37298
37299 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37300
37301         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37302         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37303         conformtest.pl
37304
37305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37306
37307         * NOTES: Remove.
37308         * Makefile (files-for-dist): Remove NOTES.
37309         (NOTES): Remove rule.
37310         * README: Don't refer to NOTES.
37311         * manual/creature.texi: Don't include macros.texi.
37312         * manual/intro.texi (creature.texi): Remove comment referring to
37313         NOTES.
37314
37315         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37316         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37317         * configure: Regenerated.
37318         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37319         LIBC_TRY_CC_OPTION.
37320         (libc_cv_as_i686): Likewise.
37321         (libc_cv_cc_avx): Likewise.
37322         (libc_cv_cc_sse2avx): Likewise.
37323         (libc_cv_cc_fma4): Likewise.
37324         (libc_cv_cc_novzeroupper): Likewise.
37325         * sysdeps/i386/configure: Regenerated.
37326
37327         [BZ #13883]
37328         * sysdeps/i386/fpu/s_cexp.S: Remove.
37329         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37331         * math/libm-test.inc (cexp_test): Add more tests.
37332         * sysdeps/i386/fpu/libm-test-ulps: Update.
37333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37334
37335 2012-03-21  Allan McRae  <allan@archlinux.org>
37336
37337         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37338
37339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37340
37341         [BZ #13871]
37342         * math/w_exp2.c: Do not include <float.h>.
37343         (o_threshold, u_threshold): Remove.
37344         (__exp2): Calculate result before checking finiteness and calling
37345         __kernel_standard.
37346         * math/w_exp2f.c: Likewise.
37347         * math/w_exp2l.c: Likewise.
37348         * math/libm-test.inc (exp2_test): Require overflow exception for
37349         1e6 input.
37350
37351         [BZ #3866]
37352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37353         range of signed 64-bit integers before using fistpll.  Remove
37354         checks for whether integers fit in mantissa bits.
37355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37356         the range of signed 32-bit integers before using fistpl.  Remove
37357         checks for whether integers fit in mantissa bits.
37358         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37359         (__ieee754_powl): Test for y outside the range of signed 64-bit
37360         integers before using fistpll.  Reduce 64-bit values to 63-bit
37361         ones as needed.
37362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37363         divide-by-zero is raised for zero to large negative powers.
37364         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37365         (__ieee754_powl): Test for y outside the range of signed 64-bit
37366         integers before using fistpll.  Reduce 64-bit values to 63-bit
37367         ones as needed.
37368         * math/libm-test.inc (pow_test): Add more tests.
37369
37370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37371
37372         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37373         <stdio-common/_itoa.h>.
37374         * debug/segfault.c: Likewise.
37375         * elf/dl-cache.c: Likewise.
37376         * elf/dl-minimal.c: Likewise.
37377         * elf/dl-misc.c: Likewise.
37378         * elf/dl-sysdep.c: Likewise.
37379         * elf/dl-version.c: Likewise.
37380         * elf/rtld.c: Likewise.
37381         * hurd/hurdsock.c: Likewise.
37382         * hurd/lookup-retry.c: Likewise.
37383         * malloc/malloc.c: Likewise.
37384         * malloc/mtrace.c: Likewise.
37385         * nscd/nscd_getgr_r.c: Likewise.
37386         * nscd/nscd_getpw_r.c: Likewise.
37387         * nscd/nscd_getserv_r.c: Likewise.
37388         * posix/getopt_init.c: Likewise.
37389         * posix/wordexp.c: Likewise.
37390         * stdio-common/_itoa.c: Likewise.
37391         * stdio-common/printf_fphex.c: Likewise.
37392         * stdio-common/vfprintf.c: Likewise.
37393         * string/_strerror.c: Likewise.
37394         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37395         * sysdeps/i386/i686/hp-timing.h: Likewise.
37396         * sysdeps/mach/_strerror.c: Likewise.
37397         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37398         * sysdeps/mach/hurd/sethostid.c: Likewise.
37399         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37400         * sysdeps/mach/xpg-strerror.c: Likewise.
37401         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37403         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37404         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37406         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37408         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37409         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37410         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37411         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37413         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37415         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37417         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37418         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37421         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37422
37423         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37424
37425         * stdio-common/_itoa.h: Moved to ...
37426         * sysdeps/generic/_itoa.h: Here.
37427
37428         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37429
37430         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37431         instead of "_itoa.h" and "_itowa.h".
37432         * stdio-common/vfprintf.: Likewise.
37433
37434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37435
37436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37437         <bits/wordsize.h>.
37438         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37439         (__signbit): Likwise.
37440         (llrintf): Likwise.
37441         (llrint): Likwise.
37442
37443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37444
37445         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37446         __WORDSIZE != 64.
37447
37448 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37449
37450         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37451         OVERFLOW_EXCEPTION_OK.
37452         * math/libm-test.inc ("Philosophy"): Update comment about
37453         exception testing.
37454         (OVERFLOW_EXCEPTION): Define.
37455         (OVERFLOW_EXCEPTION_OK): Likewise.
37456         (INVALID_EXCEPTION_OK): Renumber.
37457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37458         (IGNORE_ZERO_INF_SIGN): Likewise.
37459         (test_exceptions): Handle FE_OVERFLOW.
37460         (exp10_test): Expect overflow exceptions.
37461         (exp2_test): Likewise.
37462         (expm1_test): Likewise.
37463         (nextafter_test): Likewise.
37464         (pow_test): Likewise.
37465         (scalbn_test): Likewise.
37466         (scalbln_test): Likewise.
37467
37468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37469
37470         * sysdeps/x86_64/bits/atomic.h
37471         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37472         64bit integer.
37473         (atomic_exchange_acq): Likewise.
37474         (__arch_exchange_and_add_body): Likewise.
37475         (__arch_add_body): Likewise.
37476         (atomic_add_negative): Likewise.
37477         (atomic_add_zero): Likewise.
37478
37479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37480
37481         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37482         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37483
37484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37485
37486         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37487         Check __x86_64__ instead of __WORDSIZE.
37488
37489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37490
37491         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37492
37493 2012-03-19  David S. Miller  <davem@davemloft.net>
37494
37495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37496
37497         * sysdeps/sparc/fpu/fenv_private.h: New file.
37498         * sysdeps/sparc/fpu/math_private.h: Use it.
37499         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37500         Remove.
37501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37502         (libc_feholdexcept_setroundl): Remove.
37503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37504         Remove.
37505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37507
37508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37509
37510         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37511         int64_t instead of long int.
37512         (INSERT_WORDS64): Likwise.
37513
37514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37515
37516         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37517         _Unwind_GetCFA return to _Unwind_Ptr first.
37518
37519 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37520
37521         [BZ #13629]
37522         * math/s_clog.c: Include <float.h>.
37523         (__clog): Scale large or subnormal inputs.
37524         * math/s_clogf.c: Likewise.
37525         * math/s_clogl.c: Likewise.
37526         * math/s_clog10.c: Include <float.h>.
37527         (M_LOG10_2): Define.
37528         (__clog10): Scale large or subnormal inputs.
37529         * math/s_clog10f.c: Likewise.
37530         * math/s_clog10l.c: Likewise.
37531         * math/libm-test.inc (clog_test): Add more tests.
37532         (clog10_test): Likewise.
37533         * sysdeps/i386/fpu/libm-test-ulps: Update.
37534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37535
37536         [BZ #11451]
37537         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37538         x and y.
37539         * math/libm-test.inc (atan2_test): Add another test.
37540
37541         * Makerules (common-objdir-compile): Remove.
37542         * sysdeps/unix/Makefile (config-generated): Do not add
37543         $(unix-generated) to variable.
37544         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37545         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37546         Remove rule.
37547         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37548         Likewise.
37549         [generic bits/local_lim.h] (before-compile): Do not append to
37550         variable.
37551         [generic bits/local_lim.h] (common-generated): Likewise.
37552         [generic sys/param.h] (before-compile): Do not append to variable.
37553         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37554         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37555         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37556         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37557         include.
37558         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37559         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37560         [generic sys/param.h] ($(addprefix
37561         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37562         [generic sys/param.h] (common-generated): Do not append to
37563         variable.
37564         [generic sys/param.h] (sysdep_headers): Likewise.
37565         [generic bits/errno.h] (before-compile): Do not append to
37566         variable.
37567         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37568         rule.
37569         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37570         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37571         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37572         [generic bits/errno.h] (common-generated): Do not append to
37573         variable.
37574         [generic bits/ioctls.h] (before-compile): Do not append to
37575         variable.
37576         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37577         rule.
37578         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37579         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37580         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37581         rule.
37582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37583         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37584         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37585         [generic bits/ioctls.h] (common-generated): Do not append to
37586         variable.
37587         [generic sys/syscall.h] (syscall.h): Remove variable.
37588         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37589         rule.
37590         [generic sys/syscall.h] (before-compile): Do not append to
37591         variable.
37592         [generic sys/syscall.h] (common-generated): Likewise.
37593         * sysdeps/unix/errnos-tmpl.c: Remove file.
37594         * sysdeps/unix/errnos.awk: Likewise.
37595         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37596         * sysdeps/unix/ioctls.awk: Likewise.
37597         * sysdeps/unix/mk-local_lim.c: Likewise.
37598         * sysdeps/unix/snarf-ioctls: Likewise.
37599
37600 2012-03-19  Richard Henderson  <rth@twiddle.net>
37601
37602         * sysdeps/i386/fpu/fenv_private.h: New file.
37603         * sysdeps/i386/fpu/math_private.h: Use it.
37604         (math_opt_barrier, math_force_eval): Remove.
37605         (libc_feholdexcept_setround_53bit): Remove.
37606         (libc_feupdateenv_53bit): Remove.
37607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37608         (math_opt_barrier, math_force_eval): Remove.
37609         (libc_feholdexcept): Remove.
37610         (libc_feholdexcept_setround): Remove.
37611         (libc_fetestexcept, libc_fesetenv): Remove.
37612         (libc_feupdateenv_test): Remove.
37613         (libc_feupdateenv, libc_feholdsetround): Remove.
37614         (libc_feresetround): Remove.
37615
37616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37617         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37618
37619         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37620         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37621         (libc_feupdateenv_testl): New.
37622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37623         (libc_feupdateenv_testf): New.
37624         (libc_feupdateenv): Use libc_feupdateenv_test.
37625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37627
37628         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37629         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37630         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37631         (libc_feresetround_noex): New.
37632         (libc_feresetround_noexf): New.
37633         (libc_feresetround_noexl): New.
37634         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37635         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37636         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37638         SET_RESTORE_ROUND.
37639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37641         (__cos): Likewise.
37642         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37644         SET_RESTORE_ROUND_NOEX.
37645         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37646         SET_RESTORE_ROUND_NOEXF.
37647         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37648         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37649         (libc_feholdsetroundf): New.
37650         (libc_feresetround, libc_feresetroundf): New.
37651
37652         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37653         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37654         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37655
37656         * sysdeps/generic/math_private.h: Include <fenv.h>.
37657         (default_libc_feholdexcept): New.
37658         (default_libc_feholdexcept_setround): New.
37659         (default_libc_fesetenv, default_libc_feupdateenv): New.
37660         (libc_feholdexcept): Only define if undefined.
37661         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37662         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37663         (libc_feholdexcept_setroundl): Likewise.
37664         (libc_feholdexcept_setround_53bit): Likewise.
37665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37666         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37667         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37668         (libc_feupdateenv_53bit): Likewise.
37669         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37670         (libc_feholdexcept): Convert from macro to inline function.
37671         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37672         (libc_fesetenv, libc_feupdateenv): Likewise.
37673
37674         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37675         not previously defined.
37676         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37677         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37678         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37680         * sysdeps/ieee754/flt-32/math_private.h: New file.
37681         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37682         math_private.h below SET_FLOAT_WORD.
37683         (__isnan, __isinf_ns, __finite): Remove.
37684         (__isnanf, __isinf_nsf, __finitef): Remove.
37685
37686 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37687
37688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37689
37690 2012-03-17  David S. Miller  <davem@davemloft.net>
37691
37692         [BZ #6471]
37693         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37694         for 2.16.
37695
37696 2012-03-16  David S. Miller  <davem@davemloft.net>
37697
37698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37699         warnings.
37700
37701         [BZ #6471]
37702         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37703         properly.
37704         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37705         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37706         sysdep_routines when subdir is sysvipc.
37707         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37708         __getshmlba helper.
37709
37710         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37711
37712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37713
37714         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37715         [__LP64__].
37716
37717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37718
37719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37720         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37721         (__lround): Renamed to ...
37722         (__llround): This.  Replace long int with long long int.
37723         Define lround functions as aliases of llround functions.
37724         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37725
37726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37727
37728         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37729         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37730         adresses to uintptr_t.  Replace "long int" and "unsigned long
37731         int" with "greg_t" on va_arg.
37732
37733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37734
37735         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37736         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37737
37738         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37739         Move e_machine check before EI_CLASS check.  Handle x32
37740         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37741         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37742         SKIP_EM_IA_64 and include
37743         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37744
37745         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37746         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37747         (add_system_dir): New macro.
37748
37749         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37750         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37751
37752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37753
37754         [BZ #2551]
37755         [BZ #2552]
37756         [BZ #2553]
37757         [BZ #2554]
37758         [BZ #2562]
37759         [BZ #2563]
37760         [BZ #2565]
37761         [BZ #2566]
37762         [BZ #2576]
37763         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37764         (y0): Likewise.
37765         * math/w_j0f.c (j0f): Likewise.
37766         (y0f): Likewise.
37767         * math/w_j0l.c (__j0l): Likewise.
37768         (__y0l): Likewise.
37769         * math/w_j1.c (j1): Likewise.
37770         (y1): Likewise.
37771         * math/w_j1f.c (j1f): Likewise.
37772         (y1f): Likewise.
37773         * math/w_j1l.c (__j1l): Likewise.
37774         (__y1l): Likewise.
37775         * math/w_jn.c (jn): Likewise.
37776         (yn): Likewise.
37777         * math/w_jnf.c (jnf): Likewise.
37778         (ynf): Likewise.
37779         * math/w_jnl.c (__jnl): Likewise.
37780         (__ynl): Likewise.
37781         * math/libm-test.inc (j0_test): Add more tests.
37782         (j1_test): Likewise.
37783         (jn_test): Likewise.  Add trailing semicolon to existing test.
37784         (y0_test): Likewise.
37785         (y1_test): Likewise.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37788
37789         [BZ #13851]
37790         [BZ #13854]
37791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37792         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37793         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37795         (__tanl): Set errno for infinite argument.
37796         * sysdeps/i386/fpu/mptan.c: Remove.
37797         * sysdeps/i386/fpu/s_tan.S: Likewise.
37798         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37799         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37800         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37801         * math/libm-test.inc (tan_test): Add more tests and enable more
37802         tests for double and long double.
37803         * sysdeps/i386/fpu/libm-test-ulps: Update.
37804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37805
37806 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37807
37808         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37809         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37810
37811 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37812
37813         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37814         * configure.in: Use it for both main tree and add-ons.
37815         * configure: Regenerated.
37816
37817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37818
37819         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37820
37821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37822
37823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37824         in comment.
37825
37826         [BZ #13851]
37827         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37828         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37830         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37831         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37832         infinite argument.
37833         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37835         != 0 for prec == 2.
37836         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37837         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37838         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37839         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37840         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37841         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37842         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37843         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37844         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37845         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37846         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37847         * math/libm-test.inc (cos_test): Add more tests and enable more
37848         tests for long double.
37849         (sin_test): Likewise.
37850         (sincos_test): Likewise.
37851         * sysdeps/i386/fpu/libm-test-ulps: Update.
37852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37853
37854 2012-03-16  David S. Miller  <davem@davemloft.net>
37855
37856         * sysdeps/sparc/fpu/math_private.h: New file.
37857
37858 2012-03-15  David S. Miller  <davem@davemloft.net>
37859
37860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37861         file.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37864         file.
37865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37871         sysdep routines.
37872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37873
37874         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37875         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37876
37877         * sysdeps/sparc/sparc-ifunc.h: New file.
37878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37879         sparc-ifunc.h
37880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37882         Likewise.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37884         Likewise.
37885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37889         Likewise.
37890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37895         Likewise.
37896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37897         Likewise.
37898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37920         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37922
37923 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37924
37925         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37926         scaling.
37927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37928
37929 2012-03-15  Andreas Jaeger  <aj@suse.de>
37930
37931         [BZ #13852]
37932         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37933         ieee754/flt-32 implementation for sin, cos and sincos.
37934         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37935         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37936         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37937         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37938         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37939         ieee754/flt-32 implementation for tan.
37940
37941         * math/libm-test.inc (cos_test): Enable some large input tests for
37942         float as well
37943         (sin_test): Likewise.
37944         (sincos_test): Likewise.
37945         (tan_test): Add tests for large input.
37946
37947         * sysdeps/i386/fpu/libm-test-ulps: Update.
37948
37949 2012-03-15  Andreas Jaeger  <aj@suse.de>
37950
37951         [BZ #13658]
37952         * math/libm-test.inc (cos_test): Add more test cases.
37953         (sin_test): Likewise.
37954         (sincos_test): Likewise.
37955
37956 2012-03-15  Andreas Jaeger  <aj@suse.de>
37957
37958         [BZ #13837]
37959         * math/libm-test.inc (cos_test): Add a test case for large input
37960         value.
37961         (sin_test): Likewise.
37962         (sincos_test): Likewise.
37963
37964 2012-03-15  Andreas Jaeger  <aj@suse.de>
37965             Joseph Myers  <joseph@codesourcery.com>
37966
37967         [BZ #13658]
37968         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37969         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37970         * sysdeps/i386/fpu/branred.c: Likewise.
37971         * sysdeps/i386/fpu/dosincos.c: Likewise.
37972         * sysdeps/i386/fpu/mpa.c: Likewise.
37973         * sysdeps/i386/fpu/s_cos.S: Likewise.
37974         * sysdeps/i386/fpu/s_sin.S: Likewise.
37975         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37976         * sysdeps/i386/fpu/sincos32.c: Likewise.
37977
37978         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37979         Define.
37980         (libc_feupdateenv_53bit): Define.
37981         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37982         Define.
37983         (libc_feupdateenv_53bit): Define.
37984
37985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37986         53 bit (without extend i386 double precision).
37987
37988         * math/libm-test.inc (sincos_test): Add tests for large input.
37989         (sin): Likewise.
37990         (cos): Likewise.
37991
37992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37993
37994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37995
37996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37997
37998 2012-03-15  David S. Miller  <davem@davemloft.net>
37999
38000         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38001         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38002         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38003         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38016         file.
38017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38019         file.
38020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38022         file.
38023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38025         file.
38026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38028         fmin/fmax sysdep routines.
38029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38030
38031 2012-03-14  David S. Miller  <davem@davemloft.net>
38032
38033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38062         routines.
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38064         file.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38067         file.
38068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38070         file.
38071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38073         file.
38074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38076         file.
38077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38079         file.
38080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38081         file.
38082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38083         file.
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38085         file.
38086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38087         New file.
38088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38089         file.
38090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38091         file.
38092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38094         file.
38095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38097         file.
38098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38100         file.
38101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38103         VIS3 routines.
38104
38105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38106         New file.
38107
38108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38109
38110         * sysdeps/sparc/configure.in: New file.
38111         * sysdeps/sparc/configure: Generate.
38112         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38113         * configure: Regenerate.
38114         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38115         * config.make.in (have-as-vis3): New.
38116         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38117         available use -Av9d instead of -Av9a.
38118         * sysdeps/sparc/sparc64/Makefile: Likewise.
38119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38121         New file.
38122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38123         file.
38124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38125         New file.
38126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38127         file.
38128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38133
38134         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38135         fzeros/fnegs to load 0x80000000 into a float register instead of
38136         using the stack.
38137         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38138
38139 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38140
38141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38142         bits/syscall.h.
38143         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38144         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38145         ($(inst_includedir)/bits/syscall.h): Remove rule.
38146         ($(objpfx)bits/syscall.d): Include instead of
38147         $(objpfx)syscall-list.d.
38148         (generated): Change syscall-list.h and syscall-list.d to
38149         bits/syscall.h and bits/syscall.d.
38150
38151 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38152
38153         [BZ #13846]
38154         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38155
38156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38157
38158         [BZ #13841]
38159         * math/s_csqrt.c: Include <float.h>.
38160         (__csqrt): Scale large or subnormal inputs.
38161         * math/s_csqrtf.c: Likewise.
38162         * math/s_csqrtl.c: Likewise.
38163         * math/libm-test.inc (csqrt_test): Add more tests.
38164         * sysdeps/i386/fpu/libm-test-ulps: Update.
38165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38166
38167         [BZ #13840]
38168         * math/libm-test.inc (hypot_test): Add more tests.
38169
38170 2012-03-13  David S. Miller  <davem@davemloft.net>
38171
38172         [BZ #13840]
38173         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38174         double-precision for the calculation instead of scaling.
38175
38176 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38177
38178         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38179         manipulate bits before adding and subtracting TWO52[sx].
38180         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38181         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38182         Likewise.
38183         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38184
38185 2012-03-13  David S. Miller  <davem@davemloft.net>
38186
38187         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38188         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38190         rtld-global-offsets.h
38191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38192
38193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38194         large parameters.
38195
38196         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38197
38198         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38199         'err' in the ifdef scope in which it is actually used.
38200
38201         * nss/nss_db/db-init.c: Include string.h
38202
38203 2012-03-12  David S. Miller  <davem@davemloft.net>
38204
38205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38206         masking out of the most significant byte of random value used.
38207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38208         Fix coding style in previous change.
38209
38210         * sysdeps/unix/sysv/linux/kernel-features.h
38211         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38212         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38213         expression.
38214         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38215         later.
38216
38217 2012-03-11  David S. Miller  <davem@davemloft.net>
38218
38219         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38220         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38222         for 'resultvar' otherwise things get truncated on 64-bit.
38223
38224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38225         Fix masking out of the most significant byte of random value used.
38226
38227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38228
38229 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38230
38231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38232
38233 2012-03-09  David S. Miller  <davem@davemloft.net>
38234
38235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38236         variables with appropriate CPP guards.
38237         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38238         from the frame pointer, not the stack pointer.  Correct layout
38239         comments.  Fix test on resulting framesize and the management of
38240         the outregs buffer for pltexit.  Preserve floating point return
38241         values across _dl_call_pltexit call.
38242         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38243         framesize and the management of the outregs buffer for pltexit.
38244         Preserve floating point return values across _dl_call_pltexit
38245         call.
38246         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38247         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38248         (la_sparc64_gnu_pltexit): New functions.
38249         (print_exit): Fix format string for return register value.
38250
38251 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38252
38253         * sunrpc/Makefile (others): Add rpcgen.
38254         ($(objpfx)rpcgen): Remove special build rule and dependency on
38255         libc.
38256         * sunrpc/rpcgen.c: New file.
38257
38258 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38259
38260         [BZ #13673]
38261         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38262         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38263         * sysdeps/i386/crti.S: Likewise.
38264         * sysdeps/i386/crtn.S: Likewise.
38265         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38266         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38267         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38268         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38269         * sysdeps/sh/crti.S: Likewise.
38270         * sysdeps/sh/crtn.S: Likewise.
38271         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38272
38273         [BZ #13673]
38274         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38275         with URL.
38276         * locale/programs/locfile-kw.gperf: Likewise.
38277         * locale/programs/charmap-kw.h: Regenerated.
38278         * locale/programs/locfile-kw.h: Likewise.
38279
38280         [BZ #13673]
38281         * intl/plural.y: Replace FSF snail mail address with URL.
38282         * intl/plural.c: Regenerated.
38283
38284 2012-03-09  Richard Henderson  <rth@twiddle.net>
38285
38286         * include/math_private.h: Remove file.
38287         * math/math_private.h: Move file ...
38288         * sysdeps/generic/math_private.h: ... here.
38289
38290         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38291         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38293
38294         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38295         and <math_private.h>.
38296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38336         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38342         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38347         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38348         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38349         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38350         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38351         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38352         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38355         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38357         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38359         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38360         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38375         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38408         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38410         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38419         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38423         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38425         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38426         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38428         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38429         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38430         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38434         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38438         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38439         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38440         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38441         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38442         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38443         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38444         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38445         * sysdeps/ieee754/k_standard.c: Likewise.
38446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38452         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38463         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38467         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38472         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38473         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38474         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38476         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38477         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38555         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38557         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38559         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38560         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38562         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38585         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38589         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38592         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38594         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38595         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38597         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38602         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38603         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38605         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38606         * sysdeps/ieee754/s_lib_version.c: Likewise.
38607         * sysdeps/ieee754/s_matherr.c: Likewise.
38608         * sysdeps/ieee754/s_signgam.c: Likewise.
38609         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38610         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38611         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38612         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38613         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38615         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38616         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38617         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38618         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38620         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38623         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38630
38631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38632
38633         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38634         * sunrpc/rpc_main.c: Likewise.
38635         * sunrpc/rpc_svcout.c: Likewise.
38636
38637 2012-03-09  David S. Miller  <davem@davemloft.net>
38638
38639         * include/math_private.h: New file.
38640
38641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38642
38643         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38644         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38645         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38646         from <bits/socket_type.h>.
38647         (enum __socket_type): Don't define here.
38648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38650         bits/socket_type.h.
38651
38652         [BZ #13566]
38653         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38654         checking __USE_GNU.
38655
38656         * Makerules ($(inst_includedir)/%.h): New rule.
38657         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38658         (install-others): Remove variable setting.
38659         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38660
38661 2012-03-08  Richard Henderson  <rth@twiddle.net>
38662
38663         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38664         from macro to inline function; merge with the
38665         !__LIBC_INTERNAL_MATH_INLINES version.
38666         (__ieee754_sqrtf): Likewise.
38667
38668         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38669         to inline function.
38670         (__rintf, __floor, __floorf): Likewise.
38671
38672         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38673         macro to inline function.
38674         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38675
38676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38677         not <math/math_private.h>.
38678
38679 2012-03-08  David S. Miller  <davem@davemloft.net>
38680
38681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38682         copyright year.
38683         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38684
38685 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38686
38687         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38688         normalization.
38689         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38690         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38691
38692 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38693
38694         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38695         be defined individually, they must be defined as a block.  Define
38696         S for printing a string instead of hidint the different by using a
38697         macro for adding the 'l'.
38698         * stdio-common/tst-fphex-wide.c: Adjust.
38699
38700 2012-03-07  Marek Polacek  <polacek@redhat.com>
38701
38702         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38703
38704 2012-03-08  Marek Polacek  <polacek@redhat.com>
38705
38706         [BZ #13806]
38707         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38708         * stdio-common/tst-fphex.c: Define a few macros to make the
38709         test reusable.  Use them.
38710         * stdio-common/tst-fphex-wide.c: New file.
38711
38712 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38713
38714         [BZ #6911]
38715         * manual/macros.texi (gnusystems): New macro.
38716         (nongnusystems): Likewise.
38717         (gnulinuxhurdsystems): Likewise.
38718         (gnuhurdsystems): Likewise..
38719         (gnulinuxsystems): Likewise.
38720         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38721         variants of the GNU system, not "GNU system".
38722         * manual/conf.texi: Likewise.
38723         * manual/errno.texi: Likewise.  Update example of errno macro
38724         expansion.
38725         * manual/filesys.texi: Likewise.
38726         (getumask): Document as specific to GNU/Hurd.
38727         * manual/install.texi: Likewise.  Reword some references to
38728         GNU/Linux.
38729         * manual/intro.texi: Likewise.
38730         * manual/io.texi: Likewise.
38731         (File Name Portability): Detail which constraints are inapplicable
38732         to all GNU systems and which are only inapplicable to GNU/Hurd.
38733         * manual/job.texi: Likewise.
38734         * manual/llio.texi: Likewise.
38735         (O_NOCTTY): Document as present on GNU/Linux.
38736         * manual/maint.texi: Likewise.
38737         * manual/memory.texi: Likewise.
38738         * manual/pattern.texi: Likewise.
38739         * manual/pipe.texi: Likewise.
38740         * manual/process.texi: Likewise.
38741         * manual/resource.texi: Likewise.
38742         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38743         child on GNU/Hurd.
38744         * manual/setjmp.texi: Likewise.
38745         * manual/signal.texi: Likewise.
38746         * manual/startup.texi: Likewise.
38747         * manual/stdio.texi: Likewise.
38748         * manual/terminal.texi: Likewise.
38749         (ONLCR): Document as POSIX.
38750         (OXTABS): Document availability on GNU/Linux as XTABS.
38751         (ONOEOT): Document availability separately from other bits.
38752         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38753         * manual/time.texi: Likewise.
38754         * manual/users.texi: Likewise.
38755         * INSTALL: Regenerated.
38756         * sysdeps/gnu/errlist.c: Regenerated.
38757
38758         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38759         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38760         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38761         puts.
38762         * configure: Regenerated.
38763
38764 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38765
38766         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38767         default includes instead of AC_HEADER_CHECK.
38768         * sysdeps/i386/configure: Regenerated.
38769
38770         [BZ #10716]
38771         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38772         * math/s_cacoshf.c (__cacoshf): Likewise.
38773         * math/s_cacoshl.c (__cacoshl): Likewise.
38774         * math/s_casinh.c (__casinh): Set signs of result from argument.
38775         * math/s_casinhf.c (__casinhf): Likewise.
38776         * math/s_casinhl.c (__casinhl): Likewise.
38777         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38778         (casinh_test): Add more tests.
38779         * sysdeps/i386/fpu/libm-test-ulps: Update.
38780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38781
38782 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38783
38784         * po/zh_TW.po: Update from translation team.
38785
38786         * login/Makefile (distribute): Remove variable.
38787         * catgets/Makefile: Likewise.
38788         * mach/Makefile: Likewise.
38789         * malloc/Makefile: Likewise.
38790         * misc/Makefile: Likewise.
38791         * iconv/Makefile: Likewise.
38792         * nscd/Makefile: Likewise.
38793         * hurd/Makefile: Likewise.
38794         * manual/Makefile: Likewise.
38795         * locale/Makefile: Likewise.
38796         * intl/Makefile: Likewise.
38797         * conform/Makefile: Likewise.
38798         * nss/Makefile: Likewise.
38799         * time/Makefile: Likewise.
38800         * soft-fp/Makefile: Likewise.
38801         * dirent/Makefile: Likewise.
38802         * gmon/Makefile: Likewise.
38803         * po/Makefile: Likewise.
38804         * rt/Makefile: Likewise.
38805         * socket/Makefile: Likewise.
38806         * math/Makefile: Likewise.
38807         * signal/Makefile: Likewise.
38808         * debug/Makefile: Likewise.
38809         * elf/Makefile: Likewise.
38810         * timezone/Makefile: Likewise.
38811         * stdlib/Makefile: Likewise.
38812         * iconvdata/Makefile: Likewise.
38813         * sunrpc/Makefile: Likewise.
38814         * io/Makefile: Likewise.
38815         * argp/Makefile: Likewise.
38816         * inet/Makefile: Likewise.
38817         * hesiod/Makefile: Likewise.
38818         * grp/Makefile: Likewise.
38819         * csu/Makefile: Likewise.
38820         * wctype/Makefile: Likewise.
38821         * crypt/Makefile: Likewise.
38822         * libio/Makefile: Likewise.
38823         * string/Makefile: Likewise.
38824         * nis/Makefile: Likewise.
38825         * resolv/Makefile: Likewise.
38826         * stdio-common/Makefile: Likewise.
38827         * wcsmbs/Makefile: Likewise.
38828         * dlfcn/Makefile: Likewise.
38829         * posix/Makefile: Likewise.
38830
38831         [BZ #6959]
38832         * timezone/Makefile: Don't install timezone files, just the programs
38833         and scripts.
38834
38835 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38836
38837         * nss/databases.def: Add missing gshadow entry.
38838
38839         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38840
38841 2012-03-06  Marek Polacek  <polacek@redhat.com>
38842
38843         [BZ #13726]
38844         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38845         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38846         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38847         * stdio-common/tst-long-dbl-fphex.c: New file.
38848
38849 2012-03-06  David S. Miller  <davem@davemloft.net>
38850
38851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38852         (set_obp_int): New function.
38853         (get_obp_int): New function.
38854         (__get_clockfreq_via_dev_openprom): Likewise.
38855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38856         Avoid unused variable warnings on 'val' and use builtin_expect.
38857         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38858         __builtin_expect.
38859         (INLINE_CLONE_SYSCALL): Likewise.
38860
38861 2012-03-05  David S. Miller  <davem@davemloft.net>
38862
38863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38864
38865 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38866
38867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38868
38869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38870         only for |x| >= 40.
38871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38872
38873 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38874
38875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38876         Replace gettimeofday with __vdso_gettimeofday.
38877
38878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38879         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38880         __vdso_clock_gettime and __vdso_getcpu.
38881
38882         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38883         time with __vdso_time.
38884
38885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38886
38887         * manual/lang.texi (size_t): Note types to which size_t may be
38888         equivalent with the GNU C Library, but do not describe when
38889         differences between them are significant.
38890
38891 2012-03-05  Andreas Jaeger  <aj@suse.de>
38892
38893         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894
38895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38896
38897         [BZ #3976]
38898         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38899         (__ieee754_pow): Save and restore rounding mode and use
38900         round-to-nearest for main computations.
38901         * math/libm-test.inc (pow_test_tonearest): New function.
38902         (pow_test_towardzero): Likewise.
38903         (pow_test_downward): Likewise.
38904         (pow_test_upward): Likewise.
38905         (main): Call the new functions.
38906         * sysdeps/i386/fpu/libm-test-ulps: Update.
38907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38908
38909         [BZ #3976]
38910         * math/libm-test.inc (cosh_test_tonearest): New function.
38911         (cosh_test_towardzero): Likewise.
38912         (cosh_test_downward): Likewise.
38913         (cosh_test_upward): Likewise.
38914         (sinh_test_tonearest): Likewise.
38915         (sinh_test_towardzero): Likewise.
38916         (sinh_test_downward): Likewise.
38917         (sinh_test_upward): Likewise.
38918         (main): Call the new functions.
38919         * sysdeps/i386/fpu/libm-test-ulps: Update.
38920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38921
38922 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38923
38924         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38925         default stack guard is set in last bytes.
38926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38927
38928 2012-03-05  Kees Cook  <keescook@chromium.org>
38929
38930         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38931
38932         [BZ #13656]
38933         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38934         possibly allocate from heap instead of stack.
38935         * stdio-common/bug-vfprintf-nargs.c: New file.
38936         * stdio-common/Makefile (tests): Add nargs overflow test.
38937
38938 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38939
38940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38941
38942 2012-03-03  Marek Polacek  <polacek@redhat.com>
38943
38944         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38945         * math/math_private.h: Likewise.
38946         * stdlib/tst-strtod.c: Likewise.
38947         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38948         * sysdeps/x86_64/bits/atomic.h: Likewise.
38949
38950 2012-03-02  David S. Miller  <davem@davemloft.net>
38951
38952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38956         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38957         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38958         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38959         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38960
38961 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38962
38963         [BZ #13792]
38964         * manual/examples/README: New file, says the example source files
38965         can be used under GPL>=2.
38966         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38967         line containing just "*/".
38968         * manual/examples/add.c: Add copyright header (GPL>=2).
38969         * manual/examples/argp-ex1.c: Likewise.
38970         * manual/examples/argp-ex2.c: Likewise.
38971         * manual/examples/argp-ex3.c: Likewise.
38972         * manual/examples/argp-ex4.c: Likewise.
38973         * manual/examples/atexit.c: Likewise.
38974         * manual/examples/db.c: Likewise.
38975         * manual/examples/dir.c: Likewise.
38976         * manual/examples/dir2.c: Likewise.
38977         * manual/examples/execinfo.c: Likewise.
38978         * manual/examples/filecli.c: Likewise.
38979         * manual/examples/filesrv.c: Likewise.
38980         * manual/examples/fmtmsgexpl.c: Likewise.
38981         * manual/examples/genpass.c: Likewise.
38982         * manual/examples/inetcli.c: Likewise.
38983         * manual/examples/inetsrv.c: Likewise.
38984         * manual/examples/isockad.c: Likewise.
38985         * manual/examples/longopt.c: Likewise.
38986         * manual/examples/memopen.c: Likewise.
38987         * manual/examples/memstrm.c: Likewise.
38988         * manual/examples/mkfsock.c: Likewise.
38989         * manual/examples/mkisock.c: Likewise.
38990         * manual/examples/mygetpass.c: Likewise.
38991         * manual/examples/pipe.c: Likewise.
38992         * manual/examples/popen.c: Likewise.
38993         * manual/examples/rprintf.c: Likewise.
38994         * manual/examples/search.c: Likewise.
38995         * manual/examples/select.c: Likewise.
38996         * manual/examples/setjmp.c: Likewise.
38997         * manual/examples/sigh1.c: Likewise.
38998         * manual/examples/sigusr.c: Likewise.
38999         * manual/examples/stpcpy.c: Likewise.
39000         * manual/examples/strdupa.c: Likewise.
39001         * manual/examples/strftim.c: Likewise.
39002         * manual/examples/strncat.c: Likewise.
39003         * manual/examples/subopt.c: Likewise.
39004         * manual/examples/swapcontext.c: Likewise.
39005         * manual/examples/termios.c: Likewise.
39006         * manual/examples/testopt.c: Likewise.
39007         * manual/examples/testpass.c: Likewise.
39008         * manual/examples/timeval_subtract.c: Likewise.
39009
39010         [BZ #13792]
39011         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39012         function to ...
39013         * manual/timeval_subtract.c.texi: ... here, new file.
39014
39015 2012-03-02  David S. Miller  <davem@davemloft.net>
39016
39017         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39018
39019 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39020
39021         [BZ #3976]
39022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39023         (__sin): Save and restore rounding mode and use round-to-nearest
39024         for all computations.
39025         (__cos): Save and restore rounding mode and use round-to-nearest
39026         for all computations.
39027         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39028         <fenv.h>.
39029         (tan): Save and restore rounding mode and use round-to-nearest for
39030         all computations.
39031         * math/libm-test.inc (cos_test_tonearest): New function.
39032         (cos_test_towardzero): Likewise.
39033         (cos_test_downward): Likewise.
39034         (cos_test_upward): Likewise.
39035         (sin_test_tonearest): Likewise.
39036         (sin_test_towardzero): Likewise.
39037         (sin_test_downward): Likewise.
39038         (sin_test_upward): Likewise.
39039         (tan_test_tonearest): Likewise.
39040         (tan_test_towardzero): Likewise.
39041         (tan_test_downward): Likewise.
39042         (tan_test_upward): Likewise.
39043         (main): Call the new functions.
39044         * sysdeps/i386/fpu/libm-test-ulps: Update.
39045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39046
39047         [BZ #10135]
39048         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39049         small n, then large n, before computing and testing k+n.
39050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39052         Likewise.
39053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39054         Likewise.
39055         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39056         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39063         * math/libm-test.inc (scalbn_test): Add more tests.
39064         (scalbln_test): Likewise.
39065
39066         * manual/filesys.texi (mode_t): Describe constraints on size and
39067         signedness, not exact equivalence to a particular type.
39068         (ino_t): Likewise.
39069         (ino64_t): Likewise.
39070         (dev_t): Likewise.
39071         (nlink_t): Likewise.
39072         (blkcnt_t): Likewise.
39073         (blkcnt64_t): Likewise.
39074         * manual/llio.texi (off_t): Likewise.
39075
39076         [BZ #3976]
39077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39078         (__ieee754_exp): Save and restore rounding mode and use
39079         round-to-nearest for all computations.
39080         * math/libm-test.inc (exp_test_tonearest): New function.
39081         (exp_test_towardzero): Likewise.
39082         (exp_test_downward): Likewise.
39083         (exp_test_upward): Likewise.
39084         (main): Call the new functions.
39085         * sysdeps/i386/fpu/libm-test-ulps: Update.
39086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39087
39088 2012-03-01  Chris Demetriou  <cgd@google.com>
39089
39090         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39091         have predictable order.
39092
39093 2012-03-01  David S. Miller  <davem@davemloft.net>
39094
39095         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39096
39097         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39098         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39099         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39100         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39101
39102         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39103         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39104         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39106         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39107         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39108         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39109         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39110         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39111
39112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39113
39114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39115         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39117
39118         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39119         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39121         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39122         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39123         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39125         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39126         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39134         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39135         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39136         * sysdeps/sparc/elf/configure: Regenerated.
39137
39138 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39139
39140         * configure.in (AS, LD): Require binutils 2.20 or later.
39141         * configure: Regenerated.
39142         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39143         as required minimum version.
39144         * INSTALL: Regenerated.
39145
39146         [BZ #2541]
39147         [BZ #4108]
39148         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39149         before squaring exponent.
39150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39151         bottom long double and 27 bits of top long double before squaring
39152         exponent.
39153         * math/libm-test.inc (erfc_test): Add more tests.
39154         * sysdeps/i386/fpu/libm-test-ulps: Update.
39155         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39157
39158 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39159
39160         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39161         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39162         containing bit-fields.
39163         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39164         * soft-fp/single.h (_FP_UNION_S): Likewise.
39165         * soft-fp/double.h (_FP_UNION_D): Likewise.
39166
39167 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39168
39169         [BZ #13786]
39170         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39171         not include ../strcmp.S.
39172         [USE_AS_STRNCASECMP_L]: Likewise.
39173         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39174         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39175         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39176         (__strncasecmp_l_ia32): Define as alias to
39177         __strncasecmp_l_nonascii.
39178
39179         [BZ #5794]
39180         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39181         * sysdeps/i386/fpu/libm-test-ulps: Update.
39182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39183
39184         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39186
39187 2012-02-29  Jeff Law  <law@redhat.com>
39188
39189         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39190         out of bounds read.
39191
39192 2012-02-29  Marek Polacek  <polacek@redhat.com>
39193
39194         [BZ #13706]
39195         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39196         * elf/Makefile: Add rules to run tst-unused-dep.out.
39197
39198 2012-02-28  David S. Miller  <davem@davemloft.net>
39199
39200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39206
39207 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39208
39209         * math/libm-test.inc (llround_test): Move one test from
39210         lround_test.  Use TEST_f_L in moved test.
39211         (lround_test): Move misplaced test to llround_test.  Add testcase
39212         from bug 2561.
39213
39214 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39215
39216         * sysdeps/x86_64/fpu/e_expf.S: New file.
39217         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39218
39219 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39220
39221         [BZ #13637]
39222         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39223         of remain_len that may cause incomplete multi-byte character and
39224         false match.
39225         * posix/bug-regex33.c: New file.
39226         * posix/Makefile (tests): Add bug-regex33.
39227
39228 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39229
39230         * manual/macros.texi: New file.
39231         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39232         * manual/libc.texinfo: Include macros.texi.
39233         * manual/creatute.texi: Likewise.
39234         * manual/install.texi: Likewise.
39235         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39236         @glibcadj{} in references to the GNU C Library.
39237         * manual/charset.texi: Likewise.
39238         * manual/conf.texi: Likewise.
39239         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39240         when not using those macros.
39241         * manual/creature.texi: Likewise.
39242         * manual/crypt.texi: Likewise.
39243         * manual/errno.texi: Likewise.
39244         * manual/filesys.texi: Likewise.
39245         * manual/header.texi: Likewise.
39246         * manual/install.texi: Likewise.
39247         * manual/intro.texi: Likewise.
39248         * manual/io.texi: Likewise.
39249         * manual/job.texi: Likewise.
39250         * manual/lang.texi: Likewise.
39251         * manual/libc.texiinfo: Likewise.
39252         * manual/llio.texi: Likewise.
39253         * manual/locale.texi: Likewise.
39254         * manual/maint.texi: Likewise.
39255         * manual/math.texi: Likewise.
39256         * manual/memory.texi: Likewise.
39257         * manual/message.texi: Likewise.
39258         * manual/nss.texi: Likewise.
39259         * manual/pattern.texi: Likewise.
39260         * manual/process.texi: Likewise.
39261         * manual/resource.texi: Likewise.
39262         * manual/search.texi: Likewise.
39263         * manual/setjmp.texi: Likewise.
39264         * manual/signal.texi: Likewise.
39265         * manual/socket.texi: Likewise.
39266         * manual/startup.texi: Likewise.
39267         * manual/stdio.texi: Likewise.
39268         * manual/string.texi: Likewise.
39269         * manual/sysinfo.texi: Likewise.
39270         * manual/syslog.texi: Likewise.
39271         * manual/terminal.texi: Likewise.
39272         * manual/time.texi: Likewise.
39273         * manual/users.texi: Likewise.
39274         * INSTALL: Regenerated.
39275         * NOTES: Regenerated.
39276         * sysdeps/gnu/errlist.c: Regenerated.
39277
39278 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39279
39280         * include/dirent.h: Include <dirstream.h> before
39281         <dirent/dirent.h>.
39282
39283 2012-02-28  David S. Miller  <davem@davemloft.net>
39284
39285         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39286         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39287         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39289
39290 2012-02-27  David S. Miller  <davem@davemloft.net>
39291
39292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39294         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39295         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39296
39297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39298         frame pointer instead of stack pointer relative arg slot.
39299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39302
39303 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39304
39305         [BZ #3992]
39306         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39307
39308 2012-02-27  David S. Miller  <davem@davemloft.net>
39309
39310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39316         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39317         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39318
39319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39320
39321         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39322         later.  Allow versions 5-9.
39323         * configure: Regenerated.
39324         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39325         required minimum version and 4.6 as recommended version.  Do not
39326         mention bugs in GCC 2.7 and 2.8.
39327         * INSTALL: Regenerated.
39328
39329 2012-02-27  David S. Miller  <davem@davemloft.net>
39330
39331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39337         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39338         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39339
39340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39341         manipulate bits before adding and subtracting TWO112[sx].
39342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39343
39344 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39345
39346         [BZ #13775]
39347         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39348         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39349         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39350         being in POSIX, because they are in 1003.1-2008.
39351
39352         * rt/tst-aio.c: Include <fcntl.h>.
39353         * rt/tst-aio7.c: Likewise.
39354         * rt/tst-aio64.c: Likewise.
39355
39356         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39357
39358 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39359
39360         * manual/install.texi (--with-headers): Describe headers as
39361         interface headers, not private headers.
39362         (Specific advice for GNU/Linux systems): Describe use of headers
39363         from "make headers_install", not private headers from older
39364         kernels.
39365         * INSTALL: Regenerated.
39366         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39367         Change to 2.6.19.
39368         * sysdeps/unix/sysv/linux/configure: Regenerated.
39369
39370         * manual/llio.texi (fclean): Remove documentation.
39371
39372         * manual/Makefile (libc-texi-generated): New variable.  Include
39373         version.texi.
39374         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39375         $(libc-texi-generated), not duplicated list of files.
39376         (version.texi, stamp-version): New rules.
39377         (realclean): Remove $(libc-texi-generated), not individual files
39378         from that list.  Do not remove dir-add.texinfo.
39379         * manual/libc.texinfo: Comment out uses of edition numbers and
39380         references to printed manual.  Remove last-updated dates.
39381         (EDITION): Comment out.
39382         (ISBN): Likewise.
39383         (VERSION, UPDATED): Remove.
39384         (version.texi): Include.
39385
39386 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39387
39388         * sysdeps/posix/spawni.c: Include <signal.h>.
39389         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39390         * sysdeps/pthread/aio_fsync.c: Likewise.
39391
39392 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39393
39394         * conform/Makefile (tests): Run only when not cross-compiling and
39395         when fast-check is not defined.
39396
39397         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39398         * conform/data/limits.h-data: Fixes for POSIX2008.
39399         * conform/run-conformtest.sh: Run all tests.
39400         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39401         headers.
39402         * include/bits/dlfcn.h: Likewise.
39403         * include/langinfo.h: Likewise.
39404         * include/monetary.h: Likewise.
39405         * include/sys/poll.h: Likewise.
39406
39407         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39408         for __USE_GNU.
39409         * posix/spawn.h: Define __need_sigset_t.
39410         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39411         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39412         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39413         to get sigevent_t only.
39414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39415         only for __USE_GNU.
39416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39417         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39418         process_vm_writev only for __USE_GNU.
39419         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39420
39421         * conform/Makefile: For now ignore errors from run-conformtest.
39422         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39423         POSIX to avoid namespace pollution.  Don't prepend headers.
39424         * conform/data/aio.h-data: Fixes for POSIX testing.
39425         * conform/data/fcntl.h-data: Likewise.
39426         * conform/data/glob.h-data: Likewise.
39427         * conform/data/grp.h-data: Likewise.
39428         * conform/data/pthread.h-data: Likewise.
39429         * conform/data/pwd.h-data: Likewise.
39430         * conform/data/signal.h-data: Likewise.
39431         * conform/data/spawn.h-data: Likewise.
39432         * conform/data/stdio.h-data: Likewise.
39433         * conform/data/stdlib.h-data: Likewise.
39434         * conform/data/stropts.h-data: Likewise.
39435         * conform/data/sys/mman.h-data: Likewise.
39436         * conform/data/sys/stat.h-data: Likewise.
39437         * conform/data/sys/types.h-data: Likewise.
39438         * conform/data/sys/wait.h-data: Likewise.
39439         * conform/data/time.h-data: Likewise.
39440         * conform/data/unistd.h-data: Likewise.
39441         * conform/data/utime.h-data: Likewise.
39442
39443         * io/sys/stat.h: fchmod was always in POSIX.
39444         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39445         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39446         * rt/aio.h: Define __need_timespec before including <time.h>.
39447         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39448         struct.  Add forward declaration of pthread_attr_t and use it in
39449         sigevent.
39450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39452         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39453         always remove CLK_TCK definition.
39454
39455 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39456
39457         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39458
39459 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39460
39461         * conform/run-conformtest.sh: New file.
39462         * conform/Makefile: Run run-conformtest for tests.
39463         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39464         support.
39465
39466         * conform/data/uchar.h-data: New file.
39467         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39468         * conform/data/arpa/inet.h-data: Likewise.
39469         * conform/data/assert.h-data: Likewise.
39470         * conform/data/complex.h-data: Likewise.
39471         * conform/data/cpio.h-data: Likewise.
39472         * conform/data/ctype.h-data: Likewise.
39473         * conform/data/dirent.h-data: Likewise.
39474         * conform/data/dlfcn.h-data: Likewise.
39475         * conform/data/errno.h-data: Likewise.
39476         * conform/data/fcntl.h-data: Likewise.
39477         * conform/data/float.h-data: Likewise.
39478         * conform/data/fmtmsg.h-data: Likewise.
39479         * conform/data/fnmatch.h-data: Likewise.
39480         * conform/data/ftw.h-data: Likewise.
39481         * conform/data/glob.h-data: Likewise.
39482         * conform/data/grp.h-data: Likewise.
39483         * conform/data/iconv.h-data: Likewise.
39484         * conform/data/inttypes.h-data: Likewise.
39485         * conform/data/langinfo.h-data: Likewise.
39486         * conform/data/libgen.h-data: Likewise.
39487         * conform/data/limits.h-data: Likewise.
39488         * conform/data/locale.h-data: Likewise.
39489         * conform/data/math.h-data: Likewise.
39490         * conform/data/monetary.h-data: Likewise.
39491         * conform/data/mqueue.h-data: Likewise.
39492         * conform/data/ndbm.h-data: Likewise.
39493         * conform/data/net/if.h-data: Likewise.
39494         * conform/data/netdb.h-data: Likewise.
39495         * conform/data/netinet/in.h-data: Likewise.
39496         * conform/data/nl_types.h-data: Likewise.
39497         * conform/data/poll.h-data: Likewise.
39498         * conform/data/pthread.h-data: Likewise.
39499         * conform/data/pwd.h-data: Likewise.
39500         * conform/data/regex.h-data: Likewise.
39501         * conform/data/sched.h-data: Likewise.
39502         * conform/data/search.h-data: Likewise.
39503         * conform/data/semaphore.h-data: Likewise.
39504         * conform/data/setjmp.h-data: Likewise.
39505         * conform/data/signal.h-data: Likewise.
39506         * conform/data/spawn.h-data: Likewise.
39507         * conform/data/stdarg.h-data: Likewise.
39508         * conform/data/stdio.h-data: Likewise.
39509         * conform/data/stdlib.h-data: Likewise.
39510         * conform/data/string.h-data: Likewise.
39511         * conform/data/strings.h-data: Likewise.
39512         * conform/data/stropts.h-data: Likewise.
39513         * conform/data/sys/ipc.h-data: Likewise.
39514         * conform/data/sys/mman.h-data: Likewise.
39515         * conform/data/sys/msg.h-data: Likewise.
39516         * conform/data/sys/resource.h-data: Likewise.
39517         * conform/data/sys/select.h-data: Likewise.
39518         * conform/data/sys/sem.h-data: Likewise.
39519         * conform/data/sys/shm.h-data: Likewise.
39520         * conform/data/sys/socket.h-data: Likewise.
39521         * conform/data/sys/stat.h-data: Likewise.
39522         * conform/data/sys/statvfs.h-data: Likewise.
39523         * conform/data/sys/time.h-data: Likewise.
39524         * conform/data/sys/timeb.h-data: Likewise.
39525         * conform/data/sys/times.h-data: Likewise.
39526         * conform/data/sys/types.h-data: Likewise.
39527         * conform/data/sys/uio.h-data: Likewise.
39528         * conform/data/sys/un.h-data: Likewise.
39529         * conform/data/sys/utsname.h-data: Likewise.
39530         * conform/data/sys/wait.h-data: Likewise.
39531         * conform/data/syslog.h-data: Likewise.
39532         * conform/data/tar.h-data: Likewise.
39533         * conform/data/termios.h-data: Likewise.
39534         * conform/data/utime.h-data: Likewise.
39535         * conform/data/utmpx.h-data: Likewise.
39536         * conform/data/varargs.h-data: Likewise.
39537         * conform/data/wchar.h-data: Likewise.
39538         * conform/data/wctype.h-data: Likewise.
39539         * conform/data/wordexp.h-data: Likewise.
39540
39541         * include/stropts.h: New file.
39542         * include/uchar.h: New file.
39543         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39544         * include/assert.h: Likewise.
39545         * include/ctype.h: Likewise.
39546         * include/dirent.h: Likewise.
39547         * include/dlfcn.h: Likewise.
39548         * include/fcntl.h: Likewise.
39549         * include/fnmatch.h: Likewise.
39550         * include/glob.h: Likewise.
39551         * include/grp.h: Likewise.
39552         * include/libio.h: Likewise.
39553         * include/locale.h: Likewise.
39554         * include/math.h: Likewise.
39555         * include/net/if.h: Likewise.
39556         * include/netdb.h: Likewise.
39557         * include/netinet/in.h: Likewise.
39558         * include/pthread.h: Likewise.
39559         * include/pwd.h: Likewise.
39560         * include/regex.h: Likewise.
39561         * include/sched.h: Likewise.
39562         * include/search.h: Likewise.
39563         * include/setjmp.h: Likewise.
39564         * include/signal.h: Likewise.
39565         * include/stdio.h: Likewise.
39566         * include/stdlib.h: Likewise.
39567         * include/string.h: Likewise.
39568         * include/sys/cdefs.h: Likewise.
39569         * include/sys/mman.h: Likewise.
39570         * include/sys/msg.h: Likewise.
39571         * include/sys/resource.h: Likewise.
39572         * include/sys/select.h: Likewise.
39573         * include/sys/socket.h: Likewise.
39574         * include/sys/stat.h: Likewise.
39575         * include/sys/statvfs.h: Likewise.
39576         * include/sys/time.h: Likewise.
39577         * include/sys/times.h: Likewise.
39578         * include/sys/uio.h: Likewise.
39579         * include/sys/utsname.h: Likewise.
39580         * include/sys/wait.h: Likewise.
39581         * include/termios.h: Likewise.
39582         * include/time.h: Likewise.
39583         * include/ulimit.h: Likewise.
39584         * include/unistd.h: Likewise.
39585         * include/utime.h: Likewise.
39586         * include/wchar.h: Likewise.
39587         * include/wctype.h: Likewise.
39588         * include/wordexp.h: Likewise.
39589
39590         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39591
39592         * time/time.h: TIME_UTC must be a macro.
39593         Make timespec_get available for ISO C11 only as well.
39594
39595 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39596
39597         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39598         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39599
39600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39601
39602         * configure.in: Use -o not -a in test for unsupported multi-arch.
39603
39604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39605
39606         * manual/texinfo.tex: Update to version 2012-01-19.16.
39607
39608 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39609
39610         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39611
39612 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39613
39614         [BZ #13738]
39615         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39616         * manual/fdl-1.3.texi: New file.
39617         * manual/fdl-1.1.texi: File removed.
39618
39619         [BZ #13738]
39620         * manual/libc.texinfo (FDL_VERSION): New @set.
39621         Use it for mention of FDL in cover text.
39622         (Documentation License): Use it in @include file name.
39623
39624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39625             Roland McGrath  <roland@hack.frob.com>
39626
39627         [BZ #5461]
39628         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39629         (not LONG_LONG_MAX and LONG_LONG_MIN.
39630         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39631         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39632         name.
39633         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39634
39635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39636
39637         [BZ #2547]
39638         [BZ #11365]
39639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39640         manipulate bits before adding and subtracting TWO23[sx].
39641         * math/libm-test.inc (nearbyint_test): Add more tests.
39642
39643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39644
39645         [BZ #2548]
39646         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39647         bits before adding and subtracting TWO23[sx].
39648         * math/libm-test.inc (rint_test): Add more tests.
39649         (rint_test_tonearest): Likewise.
39650         (rint_test_towardzero): Likewise.
39651         (rint_test_downward): Likewise.
39652         (rint_test_upward: Likewise.
39653
39654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39655
39656         [BZ #10110]
39657         * include/stdc-predef.h: New file.  Extracted from features.h.
39658         * include/features.h: Include stdc-predef.h.
39659         * Makefile (headers): Add stdc-predef.h.
39660         * CONFORMANCE (Compiler limitations): Update.
39661
39662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39663
39664         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39665
39666 2012-02-21  David S. Miller  <davem@davemloft.net>
39667
39668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39670
39671 2012-02-20  David S. Miller  <davem@davemloft.net>
39672
39673         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39674         using a normal save/restore sequence, rather than allocating a
39675         dummy stack frame just to store a frame pointer and restore.
39676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39677
39678 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39679
39680         * manual/install.texi: Fix stray word in line-wrapped comment.
39681
39682 2012-02-20  David S. Miller  <davem@davemloft.net>
39683
39684         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39685         both binutils and gcc support GOTDATA.
39686
39687         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39688         "rd %pc" in the PIC register setup sequences.
39689
39690         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39693         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39694         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39699         (SYSCALL_ERROR_HANDLER): Likewise.
39700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39701         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39703         (SYSCALL_ERROR_HANDLER): Likewise.
39704
39705         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39706         (HAVE_GCC_GOTDATA): New.
39707         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39708         relocation support in both binutils and gcc.
39709         * sysdeps/sparc/elf/configure: Regenerate.
39710
39711         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39712         * sysdeps/sparc/sparc32/elf/configure: Delete.
39713         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39714         * sysdeps/sparc/sparc64/elf/configure: Delete.
39715         * sysdeps/sparc/elf/configure.in: New file.
39716         * sysdeps/sparc/elf/configure: Generate.
39717
39718         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39719         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39720         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39721         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39722         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39723
39724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39725
39726         * manual/install.texi: Do not mention specific glibc version
39727         numbers.
39728         * manual/libc.texinfo (VERSION, UPDATED): Update.
39729         (@copying): Use @copyright{} and range of years.
39730
39731 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39732
39733         [BZ #13695]
39734         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39735         [crti.S not in sysdirs] (generated): Do not append.
39736         [crti.S not in sysdirs] (omit-deps): Likewise.
39737         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39738         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39739         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39740         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39741         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39742         Likewise.
39743         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39744         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39745         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39746         * csu/defs.awk: Remove file.
39747         * sysdeps/generic/initfini.c: Likewise.
39748         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39749         variable.
39750         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39751         Likewise.
39752
39753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39754
39755         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39756         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39757         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39760         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39761         <bits/epoll.h>.
39762         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39763         (__EPOLL_PACKED): Define to empty if not defined by
39764         <bits/epoll.h>.
39765         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39767         bits/epoll.h.
39768
39769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39770
39771         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39772         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39775         <bits/timerfd.h>.
39776         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39778         bits/timerfd.h.
39779
39780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39781
39782         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39783         in C locale.
39784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788
39789 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39790
39791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39793
39794 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39795
39796         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39797         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39798         defined.
39799         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39800         Likewise.
39801         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39802         entry for 2.16.
39803
39804 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39805
39806         * math/w_acos.c: Use non-signaling floating-point comparisons.
39807         * math/w_acosf.c: Likewise.
39808         * math/w_acosh.c: Likewise.
39809         * math/w_acoshf.c: Likewise.
39810         * math/w_acoshl.c: Likewise.
39811         * math/w_acosl.c: Likewise.
39812         * math/w_asin.c: Likewise.
39813         * math/w_asinf.c: Likewise.
39814         * math/w_asinl.c: Likewise.
39815         * math/w_atanh.c: Likewise.
39816         * math/w_atanhf.c: Likewise.
39817         * math/w_atanhl.c: Likewise.
39818         * math/w_exp2.c: Likewise.
39819         * math/w_exp2f.c: Likewise.
39820         * math/w_exp2l.c: Likewise.
39821         * math/w_j0.c: Likewise.
39822         * math/w_j0f.c: Likewise.
39823         * math/w_j0l.c: Likewise.
39824         * math/w_j1.c: Likewise.
39825         * math/w_j1f.c: Likewise.
39826         * math/w_j1l.c: Likewise.
39827         * math/w_jn.c: Likewise.
39828         * math/w_jnf.c: Likewise.
39829         * math/w_log.c: Likewise.
39830         * math/w_log10.c: Likewise.
39831         * math/w_log10f.c: Likewise.
39832         * math/w_log10l.c: Likewise.
39833         * math/w_log2.c: Likewise.
39834         * math/w_log2f.c: Likewise.
39835         * math/w_log2l.c: Likewise.
39836         * math/w_logf.c: Likewise.
39837         * math/w_logl.c: Likewise.
39838         * math/w_sqrt.c: Likewise.
39839         * math/w_sqrtf.c: Likewise.
39840         * math/w_sqrtl.c: Likewise.
39841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39842         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39844         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39845         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39846
39847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39848
39849         [BZ #9739]
39850         * manual/string.texi (strnlen): Use correct parameter name in
39851         equivalent expression.
39852
39853 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39854
39855         [BZ #11174]
39856         * manual/users.texi (seteuid): Consistently use neweuid for
39857         argument name.
39858
39859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39860
39861         [BZ #13704]
39862         * manual/nss.texi (Services in the NSS configuration): Correct
39863         list of services in example configuration file.
39864
39865 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39866
39867         [BZ #11322]
39868         * manual/arith.texi: Remove statements about negative zero
39869         behaving identically to zero.
39870
39871 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39872
39873         [BZ #5993]
39874         * manual/install.texi: Do not document upgrading from libc5.
39875
39876 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39877
39878         [BZ #4596]
39879         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39880
39881 2012-02-18  David S. Miller  <davem@davemloft.net>
39882
39883         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39884         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39885         %o7 across the call.
39886         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39887         instead.
39888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39889         SETUP_PIC_REG_LEAF.
39890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39891         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39892         * sysdeps/sparc/crtn.S: Likewise.
39893
39894 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39895
39896         * aout/Makefile: Remove.
39897
39898 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39899
39900         [BZ #13058]
39901         * manual/examples/argp-ex1.c (main): Format definition in GNU
39902         style.
39903         * manual/examples/argp-ex2.c (main): Likewise.
39904         * manual/examples/argp-ex3.c (main): Likewise.
39905         * manual/examples/argp-ex4.c (main): Likewise.
39906         * manual/examples/longopt.c (main): Use new-style prototype
39907         definition.
39908         * manual/examples/strncat.c (main): Specify return type and use
39909         (void) for arguments.
39910         * manual/examples/subopt.c (main): Use char **argv argument.
39911
39912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39913
39914         [BZ #5077]
39915         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39916         rounding modes.
39917
39918 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39919
39920         [BZ #6907]
39921         * manual/string.texi (strchr): Change when strchrnul is
39922         recommended.
39923
39924 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39925
39926         [BZ #174]
39927         * manual/locale.texi (setlocale): Document LOCPATH.
39928
39929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39930
39931         [BZ #10210]
39932         * manual/process.texi (execle): Move @dots{} before last argument.
39933
39934 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39935
39936         [BZ #12047]
39937         * manual/charset.texi (Generic Charset Conversion): Fix typo
39938         (LC_TYPE -> LC_CTYPE).
39939
39940 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39941
39942         [BZ #5805]
39943         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39944         (scalbnf): Likewise.
39945         (scalbnl): Likewise.
39946         (scalbln): Likewise.
39947         (scalblnf): Likewise.
39948         (scalblnl): Likewise.
39949         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39950         (vwarnx): Likewise.
39951         (verr): Likewise.
39952         (verrx): Likewise.
39953         * manual/filesys.texi (telldir): Use braces around return type.
39954         * manual/llio.texi (mmap): Add space after comma.
39955         (mmap64): Likewise.
39956         * manual/math.texi (jn): Use @var{} on parameter names.
39957         (jnf): Likewise.
39958         (jnl): Likewise.
39959         (yn): Likewise.
39960         (ynf): Likewise.
39961         (ynl): Likewise.
39962         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39963         line.
39964         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39965         "...".
39966         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39967         (sched_get_priority_max): Likewise.
39968         * manual/signal.texi (sigvec): Add space after comma.
39969         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39970         names.
39971         (if_indextoname): Likewise.
39972         (if_freenameindex): Likewise.
39973         (sendto): Use ',' instead of '.' in prototype.
39974         * manual/startup.texi (syscall): Use @dots{} instead of literal
39975         "...".
39976         * manual/stdio.texi (__fpending): Separate initial words of
39977         paragraph from @deftypefun line.
39978         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39979         "...".
39980         (vsyslog): Use @var{} on parameter names.
39981         * manual/terminal.texi (stty): Use @var{} on parameter names.
39982         * manual/users.texi (getutmp): Use @var{} on parameter names.
39983         (getutmpx): Likewise.
39984
39985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39986
39987         [BZ #6884]
39988         * manual/stdio.texi (fopen): Fix typos in description of
39989         ",ccs=STRING".
39990
39991 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39992
39993         [BZ #4026]
39994         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39995         get clock_id definition.
39996
39997 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39998
39999         [BZ #4822]
40000         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40001         (madvise): Cast every argument to void on its own.
40002
40003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40004
40005         [BZ #9902]
40006         * manual/startup.texi (Exit Status): Fix typo.
40007
40008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40009
40010         [BZ #10140]
40011         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40012         * manual/examples/argp-ex2.c: Likewise.
40013         * manual/examples/argp-ex3.c: Likewise.
40014
40015 2012-02-16  Richard Henderson  <rth@redhat.com>
40016
40017         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40018         * sysdeps/s390/s390-32/initfini.c: Remove.
40019         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40020         * sysdeps/s390/s390-64/initfini.c: Remove.
40021
40022 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40023
40024         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40025         compiler output for sysdeps/generic/initfini.c.
40026         * sysdeps/sh/elf/initfini.c: Remove file.
40027
40028 2012-02-16  David S. Miller  <davem@davemloft.net>
40029
40030         [BZ #11494]
40031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40032
40033         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40034         * sysdeps/sparc/crti.S: New file.
40035         * sysdeps/sparc/crtn.S: New file.
40036         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40037         * sysdeps/sparc/sparc64/Makefile: Likewise.
40038
40039 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40040
40041         [BZ #3335]
40042         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40043
40044 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40045
40046         [BZ #4822]
40047         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40048
40049         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40050         (write, read, close): Likewise.
40051         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40052
40053 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40054
40055         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40056         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40057         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40058         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40059         <bits/signalfd.h>.
40060         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40062         bits/signalfd.h.
40063
40064 2012-02-14  Marek Polacek  <polacek@redhat.com>
40065
40066         * sysdeps/x86_64/crti.S: New file.
40067         * sysdeps/x86_64/crtn.S: New file.
40068         * sysdeps/x86_64/elf/initfini.c: Remove file.
40069
40070 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40071
40072         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40073         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40074         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40075         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40076         <bits/inotify.h>.
40077         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40079         bits/inotify.h.
40080
40081 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40082
40083         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40085         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40086         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40087         <bits/eventfd.h>.
40088         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40090         bits/eventfd.h.
40091
40092 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40093
40094         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40095         __feraiseexcept instead of feraiseexcept.
40096
40097         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40098         nanosleep invocations.
40099         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40100         strings, and add error checking for a nanosleep invocations.
40101
40102 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40103
40104         Replace FSF snail mail address with URLs, as per GNU coding standards.
40105         Most of the snail mail addresses were wrong anyway, and omitting
40106         them makes the source code easier to maintain.  Almost all of the
40107         changes are to license notices and to locale LC_IDENTIFICATION
40108         addresses, except for this one:
40109         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40110         not its snail mail address.
40111
40112 2012-02-09  Richard Henderson  <rth@twiddle.net>
40113
40114         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40115         of kernel-features.h.
40116
40117         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40118
40119 2012-02-08  Marek Polacek  <polacek@redhat.com>
40120
40121         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40122         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40123         * sysdeps/gnu/_G_config.h: Likewise.
40124         * sysdeps/generic/_G_config.h: Likewise.
40125
40126 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40127
40128         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40129         tests.
40130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40131
40132         * sysdeps/powerpc/powerpc32/crti.S: New file.
40133         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40134         * sysdeps/powerpc/powerpc64/crti.S: New file.
40135         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40136
40137         * Makeconfig (have-initfini): Don't set.
40138         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40139         * configure.in (nopic_initfini): Don't substitute.
40140         * config.h.in (HAVE_INITFINI): Don't #undef.
40141         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40142         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40143
40144 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40145
40146         Support crti.S and crtn.S provided directly by architectures.
40147         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40148         [crti.S in sysdirs] (omit-deps): Likewise.
40149         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40150         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40151         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40152         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40153         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40154         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40155         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40156         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40157         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40158         compiler output for sysdeps/generic/initfini.c.
40159         * sysdeps/i386/elf/Makefile: Remove file.
40160         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40161
40162 2012-02-07  Marek Polacek  <polacek@redhat.com>
40163
40164         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40165         * sysdeps/gnu/_G_config.h: Likewise.
40166         * sysdeps/mach/hurd/_G_config.h: Likewise.
40167
40168 2012-02-07  Marek Polacek  <polacek@redhat.com>
40169
40170         * math/Makefile (tests): Add tst-CMPLX2.
40171         * math/tst-CMPLX2.c: New file.
40172
40173 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40174
40175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40176
40177         * math/libm-test.inc (jn_test): Add missing L suffix.
40178
40179 2012-02-06  Marek Polacek  <polacek@redhat.com>
40180
40181         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40182         * sysdeps/i386/fpu/e_powf.S: Likewise.
40183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40185         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40186         * sysdeps/i386/fpu/e_pow.S: Likewise.
40187         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40188         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40189         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40190         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40191         * sysdeps/i386/fpu/e_log2.S: Likewise.
40192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40193         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40194         * sysdeps/i386/fpu/e_powl.S: Likewise.
40195         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40198         * sysdeps/i386/fpu/e_logl.S: Likewise.
40199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40200         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40205         * sysdeps/i386/fpu/e_log.S: Likewise.
40206         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40208         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40209         * sysdeps/i386/fpu/e_logf.S: Likewise.
40210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40212         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40213         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40215         * sysdeps/i386/fpu/e_log10.S: Likewise.
40216         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40218         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40219         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40221         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40222         * sysdeps/i386/asm-syntax.h: Likewise.
40223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40226         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40227         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40232         * sysdeps/powerpc/sysdep.h: Likewise.
40233         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40234         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40235
40236 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40237
40238         [BZ #411]
40239         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40240
40241 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40242
40243         * sysdeps/i386/sysdep.h: Include <features.h>.
40244         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40245         version.
40246
40247 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40248
40249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40250         Define.
40251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40252         LOAD_PIC_REG_STR.
40253
40254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40255
40256         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40257         (SETUP_PIC_REG): Use GET_PC_THUNK.
40258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40259         macro.
40260
40261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40262
40263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40264         for non-PIC compilation.
40265         (SETUP_PIC_REG): Add .p2align directive.
40266         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40267         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40271         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40298         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40302         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40303         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40304         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40305         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40306         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40307
40308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40309
40310         * math/tst-CMPLX.c: Include <stdio.h>.
40311
40312 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40313
40314         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40315         float.
40316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40317         * sysdeps/sparc/bits/mathdef.h: Likewise.
40318
40319 2012-01-31  Marek Polacek  <polacek@redhat.com>
40320
40321         * libio/libio.h: Don't define _PARAMS.
40322         * locale/programs/config.h: Don't define PARAMS.
40323         * stdlib/strtol_l.c: Likewise.
40324         (__strtol_l): Remove PARAMS from the prototype.
40325
40326 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40327
40328         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40329         names.  Just use the correct names.  Remove unnecessary wrapper
40330         functions.
40331         * malloc/arena.c: Likewise.
40332         * malloc/hooks.c: Likewise.
40333
40334         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40335         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40336         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40337
40338 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40339
40340         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40341         into tail calls.
40342         (update_get_addr): New function.
40343         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40344         GET_ADDR_MODULE parameter.
40345
40346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40347
40348         * crypt/cert.c: Remove __STDC__ conditionals.
40349         * crypt/crypt-entry.c: Likewise.
40350         * crypt/crypt_util.c: Likewise.
40351         * libio/filedoalloc.c: Likewise.
40352         * libio/fileops.c: Likewise.
40353         * libio/genops.c: Likewise.
40354         * libio/iofclose.c: Likewise.
40355         * libio/iofdopen.c: Likewise.
40356         * libio/iofopen.c: Likewise.
40357         * libio/iofopen64.c: Likewise.
40358         * libio/iogetdelim.c: Likewise.
40359         * libio/iopopen.c: Likewise.
40360         * libio/obprintf.c: Likewise.
40361         * libio/oldfileops.c: Likewise.
40362         * libio/oldiofclose.c: Likewise.
40363         * libio/oldiofdopen.c: Likewise.
40364         * libio/oldiofopen.c: Likewise.
40365         * libio/oldiopopen.c: Likewise.
40366         * libio/wfiledoalloc.c: Likewise.
40367         * libio/wgenops.c: Likewise.
40368         * locale/programs/xmalloc.c: Likewise.
40369         * misc/syslog.c: Likewise.
40370         * stdio-common/xbug.c: Likewise.
40371         * string/memchr.c: Likewise.
40372         * string/memcmp.c: Likewise.
40373         * string/memrchr.c: Likewise.
40374         * string/rawmemchr.c: Likewise.
40375         * sysdeps/posix/getcwd.c: Likewise.
40376         * time/strftime_l.c: Likewise.
40377
40378 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40379
40380         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40381         * config.make.in (config-cflags-sse2avx): Define.
40382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40383         Fix typo.
40384
40385 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40386
40387         * scripts/config.guess: Update from upstream config git repository.
40388         * scripts/config.sub: Likewise.
40389
40390 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40391
40392         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40393         (EM_NUM): Update.
40394         (R_TILEPRO_*, R_TILEGX_*): New macros.
40395
40396         * scripts/firstversions.awk: Fix bug in version range handling.
40397
40398         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40399
40400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40401
40402         * include/sys/epoll.h: New file.
40403         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40404         libc_hidden_def.
40405
40406 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40407
40408         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40409         Avoid unnecessary __WORDSIZE == 64 test.
40410         (fmaxf): Use VEX format if possible.
40411         (fmax): Likewise.
40412         (fminf): Likewise.
40413         (fmin): Likewise.
40414
40415         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40416         * math/math_private.h: Remove libc_fegetround* and
40417         libc_fesetround*.
40418         * sysdeps/i386/configure.in: Check for -msse2avx.
40419         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40420         also if SSE2AVX is defined.
40421         Remove libc_fegetround* and libc_fesetround*.
40422         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40423         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40425         of HAS_YMM_USABLE.
40426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40428         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40431
40432         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40433
40434 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40435
40436         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40437         size is not set.
40438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40439
40440 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40441
40442         [BZ #13618]
40443         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40444         relocation.
40445         * Makeconfig (libm): Define.
40446         * elf/Makefile: Add rules to build and run tst-relsort1.
40447         * elf/tst-relsort1.c: New file.
40448         * elf/tst-relsort1mod1.c: New file.
40449         * elf/tst-relsort1mod2.c: New file.
40450
40451 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40452
40453         * math/s_ldexp.c: Remove __STDC__ conditionals.
40454         * math/s_ldexpf.c: Likewise.
40455         * math/s_ldexpl.c: Likewise.
40456         * math/s_nextafter.c: Likewise.
40457         * math/s_nexttowardf.c: Likewise.
40458         * math/s_significand.c: Likewise.
40459         * math/s_significandf.c: Likewise.
40460         * math/s_significandl.c: Likewise.
40461         * math/w_jnl.c: Likewise.
40462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40492         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40493         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40494         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40496         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40499         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40500         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40501         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40502         * sysdeps/ieee754/k_standard.c: Likewise.
40503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40513         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40549         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40558         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40582         * sysdeps/ieee754/s_matherr.c: Likewise.
40583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40587
40588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40589
40590         * crypt/md5.h: Remove __STDC__ conditionals.
40591         * libio/libioP.h: Likewise.
40592         * locale/programs/config.h: Likewise.
40593         * sysdeps/generic/sysdep.h: Likewise.
40594         * sysdeps/i386/asm-syntax.h: Likewise.
40595         * sysdeps/s390/asm-syntax.h: Likewise.
40596         * sysdeps/unix/sysdep.h: Likewise.
40597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40599
40600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40601
40602         * libio/libio.h: Remove __STDC__ conditionals.
40603         * malloc/obstack.h: Likewise.
40604         * math/complex.h: Likewise.
40605         * math/math.h: Likewise.
40606         * sysdeps/generic/_G_config.h: Likewise.
40607         * sysdeps/gnu/_G_config.h: Likewise.
40608         * sysdeps/mach/hurd/_G_config.h: Likewise.
40609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40610         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40611         * sysdeps/sparc/bits/mathdef.h: Likewise.
40612
40613 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40614
40615         [BZ #13583]
40616         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40617         Clean up HAS_* macros.
40618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40619         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40620         possible.
40621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40622         HAS_AVX.
40623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40624         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40625         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40628
40629 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40630
40631         * elf/tst-unique3.cc (gets): Remove declaration.
40632         * elf/tst-unique3lib.cc (gets): Likewise.
40633         * elf/tst-unique3lib2.cc (gets): Likewise.
40634         * elf/tst-unique4.cc (gets): Likewise.
40635
40636 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40637
40638         * include/stdio.h: Add C++ protection.  Add gets declarations and
40639         definitions.
40640         * debug/tst-chk1.c: Don't declare gets here.
40641         * stdio-common/tst-gets.c: Likewise.
40642
40643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40644
40645         * posix/glob: Remove directory.
40646
40647 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40648
40649         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40650
40651 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40652
40653         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40654         of the non-standard EPFNOSUPPORT.
40655
40656 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40657
40658         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40659         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40660         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40661
40662 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40663
40664         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40665
40666 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40667
40668         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40669         transient errors.
40670         * nscd/grpcache.c (cache_addgr): Likewise.
40671         * nscd/hstcache.c (cache_addhst): Likewise.
40672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40673         * nscd/pwdcache.c (cache_addpw): Likewise.
40674         * nscd/servicescache.c (cache_addserv): Likewise.
40675
40676 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40677
40678         * malloc/malloc.c: Various cleanups.
40679         * malloc/hooks.c: Likewise.
40680
40681         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40682         * stdlib/bug-fmtmsg1.c: New file.
40683
40684         * stdlib/fmtmsg.c (init): Add missing unlock.
40685         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40686
40687 2012-01-12  Marek Polacek  <polacek@redhat.com>
40688
40689         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40690         and _GNU_SOURCE.
40691
40692 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40693
40694         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40695         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40696         macro to ensure uniqueness of label name.
40697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40699
40700 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40701
40702         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40703
40704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40708
40709 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40710
40711         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40712
40713         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40714         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40716
40717         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40718
40719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40720         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40723
40724         * math/bits/math-finite.h: Add ldexp support.
40725
40726 2012-01-10  Marek Polacek  <polacek@redhat.com>
40727
40728         * locale/programs/localedef.h (show_archive_content): Add noreturn
40729         attribute.
40730
40731 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40732
40733         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40734
40735 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40736
40737         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40738
40739         * io/Makefile (headers): Add bits/poll2.h.
40740
40741 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40742
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40744         typo #include statement.
40745
40746 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40747
40748         * include/sys/cdefs.h: Define __attribute_alloc_size.
40749         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40750         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40751         * elf/pldd.c: Likewise.
40752         * iconv/iconv_charmap.c: Likewise.
40753         * iconv/iconvconfig.c: Likewise.
40754         * iconv/strtab.c: Likewise.
40755         * locale/programs/locale.c: Likewise.
40756         * locale/programs/localedef.h: Likewise.
40757         * locale/programs/simple-hash.c: Likewise.
40758         * nscd/nscd.h: Likewise.
40759         * nss/makedb.c: Likewise.
40760         * sysdeps/generic/ldconfig.h: Likewise.
40761         * locale/programs/localedef.c: Remove xmalloc prototype.
40762         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40763
40764 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40765
40766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40767         appropriate.
40768
40769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40770
40771         * math/Makefile (tests): Add tst-CMPLX.
40772         * math/tst-CMPLX.c: New file.
40773
40774         * math/complex.h (CMPLXL): Fix typo.
40775
40776         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40777         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40778         GLIBC_2.16.
40779         * debug/tst-chk1.c: Add poll and ppoll tests.
40780         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40781         * include/sys/poll.h: Add hidden proto for ppoll.
40782         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40783         * sysdeps/mach/hurd/ppoll.c: Likewise.
40784         * io/ppoll.c: Likewise.
40785         * debug/poll_chk.c: New file.
40786         * debug/ppoll_chk.c: New file.
40787         * include/bits/poll2.h: New file.
40788         * io/bits/poll2.h: New file.
40789
40790         [BZ #1350]
40791         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40792
40793         * configure.in: static is always set to yes.  Remove.
40794         * config.make.in: Don't set build-static.
40795         * Makeconfig: Remove use of build-static.
40796         * dlfcn/Makefile: Likewise.
40797         * elf/Makefile: Likewise.
40798         * math/Makefile: Likewise.
40799         * misc/Makefile: Likewise.
40800         * nptl/Makefile: Likewise.
40801         * sysdeps/mach/hurd/Makefile: Likewise.
40802
40803         * configure.in: PWD_P is not used anymore.
40804         * config.make.in: Remove PWD_P entry.
40805
40806         * configure.in: Remove last remnants of RANLIB.
40807         No need to check for signed size_t anymore.
40808         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40809         and IA-64.
40810         Remove __builtin_expect test because we require at least gcc 3.4.
40811         * aclocal.m4: Likewise.
40812
40813         * wcsmbs/mbrtoc16.c: Implement using towc function.
40814         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40815         * wcsmbs/wcsmbsload.c: Likewise.
40816         * iconv/gconv_simple.c: Likewise.
40817         * iconv/gconv_int.h: Likewise.
40818         * iconv/gconv_builtin.h: Likewise.
40819         * iconv/iconv_prog.c: Remove CHAR16 handling.
40820
40821         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40822
40823         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40824
40825         * configure.in: Remove --with-elf and --enable-bounded options.
40826         Dont set base_machine for ia64.  More non-ELF conditions removed.
40827         Remove testing and setting of leading underscore information.
40828         * config.make.in (build-bounded): Set to no.
40829         * config.h.in: Remove NO_UNDERSCORES entry.
40830         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40831         them.
40832         * csu/start.c: Remove !NO_UNDERSCORE code.
40833         * locale/localeinfo.h: Likewise.
40834         * sysdeps/generic/machine-gmon.h: Likewise.
40835         * sysdeps/generic/sysdep.h: Likewise.
40836         * sysdeps/i386/sysdep.h: Likewise.
40837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40838         * sysdeps/mach/sysdep.h: Likewise.
40839         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40841         * sysdeps/sh/sysdep.h: Likewise.
40842         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40843         * sysdeps/unix/i386/sysdep.S: Likewise.
40844         * sysdeps/unix/sparc/start.c: Likewise.
40845         * sysdeps/unix/sparc/sysdep.S: Likewise.
40846         * sysdeps/unix/sparc/sysdep.h: Likewise.
40847         * sysdeps/unix/start.c: Likewise.
40848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40849         * sysdeps/x86_64/sysdep.h: Likewise.
40850
40851 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40852
40853         [BZ #13553]
40854         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40855         for non-gcc.
40856         * argp/argp-fmtstream.h: Use const instead __const.
40857         * argp/argp.h: Likewise.
40858         * assert/assert.h: Likewise.
40859         * bits/fenv.h: Likewise.
40860         * bits/sched.h: Likewise.
40861         * bits/sigset.h: Likewise.
40862         * bits/sigthread.h: Likewise.
40863         * catgets/nl_types.h: Likewise.
40864         * conform/data/pthread.h-data: Likewise.
40865         * crypt/crypt-private.h: Likewise.
40866         * crypt/crypt.h: Likewise.
40867         * crypt/crypt_util.c: Likewise.
40868         * ctype/ctype.h: Likewise.
40869         * debug/execinfo.h: Likewise.
40870         * debug/mbsnrtowcs_chk.c: Likewise.
40871         * debug/mbsrtowcs_chk.c: Likewise.
40872         * debug/wcsnrtombs_chk.c: Likewise.
40873         * debug/wcsrtombs_chk.c: Likewise.
40874         * debug/wcstombs_chk.c: Likewise.
40875         * dirent/dirent.h: Likewise.
40876         * dlfcn/dlfcn.h: Likewise.
40877         * elf/neededtest4.c: Likewise.
40878         * grp/grp.h: Likewise.
40879         * gshadow/gshadow.h: Likewise.
40880         * iconv/gconv.h: Likewise.
40881         * iconv/gconv_int.h: Likewise.
40882         * iconv/gconv_simple.c: Likewise.
40883         * iconv/iconv.h: Likewise.
40884         * iconv/loop.c: Likewise.
40885         * iconv/skeleton.c: Likewise.
40886         * include/aio.h: Likewise.
40887         * include/aliases.h: Likewise.
40888         * include/argz.h: Likewise.
40889         * include/arpa/inet.h: Likewise.
40890         * include/assert.h: Likewise.
40891         * include/dirent.h: Likewise.
40892         * include/dlfcn.h: Likewise.
40893         * include/execinfo.h: Likewise.
40894         * include/fcntl.h: Likewise.
40895         * include/fenv.h: Likewise.
40896         * include/glob.h: Likewise.
40897         * include/grp.h: Likewise.
40898         * include/libintl.h: Likewise.
40899         * include/mntent.h: Likewise.
40900         * include/netdb.h: Likewise.
40901         * include/pwd.h: Likewise.
40902         * include/rpc/netdb.h: Likewise.
40903         * include/sched.h: Likewise.
40904         * include/search.h: Likewise.
40905         * include/shadow.h: Likewise.
40906         * include/signal.h: Likewise.
40907         * include/stdio.h: Likewise.
40908         * include/stdlib.h: Likewise.
40909         * include/string.h: Likewise.
40910         * include/sys/socket.h: Likewise.
40911         * include/sys/stat.h: Likewise.
40912         * include/sys/statfs.h: Likewise.
40913         * include/sys/statvfs.h: Likewise.
40914         * include/sys/syslog.h: Likewise.
40915         * include/sys/time.h: Likewise.
40916         * include/sys/uio.h: Likewise.
40917         * include/time.h: Likewise.
40918         * include/unistd.h: Likewise.
40919         * include/utmp.h: Likewise.
40920         * include/wchar.h: Likewise.
40921         * include/wctype.h: Likewise.
40922         * inet/aliases.h: Likewise.
40923         * inet/arpa/inet.h: Likewise.
40924         * inet/netinet/ether.h: Likewise.
40925         * inet/netinet/in.h: Likewise.
40926         * intl/libintl.h: Likewise.
40927         * io/bits/fcntl2.h: Likewise.
40928         * io/fcntl.h: Likewise.
40929         * io/ftw.h: Likewise.
40930         * io/sys/poll.h: Likewise.
40931         * io/sys/stat.h: Likewise.
40932         * io/sys/statfs.h: Likewise.
40933         * io/sys/statvfs.h: Likewise.
40934         * io/utime.h: Likewise.
40935         * libio/bits/stdio.h: Likewise.
40936         * libio/bits/stdio2.h: Likewise.
40937         * libio/libio.h: Likewise.
40938         * libio/libioP.h: Likewise.
40939         * libio/stdio.h: Likewise.
40940         * locale/lc-ctype.c: Likewise.
40941         * locale/locale.h: Likewise.
40942         * login/utmp.h: Likewise.
40943         * malloc/arena.c: Likewise.
40944         * malloc/malloc.c: Likewise.
40945         * malloc/malloc.h: Likewise.
40946         * malloc/mcheck.c: Likewise.
40947         * malloc/mtrace.c: Likewise.
40948         * math/bits/mathcalls.h: Likewise.
40949         * math/fenv.h: Likewise.
40950         * math/math_private.h: Likewise.
40951         * misc/bits/error.h: Likewise.
40952         * misc/bits/syslog.h: Likewise.
40953         * misc/err.h: Likewise.
40954         * misc/error.h: Likewise.
40955         * misc/fstab.h: Likewise.
40956         * misc/mntent.h: Likewise.
40957         * misc/regexp.h: Likewise.
40958         * misc/search.h: Likewise.
40959         * misc/sgtty.h: Likewise.
40960         * misc/sys/mman.h: Likewise.
40961         * misc/sys/syslog.h: Likewise.
40962         * misc/sys/uio.h: Likewise.
40963         * misc/sys/xattr.h: Likewise.
40964         * misc/ttyent.h: Likewise.
40965         * nis/rpcsvc/ypclnt.h: Likewise.
40966         * nss/nss.h: Likewise.
40967         * posix/bits/unistd.h: Likewise.
40968         * posix/fnmatch.h: Likewise.
40969         * posix/glob.h: Likewise.
40970         * posix/sched.h: Likewise.
40971         * posix/spawn.h: Likewise.
40972         * posix/sys/wait.h: Likewise.
40973         * posix/unistd.h: Likewise.
40974         * posix/wordexp.h: Likewise.
40975         * pwd/pwd.h: Likewise.
40976         * resolv/netdb.h: Likewise.
40977         * resource/sys/resource.h: Likewise.
40978         * rt/aio.h: Likewise.
40979         * rt/bits/mqueue2.h: Likewise.
40980         * rt/mqueue.h: Likewise.
40981         * shadow/shadow.h: Likewise.
40982         * signal/signal.h: Likewise.
40983         * socket/send.c: Likewise.
40984         * socket/sendto.c: Likewise.
40985         * socket/sys/socket.h: Likewise.
40986         * stdio-common/printf.h: Likewise.
40987         * stdlib/bits/stdlib.h: Likewise.
40988         * stdlib/fmtmsg.h: Likewise.
40989         * stdlib/monetary.h: Likewise.
40990         * stdlib/stdlib.h: Likewise.
40991         * stdlib/ucontext.h: Likewise.
40992         * streams/stropts.h: Likewise.
40993         * string/argz.h: Likewise.
40994         * string/bits/string2.h: Likewise.
40995         * string/string.h: Likewise.
40996         * string/strings.h: Likewise.
40997         * sunrpc/rpc/auth.h: Likewise.
40998         * sunrpc/rpc/auth_des.h: Likewise.
40999         * sunrpc/rpc/clnt.h: Likewise.
41000         * sunrpc/rpc/netdb.h: Likewise.
41001         * sunrpc/rpc/pmap_clnt.h: Likewise.
41002         * sunrpc/rpc/xdr.h: Likewise.
41003         * sysdeps/generic/inttypes.h: Likewise.
41004         * sysdeps/generic/net/if.h: Likewise.
41005         * sysdeps/generic/sys/swap.h: Likewise.
41006         * sysdeps/gnu/net/if.h: Likewise.
41007         * sysdeps/gnu/utmpx.h: Likewise.
41008         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41009         * sysdeps/i386/i486/bits/string.h: Likewise.
41010         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41011         * sysdeps/s390/bits/string.h: Likewise.
41012         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41013         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41014         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41015         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41016         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41017         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41018         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41019         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41020         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41021         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41022         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41023         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41024         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41027         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41028         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41034         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41035         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41036         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41037         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41040         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41042         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41043         * sysvipc/sys/ipc.h: Likewise.
41044         * sysvipc/sys/msg.h: Likewise.
41045         * sysvipc/sys/sem.h: Likewise.
41046         * sysvipc/sys/shm.h: Likewise.
41047         * termios/termios.h: Likewise.
41048         * time/sys/time.h: Likewise.
41049         * time/time.h: Likewise.
41050         * wcsmbs/bits/wchar2.h: Likewise.
41051         * wcsmbs/uchar.h: Likewise.
41052         * wcsmbs/wchar.h: Likewise.
41053         * wctype/wctype.h: Likewise.
41054
41055         [BZ #13551]
41056         * Makeconfig: Remove all but ELF support including AIX support.
41057         * Makerules: Likewise.
41058         * config.h.in: Likewise.
41059         * config.make.in: Likewise.
41060         * configure: Likewise.
41061         * configure.in: Likewise.
41062         * csu/Makefile: Likewise.
41063         * csu/version.c: Likewise.
41064         * debug/Makefile: Likewise.
41065         * dlfcn/Makefile: Likewise.
41066         * elf/Makefile: Likewise.
41067         * extra-lib.mk: Likewise.
41068         * iconv/Makefile: Likewise.
41069         * include/libc-symbols.h: Likewise.
41070         * include/shlib-compat.h: Likewise.
41071         * resolv/Makefile: Likewise.
41072         * resolv/res_libc.c: Likewise.
41073         * rt/Makefile: Likewise.
41074         * sysdeps/i386/asm-syntax.h: Likewise.
41075         * sysdeps/i386/sysdep.h: Likewise.
41076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41077         * sysdeps/mach/sysdep.h: Likewise.
41078         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41079         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41080         * sysdeps/s390/asm-syntax.h: Likewise.
41081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41083         * sysdeps/sh/sysdep.h: Likewise.
41084         * sysdeps/unix/sparc/sysdep.h: Likewise.
41085         * sysdeps/wordsize-32/divdi3.c: Likewise.
41086         * sysdeps/x86_64/sysdep.h: Likewise.
41087
41088         * argp/Versions: Remove _argp_unlock_xxx.
41089
41090         [BZ #13559]
41091         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41092         * abilist/libBrokenLocale.abilist: Likewise.
41093         * abilist/libanl.abilist: Likewise.
41094         * abilist/libc.abilist: Likewise.
41095         * abilist/libcrypt.abilist: Likewise.
41096         * abilist/libdl.abilist: Likewise.
41097         * abilist/libm.abilist: Likewise.
41098         * abilist/libnsl.abilist: Likewise.
41099         * abilist/libpthread.abilist: Likewise.
41100         * abilist/libresolv.abilist: Likewise.
41101         * abilist/librt.abilist: Likewise.
41102         * abilist/libthread_db.abilist: Likewise.
41103         * abilist/libutil.abilist: Likewise.
41104         * abilist/libnss_db.abilist: New file.
41105
41106         * scripts/abilist.awk: Add support for indirect functions.
41107
41108         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41109
41110         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41111
41112         * shlib-versions: Remove entries for ports architectures.
41113
41114         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41115         files in ports.
41116         * elf/stackguard-macros.h: Remove support for IA-64.
41117         * elf/tst-auditmod1.c: Likewise.
41118         * sysdeps/generic/ldsodefs.h: Likewise.
41119
41120         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41121         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41122         configure files.
41123
41124         [BZ #13552]
41125         * configure.in: Remove --enable-omitfp support.
41126         * FAQ.in: Adjust.
41127         * config.make.in: Likewise.
41128         * Makeconfig: Likewise.
41129         * manual/install.texi: Likewise.
41130
41131         In case anyone cares, the IA-64 architecture could move to ports.
41132         * sysdeps/ia64/*: Removed.
41133         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41134         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41135
41136         [BZ #13555]
41137         * configure.in: Remove entries for unsupported architectures.
41138
41139         [BZ #13533]
41140         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41141         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41142         routines.
41143         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41144         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41145         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41146         fall back to using wcrtomb.
41147         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41148         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41149         renaming.
41150         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41151         * wcsmbs/tst-c16c32-1.c: New file.
41152
41153         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41154         local variable.
41155
41156         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41157
41158         * elf/tst-unique3.cc: Add explicit declaration of gets.
41159         * elf/tst-unique3lib.cc: Likewise.
41160         * elf/tst-unique3lib2.cc: Likewise.
41161         * elf/tst-unique4.cc: Likewise.
41162
41163         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41164
41165 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41166
41167         [BZ #13566]
41168         * assert/assert.h (static_assert): Don't define for C++.
41169         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41170         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41171
41172 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41173
41174         * iconv/loop.c (single loop): Fix assertion in storing of
41175         remaining bytes.
41176
41177         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41178
41179 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41180
41181         * posix/getconf.c: Update copyright year.
41182         * nss/getent.c: Likewise.
41183         * nss/makedb.c: Likewise.
41184         * iconv/iconvconfig.c: Likewise.
41185         * iconv/iconv_prog.c: Likewise.
41186         * elf/ldconfig.c: Likewise.
41187         * elf/pldd.c: Likewise.
41188         * elf/sotruss.ksh: Likewise.
41189         * catgets/gencat.c: Likewise.
41190         * csu/version.c: Likewise.
41191         * elf/ldd.bash.in: Likewise.
41192         * elf/sprof.c (print_version): Likewise.
41193         * locale/programs/locale.c: Likewise.
41194         * locale/programs/localedef.c: Likewise.
41195         * login/programs/pt_chown.c: Likewise.
41196         * nscd/nscd.c (print_version): Likewise.
41197         * debug/xtrace.sh: Likewise.
41198         * malloc/memusage.sh: Likewise.
41199         * malloc/mtrace.pl: Likewise.
41200         * debug/catchsegv.sh: Likewise.
41201
41202 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41203
41204         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41205         pure attribute.
41206
41207 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41208
41209         [BZ #13533]
41210         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41211         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41212         transformations.
41213         * iconv/gconv_int.h: Likewise.
41214         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41215         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41216         from libc for GLIBC_2.16.
41217         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41218         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41219         * wcsmbs/uchar.h: Really define mbstate_t.
41220         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41221         * wcsmbs/c16rtomb.c: New file.
41222         * wcsmbs/mbrtoc16.c: New file.
41223         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41224         for C/POSIX locale.
41225         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41226         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41227
41228         * wcsmbs/wchar.h: Add missing __restrict.
41229
41230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41231
41232         [BZ #13532]
41233         * time/Makefile (routines): Add timespec_get.
41234         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41235         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41236         timespec for ISO C11.
41237         * time/timespec_get.c: New file.
41238         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41240
41241         [BZ #13531]
41242         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41243         * stdlib/stdlib.h: Declare aligned_alloc.
41244         * Versions.def: Add GLIBC_2.16 for libc.
41245         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41246
41247         [BZ 13527]
41248         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41249         ISO C11.
41250
41251         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41252         code.
41253
41254         [BZ #13528]
41255         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41256
41257         [BZ #13529]
41258         * assert/assert.h (static_assert): Define.
41259
41260         * version.h: Update for 2.16 development version.
41261
41262         [BZ #13526]
41263         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41264         _ISOC11_SOURCE.
41265
41266         * version.h (RELEASE): Bump for 2.15 release.
41267         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41268
41269         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41270         Patch by Marek Polacek <mpolacek@redhat.com>.
41271
41272         * bits/byteswap.h: Protect long long constants with __extension__.
41273         * sysdeps/i386/bits/byteswap.h: Likewise.
41274         * sysdeps/ia64/bits/byteswap.h: Likewise.
41275         * sysdeps/s390/bits/byteswap.h: Likewise.
41276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41277
41278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41279
41280         [BZ #13540]
41281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41282         destination buffer.
41283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41284
41285 2011-12-23  Marek Polacek  <polacek@redhat.com>
41286
41287         * elf/dl-addr.c (determine_info): Add inline keyword.
41288         * elf/tst-auditmod4b.c (check_avx): Likewise.
41289         * elf/tst-auditmod6b.c (check_avx): Likewise.
41290         * elf/tst-auditmod6c.c (check_avx): Likewise.
41291         * elf/tst-auditmod7b.c (check_avx): Likewise.
41292
41293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41294
41295         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41296         !__SSE_MATH__.
41297
41298 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41299
41300         [BZ #13540]
41301         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41302         processing for last bytes.
41303
41304 2011-08-06  Bruno Haible  <bruno@clisp.org>
41305
41306         [BZ #13061]
41307         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41308         U+0385, not to U+1FEE.
41309
41310         [BZ #13062]
41311         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41312         entry for U+00A5 U+0301.
41313
41314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41315
41316         [BZ #13166]
41317         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41318         buffer for the output is too small.
41319
41320         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41321         optimization.
41322
41323         [BZ #13185]
41324         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41325         SSE flags if possible.
41326
41327 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41328
41329         [BZ #13540]
41330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41331         processing for last bytes.
41332
41333 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41334
41335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41336         (syscall-list-default-options, syscall-list-default-condition)
41337         (syscall-list-includes): Define.
41338         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41339         list of ABIs and options and #if conditions for each ABI.  Do not
41340         handle common syscalls between ABIs specially.
41341         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41342         Remove.
41343         (syscall-list-variants, syscall-list-32bit-options)
41344         (syscall-list-32bit-condition, syscall-list-64bit-options)
41345         (syscall-list-64bit-condition): Define.
41346         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41347         (syscall-list-variants, syscall-list-32bit-options)
41348         (syscall-list-32bit-condition, syscall-list-64bit-options)
41349         (syscall-list-64bit-condition): Define.
41350         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41351         Remove.
41352         (syscall-list-variants, syscall-list-32bit-options)
41353         (syscall-list-32bit-condition, syscall-list-64bit-options)
41354         (syscall-list-64bit-condition): Define.
41355         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41356         Remove.
41357         (syscall-list-variants, syscall-list-32bit-options)
41358         (syscall-list-32bit-condition, syscall-list-64bit-options)
41359         (syscall-list-64bit-condition): Define.
41360
41361 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41362
41363         * locale/iso-639.def: Add brx entry.
41364
41365         [BZ #13328]
41366         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41367         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41368
41369         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41370         __feraiseexcept_renamed.
41371
41372 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41373
41374         [BZ #13538]
41375         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41376         EPOLLET with unsigned values.
41377         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41379
41380         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41381         to large cancellation.
41382         * math/s_cacoshf.c: Likewise.
41383         * math/s_cacoshl.c: Likewise.
41384
41385 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41386
41387         [BZ #13305]
41388         [BZ #12786]
41389         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41390         * math/s_cacoshf.c: Likewise.
41391         * math/s_cacoshl.c: Likewise.
41392
41393 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41394
41395         [BZ #13439]
41396         * iconv/gconv.h: Define __GCONV_SWAP.
41397         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41398         * iconvdata/utf-16.c: Likewise.
41399         * iconvdata/utf-32.c: Likewise.
41400
41401 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41402
41403         [BZ #13524]
41404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41405         numerator after shifting it by one limb.
41406
41407 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41408
41409         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41410         under [__USE_EXTERN_INLINES].
41411
41412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41413
41414         [BZ #13446]
41415         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41416
41417 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41418
41419         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41420         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41421         optimized code.
41422         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41424         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41425         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41426         for strncasecmp/strncasecmp_l compilation.
41427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41428         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41429
41430 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41431
41432         [BZ #13484]
41433         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41434         of __asm__.
41435
41436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41437
41438         [BZ #13506]
41439         * time/tzfile.c (__tzfile_read): Check values from file header.
41440
41441 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41442
41443         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41444         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41445         * powerpc/powerpc32/dl-start.S: Likewise.
41446         * powerpc/powerpc32/elf/start.S: Likewise.
41447         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41448         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41449         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41450         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41451         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41452         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41453         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41454         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41455         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41456         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41457         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41458         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41459         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41460         * powerpc/powerpc32/memset.S: Likewise.
41461         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41462         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41463         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41464         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41465         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41466         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41467         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41468         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41469         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41470         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41474
41475 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41476
41477         * math/libm-test.inc: Added more nearbyint tests.
41478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41482
41483 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41484
41485         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41486         FD_CLOEXEC.
41487
41488 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41489
41490         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41491         Add wcscpy-ssse3 wcscpy-c.
41492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41493         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41494         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41495         * sysdeps/x86_64/wcschr.S: New file.
41496         * sysdeps/x86_64/wcsrchr.S: New file.
41497         * string/test-strcmp.c: Remove checking of wcscmp function for
41498         wrong alignments.
41499         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41500         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41501         wcsrchr-sse2 wcsrchr-c.
41502         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41503         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41505         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41508         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41509         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41511         * wcsmbc/wcschr.c (WCSCHR): New macro.
41512
41513 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41514
41515         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41516         * wcsmbs/test-wcsrchr.c: New file.
41517         * string/test-strrchr.c: Add wcsrchr support.
41518         (WIDE): New macro.
41519         * wcsmbs/test-wcscpy.c: New file.
41520         * string/test-strcpy.c: Add wcscpy support.
41521         (WIDE): New macro.
41522
41523 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41524
41525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41526         the inner loop.
41527
41528 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41529
41530         [BZ #13472]
41531         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41532
41533 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41534
41535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41536         Minor optimizations.
41537
41538         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41539         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41540         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41541
41542 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41543
41544         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41545         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41546         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41547         for gcc to avoid warnings.
41548         * inet/Makefile (tests): Add tst-checks.
41549         * inet/tst-checks.c: New file.
41550
41551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41552         warning.
41553
41554         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41555         __wmemcmp_sse2.
41556
41557         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41558         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41559
41560         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41561
41562 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41563
41564         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41565         problem.
41566
41567         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41568
41569 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41570
41571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41572         conditional on GCC version.
41573         (__arch_compare_and_exchange_val_8_acq)
41574         (__arch_compare_and_exchange_val_16_acq)
41575         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41576         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41577         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41578
41579 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41580
41581         * sysdeps/sh/backtrace.c: New file.
41582
41583 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41584
41585         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41586         parenthesis.
41587
41588 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41589
41590         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41591         falling back to utime.
41592
41593 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41594
41595         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41596         expectations for float.
41597
41598 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41599
41600         * locale/weight.h (findidx): Add parameter len.
41601         * locale/weightwc.h (findidx): Likewise.
41602         * posix/fnmatch_loop.c (FCT): Adjust caller.
41603         * posix/regcomp.c (build_equiv_class): Likewise.
41604         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41605         * posix/regexec.c (check_node_accept_bytes): Likewise.
41606         * string/strcoll_l.c (STRCOLL): Likewise.
41607         * string/strxfrm_l.c (STRXFRM): Likewise.
41608
41609 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41610
41611         * Makefile.in: Remove CVSOPT handling.
41612         * configure.in: Remove use of AC_REVISION.
41613         * iconvdata/Makefile (distribute): No need to filter out CVS.
41614         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41615         handling.
41616
41617 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41618
41619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41620         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41621         [USE_AS_STRNCASECMP_L]: Likewise.
41622         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41623         NO_TLS_DIRECT_SEG_REFS.
41624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41625         Fix argument offsets for non-PIC.
41626         [USE_AS_STRNCASECMP_L]: Likewise.
41627         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41628         NO_TLS_DIRECT_SEG_REFS.
41629
41630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41631
41632         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41633         O_CLOEXEC.
41634         * locale/loadlocale.c (_nl_load_locale): Likewise.
41635
41636 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41637
41638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41639         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41641         (SYSCALL_GETTIME): Set errno on error.
41642
41643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41644         count references to noai6ai_cached.
41645
41646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41647
41648         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41649
41650         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41651         FD_CLOEXEC for /proc/self/maps.
41652
41653         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41654         FD_CLOEXEC for /proc/meminfo.
41655
41656         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41657         gai.conf.
41658
41659         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41660         FD_CLOEXEC for given file.
41661
41662         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41663
41664         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41665         FD_CLOEXEC for /etc/hosts.
41666         (_gethtent): Likewise.
41667
41668         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41669
41670         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41671         cancellation and set FD_CLOEXEC for /etc/netgroup.
41672
41673         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41674         reading /etc/publickey.
41675
41676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41677         allow cancellation when reading /etc/group.
41678
41679         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41680         cancellation.
41681         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41682
41683         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41684         when using data file.
41685
41686         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41687
41688         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41689         (write_nis_obj): Use "c" and "e" in fopen.
41690
41691         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41692
41693         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41694
41695         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41696
41697         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41698
41699         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41700         locale.alias.
41701
41702         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41703
41704         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41705
41706         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41707
41708         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41709         file parsing and set FD_CLOEXEC.
41710
41711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41712
41713         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41714
41715 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41716
41717         * malloc/arena.c (arena_get2): Don't call reused_arena when
41718         _int_new_arena failed.
41719
41720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41721
41722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41723         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41726         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41728         to compile strcasecmp and strncasecmp.
41729         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41730         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41731
41732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41733
41734 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41735
41736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41737         locale-defines.sym to gen-as-const-headers.
41738         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41739         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41741         to compile strcasecmp and strncasecmp.
41742         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41743         strcasecmp_l and strncasecmp_l.
41744         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41745         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41746         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41748         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41749         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41750         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41751         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41752         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41753         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41754         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41755
41756 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41757
41758         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41759         result of SYSDEP_GETTIME_CPU to retval.
41760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41761         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41762
41763         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41764         variable.
41765
41766         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41767         mantissa words.
41768         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41769
41770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41771         from unused variable.
41772
41773         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41774         DWARF definitions.
41775         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41776         for assembling.
41777
41778         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41779         over namespaces.
41780
41781         * sunrpc/rpc_prot.c (rejected): Fix case value.
41782
41783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41784         unsigned long long int to avoid warnings in shift.
41785
41786         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41787         of use of trans.
41788         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41789         variable tmp.
41790
41791         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41794
41795         * nis/nis_table.c (nis_list): Use variable of correct type for
41796         result of __follow_path call.
41797
41798 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41799
41800         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41801         of math functions ceil, trunc, floor, round, and sqrt, when
41802         avaliable on the platform.
41803         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41804         name clash.
41805         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41806         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41807         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41808
41809 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41810
41811         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41813
41814 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41815
41816         * include/unistd.h: Fix __readlink return type.
41817         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41818
41819 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41820
41821         * stdlib/ucontext.h: Undo last change for makecontext.
41822
41823 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41824
41825         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41826
41827         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41828         * setjmp/setjmp.h: Mark functions as non-leaf.
41829         * setjmp/bits/setjmp2.h: Likewise.
41830         * stdlib/ucontext.h: Likewise.
41831
41832 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41833
41834         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41835         (reused_arena): Don't check arena limit.
41836         (arena_get2): Atomically check arena limit.
41837
41838 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41839
41840         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41841         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41842
41843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41844         instructions.
41845
41846 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41847
41848         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41849         handler when locking.
41850
41851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41852         Fix size of allocated buffer.
41853
41854 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41855
41856         [BZ #10103]
41857         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41858         declarations for long double functions.
41859         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41860
41861         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41862
41863 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41864
41865         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41866         installed.
41867
41868         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41869         is disabled.
41870
41871 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41872
41873         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41874
41875 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41876
41877         * include/alloca.h (stackinfo_alloca_round): Define.
41878         (extend_alloca): Use it.
41879         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41880         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41881         here.
41882
41883         * scripts/check-local-headers.sh: Ignore libaudit.h.
41884
41885         * nscd/Makefile (extra-objs): Make recursively expanded.
41886
41887 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41888
41889         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41891
41892         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41893         * posix/tst-rfc3484-2.c: Likewise.
41894         * posix/tst-rfc3484-3.c: Likewise.
41895
41896         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41897         process_vm_writev.
41898         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41899         process_vm_writev.
41900         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41901         process_vm_writev from libc using GLIBC_2.15 version.
41902
41903         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41904
41905 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41906
41907         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41908         stack usage.
41909
41910 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41911
41912         [BZ #13367]
41913         * nss/getent.c (initgroups_keys): Show error message in case no group
41914         names are given.
41915
41916         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41917         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41918         __bump_nl_timestamp.
41919         * nscd/connections (nscd_init): When host database is served open
41920         netlink socket and request notification about configuration changes.
41921         (main_loop_poll): Track netlink file descriptor and bump timestamp
41922         in case data becomes available.
41923         (main_loop_epoll): Likewise.
41924         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41925         (database_pers_head): Add extra_data fileds.
41926         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41928         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41929         Adjust caller.
41930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41931         in6ai data, call __free_in6ai.
41932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41933         Add -DHAVE_NETLINK.
41934         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41935         interface information.  Reuse previous data if netlink timestamp
41936         is not changed.
41937         (__bump_nl_timestamp): New function.
41938         (__free_in6ai): New function.
41939
41940 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41941
41942         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41943         close_not_cancel_no_status here.
41944         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41945
41946 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41947
41948         [BZ #13276]
41949         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41950         return value.
41951
41952         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41953         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41954         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41955
41956 2011-07-03  Andreas Jaeger  <aj@suse.de>
41957
41958         [BZ #10709]
41959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41960         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41961         * math/libm-test.inc (sin_test): Add test case.
41962
41963 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41964
41965         [BZ #13337]
41966         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41968
41969         * elf/chroot_canon.c (chroot_canon): Cleanups.
41970
41971         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41972
41973         [BZ #13335]
41974         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41975         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41976
41977         * string/test-strchr.c: Make usable for strchrnul testing.
41978         * string/test-strchrnul.c: New file.
41979         * string/Makefile (strop-tests): Add strchrnul.
41980
41981         * po/it.po: Update from translation team.
41982         * po/es.po: Likewise.
41983
41984 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41985
41986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41987         the three constants needed as parameters.  Drop the others.
41988         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41989         __m128i_strloadu_tolower.
41990         Create and initialize variable zero and use it in all the places
41991         where _mm_setzero_si128 was used.
41992
41993         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41994         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41995         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41997         anymore.
41998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42001         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42003         __mpranred, __mptan.
42004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42008         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42009         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42012         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42013
42014 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42015
42016         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42017         redefine if SHARED.
42018         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42019
42020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42021         wide char related routines to wcsmbs subdir.
42022
42023 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42024
42025         [BZ #13344]
42026         * misc/sys/cdefs.h (__THROWNL): Define.
42027         * posix/unistd.h: Use __THREADNL instead of __THREAD
42028         for memory synchronization functions.
42029
42030 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42031
42032         [BZ #13349]
42033         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42034         doesn't exist.
42035         * manual/stdio.texi (Obstack Streams): Node removed.
42036
42037 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42038
42039         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42042
42043         * math/math_private.h (math_force_eval): Allow non-addressable
42044         arguments.
42045         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42046
42047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42048
42049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42050         file is not needed.
42051
42052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42059         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42060         Add AVX variants.
42061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42066         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42067         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42071         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42072         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42075         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42076         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42077         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42079         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42080
42081         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42082         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42083
42084         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42085         place.  Use VEX encoding when compiling for AVX.
42086
42087 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42088
42089         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42091
42092         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42093
42094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42095
42096         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42097         useless if() expression.
42098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42099         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42102         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42111         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42113         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42116         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42117
42118         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42119
42120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42121
42122         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42123         condition.
42124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42125
42126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42127
42128         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42129         .text section.  Avoid duplicate constants.
42130         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42139         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42142         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42143         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42144         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42150         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42151         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42152         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42158         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42161         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42163         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42164         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42165         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42166         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42168         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42169         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42172         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42173         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42174         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42175
42176 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42177
42178         * sysdeps/x86_64/dla.h: Move to ...
42179         * sysdeps/x86_64/fpu/dla.h: ...here.
42180         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42181         situations.  Use __builtin_fma only for gcc 4.6 and up.
42182
42183         * config.make.in: Add have-mfma4 entry.
42184         * configure.in: Substitute libc_cv_cc_fma4.
42185         * math/Makefile (dbl-only-routines): Add sincostab.
42186         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42187         Use __sincostab not sincos.
42188         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42189         name is a macro.
42190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42194         using __copysign.
42195         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42196         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42197         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42198         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42199         and __inv.
42200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42201         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42202         __copysign.
42203         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42204         define aliases when function name is a macro.
42205         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42206         sysdeps/ieee754/dbl-64/sincos.tbl.
42207         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42208         fma4-enabled routines.
42209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42213         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42216         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42218         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42219         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42220         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42232         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42239
42240         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42241         rename.
42242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42250
42251 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42252
42253         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42254
42255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42256
42257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42258
42259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42260         prediction.
42261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42262
42263         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42264         Remove unused variable magic_bits.
42265         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42266
42267         * string/strnlen.c: Define and use STRNLEN macro.
42268         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42269         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42271         * wcsmbs/wcslen.c: Define and use WCSLEN.
42272         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42273         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42274         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42275         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42276         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42277         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42278         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42279
42280 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42281
42282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42283         strnlen-sse2-no-bsf.
42284         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42287         Add strnlen support.
42288         (USE_AS_STRNLEN): New macro.
42289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42291         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42292         * sysdeps/x86_64/wcslen.S: New file.
42293
42294 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42295
42296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42297         XMM-moves are used for copying on small sizes.
42298
42299 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42300
42301         * wcsmbs/Makefile (strop-tests): Add wcschr.
42302         * wcsmbs/test-wcschr.c: New file.
42303         * string/test-strchr.c: Update.
42304         Add wcschr support.
42305         (WIDE): New macro.
42306
42307 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42308
42309         * wcsmbs/Makefile (strop-tests): Add wcslen.
42310         * wcsmbs/test-wcslen.c: New file.
42311         * string/test-strlen.c: Update.
42312         Add wcslen support.
42313         (WIDE): New macro.
42314
42315 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42316
42317         * po/it.po: Update from translation team.
42318
42319 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42320
42321         * sysdeps/x86_64/wcscmp.S: Update.
42322         Fix wrong comparison semantics.
42323         wcscmp shall use signed comparison not unsigned.
42324         Don't use substraction to avoid overflow bug.
42325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42326         * wcsmbc/wcscmp.c: Likewise.
42327         * string/test-strcmp.c: Likewise.
42328         Add new tests to check cases with negative values.
42329
42330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42331
42332         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42333         * sysdeps/x86_64/dla.h: ...here.  New file.
42334         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42343
42344 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42345
42346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42347         __ynl_finite aliases.
42348
42349 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42350
42351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42352
42353         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42354         define DLA_FMA.
42355         [DLA_FMA] (EMULV): Use DLA_FMA.
42356         [DLA_FMA] (MUL12): Use EMULV.
42357         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42358         that are not needed.
42359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42366
42367 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42368
42369         * math/s_nan.c: Undef __nan.
42370         * math/s_nanf.c: Undef __nanf.
42371         * math/s_nanl.c: Undef __nanl.
42372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42373         "math_private.h".
42374
42375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42376
42377         * math/s_catan.c: Add branch predictions.
42378         * math/s_catanf.c: Likewise.
42379         * math/s_catanh.c: Likewise.
42380         * math/s_catanhf.c: Likewise.
42381         * math/s_catanhl.c: Likewise.
42382         * math/s_catanl.c: Likewise.
42383         * math/s_cexp.c: Likewise.
42384         * math/s_cexpf.c: Likewise.
42385         * math/s_cexpl.c: Likewise.
42386         * math/s_clog.c: Likewise.
42387         * math/s_clog10.c: Likewise.
42388         * math/s_clog10f.c: Likewise.
42389         * math/s_clog10l.c: Likewise.
42390         * math/s_clogf.c: Likewise.
42391         * math/s_clogl.c: Likewise.
42392         * math/s_csqrt.c: Likewise.
42393         * math/s_csqrtf.c: Likewise.
42394         * math/s_csqrtl.c: Likewise.
42395         * math/s_ctanf.c: Likewise.
42396         * math/s_ctanh.c: Likewise.
42397         * math/s_ctanhf.c: Likewise.
42398         * math/s_ctanhl.c: Likewise.
42399         * math/s_ctanl.c: Likewise.
42400
42401         * math/math_private.h: Define __nan, __nanf, __nanl.
42402         * math/s_cacosh.c: Include <math_private.h>.
42403         * math/s_cacoshl.c: Likewise.
42404         * math/s_casinh.c: Likewise.
42405         * math/s_casinhf.c: Likewise.
42406         * math/s_casinhl.c: Likewise.
42407         * math/s_ccos.c: Rely entire on ccosh.
42408         * math/s_ccosf.c: Rely entire on ccoshf.
42409         * math/s_ccosl.c: Rely entirely on ccoshl.
42410         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42411         Remove tests for FE_INVALID.
42412         * math/s_ccoshf.c: Likewise.
42413         * math/s_ccoshl.c: Likewise.
42414         * math/s_csin.c: Likewise.
42415         * math/s_csinf.c: Likewise.
42416         * math/s_csinh.c Likewise.
42417         * math/s_csinhf.c: Likewise.
42418         * math/s_csinhl.c: Likewise.
42419         * math/s_csinl.c: Likewise.
42420         * math/s_ctan.c: Likewise.
42421         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42422         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42424
42425 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42426
42427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42428         compilation problems.
42429
42430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42431         __builtin_expect.
42432
42433 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42434
42435         * sysdeps/i386/configure.in: Test for -mfma4 option.
42436         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42437         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42438         COMMON_CPUID_INDEX_80000001.
42439         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42440         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42441         use it if FMA3 is not supported.
42442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42443
42444         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42445         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42446
42447 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42448
42449         [BZ #12892]
42450         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42451         it would create a cycle with a link time dependency.
42452
42453 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42454
42455         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42456         instruction.
42457         * string/Makefile (strop-tests): Add rawmemchr.
42458         * string/test-rawmemchr.c: New file.
42459
42460         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42462         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42463         when compiling str{,n}casecmp and when AVX is available.  Hook up
42464         new optimized code in initializers.
42465
42466 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42467
42468         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42469         __feraiseexcept instead of feraiseexcept.
42470
42471 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42472
42473         * math/math_private.h: Define defaults for libc_fetestexcept and
42474         libc_feupdateenv.
42475         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42476         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42477         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42479         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42480         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42481         libc_fetestexcept and libc_feupdateenv.
42482
42483         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42484         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42485         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42486         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42487         libc_feholdexcept_setround.
42488
42489         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42490         Add s_nearbyint-c and s_nearbyintf-c.
42491         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42492         nearbyintf inlines.
42493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42494         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42495         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42496         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42497
42498         * math/math_private.h: Define defaults for libc_fegetround,
42499         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42500         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42501         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42503         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42504         standard functions.
42505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42506         Remove comments and hacks for old compiler versions.
42507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42508         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42509         libc_feholdexceptl.
42510
42511 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42512
42513         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42514         (__feraiseexcept_renamed): Add __NTH.
42515         (feraiseexcept): Add __NTH.  Rename local variables to fix
42516         namespace violations.
42517
42518 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42519
42520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42521
42522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42523
42524         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42525         recently added interfaces.
42526         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42527
42528         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42529         about macro parameter expansion.
42530
42531         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42532         __NO_MATH_INLINES is defined.  Cleanups.
42533
42534         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42535         and __floorf is target has SSE4.1.
42536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42540
42541         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42542         name.
42543         (floorf): Likewise.
42544
42545         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42546
42547 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42548
42549         * misc/sys/cdefs.h: Fix last change.
42550
42551         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42552         database lookup.
42553
42554 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42555
42556         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42557
42558         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42564         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42567         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42568         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42569         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42570         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42571         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42573         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42575         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42577         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42578         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42579         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42580
42581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42582         ceil, ceilf, floor, floorf.
42583
42584         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42585         Perform IRELATIVE relocations last.
42586
42587         * elf/do-rel.h: Add another parameter nrelative, replacing the
42588         local variable with the same name.  Change name of the function
42589         to end in Rel or Rela (uppercase).
42590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42591         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42592         elf_dynamic_do_##reloc function.
42593
42594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42595
42596         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42597         is sufficient, at least on modern CPUs.
42598
42599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42600
42601         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42603
42604         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42605         __expl_finite.
42606         * math/bits/math-finite.h: Add entries for exp.
42607         * math/e_expl.c: Add __*_finite alias.
42608         * sysdeps/i386/fpu/e_exp.S: Likewise.
42609         * sysdeps/i386/fpu/e_expf.S: Likewise.
42610         * sysdeps/i386/fpu/e_expl.c: Likewise.
42611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42615         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42616         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42618
42619         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42620         is sufficient, at least on modern CPUs.
42621
42622         * ctype/ctype-info.c (__ctype_init): Define.
42623         * include/ctype.h (__ctype_init): Declare.
42624         (__ctype_b_loc): The variable is always initialized.
42625         (__ctype_toupper_loc): Likewise.
42626         (__ctype_tolower_loc): Likewise.
42627         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42628         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42629
42630 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42631
42632         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42633
42634         * configure.in: Also look in $cxxmachine/include for C++ system
42635         headers.
42636
42637 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42638
42639         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42640         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42641         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42642         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42644         (USE_AS_WMEMCMP): New macro.
42645         Fixing indents.
42646         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42647         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42648         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42649         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42651         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42652         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42653         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42654         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42655         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42656         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42657         (USE_AS_WMEMCMP): New macro.
42658         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42659         * sysdeps/string/test-memcmp.c: Update.
42660         Fix simple_wmemcmp.
42661         Add new tests.
42662         * wcsmbs/wmemcmp.c: Update.
42663         (WMEMCMP): New macro.
42664         Fix overflow bug.
42665
42666 2011-10-12  Andreas Jaeger  <aj@suse.de>
42667
42668         [BZ #13268]
42669         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42670
42671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42672
42673         * libio/iofwide.c (do_length): Avoid warning.
42674
42675         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42676
42677 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42678
42679         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42680
42681         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42682         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42683         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42684         * sysdeps/i386/i686/fpu/e_log.S: New file.
42685         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42686         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42687
42688         * ctype/ctype.h: Add support for inlined isXXX functions when
42689         compiling C++ code.
42690
42691 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42692
42693         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42694
42695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42696
42697 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42698
42699         [BZ #13291]
42700         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42701
42702 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42703
42704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42705         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42706         feraiseexcept.
42707
42708         * sysdeps/x86_64/memrchr.S: Check for zero size.
42709
42710         * string/stratcliff.c: Add memrchr tests.
42711
42712 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42713
42714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42715         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42716         rawmemchr-sse2 rawmemchr-sse2-bsf.
42717         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42718         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42720         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42721         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42722         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42724         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42725         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42726         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42727         * string/memrchr.c (MEMRCHR): New macro.
42728
42729 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42730
42731         Add integration with gcc's -ffinite-math-only and optimize wrapper
42732         functions in libm.
42733         * Versions.def: Define GLIBC_2.15 version for libm.
42734         * math/Makefile (headers): Add bits/math-finite.h.
42735         * math/bits/math-finite.h: New file.
42736         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42737         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42738         * math/e_acoshl.c: Add __*_finite alias.
42739         * math/e_acosl.c: Likewise.
42740         * math/e_asinl.c: Likewise.
42741         * math/e_atan2l.c: Likewise.
42742         * math/e_atanhl.c: Likewise.
42743         * math/e_coshl.c: Likewise.
42744         * math/e_exp10.c: Likewise.
42745         * math/e_exp10f.c: Likewise.
42746         * math/e_exp10l.c: Likewise.
42747         * math/e_exp2l.c: Likewise.
42748         * math/e_fmodl.c: Likewise.
42749         * math/e_gammal_r.c: Likewise.
42750         * math/e_hypotl.c: Likewise.
42751         * math/e_j0l.c: Likewise.
42752         * math/e_j1l.c: Likewise.
42753         * math/e_jnl.c: Likewise.
42754         * math/e_lgammal_r.c: Likewise.
42755         * math/e_log10l.c: Likewise.
42756         * math/e_log2l.c: Likewise.
42757         * math/e_logl.c: Likewise.
42758         * math/e_powl.c: Likewise.
42759         * math/e_sinhl.c: Likewise.
42760         * math/e_sqrtl.c: Likewise.
42761         * math/e_scalb.c: Completely rewritten and optimized.
42762         * math/e_scalbf.c: Likewise.
42763         * math/e_scalbl.c: Likewise.
42764         * math/w_acos.c: Likewise.
42765         * math/w_acosf.c: Likewise.
42766         * math/w_acosl.c: Likewise.
42767         * math/w_acosh.c: Likewise.
42768         * math/w_acoshf.c: Likewise.
42769         * math/w_acoshl.c: Likewise.
42770         * math/w_asin.c: Likewise.
42771         * math/w_asinf.c: Likewise.
42772         * math/w_asinl.c: Likewise.
42773         * math/w_atan2.c: Likewise.
42774         * math/w_atan2f.c: Likewise.
42775         * math/w_atan2l.c: Likewise.
42776         * math/w_atanh.c: Likewise.
42777         * math/w_atanhf.c: Likewise.
42778         * math/w_atanhl.c: Likewise.
42779         * math/w_exp10.c: Likewise.
42780         * math/w_exp10f.c: Likewise.
42781         * math/w_exp10l.c: Likewise.
42782         * math/w_fmod.c: Likewise.
42783         * math/w_fmodf.c: Likewise.
42784         * math/w_fmodl.c: Likewise.
42785         * math/w_j0.c: Likewise.
42786         * math/w_j0f.c: Likewise.
42787         * math/w_j0l.c: Likewise.
42788         * math/w_j1.c: Likewise.
42789         * math/w_j1f.c: Likewise.
42790         * math/w_j1l.c: Likewise.
42791         * math/w_jn.c: Likewise.
42792         * math/w_jnf.c: Likewise.
42793         * math/w_log.c: Likewise.
42794         * math/w_logf.c: Likewise.
42795         * math/w_logl.c: Likewise.
42796         * math/w_log10.c: Likewise.
42797         * math/w_log10f.c: Likewise.
42798         * math/w_log10l.c: Likewise.
42799         * math/w_log2.c: Likewise.
42800         * math/w_log2f.c: Likewise.
42801         * math/w_log2l.c: Likewise.
42802         * math/w_pow.c: Likewise.
42803         * math/w_powf.c: Likewise.
42804         * math/w_powl.c: Likewise.
42805         * math/w_remainder.c: Likewise.
42806         * math/w_remainderf.c: Likewise.
42807         * math/w_remainderl.c: Likewise.
42808         * math/w_scalb.c: Likewise.
42809         * math/w_scalbf.c: Likewise.
42810         * math/w_scalbl.c: Likewise.
42811         * math/w_sqrt.c: Likewise.
42812         * math/w_sqrtf.c: Likewise.
42813         * math/w_sqrtl.c: Likewise.
42814         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42815         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42816         used.
42817         * math/math_private.h: Declare __kernel_standard_f.
42818         * math/w_cosh.c: Remove cruft and optimize a bit.
42819         * math/w_coshf.c: Likewise.
42820         * math/w_coshl.c: Likewise.
42821         * math/w_exp2.c: Likewise.
42822         * math/w_exp2f.c: Likewise.
42823         * math/w_exp2l.c: Likewise.
42824         * math/w_hypot.c: Likewise.
42825         * math/w_hypotf.c: Likewise.
42826         * math/w_hypotl.c: Likewise.
42827         * math/w_lgamma.c: Likewise.
42828         * math/w_lgamma_r.c: Likewise.
42829         * math/w_lgammaf.c: Likewise.
42830         * math/w_lgammaf_r.c: Likewise.
42831         * math/w_lgammal.c: Likewise.
42832         * math/w_lgammal_r.c: Likewise.
42833         * math/w_sinh.c: Likewise.
42834         * math/w_sinhf.c: Likewise.
42835         * math/w_sinhl.c: Likewise.
42836         * math/w_tgamma.c: Likewise.
42837         * math/w_tgammaf.c: Likewise.
42838         * math/w_tgammal.c: Likewise.
42839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42841         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42842         Minor optimizations.  Pretty printing.  Remove cruft.
42843         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42847         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42848         * sysdeps/i386/fpu/e_asin.S: Likewise.
42849         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42850         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42851         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42852         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42854         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42856         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42857         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42858         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42859         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42860         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42861         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42862         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42863         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42864         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42865         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42866         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42867         * sysdeps/i386/fpu/e_log.S: Likewise.
42868         * sysdeps/i386/fpu/e_log10.S: Likewise.
42869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42871         * sysdeps/i386/fpu/e_log2.S: Likewise.
42872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42873         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42874         * sysdeps/i386/fpu/e_logf.S: Likewise.
42875         * sysdeps/i386/fpu/e_logl.S: Likewise.
42876         * sysdeps/i386/fpu/e_pow.S: Likewise.
42877         * sysdeps/i386/fpu/e_powf.S: Likewise.
42878         * sysdeps/i386/fpu/e_powl.S: Likewise.
42879         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42880         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42881         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42885         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42886         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42887         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42908         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42913         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42914         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42917         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42919         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42920         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42922         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42923         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42924         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42925         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42929         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42930         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42933         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42934         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42935         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42936         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42985         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42986         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42987         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42988         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42989         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42990         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42991         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42996         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42997         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42998         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42999         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43000         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43001         (__isnanf): Likewise.
43002         (__isinf_ns): Likewise.
43003         (__isinf_nsf): Likewise.
43004         (__finite): Likewise.
43005         (__finitef): Likewise.
43006         (__ieee754_sqrt): Define as macro.
43007         (__ieee754_sqrtf): Define as macro.
43008         (__ieee754_sqrtl): Define as macro.
43009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43010         inlined copy.
43011         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43012         __FINITE_MATH_ONLY__ consistent.
43013         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43014
43015 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43016
43017         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43018         of rawmemchr.
43019
43020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43021
43022 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43023
43024         * po/ja.po: Update from translation team.
43025
43026 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43027
43028         * locale/programs/locarchive.c (prepare_address_space): New function.
43029         (create_archive, enlarge_archive, open_archive): Use it.
43030
43031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43032         inside [SHARED], where it is used.
43033
43034         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43035
43036         * nss/getent.c (netgroup_keys): Remove unused variable.
43037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43038
43039 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43040
43041         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43047         * math/Makefile (libm-calls): Add s_isinf_ns.
43048         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43049         * math/multc3.c: Likewise.
43050         * math/s_casin.c: Likewise.
43051         * math/s_casinf.c: Likewise.
43052         * math/s_casinl.c: Likewise.
43053         * math/s_ccos.c: Likewise.
43054         * math/s_ccosf.c: Likewise.
43055         * math/s_ccosl.c: Likewise.
43056         * math/s_ctan.c: Likewise.
43057         * math/s_ctanf.c: Likewise.
43058         * math/s_ctanh.c: Likewise.
43059         * math/s_ctanhf.c: Likewise.
43060         * math/s_ctanhl.c: Likewise.
43061         * math/s_ctanl.c: Likewise.
43062         * math/w_fmod.c: Likewise.
43063         * math/w_fmodf.c: Likewise.
43064         * math/w_fmodl.c: Likewise.
43065         * math/w_remainder.c: Likewise.
43066         * math/w_remainderf.c: Likewise.
43067         * math/w_remainderl.c: Likewise.
43068         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43069         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43072         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43073         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43074         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43075         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43076
43077         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43078         of the number.
43079         * stdio-common/printf_fphex.c: Likewise.
43080         * stdio-common/printf_size.c: Likewise.
43081
43082         * math/e_exp10.c: Include math_private.h using <...> not "...".
43083         * math/e_exp10f.c: Likewise.
43084         * math/e_exp10l.c: Likewise.
43085         * math/e_exp2l.c: Likewise.
43086         * math/e_j0l.c: Likewise.
43087         * math/e_j1l.c: Likewise.
43088         * math/e_jnl.c: Likewise.
43089         * math/e_lgammal_r.c: Likewise.
43090         * math/e_rem_pio2l.c: Likewise.
43091         * math/e_scalb.c: Likewise.
43092         * math/e_scalbf.c: Likewise.
43093         * math/e_scalbl.c: Likewise.
43094         * math/k_cosl.c: Likewise.
43095         * math/k_sinl.c: Likewise.
43096         * math/k_tanl.c: Likewise.
43097         * math/s_cacoshf.c: Likewise.
43098         * math/s_catan.c: Likewise.
43099         * math/s_catanf.c: Likewise.
43100         * math/s_catanh.c: Likewise.
43101         * math/s_catanhf.c: Likewise.
43102         * math/s_catanhl.c: Likewise.
43103         * math/s_catanl.c: Likewise.
43104         * math/s_ccosh.c: Likewise.
43105         * math/s_ccoshf.c: Likewise.
43106         * math/s_ccoshl.c: Likewise.
43107         * math/s_cexp.c: Likewise.
43108         * math/s_cexpf.c: Likewise.
43109         * math/s_cexpl.c: Likewise.
43110         * math/s_clog.c: Likewise.
43111         * math/s_clog10.c: Likewise.
43112         * math/s_clog10f.c: Likewise.
43113         * math/s_clog10l.c: Likewise.
43114         * math/s_clogf.c: Likewise.
43115         * math/s_clogl.c: Likewise.
43116         * math/s_csin.c: Likewise.
43117         * math/s_csinf.c: Likewise.
43118         * math/s_csinh.c: Likewise.
43119         * math/s_csinhf.c: Likewise.
43120         * math/s_csinhl.c: Likewise.
43121         * math/s_csinl.c: Likewise.
43122         * math/s_csqrt.c: Likewise.
43123         * math/s_csqrtf.c: Likewise.
43124         * math/s_csqrtl.c: Likewise.
43125         * math/s_ctan.c: Likewise.
43126         * math/s_ctanf.c: Likewise.
43127         * math/s_ctanh.c: Likewise.
43128         * math/s_ctanhf.c: Likewise.
43129         * math/s_ctanhl.c: Likewise.
43130         * math/s_ctanl.c: Likewise.
43131         * math/s_ldexp.c: Likewise.
43132         * math/s_ldexpf.c: Likewise.
43133         * math/s_ldexpl.c: Likewise.
43134         * math/s_significand.c: Likewise.
43135         * math/s_significandf.c: Likewise.
43136         * math/s_significandl.c: Likewise.
43137         * math/w_acos.c: Likewise.
43138         * math/w_acosf.c: Likewise.
43139         * math/w_acosh.c: Likewise.
43140         * math/w_acoshf.c: Likewise.
43141         * math/w_acoshl.c: Likewise.
43142         * math/w_acosl.c: Likewise.
43143         * math/w_asin.c: Likewise.
43144         * math/w_asinf.c: Likewise.
43145         * math/w_asinl.c: Likewise.
43146         * math/w_atan2.c: Likewise.
43147         * math/w_atan2f.c: Likewise.
43148         * math/w_atan2l.c: Likewise.
43149         * math/w_atanh.c: Likewise.
43150         * math/w_atanhf.c: Likewise.
43151         * math/w_atanhl.c: Likewise.
43152         * math/w_cosh.c: Likewise.
43153         * math/w_coshf.c: Likewise.
43154         * math/w_coshl.c: Likewise.
43155         * math/w_dremf.c: Likewise.
43156         * math/w_exp10.c: Likewise.
43157         * math/w_exp10f.c: Likewise.
43158         * math/w_exp10l.c: Likewise.
43159         * math/w_exp2.c: Likewise.
43160         * math/w_exp2f.c: Likewise.
43161         * math/w_fmod.c: Likewise.
43162         * math/w_fmodf.c: Likewise.
43163         * math/w_fmodl.c: Likewise.
43164         * math/w_hypot.c: Likewise.
43165         * math/w_hypotf.c: Likewise.
43166         * math/w_hypotl.c: Likewise.
43167         * math/w_j0.c: Likewise.
43168         * math/w_j0f.c: Likewise.
43169         * math/w_j0l.c: Likewise.
43170         * math/w_j1.c: Likewise.
43171         * math/w_j1f.c: Likewise.
43172         * math/w_j1l.c: Likewise.
43173         * math/w_jn.c: Likewise.
43174         * math/w_jnf.c: Likewise.
43175         * math/w_jnl.c: Likewise.
43176         * math/w_lgamma.c: Likewise.
43177         * math/w_lgamma_r.c: Likewise.
43178         * math/w_lgammaf.c: Likewise.
43179         * math/w_lgammaf_r.c: Likewise.
43180         * math/w_lgammal.c: Likewise.
43181         * math/w_lgammal_r.c: Likewise.
43182         * math/w_log.c: Likewise.
43183         * math/w_log10.c: Likewise.
43184         * math/w_log10f.c: Likewise.
43185         * math/w_log10l.c: Likewise.
43186         * math/w_log2.c: Likewise.
43187         * math/w_log2f.c: Likewise.
43188         * math/w_log2l.c: Likewise.
43189         * math/w_logf.c: Likewise.
43190         * math/w_logl.c: Likewise.
43191         * math/w_pow.c: Likewise.
43192         * math/w_powf.c: Likewise.
43193         * math/w_powl.c: Likewise.
43194         * math/w_remainder.c: Likewise.
43195         * math/w_remainderf.c: Likewise.
43196         * math/w_remainderl.c: Likewise.
43197         * math/w_scalb.c: Likewise.
43198         * math/w_scalbf.c: Likewise.
43199         * math/w_scalbl.c: Likewise.
43200         * math/w_sinh.c: Likewise.
43201         * math/w_sinhf.c: Likewise.
43202         * math/w_sinhl.c: Likewise.
43203         * math/w_sqrt.c: Likewise.
43204         * math/w_sqrtf.c: Likewise.
43205         * math/w_sqrtl.c: Likewise.
43206         * math/w_tgamma.c: Likewise.
43207         * math/w_tgammaf.c: Likewise.
43208         * math/w_tgammal.c: Likewise.
43209
43210         * po/ja.po: Update from translation team.
43211
43212 2011-09-29  Andreas Jaeger  <aj@suse.de>
43213
43214         [BZ #13179]
43215         * sunrpc/netname.c (netname2host): Fix logic.
43216
43217         [BZ #6779]
43218         [BZ #6783]
43219         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43220         correctly.
43221         * math/w_remainder.c (__remainder): Likewise.
43222         * math/w_remainderf.c (__remainderf): Likewise.
43223         * math/libm-test.inc (remainder_test): Add test cases.
43224
43225 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43226
43227         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43228         sdiv_qrnnd.
43229
43230 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43231
43232         * string/test-memcmp.c: Avoid unncessary #defines.
43233         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43234
43235 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43236
43237         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43238         Use new sse2 version for core i3 - i7 as it's faster
43239         than sse42 version.
43240         (bit_Prefer_PMINUB_for_stringop): New.
43241         * sysdeps/x86_64/rawmemchr.S: Update.
43242         Replace with faster SSE2 version.
43243         * sysdeps/x86_64/memrchr.S: New file.
43244         * sysdeps/x86_64/memchr.S: Update.
43245         Replace with faster SSE2 version.
43246
43247 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43248
43249         * elf/dl-load.c (lose): Add cast to avoid warning.
43250
43251 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43252
43253         * po/ca.po: Update from translation team.
43254
43255         * inet/getnetgrent_r.c: Hook up nscd.
43256         * nscd/Makefile (routines): Add nscd_netgroup.
43257         (nscd-modules): Add netgroupcache.
43258         (CFLAGS-netgroupcache.c): Define.
43259         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43260         (cache_search): Add const to second parameter.
43261         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43262         INNETGR.
43263         (dbs): Add netgrdb entry.
43264         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43265         (verify_persistent_db): Handle netgrdb.
43266         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43267         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43268         GETFDNETGR.
43269         (netgroup_response_header): Define.
43270         (innetgroup_response_header): Define.
43271         (datahead): Add netgroup_response_header and innetgroup_response_header
43272         elements.
43273         * nscd/nscd.conf: Add entries for netgroup cache.
43274         * nscd/nscd.h (dbtype): Add netgrdb.
43275         (_PATH_NSCD_NETGROUP_DB): Define.
43276         (netgroup_iov_disabled): Declare.
43277         (xmalloc, xcalloc, xrealloc): Move declarations here.
43278         (cache_search): Adjust prototype.
43279         Add netgroup-related prototypes.
43280         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43281         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43282         (__nscd_innetgr): Declare.
43283         * nscd/selinux.c (perms): Use access_vector_t as element type and
43284         add netgroup-related initializers.
43285         * nscd/netgroupcache.c: New file.
43286         * nscd/nscd_netgroup.c: New file.
43287         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43288         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43289         For four parameters use innetgr.
43290         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43291         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43292         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43293         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43294
43295         * nscd/connections.c (register_traced_file): Don't register file
43296         for disabled databases.
43297
43298 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43299
43300         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43301
43302         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43303         from tree and freeing node.
43304
43305 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43306
43307         * nss/nsswitch.c (__nss_database_lookup): Handle
43308         nss_parse_service_list out of memory case.
43309
43310 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43311
43312         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43313         out of memory case.
43314
43315 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43316
43317         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43318         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43319         pass it down.
43320         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43321         elf_machine_rela, elf_machine_lazy_rel.
43322         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43323         (ELF_DYNAMIC_DO_REL): Likewise.
43324         (ELF_DYNAMIC_DO_RELA): Likewise.
43325         (ELF_DYNAMIC_RELOCATE): Likewise.
43326         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43327         to ELF_DYNAMIC_DO_REL.
43328         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43329         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43330         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43331         elf_machine_rela.
43332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43333         skip_ifunc, don't call ifunc function if non-zero.
43334         (elf_machine_rela): Likewise.
43335         (elf_machine_lazy_rel): Likewise.
43336         (elf_machine_lazy_rela): Likewise.
43337         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43338         (elf_machine_lazy_rel): Likewise.
43339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43340         Likewise.
43341         (elf_machine_lazy_rel): Likewise.
43342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43343         Likewise.
43344         (elf_machine_lazy_rel): Likewise.
43345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43346         (elf_machine_lazy_rel): Likewise.
43347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43348         (elf_machine_lazy_rel): Likewise.
43349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43350         (elf_machine_lazy_rel): Likewise.
43351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43352         (elf_machine_lazy_rel): Likewise.
43353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43354         (elf_machine_lazy_rel): Likewise.
43355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43356         (elf_machine_lazy_rel): Likewise.
43357
43358 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43359
43360         * nss/nss_files/files-init.c (_nss_files_init): Use static
43361         initialization for all the *_traced_file variables.
43362
43363 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43364
43365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43366
43367 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43368
43369         [BZ #13226]
43370         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43371
43372 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43373
43374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43375         Reread the line before reparsing it.
43376
43377 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43378
43379         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43380
43381 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43382             Maxim Kuvyrkov  <maxim@codesourcery.com>
43383             Joseph Myers  <joseph@codesourcery.com>
43384
43385         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43386         if needed for __stack_chk_guard.
43387
43388 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43389
43390         * sysdeps/posix/spawni.c (script_execute): Always define it.
43391         It will be optimized away if unused.
43392         (maybe_script_execute): New function.
43393         (__spawni): Call it.
43394
43395         * Makerules: Don't include tls.make.
43396         (config-tls): Always set to thread.
43397         * tls.make.c: File removed.
43398
43399 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43400
43401         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43402         * config.make.in (CPPFLAGS-config): New substituted variable.
43403
43404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43405
43406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43407
43408         [BZ #13192]
43409         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43410         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43411
43412 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43413
43414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43415         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43417         (CALL_FAIL): Likewise.
43418         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43419         (CALL_FAIL): Macro removed.
43420         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43421
43422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43423
43424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43425         for __FINITE_MATH_ONLY__ == 1.
43426
43427 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43428
43429         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43430         __ieee754_sqrt instead of sqrt.
43431         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43432         __ieee754_sqrtf instead of sqrtf.
43433         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43434         __floorf instead of floorf.
43435         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43436         __floorf, __truncf instead of floorf, truncf.
43437
43438 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43439
43440         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43441
43442         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43443         __extern_always_inline.
43444         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43445         32-bit.
43446
43447 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43448
43449         * elf/rtld.c (dl_main): Also relocate in dependency order when
43450         doing symbol dependency testing.
43451
43452 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43453
43454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43455         Always define `refsym'.
43456
43457 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43458
43459         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43460         (__FD_ELT): Renamed from __FDELT.
43461         * misc/bits/select2.h (__FD_ELT): Likewise.
43462         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43463         __FD_MASK instead of __FDELT, __FDMASK.
43464         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43465         Likewise.
43466         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43467         Likewise.
43468
43469         * elf/Makefile (gen-ldd): Fix pattern.
43470
43471         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43472         (init_tls): Likewise.
43473
43474 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43475
43476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43477
43478 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43479
43480         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43481         `struct cmsghdr *' instead of `void *'.
43482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43483         Likewise.
43484
43485 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43486
43487         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43488         if non-absolute.
43489         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43490         ldd_rewrite_script.
43491
43492 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43493
43494         * configure.in: Remove --with-tls option.
43495         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43496         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43497         out in case it is missing.
43498         * sysdeps/ia64/elf/configure.in: Likewise.
43499         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43500         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43501         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43502         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43503         * sysdeps/sh/elf/configure.in: Likewise.
43504         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43506         * sysdeps/x86_64/elf/configure.in: Likewise.
43507         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43508         * sysdeps/mach/hurd/tls.h: Likewise.
43509
43510         [BZ #13067]
43511         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43512
43513         [BZ #13090]
43514         * configure.in: Fix use of AC_INIT.
43515
43516         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43517
43518 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43519
43520         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43521         __set_errno.
43522         * malloc/hooks.c: Likewise.
43523
43524         [BZ #11929]
43525         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43526         variables statically.
43527         (narenas): Initialize.
43528         (list_lock): Initialize.
43529         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43530         initializtion of main_arena and list_lock.  Small cleanups.
43531         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43532         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43533         Add initializers to main_arena and mp_.
43534         (malloc_state): Remove pagesize member.  Change all users to use
43535         GLRO(dl_pagesize).
43536
43537         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43538         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43539         is always initialized.
43540
43541         * malloc/malloc.c: Removed unused configurations and dead code.
43542         * malloc/arena.c: Likewise.
43543         * malloc/hooks.c: Likewise.
43544         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43545
43546         * include/tls.h: Removed.  USE___THREAD must always be defined.
43547         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43548         * elf/dl-libc.c: Likewise.
43549         * elf/dl-tsd.c: Likewise.
43550         * include/errno.h: Likewise.
43551         * include/netdb.h: Likewise.
43552         * include/resolv.h: Likewise.
43553         * inet/herrno-loc.c: Likewise.
43554         * inet/herrno.c: Likewise.
43555         * malloc/arena.c: Likewise.
43556         * malloc/hooks.c: Likewise.
43557         * malloc/malloc.c: Likewise.
43558         * resolv/res-state.c: Likewise.
43559         * resolv/res_libc.c: Likewise.
43560         * sysdeps/i386/dl-machine.h: Likewise.
43561         * sysdeps/ia64/dl-machine.h: Likewise.
43562         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43564         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43566         * sysdeps/sh/dl-machine.h: Likewise.
43567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43569         * sysdeps/unix/i386/sysdep.S: Likewise.
43570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43571         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43581         * sysdeps/x86_64/dl-machine.h: Likewise.
43582         * tls.make.c: Likewise.
43583
43584         * configure.in: Remove --with-__thread option.  Make tests for
43585         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43586         tls_model attribute fail if no support is available.  Remove
43587         USE_IN_LIBIO.
43588         * Makeconfig: Adjust for dropped configure option.  All features are
43589         now mandatory.
43590         * Makerules: Likewise.
43591         * Versions.def: Likewise.
43592         * argp/argp-fmtstream.c: Likewise.
43593         * argp/argp-fmtstream.h: Likewise.
43594         * argp/argp-help.c: Likewise.
43595         * assert/assert.c: Likewise.
43596         * config.h.in: Likewise.
43597         * config.make.in: Likewise.
43598         * configure: Likewise.
43599         * configure.in: Likewise.
43600         * csu/Versions: Likewise.
43601         * csu/init.c: Likewise.
43602         * elf/tst-audit2.c: Likewise.
43603         * elf/tst-tls10.c: Likewise.
43604         * elf/tst-tls10.h: Likewise.
43605         * elf/tst-tls11.c: Likewise.
43606         * elf/tst-tls12.c: Likewise.
43607         * elf/tst-tls14.c: Likewise.
43608         * elf/tst-tlsmod11.c: Likewise.
43609         * elf/tst-tlsmod12.c: Likewise.
43610         * elf/tst-tlsmod13.c: Likewise.
43611         * elf/tst-tlsmod13a.c: Likewise.
43612         * elf/tst-tlsmod14a.c: Likewise.
43613         * elf/tst-tlsmod15b.c: Likewise.
43614         * elf/tst-tlsmod16a.c: Likewise.
43615         * elf/tst-tlsmod16b.c: Likewise.
43616         * elf/tst-tlsmod7.c: Likewise.
43617         * elf/tst-tlsmod8.c: Likewise.
43618         * elf/tst-tlsmod9.c: Likewise.
43619         * gmon/gmon.c: Likewise.
43620         * grp/fgetgrent_r.c: Likewise.
43621         * grp/putgrent.c: Likewise.
43622         * hurd/fopenport.c: Likewise.
43623         * include/libc-symbols.h: Likewise.
43624         * include/tls.h: Likewise.
43625         * intl/gettextP.h: Likewise.
43626         * intl/loadinfo.h: Likewise.
43627         * locale/global-locale.c: Likewise.
43628         * locale/localeinfo.h: Likewise.
43629         * mach/devstream.c: Likewise.
43630         * malloc/arena.c: Likewise.
43631         * malloc/set-freeres.c: Likewise.
43632         * misc/err.c: Likewise.
43633         * misc/getttyent.c: Likewise.
43634         * misc/mntent_r.c: Likewise.
43635         * posix/getopt.c: Likewise.
43636         * posix/wordexp.c: Likewise.
43637         * pwd/fgetpwent_r.c: Likewise.
43638         * resolv/Versions: Likewise.
43639         * resolv/res_hconf.c: Likewise.
43640         * shadow/fgetspent_r.c: Likewise.
43641         * shadow/putspent.c: Likewise.
43642         * stdio-common/printf_fphex.c: Likewise.
43643         * stdio-common/tmpfile.c: Likewise.
43644         * stdlib/abort.c: Likewise.
43645         * stdlib/fmtmsg.c: Likewise.
43646         * sunrpc/auth_unix.c: Likewise.
43647         * sunrpc/clnt_perr.c: Likewise.
43648         * sunrpc/clnt_tcp.c: Likewise.
43649         * sunrpc/clnt_udp.c: Likewise.
43650         * sunrpc/clnt_unix.c: Likewise.
43651         * sunrpc/openchild.c: Likewise.
43652         * sunrpc/svc_simple.c: Likewise.
43653         * sunrpc/svc_tcp.c: Likewise.
43654         * sunrpc/svc_udp.c: Likewise.
43655         * sunrpc/svc_unix.c: Likewise.
43656         * sunrpc/xdr.c: Likewise.
43657         * sunrpc/xdr_array.c: Likewise.
43658         * sunrpc/xdr_rec.c: Likewise.
43659         * sunrpc/xdr_ref.c: Likewise.
43660         * sunrpc/xdr_stdio.c: Likewise.
43661
43662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43663
43664         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43665
43666 2011-07-03  Andreas Jaeger  <aj@suse.de>
43667
43668         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43669         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43670         regenerate with gen-libm-tests.pl.
43671
43672 2010-05-12  Petr Baudis  <pasky@suse.cz>
43673
43674         [BZ #11589]
43675         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43676         around j0() zero points by switching to j1().
43677         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43681
43682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43683
43684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43685         instead of 0.
43686         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43687         instead of 0.
43688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43689         Patch in part by Pavel Roskin <proski@gnu.org>.
43690
43691         [BZ #13138]
43692         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43693         realloc.
43694         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43695         Free memory block if necessary.
43696
43697         [BZ #12847]
43698         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43699         be NULL.  Don't lock in this case.
43700
43701 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43702
43703         * elf/elf.h (ELFOSABI_GNU): New macro.
43704         (ELFOSABI_LINUX): Define to that.
43705
43706 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43707
43708         * string/strncat.c (strncat): Undef the symbol in case it has been
43709         defined in bits/string.h.
43710
43711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43712
43713         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43714
43715         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43716         link map.
43717
43718 2011-08-17  Andreas Jaeger  <aj@suse.de>
43719
43720         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43721
43722 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43723             Ian Lance Taylor  <iant@google.com>
43724
43725         * math/libm-test.inc (lround_test): New testcase.
43726         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43727
43728 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43729
43730         * Makefile: Remove support for automatic cvs check-ins.
43731         * Makerules: Likewise.
43732         * config.make.in: Likewise.
43733         * configure.in: Likewise.
43734         * intl/Makefile: Likewise.
43735         * locale/Makefile: Likewise.
43736         * po/Makefile: Likewise.
43737         * posix/Makefile: Likewise.
43738         * sysdeps/gnu/Makefile: Likewise.
43739         * sysdeps/mach/hurd/Makefile: Likewise.
43740         * sysdeps/sparc/sparc32/Makefile: Likewise.
43741
43742         [BZ #13118]
43743         * posix/Makefile (bug-regex32-ENV): Define.
43744         Patch by John Stanley <jpsinthemix@verizon.net>.
43745
43746         * misc/Makefile (headers): Add bits/select2.h.
43747         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43748         * misc/bits/select2.h: New file.
43749         * include/bits/select2.h: New file.
43750         * debug/Makefile (routines): Add fdelt_chk.
43751         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43752         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43753         FD_ISSET.
43754         * debug/fdelt_chk.c: New file.
43755
43756         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43757         * wcsmbs/test-wmemcmp.c: Likewise.
43758         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43759         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43760
43761 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43762
43763         * string/Makefile (strop-tests): Add memcmp.
43764         * string/test-wmemcmp.c: New file.
43765         * string/test-memcmp.c: Add wmemcmp support.
43766
43767 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43768
43769         [BZ #13153]
43770         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43771         2011-07-19 change.
43772
43773         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43774         garbage value in a __mach_port_mod_refs call in the cases of the
43775         task-self and thread-self ports.
43776
43777 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43778
43779         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43780
43781 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43782
43783         * elf/dl-load.c (lose): Check for non-null L.
43784
43785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43786
43787         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43788
43789         * elf/dl-libc.c (dlerror_run): Pass back error code from
43790         dl_catch_error.
43791
43792         [BZ #13123]
43793         * elf/dl-load.c (lose): Free l_origin if it is valid.
43794
43795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43796         names.
43797         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43801         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43802         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43803
43804 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43805
43806         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43807         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43808         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43810         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43811         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43812         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43813         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43814         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43815         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43816
43817 2011-08-15  Alan Modra  <amodra@gmail.com>
43818
43819         [BZ #13092]
43820         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43821         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43822         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43823         ppc_mcount to static-only-routines.
43824         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43825         __mcount_internal.
43826         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43827         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43828
43829 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43830
43831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43832         for finite and infinity parameters.
43833
43834 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43835
43836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43837         and add nop instructions for throughput optimization.
43838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43839
43840 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43841
43842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43843         aligned copy for power7 with vector-scalar instructions.
43844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43845
43846 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43847
43848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43849         AVX check.
43850
43851 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43852
43853         [BZ #13144]
43854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43855         last change.
43856
43857 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43858
43859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43860         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43861         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43863         clock_gettime.
43864
43865 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43866
43867         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43868         Forgot to demangle the pointer.
43869
43870         * sysdeps/i386/sysdep.h: Define atom_text_section.
43871         * sysdeps/x86_64/sysdep.h: Likewise.
43872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43873         section with atom_text_section.
43874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43876         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43878         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43879
43880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43882         already be defined.  Change to take two parameters and don't assign
43883         result to variable.  Adjust all users.
43884         Define INTERNAL_GETTIME if not already defined.
43885         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43886         call.
43887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43888         HAVE_CLOCK_GETTIME_VSYSCALL.
43889         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43890
43891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43892         gettimeofday vsyscall, just use time.
43893
43894 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43895
43896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43897         <errno.h>.
43898
43899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43900
43901         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43902         syscall on x86-64.
43903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43904         syscall.
43905         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43907         syscall if possible.
43908
43909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43910
43911         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43912         e_ident.  Don't pass to find_mapsXX.
43913         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43914
43915 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43916
43917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43918         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43919         * sysdeps/x86_64/multiarch/strchr.S: Update.
43920         Check bit_slow_BSF bit.
43921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43924
43925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43926
43927         [BZ #13134]
43928         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43929         before glibc 2.15.
43930         (tryshell): Define.
43931         (__spawni): Change last parameter to be flag.  Test
43932         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43933         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43934         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43935         * posix/spawni.c: Likewise.
43936         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43937         * posix/spawnp.c: Likewise.  Change normal version to use
43938         SPAWN_XFLAGS_USE_PATH.
43939         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43940         SPAWN_XFLAGS_TRY_SHELL.
43941
43942         [BZ #13150]
43943         * posix/glob.h: Remove gcc 1.x support.
43944
43945         [BZ #13068]
43946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43947
43948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43949
43950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43951         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43952         strrchr-sse2-bsf
43953         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43954         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43957         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43959
43960 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43961
43962         * sysdeps/x86_64/wcscmp.S: New file.
43963
43964         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43965         wcscmp-c wcscmp-sse2
43966         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43967         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43969         * wcsmbs/wcscmp.c: Allow renaming.
43970
43971 2011-09-05  David S. Miller  <davem@davemloft.net>
43972
43973         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43974         stack slot, rather than the struct return pointer slot.
43975         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43976         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43979
43980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43981
43982         * po/ja.po: Update from translation team.
43983
43984         [BZ #13144]
43985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43986         kernel in 64-bit binaries.
43987
43988 2011-09-01  David S. Miller  <davem@davemloft.net>
43989
43990         * elf/elf.h (HWCAP_SPARC_*): Move to..
43991         * sysdeps/sparc/sysdep.h: this new file and add new values.
43992         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43993         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43994         _DL_HWCAP_COUNT to 24.
43995         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43996         entries.
43997         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43998         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43999         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44001         instead of magic constants.
44002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44003
44004 2011-08-31  David S. Miller  <davem@davemloft.net>
44005
44006         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44008         Reimplement to do errno handling inline.
44009         (SYSCALL_ERROR_HANDLER): New macro.
44010         (__SYSCALL_STRING): Do not do errno handling in asm.
44011         (__CLONE_SYSCALL_STRING): Delete.
44012         (__INTERNAL_SYSCALL_STRING): Delete.
44013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44014         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44015         (PSEUDO): Reimplement to do errno handling inline.
44016         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44017         (SYSCALL_ERROR_HANDLER): New macro.
44018         (__SYSCALL_STRING): Do not do errno handling in asm.
44019         (__CLONE_SYSCALL_STRING): Delete.
44020         (__INTERNAL_SYSCALL_STRING): Delete.
44021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44022         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44023         i386.
44024         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44025         (inline_syscall*): Add 'err' argument.
44026         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44027         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44028         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44029         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44030
44031         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44033
44034 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44035
44036         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44037
44038 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44039
44040         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44041         directive.
44042
44043 2011-08-24  David S. Miller  <davem@davemloft.net>
44044
44045         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44046
44047 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44048
44049         * elf/Makefile: Add rules to build and run unload8 test.
44050         * elf/unload8.c: New file.
44051         * elf/unload8mod1.c: New file.
44052         * elf/unload8mod1x.c: New file.
44053         * elf/unload8mod2.c: New file.
44054         * elf/unload8mod3.c: New file.
44055
44056         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44057         it wasn't used.
44058
44059 2011-08-23  David S. Miller  <davem@davemloft.net>
44060
44061         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44062         subtract stack bias.
44063         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44064         %sp not %fp in calculations.
44065         (_JMPBUF_UNWINDS_ADJ): Likewise.
44066
44067         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44068         (aio_suspend): Call it to force an exception region around the
44069         AIO_MISC_WAIT() invocation.
44070
44071 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44072
44073         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44074         backslash.
44075
44076 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44077
44078         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44079         protection macro.
44080         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44081         and <dl-machine.h>.
44082         (Elf64_FuncDesc): Remove.
44083
44084 2011-08-22  David S. Miller  <davem@davemloft.net>
44085
44086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44087         sigaltstack check, add missing cfi directives.
44088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44089         missing cfi directives, and sigaltstack handling.
44090
44091 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44092
44093         [BZ #11724]
44094         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44095         object is seen twice.
44096         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44097
44098         * elf/Makefile (distribute): Add tst-initorder2.c.
44099         (tests): Add tst-initorder2.
44100         (modules-names): Add tst-initorder2a tst-initorder2b
44101         tst-initorder2c tst-initorder2d.  Add rules to build them.
44102         ($(objpfx)tst-initorder2.out): New rule.
44103         * elf/tst-initorder2.c: New file.
44104         * elf/tst-initorder2.exp: New file.
44105
44106 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44107
44108         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44109
44110         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44111         dependencies back to end of function.
44112
44113         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44114         $(elfobjdir)/ld.so.
44115
44116 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44117
44118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44119         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44121         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44122         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44123         of __vdso_gettimeofday.
44124         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44125         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44126         attribute_hidden.
44127         (_libc_vdso_platform_setup): Remove initialization of
44128         __vdso_gettimeofday and __vdso_time.
44129
44130 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44131
44132         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44133         and fgetc_unlocked.
44134         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44135         getc_unlocked.
44136
44137         * elf/dl-open.c (add_to_global): Report additions to the global scope
44138         for LD_DEBUG=scopes.
44139         (dl_open_worker): Also print scope of newly loaded dependencies.
44140         (_dl_show_scope): Indicate if there is no scope.
44141
44142         [BZ #13114]
44143         * stdio-common/Makefile (tests): Add bug24.
44144         * stdio-common/bug24.c: New file.
44145
44146 2011-08-19  Andreas Jaeger  <aj@suse.de>
44147
44148         [BZ #13114]
44149         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44150         non-existant file when using close-on-exec mode.
44151
44152 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44153
44154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44155         the very first instruction.
44156
44157         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44158         the CFI state in the end.
44159         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44160         inclusion of dl-trampoline.h.
44161         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44162
44163 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44164
44165         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44166         expectations for long double.
44167
44168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44169         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44170
44171 2011-08-14  David S. Miller  <davem@davemloft.net>
44172
44173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44174         artificual limit depends upon the system page size.
44175
44176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44177
44178         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44179         * resolv/Makefile: Define CFLAGS-libresolv.
44180
44181 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44182
44183         * nss/makedb.c (compute_tables): Make variables used in nested
44184         function static.
44185
44186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44187
44188         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44189         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44190         if buffer was too small.
44191
44192         * elf/pldd.c (main): Attach to all threads in the process.
44193         Rewrite /proc handling to use *at functions.
44194
44195 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44196
44197         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44198         specifies first scope to show.
44199         (dl_open_worker): Update callers.  Move printing scope of new
44200         object to before the relocation.
44201         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44202         * sysdeps/generic/ldsodefs.h: Update declaration.
44203
44204         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44205         string for the scope number.
44206
44207 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44208
44209         * nscd/servicescache.c (cache_addserv): Make sure written is always
44210         initialized.
44211
44212 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44213
44214         * sysdeps/i386/i486/bits/atomic.h
44215         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44216         statement expression, so as to suppress "set but not used" warning.
44217         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44218
44219         * string/strncat.c (STRNCAT): Use prototype definition.
44220
44221         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44222         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44223         -Iprograms here.
44224         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44225         (localedef-modules): Add localedef.
44226         (locale-modules): Add locale.
44227
44228         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44229         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44230         to avoid a warning.
44231
44232 2011-08-14  David S. Miller  <davem@davemloft.net>
44233
44234         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44235         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44236
44237 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44238
44239         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44240         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44241         * elf/rtld.c (dl_main): Set l_name of vDSO.
44242         Call _dl_show_scope when DL_DEBUG_SCOPES.
44243         (process_dl_debug): Recognize scopes flag and also set it for all.
44244         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44245         Declare _dl_show_scope.
44246
44247         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44248         (do_dlopen): Pass caller_dlopen to dl_open.
44249         (__libc_dlopen_mode): Initialize caller_dlopen.
44250
44251         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44252         of libc.  Make tolower call locale-independent.  Optimize a bit by
44253         using isdigit instead of isalnum.
44254         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44255
44256 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44257
44258         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44259         was a dependency or dynamically loaded.
44260
44261 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44262
44263         * intl/l10nflist.c: Allow architecture-specific pop function.
44264         * sysdeps/x86_64/l10nflist.c: New file.
44265
44266         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44267         classification.
44268
44269 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44270
44271         * include/dirent.h: Add libc_hidden_proto for scandirat and
44272         scandirat64.  Don't declare __scandirat64.
44273         * dirent/scandirat.c: Add libc_hidden_def.
44274         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44275         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44276
44277 2011-08-10  David S. Miller  <davem@davemloft.net>
44278
44279         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44280         enum.
44281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44284
44285 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44286
44287         * Versions.def [libc]: Add GLIBC_2.15.
44288         * dirent/Makefile (routines): Add scandirat and scandirat64.
44289         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44290         GLIBC_2.15.
44291         * dirent/dirent.h: Declare scandirat and scandirat64.
44292         * dirent/scandirat.c: New file.
44293         * dirent/scandirat64.c: New file.
44294         * sysdeps/wordsize-64/scandirat.c: New file.
44295         * sysdeps/wordsize-64/scandirat64.c: New file.
44296         * dirent/opendir.c: Define opendirat.
44297         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44298         using scandirat.
44299         * dirent/scandir64.c: Adjust for scandir.c change.
44300         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44301         __scandirat64, and __scandir_cancel_handler.
44302         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44303         additional parameter and use openat instead of open (outside of ld.so).
44304         Add new __opendir as wrapper around __opendirat.
44305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44306         here without requiring old scandirat implementation.
44307
44308 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44309
44310         * dirent/scandir.c (cancel_handler): Renamed to
44311         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44312         defined.  Adjust users.
44313         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44315
44316 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44317
44318         * string/test-string.h (IMPL): Use __STRING to expand name and then
44319         stringify it.
44320
44321         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44322         of cleanups.
44323
44324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44325
44326         * string/Makefile: Update.
44327         (strop-tests): Append strncat.
44328         * string/test-wcscmp.c: New file.
44329         New comprehensive test for wcscmp.
44330         * string/test-strcmp.c: Update.
44331         (WIDE): New define.
44332
44333 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44334
44335         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44336         line.
44337
44338 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44339
44340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44341         encoding to ACE if AI_IDN.
44342
44343 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44344
44345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44346         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44347
44348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44349
44350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44351         Fix overflow bug in strncat.
44352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44353
44354         * string/test-strncat.c: Update.
44355         Add new tests for checking overflow bugs.
44356
44357 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44358
44359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44360         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44361         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44362         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44365         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44366         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44367         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44368
44369         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44370         (USE_AS_STRCAT): Define.
44371         Add strcat and strncat support.
44372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44373
44374 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44375
44376         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44377         __n bigger than INT_MAX+1.
44378         (__strncmp_g): Likewise.
44379
44380 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44381
44382         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44383         * libio/stido.h: Likewise.
44384
44385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44386         (AF_NFC): Define.
44387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44388         (AF_NFC): Define.
44389
44390         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44393         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44395
44396         [BZ #13021]
44397         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44398         installed.
44399
44400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44401         typo.
44402         (_dl_x86_64_save_sse): Likewise.
44403
44404 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44405
44406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44407         OSXSAVE.
44408         (_dl_x86_64_save_sse): Likewise.
44409
44410         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44411
44412         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44413
44414 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44415
44416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44417         change.
44418         (_dl_x86_64_save_sse): Use correct AVX check.
44419
44420 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44421
44422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44423         bug in strncpy/strncat.
44424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44425
44426 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44427
44428         * string/tester.c (test_strcat): Add tests for different alignments
44429         of source and destination.
44430         (test_strncat): Likewise.
44431
44432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44433
44434         [BZ #12852]
44435         * posix/glob.c (glob): Check passed in values before using them in
44436         expressions to avoid some overflows.
44437         (glob_in_dir): Likewise.
44438
44439         [BZ #13007]
44440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44441         check for AVX enablement so that we don't crash with old kernels and
44442         new hardware.
44443         * elf/tst-audit4.c: Add same checks here.
44444         * elf/tst-audit6.c: Likewise.
44445
44446         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44447
44448 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44449
44450         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44451
44452 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44453
44454         * po/cs.po: Update from translation team.
44455         * po/bg.po: Likewise.
44456
44457 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44458
44459         * misc/sys/cdefs.h: Add support for const attribute.
44460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44461         to gnu_dev_{major,minor,makedev} functions.
44462
44463 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44464
44465         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44466
44467 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44468
44469         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44470         strlen results.
44471
44472 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44473
44474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44475         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44476         register in order to avoid conflicts with the soft frame pointer
44477         being held in r11 when necessary.
44478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44479         (INTERNAL_VSYSCALL_NCS): Likewise.
44480
44481 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44482
44483         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44484         * elf/dl-fini.c (_dl_fini): Adjust caller.
44485         * elf/dl-close.c (_dl_close_worker): Likewise.
44486         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44487
44488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44489
44490         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44491         "aux_cache->nlibs < 0".
44492
44493         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44494         in the reload-count case.
44495
44496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44497
44498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44499         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44500         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44502         * sysdeps/x86_64/multiarch/strcat.S: New file.
44503         * sysdeps/x86_64/multiarch/strncat.S: New file.
44504         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44506         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44507         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44509         (USE_AS_STRCAT): Define.
44510         Add strcat and strncat support.
44511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44512         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44514         * string/strncat.c: Update.
44515         (USE_AS_STRNCAT): Define.
44516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44517         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44518         and i7.
44519         * sysdeps/x86_64/multiarch/init-arch.h
44520         (bit_Prefer_PMINUB_for_stringop): New.
44521         (index_Prefer_PMINUB_for_stringop): Likewise.
44522         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44523         bit_Prefer_PMINUB_for_stringop.
44524
44525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44526
44527         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44528         buffer64.
44529         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44530         of casting of buffer.
44531         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44532         buffer32 and buffer64.
44533         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44534         writes instead of casting of buffer.
44535         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44536         buffer32.
44537         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44538         casting of buffer.
44539
44540 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44541
44542         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44543
44544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44545
44546         * nscd/nscd.c (termination_handler): Don't do anything for a database
44547         if it has not yet been initialized.
44548
44549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44550
44551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44552
44553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44554
44555         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44556
44557 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44558
44559         * po/nl.po: Update from translation team.
44560         * po/sv.po: Likewise.
44561
44562 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44563
44564         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44565         now disallowed by GCC.
44566
44567         * configure.in (use-default-link): Default to yes if a test -shared
44568         link meets our qualifications.
44569         * configure: Regenerated.
44570
44571         * config.make.in (output-format): New variable.
44572         * configure.in: Check for ld --print-output-format support.
44573         * configure: Regenerated.
44574         * Makerules ($(common-objpfx)format.lds)
44575         [$(output-format) != unknown]: Just use $(output-format),
44576         instead of the linker-script munging.
44577
44578 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44579
44580         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44581         of $(common-objpfx)shlib.lds.
44582         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44583
44584         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44585         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44586
44587         * configure.in (-z relro check): Adjust test code to add a large
44588         writable data section after it.
44589         * configure: Regenerated.
44590
44591 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44592
44593         * configure.in (-z relro check): Fix test code to make the variable
44594         truly const.
44595         * configure: Regenerated.
44596
44597 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44598
44599         * nscd/nscd.h (struct traced_file): Define.
44600         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44601         elements.  Add traced_files.
44602         (inotify_fd): Declare.
44603         (register_traced_file): Declare.
44604         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44605         (inotify_fd): Export.
44606         (resolv_conf_descr): Remove.
44607         (nscd_init): Move inotify descriptor creation to main.
44608         Don't register files for notification here.
44609         (register_traced_file): New function.
44610         (invalidate_cache): Don't use reset_res to determine whether to call
44611         res_init, go through the list of registered files.
44612         (main_loop_poll): The inotify descriptors are now stored in the
44613         structures for the traced files.
44614         (main_loop_epoll): Likewise
44615         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44616         to __nss_disable_nscd.
44617         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44618         for a database anymore.  Check the records for all the registered
44619         files instead.
44620         * nss/Makefile (libnss_files-routines): Add files-init.
44621         (libnss_db-routines): Add db-init.
44622         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44623         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44624         * nss/nss_db/db-init.c: New file.
44625         * nss/nss_files/files-init.c: New file.
44626         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44627         __nss_lookup_function.
44628         (__nss_lookup_function): Call nss_load_library.
44629         (nss_load_all_libraries): New function.
44630         (__nss_disable_nscd): Take parameter with callback function for files
44631         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44632         used for the cached services.
44633         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44635         options for features to all the files in nscd.
44636
44637         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44638
44639 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44640
44641         * csu/elf-init.c (__libc_csu_init): Comment typo.
44642
44643 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44644
44645         * po/pl.po: Update from translation team.
44646         * po/ja.po: Likewise.
44647         * po/ru.po: Likewise.
44648         * po/ko.po: Likewise.
44649         * po/fr.po: Likewise.
44650
44651 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44652
44653         * configure.in (.ctors/.dtors header and trailer check):
44654         Use an empirical test on a built program.
44655         * configure: Regenerated.
44656
44657         * configure.in (-z relro check): Use an empirical test on a built DSO.
44658         Detect, but do not require, on ia64.
44659         * configure: Regenerated.
44660
44661         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44662         Update tests that use readelf to use $READELF instead.
44663         * configure: Regenerated.
44664
44665 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44666
44667         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44668         if the result is not used.
44669
44670 2011-07-05  Andreas Jaeger  <aj@suse.de>
44671
44672         [BZ#9696]
44673         * stdlib/tst-strtod.c: Add testcase.
44674
44675 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44676
44677         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44678         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44679         The latter has a higher limit.  Take additional parameter to pass to
44680         the new function.
44681         (__pathconf): Pass file to __statfs_link_max.
44682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44683         __statfs_link_max.
44684         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44685         __statfs_link_max.
44686
44687         [BZ #12868]
44688         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44690         Handle Lustre.
44691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44692         (__statfs_filesize_max): Likewise.
44693         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44694
44695 2011-07-05  Andreas Jaeger  <aj@suse.de>
44696
44697         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44698
44699 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44700
44701         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44702         `status' variable.
44703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44704         Likewise.
44705
44706 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44707
44708         * Makefile (strop-tests): Add strncat.
44709         * string/test-strncat.c: New file.
44710
44711 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44712
44713         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44714
44715 2011-06-21  Andreas Jaeger  <aj@suse.de>
44716
44717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44718         Copy rule from iconvdata/Makefile.
44719
44720 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44721
44722         [BZ #12922]
44723         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44724         but no long options are defined, just return 'W'.
44725
44726 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44727
44728         [BZ #9696]
44729         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44730
44731 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44732
44733         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44734         netgroups to read.
44735         (innetgr): Likewise.
44736
44737 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44738
44739         * config.make.in (install_root): Default to $(DESTDIR).
44740
44741 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44742
44743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44744
44745 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44746
44747         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44748
44749         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44750         containing directory rather than embedding absolute directory names.
44751
44752         * scripts/check-local-headers.sh: Rewritten using awk.
44753         Match by word, not by line.  Print error messages for matches.
44754         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44755
44756         * Makerules [shlib-lds-flags empty]:
44757         ($(common-objpfx)libc_pic.opts): New target.
44758         ($(common-objpfx)libc_pic.os.clean): New target.
44759         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44760
44761         * config.make.in (OBJCOPY): New variable.
44762         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44763         * configure: Regenerated.
44764
44765         * config.make.in (use-default-link): New variable.
44766         * configure.in (use_default_link): Grok --with-default-link to set it.
44767         * configure: Regenerated.
44768         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44769         (shlib-lds, shlib-lds-flags): Define to empty.
44770
44771         * Makerules (shlib-lds): New variable.
44772         (shlib-lds-flags): New variable.
44773         (build-shlib, build-moduile, build-module-asneeded): Use it.
44774         ($(common-objpfx)libc.so): Use $(shlib-lds).
44775         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44776         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44777
44778         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44779         DT_FLAGS/DT_FLAGS_1 with zero flags.
44780
44781         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44782         linker script munging.
44783
44784 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44785
44786         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44787         as 128-bit value.
44788         * crypt/sha512.c (sha512_process_block): Perform total addition using
44789         128-bit if possible.
44790         (__sha512_finish_ctx): Likewise.
44791         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44792         as 64-bit value.
44793         * crypt/sha256.c (SWAP64): Define.
44794         (sha256_process_block): Perform total addition using 64-bit if
44795         possible.
44796         (__sha256_finish_ctx): Likewise.
44797
44798 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44799
44800         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44802         * nscd/hstcache.c (cache_addhst): Likewise.
44803         * nscd/grpcache.c (cache_addgr): Likewise.
44804         * nscd/aicache.c (addhstaiX): Likewise
44805         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44806
44807 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44808
44809         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44811         * nscd/hstcache.c (cache_addhst): Likewise.
44812         * nscd/grpcache.c (cache_addgr): Likewise.
44813         * nscd/aicache.c (addhstaiX): Likewise
44814
44815 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44816
44817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44818         domain only when needed.
44819
44820 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44821
44822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44823         is always restored.
44824
44825 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44826
44827         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44828         are re-adding the entry.
44829         * nscd/servicescache.c (cache_addserv): Likewise.
44830
44831 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44832
44833         * sysdeps/generic/dl-irel.h: fix protection against multiple
44834         inclusions.
44835         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44836
44837 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44838
44839         [BZ #12935]
44840         * malloc/memusage.sh: Fix quoting in message.
44841         * debug/xtrace.sh: Likewise.
44842
44843         * configure.in: Remove support for --experimental-malloc option, make
44844         it the default.
44845         * config.make.in: Likewise.
44846         * malloc/Makefile: Likewise.
44847
44848 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44849
44850         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44851         two-byte characters.
44852
44853 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44854
44855         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44856         AC_CACHE_CHECK invocation.
44857         * configure: Regenerated.
44858
44859         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44860
44861 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44862
44863         [BZ #12350]
44864         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44865         bit from old_res_options.
44866
44867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44868
44869         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44870         value type for setfct.
44871
44872 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44873
44874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44875         __gettimeofday instead of gettimeofday.
44876
44877 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44878
44879         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44880
44881 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44882
44883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44884
44885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44886         info.
44887
44888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44889
44890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44891         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44892         strcpy-sse2-unaligned strncpy-sse2-unaligned
44893         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44894         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44895         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44896         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44897         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44900         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44901         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44902         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44903         (STRCPY): Support SSE2 and SSSE3 versions.
44904
44905 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44906
44907         [BZ #12874]
44908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44909         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44910         kernels which artificially limit size of requests.
44911
44912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44913
44914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44915         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44916         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44917         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44918         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44919         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44920         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44921         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44924         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44925         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44926         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44927         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44928         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44930         Enable unaligned load optimization for Intel Core i3, i5 and i7
44931         processors.
44932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44933         Define.
44934         (index_Fast_Unaligned_Load): Define.
44935         (HAS_FAST_UNALIGNED_LOAD): Define.
44936
44937 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44938
44939         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44940
44941 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44942
44943         [BZ #12907]
44944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44945         until it is clear that the information is realy needed.
44946         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44947
44948 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44949
44950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44951
44952 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44953
44954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44955         /sys/devices/system/cpu/online if it is usable.
44956
44957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44958         reading the information from the /proc filesystem to once a second.
44959
44960 2011-06-21  Andreas Jaeger  <aj@suse.de>
44961
44962         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44963         NULL after inclusion of kernel headers.
44964
44965 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44966
44967         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44968         calls to internal_setent.
44969
44970         [BZ #12885]
44971         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44972         addresses using gethostbyname4_r ignore IPv4 addresses.
44973
44974         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44975         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44976
44977         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44978
44979 2011-06-20  David S. Miller  <davem@davemloft.net>
44980
44981         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44982         inclusions.
44983         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44984
44985         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44986         (elf_irel): Use it.
44987         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44988         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44989         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44990         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44991         * sysdeps/x86_64/dl-irel.h: Likewise.
44992
44993         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44994         * elf/dl-sym.c: Likewise.
44995
44996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44997
44998         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44999         need to dereference resplen2.
45000
45001 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45002
45003         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45004
45005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45006
45007         * Makeconfig: Define vardbdir and inst_vardbdir.
45008         * nss/Makefile: Add rules to install db-Makefile.
45009
45010         * nss/nss_db/db-XXX.c: Cleanup.
45011
45012         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45013         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45014         GLIBC_PRIVATE.
45015         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45016         * nss/makedb.c: Implement -g option to specify that value strings
45017         are generated and should not be added to table iterated over for
45018         get*ent calls.
45019         * nss/nss_db/db-initgroups.c: New file.
45020
45021         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45022         interface.
45023
45024         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45025         (internal_getgrouplist): Adjust to name change.
45026         Update use_initgroups_entry if this is not the first call.
45027         * nss/databases.def: Add initgroups entry.
45028
45029         * nss/makedb.c (compute_tables): Check result of multiple hash table
45030         sizes to minimize maximum chain length.
45031
45032 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45033
45034         * Versions.def: Add entry for libnss_db.
45035         * shlib-versions: Likewise.
45036         * nss/Makefile: Add rules to build libnss_db.
45037         * nss/Versions: Add libnss_db information.  Organize libnss_files
45038         entries better.
45039         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45040         makedb progra.  Some minor improvements to generate smaller files.
45041         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45042         here from...
45043         * nss/makedb.c: ...here.
45044         Improve database format to be smaller and require less memory at
45045         runtime.
45046         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45047         db anymore.
45048         * nss/nss_db/db-netgrp.c: Likewise.
45049         * nss/nss_db/db-open.c: Likewise.
45050         * nss/nss_files/flies-XXX.x: Adjust comments.
45051         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45052         * nss/nss_files/files-grp.c: Likewise.
45053         * nss/nss_files/files-hosts.c: Likewise.
45054         * nss/nss_files/files-network.c: Likewise.
45055         * nss/nss_files/files-proto.c: Likewise.
45056         * nss/nss_files/files-pwd.c: Likewise.
45057         * nss/nss_files/files-rpc.c: Likewise.
45058         * nss/nss_files/files-service.c: Likewise.
45059         * nss/nss_files/files-sgrp.c: Likewise.
45060         * nss/nss_files/files-spwd.c: Likewise.
45061         * nss/nss_db/db-alias.c: Removed.
45062         * nss/nss_db/dummy-db.h: Removed.
45063
45064 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45065
45066         * nss/makedb.c: Rewritten to not use database library.
45067         * nss/Makefile: Update to build new makedb program.
45068
45069 2011-06-14  Andreas Jaeger  <aj@suse.de>
45070
45071         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45072         memset declaration.
45073
45074 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45075
45076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45077         tmpbuf.
45078
45079 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45080
45081         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45082         * elf/Makefile ($(objpfx)ld.so): Likewise.
45083
45084         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45085         Don't list ld.so twice in dependencies.
45086
45087         * posix/bug-regex31.c: Include <stdlib.h>.
45088
45089         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45090
45091         * nis/nss_compat/compat-spwd.c
45092         (getspent_next_nss_netgr): Remove unused variable.
45093         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45094
45095         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45096         nonmembers" output to use the right array.
45097
45098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45099
45100         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45101
45102         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45103         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45104         * catgets/gencat.c (read_input_file): Likewise.
45105         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45106
45107         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45108         variable definition inside #if's controlling its use.
45109
45110         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45111
45112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45113
45114         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45115
45116         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45117         unreachable code.
45118
45119         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45120
45121         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45122         * configure: Regenerated.
45123
45124         * Makerules: Revert last change.
45125         * elf/Makefile: Likewise.
45126
45127 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45128
45129         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45130         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45131         (reloc-link): Likewise.
45132
45133 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45134
45135         * elf/Makefile: Add rules to build pldd.
45136         * elf/pldd.c: New file.
45137         * elf/pldd-xx.c: New file.
45138
45139 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45140
45141         * version.h: Update for 2.15 development version.
45142
45143 2011-06-07  David S. Miller  <davem@davemloft.net>
45144
45145         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45146         ifuncs.
45147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45148         elf_machine_lazy_rel): Likewise.
45149         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45151         elf_machine_lazy_rel): Likewise.
45152         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45153         dl_hwcap via passed in argument.
45154         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45155         Likewise.
45156
45157 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45158
45159         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45160
45161 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45162
45163         [BZ #12849]
45164         * manual/fdl-1.1.texi: New file, verbatim from:
45165         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45166         * manual/lgpl-2.1.texi: New file, verbatim from:
45167         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45168         * manual/Makefile (licenses): New variable, list those new file names.
45169         (texis): Use it.
45170         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45171
45172         * manual/fdl.texi: File removed.
45173         * manual/lesser.texi: File removed.
45174         * manual/libc.texinfo (Copying, Documentation License):
45175         Use new @include file names, put @appendix directive before @include.
45176
45177 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45178
45179         [BZ #12841]
45180         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45181         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45182         (mq_open): Add __NTH.
45183
45184 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45185
45186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45187         Assume Intel Core i3/i5/i7 processor if AVX is available.
45188
45189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45190
45191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45192         typo.
45193
45194 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45195
45196         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45197         memory.  Use alloca_account.  Fix memory leak when retrying.
45198
45199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45200
45201         * version.h (RELEASE): Bump for 2.14 release.
45202         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45203
45204         * config.make.in (RANLIB): Remove entry.
45205
45206 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45207
45208         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45209         (libc.pot): Work around missing support for .ksh extension in xgettext.
45210
45211         [BZ #12684]
45212         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45213         if both request failed.
45214         (send_dg): In case of server errors clear resplen or *resplen2.
45215
45216         [BZ #12454]
45217         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45218         when there are multiple maps.
45219         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45220         (_dl_fini): Remove test here.
45221
45222         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45223
45224 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45225
45226         [BZ #12350]
45227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45228         bit from old_res_options.
45229         (gaih_inet): Likewise.
45230
45231         [BZ #11099]
45232         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45233         as signed.
45234
45235         * resolv/res_init.c (res_setoptions): Make the code more compact.
45236
45237         [BZ #11558]
45238         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45239         set RES_USEVC.
45240
45241         [BZ #11634]
45242         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45243
45244         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45245
45246         [BZ #11781]
45247         * malloc/malloc.h: Declare malloc hook variables as volatile.
45248
45249         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45250         in last patch.
45251
45252         [BZ #11799]
45253         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45254         raise in the comment.
45255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45258
45259 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45260
45261         [BZ #12811]
45262         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45263         grow the buffers more if it already has to be sufficient.
45264         (build_wcs_upper_buffer): Likewise.
45265         * posix/regexec.c (check_matching): Likewise.
45266         (clean_state_log_if_needed): Likewise.
45267         (extend_buffers): Don't enlarge buffers beyond size of the input
45268         buffer.
45269         Patches mostly by Emil Wojak <emil@wojak.eu>.
45270         * posix/bug-regex32.c: New file.
45271         * posix/Makefile (tests): Add bug-regex32.
45272
45273         * locale/findlocale.c (_nl_find_locale): Return right away if
45274         _nl_explode_name failed.
45275         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45276
45277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45278
45279         * debug/xtrace.sh: Unify messages.
45280         * malloc/memusage.sh: Likewise.
45281
45282         [BZ #12813]
45283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45284         time symbol from vDSO.  Substitute with vsyscall if not available.
45285         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45286         __vdso_time.
45287
45288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45289         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45291         Add sendmmsg and internal_sendmmsg.
45292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45294         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45295
45296         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45297         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45299
45300 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45301
45302         [BZ #12813]
45303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45304         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45305         available.
45306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45307         __vdso_getcpu.
45308
45309         [BZ #12814]
45310         * iconvdata/Makefile (tests): Add bug-iconv9.
45311         * iconvdata/bug-iconv9.c: New file.
45312
45313 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45314
45315         [BZ #12814]
45316         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45317
45318 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45319
45320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45321         (struct user_regs_struct): Change intcs field back to cs.
45322
45323 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45324
45325         * po/ja.po: Update from translation team.
45326
45327 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45328
45329         [BZ #12795]
45330         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45332
45333 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45334
45335         * stdlib/longlong.h: Update from GCC.
45336
45337 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45338
45339         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45340         parameter name.
45341         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45342         Add parameter name.
45343         (__sysconf): Pass it down.
45344
45345 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45346
45347         [BZ #12671]
45348         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45349         some situations.
45350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45351         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45352         add in in __libc_use_alloca calls.  Adjust callers.
45353         (glob): Use malloc in some situations.
45354
45355         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45356         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45357         pltexit.
45358
45359 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45360
45361         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45362         and CLOCK_BOOTTIME_ALARM.
45363
45364         [BZ #12782]
45365         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45366         is returned.
45367
45368         * string/_strerror.c (__strerror_r): Print negative errors as signed
45369         numbers.
45370
45371         [BZ #12777]
45372         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45373         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45374         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45375
45376         * configure.in: Fix typo in redirection and correct removal of test
45377         files in two cases.
45378
45379         [BZ #12788]
45380         * locale/setlocale.c (new_composite_name): Fix test to check for
45381         identical name of all categories.
45382
45383         [BZ #12792]
45384         * libio/filedoalloc.c (local_isatty): New function.
45385         (_IO_file_doallocate): Use local_isatty.
45386         * stdio-common/perror.c (perror): In case a new stream is used
45387         forward the stream error.
45388         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45389         error flag.
45390
45391 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45392
45393         [BZ #11869]
45394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45395         alloca.
45396         * include/alloca.h (extend_alloca_account): Define.
45397
45398         [BZ #11857]
45399         * posix/regex.h: Fix comments with documentation of user-accessible
45400         fields after compilation and describe correct free'ing of pattern
45401         after re_compile_pattern.
45402         Patch by Reuben Thomas <rrt@sc3d.org>.
45403
45404 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45405
45406         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45407         and -mno-altivec to prevent the compiler from using Altivec and/or
45408         VSX instructions when the corresponding registers are not available.
45409
45410 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45411
45412         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45413
45414 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45415
45416         * libio/freopen.c (freopen): Use __dup2, not dup2.
45417         * libio/freopen64.c (freopen64): Likewise.
45418
45419 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45420
45421         [BZ #12775]
45422         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45423         * math/Makefile (tests): Add test-powl.
45424         (CFLAGS-test-powl.c): Define.
45425         * math/test-powl.c: New file.
45426
45427 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45428
45429         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45430
45431 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45432
45433         [BZ #11837]
45434         * iconvdata/gb18030.c: Update to GB18020-2005.
45435
45436 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45437
45438         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45439         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45440         Patch by Aharon Robbins <arnold@skeeve.com>.
45441
45442         [BZ #11892]
45443         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45444         on the stack.
45445
45446         [BZ #11895]
45447         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45448         through underflows.
45449
45450         [BZ #12766]
45451         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45452         point to strings before performing equality test for error_one_per_line
45453         mode.
45454
45455         [BZ #11697]
45456         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45457
45458         [BZ #11820]
45459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45460         (struct user_fpregs_struct): Avoid __uint*_t types.
45461
45462         [BZ #6420]
45463         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45464         symbol info.  Use it instead of calling _dl_addr locally.
45465         (lock_and_info): New function.
45466         (tr_freehook): Call lock_and_info and pass symbol info as additional
45467         parameter to tr_where.
45468         (tr_mallochook): Likewise.
45469         (tr_reallochook): Likewise.
45470         (tr_memalignhook): Likewise.
45471
45472         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45473         used and couldn't be at all thread-safe.
45474
45475 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45476
45477         * libio/freopen.c (freopen): Don't close old file descriptor
45478         before the new one is opened.  Instead dup the new file descriptor
45479         to the old one after the new stream is created.
45480         * libio/freopen64.c (freopen64): Likewise.
45481         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45482         * libio/fileops.c (_IO_new_file_close_it): Handle new
45483         _IO_FLAGS2_NOCLOSE flag.
45484         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45485         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45486         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45487         _IO_FLAGS2_NOCLOSE flag.
45488         * include/unistd.h: Add hidden_proto for dup3.
45489         Define __have_dup3.
45490         * io/dup3.c: Define hidden symbol.
45491         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45492
45493         [BZ #7101]
45494         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45495         when an incomplete long option is used.
45496         * posix/tst-getopt_long1.c: New file.
45497         * posix/Makefile (tests): Add tst-getopt_long1.
45498
45499         [BZ #10138]
45500         * scripts/config.guess: Update from autoconf-2.68.
45501         * scripts/config.sub: Likewise.
45502
45503         [BZ #10157]
45504         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45505         tests into ...
45506         (has_cpuclock): ...this.  New function.
45507         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45508         macro here based on has_cpuclock code.
45509
45510         [BZ #10149]
45511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45512         First byte (not low byte) is now always NUL.
45513         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45514
45515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45516         Use non-cancelable interfaces.
45517
45518         [BZ #9809]
45519         * locale/iso-639.def: Add entry for Sorani.
45520
45521         [BZ #11901]
45522         * include/stdlib.h: Move include protection to the right place.
45523         Define abort_msg_s.  Declare __abort_msg with it.
45524         * stdlib/abort.c (__abort_msg): Adjust type.
45525         * assert/assert.c (__assert_fail_base): New function.  Majority
45526         of code from __assert_fail.  Allocate memory for __abort_msg with
45527         mmap.
45528         (__assert_fail): Now call __assert_fail_base.
45529         * assert/assert-perr.c: Remove bulk of implementation.  Use
45530         __assert_fail_base.
45531         * include/assert.hL Declare __assert_fail_base.
45532         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45533         mmap.
45534         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45535
45536 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45537
45538         [BZ #11952]
45539         [BZ #12453]
45540         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45541         until all modules are registered in the DTV.
45542         * elf/Makefile: Add rules to build and run tst-tls19.
45543         * elf/tst-tls19.c: New file.
45544         * elf/tst-tls19mod1.c: New file.
45545         * elf/tst-tls19mod2.c: New file.
45546         * elf/tst-tls19mod3.c: New file.
45547         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45548
45549         [BZ #12083]
45550         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45551         correctly.
45552
45553         [BZ #12601]
45554         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45555         two-byte sequence errors.
45556         * iconvdata/Makefile (tests): Add bug-iconv8.
45557         * iconvdata/bug-iconv8.c: New file.
45558
45559         [BZ #12626]
45560         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45561         buf2 definition.
45562
45563         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45564
45565         [BZ #12432]
45566         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45567         (dummy_getcfa): New function.
45568         (init): Get _Unwind_GetCFA address, use dummy if not found.
45569         (backtrace_helper): In recursion check, also check whether CFA changes.
45570         (__backtrace): Completely initialize arg.
45571
45572         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45573         storing incomplete byte sequence in state object.  Avoid testing for
45574         guaranteed too small input if we know there is enough data available.
45575
45576 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45577
45578         * Makeconfig (+link-pie): Indent.
45579         * Rules (binaries-pie): Define if $(have-fpie) and
45580         $(build-shared).
45581         (binaries-shared): Also filter out $(binaries-pie).
45582         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45583         * nscd/Makefile (others-pie): Add nscd.
45584         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45585         ($(objpfx)nscd): Remove command override.
45586         * login/Makefile (others-pie): Add pt_chown.
45587         ($(objpfx)pt_chown): Remove command override.
45588         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45589         remove command overrides.
45590
45591 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45592
45593         * libio/tst_putwc.c: Fix error messages.
45594
45595         [BZ #12724]
45596         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45597         currently writing and seek to current position when not.
45598         * libio/Makefile (tests): Add bug-fclose1.
45599         * libio/bug-fclose1.c: New file.
45600
45601 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45602
45603         [BZ #12511]
45604         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45605         don't set DF_1_NODELETE here.
45606         (do_lookup_x): When entering new entry test for copy relocation
45607         and if necessary set DF_1_NODELETE flag.
45608         * elf/tst-unique4.cc: New file.
45609         * elf/tst-unique4.h: New file.
45610         * elf/tst-unique4lib.cc: New file.
45611         * elf/Makefile: Add rules to build and run tst-unique4.
45612         Patch by Piotr Bury <pbury@goahead.com>.
45613
45614 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45615
45616         [BZ #12052]
45617         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45618
45619         [BZ #12625]
45620         * misc/mntent_r.c (addmntent): Flush the stream after the output
45621
45622         [BZ #12393]
45623         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45624         (is_trusted_path_normalize): Skip initial colon.  Append slash
45625         to empty buffer.  Duplicate is_trusted_path code but allow
45626         constructed patch to be prefix.
45627         (is_dst): Allow $ORIGIN followed by /.
45628         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45629         Correct testing of result of is_trusted_path_normalize
45630         (decompose_rpath): Fix warning.
45631
45632 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45633
45634         [BZ #11257]
45635         * grp/initgroups.c (internal_getgrouplist): When we found the service
45636         list through the initgroups entry in nsswitch.conf do not always
45637         continue on a successful lookup.  Don't always use the
45638         __nss_group_database value if it is set.
45639         * nss/nsswitch.conf (initgroups): Change action for successful db
45640         lookup to continue for compatibility.
45641
45642 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45643
45644         [BZ #11532]
45645         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45646         and CP774 modules.
45647         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45648         and CP774 modules.
45649         * iconvdata/tst-tables.sh: Likewise.
45650         * iconvdata/cp770.c: New file.
45651         * iconvdata/cp771.c: New file.
45652         * iconvdata/cp772.c: New file.
45653         * iconvdata/cp773.c: New file.
45654         * iconvdata/cp774.c: New file.
45655         * iconvdata/testdata/CP770: New file.
45656         * iconvdata/testdata/CP770..UTF8: New file.
45657         * iconvdata/testdata/CP771: New file.
45658         * iconvdata/testdata/CP771..UTF8: New file.
45659         * iconvdata/testdata/CP772: New file.
45660         * iconvdata/testdata/CP772..UTF8: New file.
45661         * iconvdata/testdata/CP773: New file.
45662         * iconvdata/testdata/CP773..UTF8: New file.
45663         * iconvdata/testdata/CP774: New file.
45664         * iconvdata/testdata/CP774..UTF8: New file.
45665
45666         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45667         END CHARMAP line.
45668         * iconvdata/gen-8bit-gap.sh: Likewise.
45669         * iconvdata/gen-8bit.sh: Likewise.
45670
45671         * locale/iso-639.def: Add ary entry.
45672
45673         [BZ #11258]
45674         * locale/C-translit.h.in: Add U20A1 transliteration.
45675
45676         [BZ #12178]
45677         * locale/iso-639.def: Add wae entry.
45678         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45679
45680         [BZ #12545]
45681         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45682         for n.
45683
45684         [BZ #12711]
45685         * locale/C-translit.h.in: Add entry for U20B9.
45686         Patch by pravin.d.s@gmail.com.
45687
45688 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45689
45690         [BZ #12713]
45691         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45692         ENAMETOOLONG use generic getcwd.
45693         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45694         in rtld.  Use *stat64.
45695         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45696         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45697         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45698         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45699         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45700         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45701         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45702         __fstatat64 macros.
45703         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45704         * dirent/rewinddir.c: Add libc_hidden_def.
45705         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45706         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45707
45708         * include/dirent.h (__alloc_dir): Add flags parameter.
45709         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45710         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45711         __alloc_dir.
45712         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45713         from fdopendir if O_CLOEXEC is already set.
45714
45715 2011-03-15  Alan Modra  <amodra@gmail.com>
45716
45717         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45718         l_tls_firstbyte_offset non-zero.  Save padding offset in
45719         l_tls_firstbyte_offset for later use.
45720         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45721         freeing static tls block.
45722
45723 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45724
45725         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45726         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45727         being defined by the kernel headers.
45728
45729 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45730
45731         [BZ #12734]
45732         * resolv/resolv.h: Define RES_NOTLDQUERY.
45733         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45734         no-tld-query and set RES_NOTLDQUERY.
45735         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45736         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45737         modern BIND to search name as TLD unless forbidden.
45738
45739 2011-05-07  Petr Baudis  <pasky@suse.cz>
45740             Ulrich Drepper  <drepper@gmail.com>
45741
45742         [BZ #12393]
45743         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45744         (is_trusted_path): ...to here.
45745         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45746         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45747         using is_trusted_path_normalize() in setuid scripts.
45748
45749 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45750
45751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45752         __BEGIN/__END_DECLS.
45753
45754 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45755
45756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45757         NSS_STATUS_NOTFOUND if no record was found.
45758
45759 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45760
45761         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45762         (headers-not-in-tirpc): Remove rpc/netdb.h
45763         * resolv/netdb.h: Revert last change.
45764
45765 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45766
45767         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45768         circular dependency between libgcc.a and libc.a.
45769
45770 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45771
45772         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45773         * nis/Makefile: Don't install rpcsvc/*.
45774         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45775         instead of <rpc/types.h>.
45776         (MAXHOSTNAMELEN): Define.
45777
45778 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45779
45780         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45781
45782 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45783
45784         [BZ #12714]
45785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45786         gethostbyname4_r when IPv6 results are possible.
45787
45788 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45789
45790         [BZ #12723]
45791         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45792         _PC_PIPE_BUF handling.
45793
45794 2011-04-30  Bruno Haible  <bruno@clisp.org>
45795
45796         [BZ #12717]
45797         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45798         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45799         to 'int'.
45800         * inet/getnameinfo.c (getnameinfo): Likewise.
45801
45802 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45803
45804         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45805         to groups setting in database lookup.
45806         * nss/nsswitch.conf: Add initgroups entry.
45807
45808 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45809
45810         [BZ #12685]
45811         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45812         mode string.
45813         Patch by Eric Blake <eblake@redhat.com>.
45814
45815 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45816
45817         * sunrpc/Makefile (need-export-routines): Add svc_run.
45818         (routines): Remove svc_run.
45819         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45820         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45821         * sunrpc/svc_run.c (svc_run): Likewise.
45822         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45823
45824 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45825
45826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45827         problem in reallocation in last patch.
45828
45829 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45830
45831         * sunrpc/Makefile: Move inclusion of Rules.
45832
45833 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45834
45835         * nss/nss_files/files-initgroups.c: New file.
45836         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45837         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45838         _nss_files_initgroups_dyn.
45839
45840 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45841
45842         * elf/elf.h (R_ARM_IRELATIVE): Define.
45843
45844 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45845
45846         * po/ru.po: Update from translation team.
45847
45848 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45849
45850         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45851         dependencies.
45852
45853 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45854
45855         [BZ #12653]
45856         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45857         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45861
45862 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45863
45864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45865         differing bytes.
45866         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45869
45870 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45871
45872         [BZ #12420]
45873         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45874         storing it.
45875         * stdlib/bug-getcontext.c: New file.
45876         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45877
45878 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45879
45880         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45881         instructions into .machine "z9-109".
45882         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45883         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45884
45885 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45886
45887         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45888         between environment variables and auxiliary vector.
45889
45890 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45891
45892         * Makefile: Add rules to build linkobj/libc.so.
45893         * include/libc-symbols.h: Define libc_hidden_nolink.
45894         * include/rpc/auth.h: Mark functions which are to be hidden.
45895         * include/rpc/auth_des.h: Likewise.
45896         * include/rpc/auth_unix.h: Likewise.
45897         * include/rpc/clnt.h: Likewise.
45898         * include/rpc/des_crypt.h: Likewise.
45899         * include/rpc/key_prot.h: Likewise.
45900         * include/rpc/pmap_clnt.h: Likewise.
45901         * include/rpc/pmap_prot.h: Likewise.
45902         * include/rpc/pmap_rmt.h: Likewise.
45903         * include/rpc/rpc_msg.h: Likewise.
45904         * include/rpc/svc.h: Likewise.
45905         * include/rpc/svc_auth.h: Likewise.
45906         * include/rpc/xdr.h: Likewise.
45907         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45908         * nss/Makefile: Likewise.
45909         * sunrpc/Makefile: Don't install headers.  Build library with normal
45910         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45911         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45912         for the compat linking library.  Remove use of INTDEF/INTUSE.
45913         * sunrpc/auth_none.c: Likewise.
45914         * sunrpc/auth_unix.c: Likewise.
45915         * sunrpc/authdes_prot.c: Likewise.
45916         * sunrpc/authuxprot.c: Likewise.
45917         * sunrpc/clnt_gen.c: Likewise.
45918         * sunrpc/clnt_perr.c: Likewise.
45919         * sunrpc/clnt_raw.c: Likewise.
45920         * sunrpc/clnt_simp.c: Likewise.
45921         * sunrpc/clnt_tcp.c: Likewise.
45922         * sunrpc/clnt_udp.c: Likewise.
45923         * sunrpc/clnt_unix.c: Likewise.
45924         * sunrpc/des_crypt.c: Likewise.
45925         * sunrpc/des_soft.c: Likewise.
45926         * sunrpc/get_myaddr.c: Likewise.
45927         * sunrpc/key_call.c: Likewise.
45928         * sunrpc/key_prot.c: Likewise.
45929         * sunrpc/netname.c: Likewise.
45930         * sunrpc/pm_getmaps.c: Likewise.
45931         * sunrpc/pm_getport.c: Likewise.
45932         * sunrpc/pmap_clnt.c: Likewise.
45933         * sunrpc/pmap_prot.c: Likewise.
45934         * sunrpc/pmap_prot2.c: Likewise.
45935         * sunrpc/pmap_rmt.c: Likewise.
45936         * sunrpc/publickey.c: Likewise.
45937         * sunrpc/rpc_cmsg.c: Likewise.
45938         * sunrpc/rpc_common.c: Likewise.
45939         * sunrpc/rpc_dtable.c: Likewise.
45940         * sunrpc/rpc_prot.c: Likewise.
45941         * sunrpc/rpc_thread.c: Likewise.
45942         * sunrpc/rtime.c: Likewise.
45943         * sunrpc/svc.c: Likewise.
45944         * sunrpc/svc_auth.c: Likewise.
45945         * sunrpc/svc_authux.c: Likewise.
45946         * sunrpc/svc_raw.c: Likewise.
45947         * sunrpc/svc_run.c: Likewise.
45948         * sunrpc/svc_simple.c: Likewise.
45949         * sunrpc/svc_tcp.c: Likewise.
45950         * sunrpc/svc_udp.c: Likewise.
45951         * sunrpc/svc_unix.c: Likewise.
45952         * sunrpc/svcauth_des.c: Likewise.
45953         * sunrpc/xcrypt.c: Likewise.
45954         * sunrpc/xdr.c: Likewise.
45955         * sunrpc/xdr_array.c: Likewise.
45956         * sunrpc/xdr_float.c: Likewise.
45957         * sunrpc/xdr_intXX_t.c: Likewise.
45958         * sunrpc/xdr_mem.c: Likewise.
45959         * sunrpc/xdr_rec.c: Likewise.
45960         * sunrpc/xdr_ref.c: Likewise.
45961         * sunrpc/xdr_sizeof.c: Likewise.
45962         * sunrpc/xdr_stdio.c: Likewise.
45963
45964 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45965
45966         [BZ #12650]
45967         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45968         * sysdeps/ia64/dl-tls.h: Likewise.
45969         * sysdeps/powerpc/dl-tls.h: Likewise.
45970         * sysdeps/s390/dl-tls.h: Likewise.
45971         * sysdeps/sh/dl-tls.h: Likewise.
45972         * sysdeps/sparc/dl-tls.h: Likewise.
45973         * sysdeps/x86_64/dl-tls.h: Likewise.
45974         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45975
45976 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45977
45978         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45979         rpath element also skip the following colon.
45980         (expand_dynamic_string_token): Add is_path parameter and pass
45981         down to DL_DST_REQUIRED and _dl_dst_substitute.
45982         (decompose_rpath): Call expand_dynamic_string_token with
45983         non-zero is_path.  Ignore empty rpaths.
45984         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45985         with zero is_path.
45986
45987 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45988
45989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45990         Make cancelable.
45991
45992 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45993
45994         [BZ #12655]
45995         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45996         Patch by Filipe David Manana <fdmanana@apache.org>.
45997
45998 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45999
46000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46001         Maintain aligned stack.
46002         (CHECK_RSP): Remove unused macro.
46003
46004 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46005
46006         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46008
46009 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46010
46011         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46012
46013         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46014
46015 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46016
46017         [BZ #12518]
46018         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46019         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46020         * sysdeps/x86_64/memmove.c: New file.
46021         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46022         (memcpy): Renamed to ...
46023         (__new_memcpy): This.
46024         (memcpy): Provide GLIBC_2_14 memcpy.
46025         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46026         (memcpy): Provide GLIBC_2_2_5 memcpy.
46027
46028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46029
46030         [BZ #12631]
46031         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46032
46033 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46034
46035         * misc/syncfs.c: New file.
46036         * misc/Makefile (routines): Add syncfs.
46037         * posix/unistd.h: Declare syncfs.
46038         * sysdeps/unix/syscalls.list: Add syncfs.
46039
46040 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46041
46042         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46043         open_by_handle_at.
46044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46049         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46051
46052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46053
46054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46056         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46061
46062         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46063         sync_file_range.c with -fexceptions.
46064         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46065         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46066         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46067         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46068         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46071         sync_file_range as cancellation point
46072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46073         now a wrapper around __call_sync_file_range with cancellation handling.
46074         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46076         function name to __call_sync_file_range.
46077         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46078         Add call_sync_file_range.
46079
46080 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46081
46082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46083         bits/timex.h.
46084
46085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46086
46087         * iconv/iconv.h: Fix typo in comment.
46088         * io/fcntl.h: Likewise.
46089         * libio/stdio.h: Likewise.
46090         * posix/spawn.h: Likewise.
46091         * posix/unistd.h: Likewise.
46092         * stdlib/stdlib.h: Likewise.
46093         * time/time.h: Likewise.
46094         * wcsmbs/wchar.h: Likewise.
46095
46096         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46097         open_by_handle): Add.
46098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46099         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46100         Augment a few comments.
46101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46106         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46107         open_by_handle.
46108
46109         * io/fcntl.h (AT_EMPTY_PATH): Define.
46110
46111 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46112
46113         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46114         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46115         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46116         to...
46117         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46118         * Versions.def: Add GLIBC_2.14.
46119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46120         Export.
46121
46122 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46123
46124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46125         round counter.
46126         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46127
46128 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46129
46130         [BZ #12597]
46131         * string/test-strncmp.c (do_page_test): New function.
46132         (check2): Likewise.
46133         (test_main): Call check2.
46134         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46135
46136 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46137
46138         [BZ #12587]
46139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46140         Handle cache information in CPU leaf 4.
46141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46142
46143 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46144
46145         [BZ #12583]
46146         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46147         character representation.
46148         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46149
46150 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46151
46152         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46153         END(__isnan) to END(__isnanf) to match function entry point/label
46154         EALIGN(__isnanf,...).
46155
46156 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46157
46158         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46159
46160 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46161
46162         [BZ #12510]
46163         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46164         copy from the symbol referenced in the relocation to initialize the
46165         used variable.
46166         Patch by Piotr Bury <pbury@goahead.com>.
46167         * elf/Makefile: Add rules to build and tst-unique3.
46168         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46169         * elf/tst-unique3.cc: New file.
46170         * elf/tst-unique3.h: New file.
46171         * elf/tst-unique3lib.cc: New file.
46172         * elf/tst-unique3lib2.cc: New file.
46173
46174         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46175
46176 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46177
46178         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46179         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46180         to _start.
46181
46182 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46183
46184         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46185         to-be-loaded object along a path to loader is ld.so.
46186
46187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46188             Ulrich Drepper  <drepper@gmail.com>
46189
46190         * sysdeps/x86_64/memset.S: After aligning destination, code
46191         branches to different locations depending on the value of
46192         misalignment, when multiarch is enabled. Fix this.
46193
46194 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46195
46196         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46197         Set _x86_64_preferred_memory_instruction for AMD processsors.
46198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46199         Set bit_Prefer_SSE_for_memop for AMD processors.
46200
46201 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46202
46203         * libio/fmemopen.c (fmemopen): Optimize a bit.
46204
46205 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46206
46207         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46208
46209 2011-03-03  Roland McGrath  <roland@redhat.com>
46210
46211         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46212
46213 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46214
46215         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46216         __bzero_ultra1 instead of __memset_ultra1.
46217
46218 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46219             Ulrich Drepper  <drepper@gmail.com>
46220
46221         [BZ #12509]
46222         * include/link.h (struct link_map): Add l_orig_initfini.
46223         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46224         returning unsuccessfully.
46225         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46226         close of a file loaded at startup, restore the original l_initfini
46227         list.
46228         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46229         list, store the pointer.
46230         * elf/Makefile ($(objpfx)noload-mem): New rule.
46231         (noload-ENV): Define.
46232         (tests): Add $(objpfx)noload-mem.
46233         * elf/noload.c: Include <memcheck.h>.
46234         (main): Call mtrace.  Close all opened handles.
46235
46236 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46237
46238         [BZ #12454]
46239         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46240         dependencies are missing.
46241
46242 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46243
46244         Fix __if_freereq crash: Unlike the generic version which uses free,
46245         Hurd needs munmap.
46246         * sysdeps/mach/hurd/ifreq.h: New file.
46247
46248 2011-01-27  Petr Baudis  <pasky@suse.cz>
46249             Ulrich Drepper  <drepper@gmail.com>
46250
46251         [BZ 12445]#
46252         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46253         to extend_alloca().
46254         * stdio-common/bug23.c: New file.
46255         * stdio-common/Makefile (tests): Add bug23.
46256
46257 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46258             Ulrich Drepper  <drepper@gmail.com>
46259
46260         [BZ #12489]
46261         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46262         before performing relro protection.  At old place add assertion
46263         to make sure nothing changed.
46264
46265 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46266             Glauber de Oliveira Costa  <glommer@gmail.com>
46267
46268         * elf/elf.h: Add new ARM TLS relocs.
46269
46270 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46271
46272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46273         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46274         cast from r3.
46275         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46276         'tests' variable.
46277         * sysdeps/wordsize-64/tst-writev.c: New file.
46278
46279 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46280
46281         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46282         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46283         insns in _dl_start to prevent a TOC reference before relocs are
46284         resolved.
46285
46286 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46287
46288         [BZ #12469]
46289         * Makeconfig: Remove RANLIB definition.
46290         * Makerules: Don't use RANLIB.
46291         * aclocal.m4: Remove ranlib test.
46292         * configure.in: No need to check for ranlib.
46293         * elf/rtld-Rules: Don't use RANLIB.
46294
46295 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46296
46297         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46298         protection macro.
46299         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46300         inclusion protection macro.
46301
46302         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46303         SIGRTMIN and SIGRTMAX and print information in that case only when
46304         SIGRTMIN is defined.
46305
46306 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46307
46308         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46309         arginfo fn returning -1.
46310
46311         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46312         and thousands string is zero terminated.
46313
46314 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46315
46316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46317         sysdeps/unix/sysv/linux/bits/socket.h.
46318
46319 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46320
46321         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46322         (__CPU_COUNT): Remove old macros.
46323         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46324         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46325         (__CPU_ALLOC, __CPU_FREE): Add macros.
46326         (__sched_cpualloc, __sched_cpufree): Add declarations.
46327
46328 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46329
46330         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46331         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46332         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46333         (readdhstai): Return value of addhstaiX call.
46334         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46335         (addgrbyX): Return value returned by cache_addgr.
46336         (readdgrbyname): Return value returned by addgrbyX.
46337         (readdgrbygid): Likewise.
46338         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46339         (addpwbyX): Return value returned by cache_addpw.
46340         (readdpwbyname): Return value returned by addhstbyX.
46341         (readdpwbyuid): Likewise.
46342         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46343         (addservbyX): Return value returned by cache_addserv.
46344         (readdservbyname): Return value returned by addservbyX:
46345         (readdservbyport): Likewise.
46346         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46347         (addhstbyX): Return value returned by cache_addhst.
46348         (readdhstbyname): Return value returned by addhstbyX.
46349         (readdhstbyaddr): Likewise.
46350         (readdhstbynamev6): Likewise.
46351         (readdhstbyaddrv6): Likewise.
46352         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46353         (readdinitgroups): Return value returned by addinitgroupsX.
46354         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46355         (prune_cache): Keep track of timeout value of re-added entries.
46356         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46357         * nscd/nscd.h: Adjust prototypes of readd* functions.
46358
46359 2011-02-04  Roland McGrath  <roland@redhat.com>
46360
46361         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46362         (nis_stats): Likewise.
46363         * nis/nis_modify.c (nis_modify): Likewise.
46364         * nis/nis_remove.c (nis_remove): Likewise.
46365         * nis/nis_add.c (nis_add): Likewise.
46366
46367         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46368
46369         * posix/fnmatch_loop.c: Add some consts.
46370
46371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46372
46373 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46374
46375         [BZ #12460]
46376         * config.make.in (config-cflags-novzeroupper): Define.
46377         * configure.in: Substitute libc_cv_cc_novzeroupper.
46378         * elf/Makefile (AVX-CFLAGS): Define.
46379         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46380         (CFLAGS-tst-auditmod4a.c): Likewise.
46381         (CFLAGS-tst-auditmod4b.c): Likewise.
46382         (CFLAGS-tst-auditmod6b.c): Likewise.
46383         (CFLAGS-tst-auditmod6c.c): Likewise.
46384         (CFLAGS-tst-auditmod7b.c): Likewise.
46385         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46386
46387 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46390         function to the callback.
46391         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46392
46393 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46394
46395         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46396         of errno.
46397
46398 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46399
46400         [BZ #11724]
46401         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46402         of constructors.
46403         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46404         of destructors.
46405         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46406
46407         [BZ #11724]
46408         * elf/Makefile: Add rules to build and run new test.
46409         * elf/tst-initorder.c: New file.
46410         * elf/tst-initorder.exp: New file.
46411         * elf/tst-initordera1.c: New file.
46412         * elf/tst-initordera2.c: New file.
46413         * elf/tst-initordera3.c: New file.
46414         * elf/tst-initordera4.c: New file.
46415         * elf/tst-initorderb1.c: New file.
46416         * elf/tst-initorderb2.c: New file.
46417         * elf/tst-order-a1.c: New file.
46418         * elf/tst-order-a2.c: New file.
46419         * elf/tst-order-a3.c: New file.
46420         * elf/tst-order-a4.c: New file.
46421         * elf/tst-order-b1.c: New file.
46422         * elf/tst-order-b2.c: New file.
46423         * elf/tst-order-main.c: New file.
46424         New test case by George Gensure <werkt0@gmail.com>.
46425
46426 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46427
46428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46429         decoding ACE if AI_CANONIDN.
46430
46431 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46432
46433         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46434
46435 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46436
46437         * version.h (RELEASE): Bump for 2.13 release.
46438         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46439
46440         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46441
46442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46443         MADV_NOHUGEPAGE.
46444         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46446         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46447         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46450
46451         * posix/getconf.c: Update copyright year.
46452         * catgets/gencat.c: Likewise.
46453         * csu/version.c: Likewise.
46454         * debug/catchsegv.sh: Likewise.
46455         * debug/xtrace.sh: Likewise.
46456         * elf/ldconfig.c: Likewise.
46457         * elf/ldd.bash.in: Likewise.
46458         * elf/sprof.c (print_version): Likewise.
46459         * iconv/iconv_prog.c: Likewise.
46460         * iconv/iconvconfig.c: Likewise.
46461         * locale/programs/locale.c: Likewise.
46462         * locale/programs/localedef.c: Likewise.
46463         * malloc/memusage.sh: Likewise.
46464         * malloc/mtrace.pl: Likewise.
46465         * nscd/nscd.c (print_version): Likewise.
46466         * nss/getent.c: Likewise.
46467
46468         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46469         PF_CAIF, and PF_ALG.
46470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46471
46472 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46473
46474         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46475         (modules-names): Use them.
46476         (ifunc-test-modules, ifunc-pie-tests): Define.
46477         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46478         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46479         (test-extras): Likewise.
46480         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46481         $(compile-command.c).
46482         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46483         (all-built-dso): Define.
46484         (check-textrel.out, check-execstack.out): Depend on it.
46485
46486         * configure.in: Don't override --enable-multi-arch.
46487
46488 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46489
46490         [BZ #6812]
46491         * nscd/hstcache.c (tryagain): Define.
46492         (cache_addhst): Return tryagain not notfound for temporary errors.
46493         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46494         failed.
46495
46496 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46497
46498         [BZ #10563]
46499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46500         to make the syscall.
46501         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46502
46503         [BZ #12378]
46504         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46505         and fall back to matching as normal character if the string ends before
46506         the matching ']' is found.  This is what POSIX requires.
46507         * posix/testfnm.c: Adjust test result.
46508         * posix/globtest.sh: Adjust test result.  Add new test.
46509         * posix/tst-fnmatch.input: Likewise.
46510         * posix/tst-fnmatch2.c: Add new test.
46511
46512 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46513
46514         * elf/Makefile (check-execstack): Revert last change.  Depend on
46515         check-execstack.h.
46516         (check-execstack.h): New target.
46517         (generated): Add check-execstack.h.
46518         * elf/check-execstack.c: Include "check-execstack.h".
46519         (main): Revert last change.
46520         (handle_file): Return zero if GNU_STACK is absent and
46521         DEFAULT_STACK_PERMS doesn't include PF_X.
46522
46523 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46524
46525         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46526         in child fails because the descriptor is already closed.
46527         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46528         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46530
46531         [BZ #12397]
46532         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46533         syscall.
46534
46535         [BZ #10484]
46536         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46537         temporary buffer used to handle multi lookups locally.
46538         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46539
46540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46541
46542         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46543         loader is ld.so.
46544
46545 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46546
46547         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46548         alignment for SSE2.
46549
46550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46551
46552         [BZ #12394]
46553         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46554         characters.  When rounding increased number of integer digits recompute
46555         number of groups.
46556         * stdio-common/tst-grouping.c: New file.
46557         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46558
46559 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46560
46561         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46562         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46563
46564         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46565         void.
46566         * bits/select.h: Likewise.
46567
46568 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46569
46570         * po/ja.po: Update from translation team.
46571
46572 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46573
46574         [BZ #11155]
46575         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46576         implementation just like for lxstat, fxstatat, et al.
46577
46578 2010-12-27  Jim Meyering  <meyering@redhat.com>
46579
46580         [BZ #12348]
46581         * posix/regexec.c (build_trtable): Return failure indication upon
46582         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46583
46584 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46585
46586         [BZ #12201]
46587         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46588         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46589         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46591
46592         [BZ #12207]
46593         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46594
46595         [BZ #12204]
46596         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46597         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46598
46599 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46600
46601         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46602         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46603         script has SORT_BY_INIT_PRIORITY.
46604         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46605         NO_CTORS_DTORS_SECTIONS is defined.
46606         * elf/soinit.c: Likewise.
46607         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46608         NO_CTORS_DTORS_SECTIONS is defined.
46609         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46610         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46611         * sysdeps/sh/init-first.c: Likewise.
46612         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46613
46614 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46615
46616         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46617         always use the slow path.
46618
46619 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46620
46621         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46622         similar rule which adds the sysdep directories to the header search in
46623         order to pick up the correct platform stackinfo.h.
46624         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46625         perform test if it is, otherwise return successfully without testing.
46626         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46627         DEFAULT_STACK_PERMS define in stackinfo.h.
46628         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46629         defined in stackinfo.h.
46630         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46631         DEFAULT_STACK_PERMS defined in stackinfo.h.
46632         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46633         * sysdeps/ia64/stackinfo.h: Likewise.
46634         * sysdeps/s390/stackinfo.h: Likewise.
46635         * sysdeps/sh/stackinfo.h: Likewise.
46636         * sysdeps/sparc/stackinfo.h: Likewise.
46637         * sysdeps/x86_64/stackinfo.h: Likewise.
46638         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46639         PF_X for powerpc64.  Retain PF_X for powerpc32.
46640
46641 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46642
46643         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46644         accurately.
46645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46646         GETDENTS_64BIT_ALIGNED.
46647
46648 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46649
46650         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46651
46652 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46653
46654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46655         _GNU_SOURCE.
46656
46657         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46658         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46659         Remove __restrict.
46660         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46661         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46662
46663 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46664
46665         [BZ #11655]
46666         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46667         are initialized.
46668
46669 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46670
46671         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46672
46673 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46674
46675         * po/it.po: Update from translation team.
46676
46677 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46678
46679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46680         unused codes.
46681
46682 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46683
46684         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46685
46686 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46687
46688         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46689         specially.
46690         (gaih_getanswer_slice): Likewise.
46691
46692 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46693
46694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46695
46696 2010-05-31  Petr Baudis  <pasky@suse.cz>
46697
46698         [BZ #11149]
46699         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46700         silently even in the chroot mode.
46701
46702 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46703
46704         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46705         last patch a bit.  Pretty printing
46706
46707 2010-05-31  Petr Baudis <pasky@suse.cz>
46708
46709         [BZ #10085]
46710         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46711         initialization of skip_initgroups_dyn.
46712
46713 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46714
46715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46717
46718 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46719
46720         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46721
46722 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46723
46724         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46725         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46726         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46727         ($(objpfx)tst-fnmatch-mem): New rule.
46728         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46729         * posix/tst-fnmatch.c (main): Call mtrace.
46730
46731 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46732
46733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46734         Support Intel processor model 6 and model 0x2c.
46735
46736 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46737
46738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46739           signed comparison.
46740
46741 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46742
46743         [BZ #12205]
46744         * string/test-strncasecmp.c (check_result): New function.
46745         (do_one_test): Use it.
46746         (check1): New function.
46747         (test_main): Use it.
46748         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46749         Support strcasecmp and strncasecmp.
46750
46751 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46752
46753         [BZ #12194]
46754         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46756
46757 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46758
46759         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46760         IFUNC support.
46761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46762         memset-x86-64.
46763         * sysdeps/x86_64/multiarch/bzero.S: New file.
46764         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46765         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46766         * sysdeps/x86_64/multiarch/memset.S: New file.
46767         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46769         Set bit_Prefer_SSE_for_memop for Intel processors.
46770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46771         Define.
46772         (index_Prefer_SSE_for_memop): Define.
46773         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46774
46775 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46776
46777         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46779
46780 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46781
46782         [BZ #12191]
46783         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46784         (__x86_64_raw_data_cache_size_half): Likewise.
46785         (__x86_64_raw_shared_cache_size): Likewise.
46786         (__x86_64_raw_shared_cache_size_half): Likewise.
46787
46788         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46789         (__x86_64_raw_data_cache_size_half): Likewise.
46790         (__x86_64_raw_shared_cache_size): Likewise.
46791         (__x86_64_raw_shared_cache_size_half): Likewise.
46792         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46793         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46794         and __x86_64_raw_shared_cache_size_half.  Round
46795         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46796         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46797         to multiple of 256 bytes.
46798
46799 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46800
46801         [BZ #12167]
46802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46803         of inacessible symlinks.  Verify result of symlink before returning it.
46804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46805         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46806
46807 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46808
46809         * math/math.h (isinf): Fix typo in comment.
46810
46811 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46812
46813         * po/da.po: Update from translation team.
46814
46815 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46816
46817         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46818         is added to the list.
46819
46820 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46821             Ulrich Drepper  <drepper@gmail.com>
46822
46823         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46824         the global list here.  Move code to...
46825         (_dl_add_to_namespace_list): ...here.  New function.
46826         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46827         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46828         * elf/dl-load.c (lose): Don't remove the element from the list.
46829         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46830         (_dl_map_object): Likewise.
46831
46832 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46833
46834         [BZ #12159]
46835         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46836         into all bytes of SSE register.
46837         Patch by Richard Li <richardpku@gmail.com>.
46838
46839 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46840
46841         [BZ #12140]
46842         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46843         perturbing.
46844
46845 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46846
46847         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46848         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46852         submachine.
46853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46854
46855 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46856
46857         * include/dlfcn.h (__RTLD_SECURE): Define.
46858         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46859         mode & __RTLD_SECURE instead.
46860         (open_path): Rename preloaded parameter to secure.
46861         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46862         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46863         * elf/dl-deps.c (openaux): Likewise.
46864         * elf/rtld.c (struct map_args): Remove is_preloaded.
46865         (map_doit): Don't use it.
46866         (dl_main): Likewise.
46867         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46868         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46869
46870 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46871
46872         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46873         (sysd-rules-targets): Remove duplicates.
46874         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46875         rtld-%.$o dependency.
46876
46877 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46878
46879         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46880         _dl_map_object do it.
46881
46882 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46883
46884         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46885         fast fma builtins, define the macros in the C99 standard.
46886         (FP_FAST_FMAF): Likewise.
46887         (FP_FAST_FMAL): Likewise.
46888         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46889
46890         * bits/mathdef.h: Update copyright year.
46891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46892
46893 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46894
46895         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46896         builtins, define the macros in the C99 standard.
46897         (FP_FAST_FMAF): Likewise.
46898         (FP_FAST_FMAL): Likewise.
46899         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46900         multiply/add.
46901         (FP_FAST_FMAF): Likewise.
46902
46903 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46904
46905         [BZ #3268]
46906         * math/libm-test.inc (fma_test): Some new testcases.
46907         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46909         y and infinite z.  Do multiplication by C already in long double.
46910         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46912         y and infinite z.  Do bitwise or of inexact bit into u.d.
46913         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46914         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46915         * sysdeps/i386/fpu/s_fma.S: Removed.
46916         * sysdeps/i386/fpu/s_fmal.S: Removed.
46917
46918 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46919
46920         [BZ #3268]
46921         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46923         computation is not scheduled after fetestexcept.  Fix value
46924         of minimum denormal long double.
46925
46926 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46927
46928         [BZ #3268]
46929         * math/libm-test.inc (fma_test): Add some more tests.
46930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46931         correctly.
46932
46933 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46934
46935         * scripts/data/localplt-s390-linux-gnu.data: New file.
46936         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46937
46938 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46939
46940         [BZ #3268]
46941         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46942         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46943         instead of dbl-64.
46944         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46945         inlines.
46946         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46948         if one of x and y is very large and the other is subnormal.
46949         * sysdeps/s390/fpu/s_fmaf.c: New file.
46950         * sysdeps/s390/fpu/s_fma.c: New file.
46951         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46952         * sysdeps/powerpc/fpu/s_fma.S: New file.
46953         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46954         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46955         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46956
46957 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46958
46959         [BZ #3268]
46960         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46961         fma tests.
46962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46963         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46964         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46965         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46966         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46967         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46968         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46969
46970 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46971
46972         [BZ #12078]
46973         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46974         * posix/bug-regex31.input: Add test case.
46975
46976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46977
46978         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46979         * posix/bug-regex31.input: New file.
46980
46981         [BZ #12078]
46982         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46983         (parse_sub_exp): Fix last change, use postorder.
46984
46985         * posix/bug-regex31.c: New file.
46986         * posix/Makefile: Add rules to build and run bug-regex31.
46987
46988         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46989
46990         [BZ #12078]
46991         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46992
46993         [BZ #12108]
46994         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46995         to have entries in sys_siglist.
46996
46997         [BZ #12093]
46998         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46999         be NULL.
47000
47001 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47002
47003         [BZ #3268]
47004         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47005         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47006         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47007         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47008         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47009         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47010         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47011         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47012         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47013         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47014         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47017         * math/ftestexcept.c (fetestexcept): Likewise.
47018         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47019         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47020         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47022         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47023         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47024         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47025
47026 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47027
47028         [BZ #12107]
47029         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47030         newline.
47031
47032 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47033
47034         * string/bug-strstr1.c: New file.
47035         * string/Makefile: Add rules to build and run bug-strstr1.
47036
47037 2010-10-05  Eric Blake  <eblake@redhat.com>
47038
47039         [BZ #12092]
47040         * string/str-two-way.h (two_way_long_needle): Always clear memory
47041         when skipping input due to the shift table.
47042
47043 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47044
47045         [BZ #12005]
47046         * malloc/mcheck.c: Handle large requests.
47047
47048         [BZ #12077]
47049         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47050         for strncmp and strncasecmp.
47051         * string/stratcliff.c: Add tests for strcmp and strncmp.
47052         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47053
47054 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47055
47056         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47057         __set_fpscr.
47058
47059 2010-09-30  Andreas Jaeger  <aj@suse.de>
47060
47061         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47062         (CGROUP_SUPER_MAGIC): Define.
47063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47064         Handle btrfs and cgroup file systems.
47065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47066         Likewise.
47067
47068 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47069
47070         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47071         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47072
47073 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47074
47075         [BZ #12067]
47076         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47077         trying to locate the ELF header.
47078
47079 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47080
47081         [BZ #11611]
47082         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47083         Mask out sign-bit copies when constructing f_fsid.
47084
47085 2010-09-24  Petr Baudis <pasky@suse.cz>
47086
47087         * debug/stack_chk_fail_local.c: Add missing licence exception.
47088         * debug/warning-nop.c: Likewise.
47089
47090 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47091
47092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47093         implementing getdents64 using getdents syscall, set d_type if
47094         __ASSUME_GETDENTS32_D_TYPE.
47095
47096 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47097
47098         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47099         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47100
47101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47102
47103         [BZ #12037]
47104         * posix/unistd.h: Undo change of feature selection for ftruncate from
47105         2010-01-11.
47106
47107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47108
47109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47110         detection.
47111
47112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47113
47114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47115         fanotify_mark.
47116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47117
47118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47119
47120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47121         variables after CHECK_SP call.
47122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47123
47124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47125             Ulrich Drepper  <drepper@redhat.com>
47126
47127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47128         re-relocationg ld.so.
47129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47130         _dl_init_paths call.
47131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47132         here anymore.
47133
47134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47135
47136         * resolv/res_init.c (__res_vinit): Count the default server we added.
47137
47138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47139             Ulrich Drepper  <drepper@redhat.com>
47140
47141         [BZ #11968]
47142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47143         (____longjmp_chk): Use %ebx for saving value across system call.
47144         Add unwind info.
47145
47146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47147
47148         * manual/Makefile: Don't mix pattern rules with normal rules.
47149
47150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47151
47152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47153         operation.
47154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47159         Likewise.
47160
47161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47162
47163         [BZ #11979]
47164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47166
47167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47168
47169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47170         * sysdeps/x86_64/addmul_1.S: Likewise.
47171         * sysdeps/x86_64/lshift.S: Likewise.
47172         * sysdeps/x86_64/mul_1.S: Likewise.
47173         * sysdeps/x86_64/rshift.S: Likewise.
47174         * sysdeps/x86_64/sub_n.S: Likewise.
47175         * sysdeps/x86_64/submul_1.S: Likewise.
47176
47177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47178
47179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47180         Define __sched_param instead of SCHED_* and sched_param when
47181         <bits/sched.h> is included with __need_schedparam defined.
47182         * bits/sched.h [__need_schedparam]
47183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47185         (__defined_schedparam): Define to 1.
47186         (__sched_param): New structure, identical to sched_param.
47187         (__need_schedparam): Undefine.
47188
47189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47190
47191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47192         (epoll_create1): Declare.
47193
47194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47195
47196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47197
47198         [BZ #7066]
47199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47200         shifting retval into place.
47201
47202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47203
47204         * nis/rpcsvc/nis.h: Update copyright notice.
47205         * nis/rpcsvc/nis.x: Likewise.
47206         * nis/rpcsvc/nis_callback.h: Likewise.
47207         * nis/rpcsvc/nis_callback.x: Likewise.
47208         * nis/rpcsvc/nis_object.x: Likewise.
47209         * nis/rpcsvc/nis_tags.h: Likewise.
47210         * nis/rpcsvc/yp.h: Likewise.
47211         * nis/rpcsvc/yp.x: Likewise.
47212         * nis/rpcsvc/ypupd.h: Likewise.
47213         * nis/yp_xdr.c: Likewise.
47214         * nis/ypupdate_xdr.c: Likewise.
47215
47216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47218         (pmap_getport): Use __libc_rpc_getport.
47219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47222
47223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47224
47225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47226         fanotify_mark.
47227
47228 2010-08-27  Roland McGrath  <roland@redhat.com>
47229
47230         * sysdeps/i386/i686/multiarch/Makefile
47231         (CFLAGS-varshift.c): New variable.
47232
47233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47234
47235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47237
47238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47239
47240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47241
47242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47243
47244         * sysdeps/x86_64/strlen.S: Unroll the loop.
47245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47246         strlen-sse2 strlen-sse2-bsf.
47247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47248         __strlen_no_bsf if bit_Slow_BSF is set.
47249         (__strlen_sse42): Removed.
47250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47252
47253 2010-08-25  Roland McGrath  <roland@redhat.com>
47254
47255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47256         * sysdeps/x86_64/multiarch/varshift.c: New file.
47257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47261
47262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47263
47264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47265         strlen-sse2 strlen-sse2-bsf.
47266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47268         (__strlen_sse2): Removed.
47269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47272         bit_Slow_BSF for Atom.
47273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47274         (index_Slow_BSF): Define.
47275         (HAS_SLOW_BSF): Define.
47276
47277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47278
47279         [BZ #10851]
47280         * resolv/res_init.c (__res_vinit): When no server address at all
47281         is given default to loopback.
47282
47283 2010-08-24  Roland McGrath  <roland@redhat.com>
47284
47285         * configure.in: Remove config-name.h generation.
47286         * configure: Regenerated.
47287         * config-name.in: File removed.
47288         * scripts/config-uname.sh: New file.
47289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47290         ($(objdir)config-name.h): New target.
47291
47292         * sunrpc/rpc_parse.h: Avoid nested comment.
47293
47294 2010-08-24  Richard Henderson  <rth@redhat.com>
47295             Ulrich Drepper  <drepper@redhat.com>
47296             H.J. Lu  <hongjiu.lu@intel.com>
47297
47298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47302         _mm_alignr_epi8 with _mm_loadu_si128.
47303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47305         (__m128i_shift_right): Removed.
47306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47308         * sysdeps/x86_64/multiarch/varshift.h: New file.
47309         * sysdeps/x86_64/multiarch/varshift.S: New file.
47310
47311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47312
47313         * configure.in: Move assembler checks to before sysdep dir checking.
47314
47315 2010-08-20  Petr Baudis  <pasky@suse.cz>
47316
47317         * LICENSES: Sync the sunrpc license.
47318
47319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47320
47321         * sunrpc/auth_des.c: Update copyright notice once again.
47322         * sunrpc/auth_none.c: Likewise.
47323         * sunrpc/auth_unix.c: Likewise.
47324         * sunrpc/authdes_prot.c: Likewise.
47325         * sunrpc/authuxprot.c: Likewise.
47326         * sunrpc/bindrsvprt.c: Likewise.
47327         * sunrpc/clnt_gen.c: Likewise.
47328         * sunrpc/clnt_perr.c: Likewise.
47329         * sunrpc/clnt_raw.c: Likewise.
47330         * sunrpc/clnt_simp.c: Likewise.
47331         * sunrpc/clnt_tcp.c: Likewise.
47332         * sunrpc/clnt_udp.c: Likewise.
47333         * sunrpc/clnt_unix.c: Likewise.
47334         * sunrpc/des_crypt.c: Likewise.
47335         * sunrpc/des_soft.c: Likewise.
47336         * sunrpc/get_myaddr.c: Likewise.
47337         * sunrpc/getrpcport.c: Likewise.
47338         * sunrpc/key_call.c: Likewise.
47339         * sunrpc/key_prot.c: Likewise.
47340         * sunrpc/openchild.c: Likewise.
47341         * sunrpc/pm_getmaps.c: Likewise.
47342         * sunrpc/pm_getport.c: Likewise.
47343         * sunrpc/pmap_clnt.c: Likewise.
47344         * sunrpc/pmap_prot.c: Likewise.
47345         * sunrpc/pmap_prot2.c: Likewise.
47346         * sunrpc/pmap_rmt.c: Likewise.
47347         * sunrpc/rpc/auth.h: Likewise.
47348         * sunrpc/rpc/auth_unix.h: Likewise.
47349         * sunrpc/rpc/clnt.h: Likewise.
47350         * sunrpc/rpc/des_crypt.h: Likewise.
47351         * sunrpc/rpc/key_prot.h: Likewise.
47352         * sunrpc/rpc/netdb.h: Likewise.
47353         * sunrpc/rpc/pmap_clnt.h: Likewise.
47354         * sunrpc/rpc/pmap_prot.h: Likewise.
47355         * sunrpc/rpc/pmap_rmt.h: Likewise.
47356         * sunrpc/rpc/rpc.h: Likewise.
47357         * sunrpc/rpc/rpc_des.h: Likewise.
47358         * sunrpc/rpc/rpc_msg.h: Likewise.
47359         * sunrpc/rpc/svc.h: Likewise.
47360         * sunrpc/rpc/svc_auth.h: Likewise.
47361         * sunrpc/rpc/types.h: Likewise.
47362         * sunrpc/rpc/xdr.h: Likewise.
47363         * sunrpc/rpc_clntout.c: Likewise.
47364         * sunrpc/rpc_cmsg.c: Likewise.
47365         * sunrpc/rpc_common.c: Likewise.
47366         * sunrpc/rpc_cout.c: Likewise.
47367         * sunrpc/rpc_dtable.c: Likewise.
47368         * sunrpc/rpc_hout.c: Likewise.
47369         * sunrpc/rpc_main.c: Likewise.
47370         * sunrpc/rpc_parse.c: Likewise.
47371         * sunrpc/rpc_parse.h: Likewise.
47372         * sunrpc/rpc_prot.c: Likewise.
47373         * sunrpc/rpc_sample.c: Likewise.
47374         * sunrpc/rpc_scan.c: Likewise.
47375         * sunrpc/rpc_scan.h: Likewise.
47376         * sunrpc/rpc_svcout.c: Likewise.
47377         * sunrpc/rpc_tblout.c: Likewise.
47378         * sunrpc/rpc_util.c: Likewise.
47379         * sunrpc/rpc_util.h: Likewise.
47380         * sunrpc/rpcinfo.c: Likewise.
47381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47382         * sunrpc/rpcsvc/key_prot.x: Likewise.
47383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47384         * sunrpc/rpcsvc/mount.x: Likewise.
47385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47387         * sunrpc/rpcsvc/rex.x: Likewise.
47388         * sunrpc/rpcsvc/rstat.x: Likewise.
47389         * sunrpc/rpcsvc/rusers.x: Likewise.
47390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47391         * sunrpc/rpcsvc/spray.x: Likewise.
47392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47393         * sunrpc/rtime.c: Likewise.
47394         * sunrpc/svc.c: Likewise.
47395         * sunrpc/svc_auth.c: Likewise.
47396         * sunrpc/svc_authux.c: Likewise.
47397         * sunrpc/svc_raw.c: Likewise.
47398         * sunrpc/svc_run.c: Likewise.
47399         * sunrpc/svc_simple.c: Likewise.
47400         * sunrpc/svc_tcp.c: Likewise.
47401         * sunrpc/svc_udp.c: Likewise.
47402         * sunrpc/svc_unix.c: Likewise.
47403         * sunrpc/svcauth_des.c: Likewise.
47404         * sunrpc/xcrypt.c: Likewise.
47405         * sunrpc/xdr.c: Likewise.
47406         * sunrpc/xdr_array.c: Likewise.
47407         * sunrpc/xdr_float.c: Likewise.
47408         * sunrpc/xdr_mem.c: Likewise.
47409         * sunrpc/xdr_rec.c: Likewise.
47410         * sunrpc/xdr_ref.c: Likewise.
47411         * sunrpc/xdr_sizeof.c: Likewise.
47412         * sunrpc/xdr_stdio.c: Likewise.
47413
47414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47415         handling.
47416
47417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47418
47419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47420
47421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47422
47423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47437
47438 2010-07-26  Anton Blanchard  <anton@samba.org>
47439
47440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47441         * malloc/arena.c (heap_trim): Likewise.
47442
47443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47444
47445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47446         here.  Not...
47447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47449
47450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47451
47452         * sysdeps/i386/elf/Makefile: New file.
47453
47454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47455
47456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47457         from fanotify_init.
47458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47460
47461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47462
47463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47464         of strncasecmp_l.
47465         * sysdeps/multiarch/strcmp.S: Likewise.
47466
47467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47468
47469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47470         strncase_l-nonascii.
47471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47472         Add strncase_l-ssse3.
47473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47474         * sysdeps/x86_64/strcmp.S: Likewise.
47475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47477         * sysdeps/x86_64/strncase.S: New file.
47478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47479         * sysdeps/x86_64/strncase_l.S: New file.
47480         * string/Makefile (strop-tests): Add strncasecmp.
47481         * string/test-strncasecmp.c: New file.
47482
47483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47484         warning.
47485
47486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47488
47489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47490
47491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47492
47493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47494
47495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47498
47499 2010-05-01  Alan Modra  <amodra@gmail.com>
47500
47501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47506         tidying.  Don't tail-call __sigjmp_save for static lib.
47507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47508         save location.
47509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47510         (CALL_MCOUNT): Add eh info, and nop after bl.
47511         (TAIL_CALL_SYSCALL_ERROR): New macro.
47512         (PSEUDO_RET): Use it.
47513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47514         Correct save location of integer regs and cr.
47515         (_dl_profile_resolve): Correct cr save location.  Delete nops
47516         after bl when SHARED.  Reduce cfi size a little by better
47517         placement of cfi directives.
47518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47519         make a stack frame.  Instead use parm save area as a temp.
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47523         Don't make a stack frame for parent, use parm save area.
47524         Increase child stack frame to 112 bytes.  Don't save unused reg,
47525         and adjust reg usage.  Set up cfi on error recovery and
47526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47528         (__makecontext): Add dummy nop after jump to exit.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47530         Use correct parm save area and cr save, reduce stack frame.
47531         Correct cfi for possible PSEUDO_RET frame setup.
47532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47533         Branch to local label emitted by PSEUDO_RET rather than
47534         __syscall_error.
47535
47536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47537
47538         [BZ #11904]
47539         * locale/programs/locale.c (print_assignment): New function.
47540         (show_locale_vars): Use it.
47541
47542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47543
47544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47545         field.
47546         (struct statfs64): Likewise.
47547         (_STATFS_F_FLAGS): Define.
47548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47551         (ST_VALID): Define locally.
47552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47553         __statvfs_getflags, use the provided value.
47554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47555         __ASSUME_STATFS_F_FLAGS.
47556
47557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47558
47559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47560         Add sys/fanotify.h.
47561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47562         fanotify_mask for GLIBC_2.13.
47563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47564         fanotify_init and fanotify_mark.
47565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47567
47568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47569         Add prlimit.
47570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47571         prlimit64 for GLIBC_2.13.
47572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47573         prlimit64.
47574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47575         syscall.
47576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47581         add prlimit alias.
47582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47583
47584         [BZ #11903]
47585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47587
47588         * nss/Makefile: Add rules to build and run tst-nss-test1.
47589         * shlib-versions: Add entry for libnss_test1.
47590         * nss/nss_test1.c: New file.
47591         * nss/tst-nss-test1.c: New file.
47592
47593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47594         (__nss_configure_lookup): Set appropriate entry in
47595         __nss_configure_lookup to true.
47596         * nss/nsswitch.h: Define enum with indeces of databases in
47597         databases and __nss_database_custom arrays.  Declare
47598         __nss_database_custom.
47599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47600         to avoid using nscd when custom rules are installed.
47601         * nss/getXXbyYY_r.c: Likewise.
47602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47603
47604         * nss/nss_files/files-parse.c: Whitespace fixes.
47605
47606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47607
47608         [BZ #11883]
47609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47610         * posix/fnmatch_loop.c: Likewise.
47611
47612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47613
47614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47617         * Versions.def [GLIBC_2.13]: Add.
47618
47619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47620
47621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47622         Also fail if tpwd after pwuid call is NULL.
47623
47624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47625
47626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47627         when converting to ms.
47628
47629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47630
47631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47632         EOPNOTSUPP errors with ENOTTY.
47633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47634         EOPNOTSUPP errors with ENOTTY.
47635
47636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47637
47638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47639         Add strcasecmp_l-ssse3.
47640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47641         strcasecmp.
47642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47645
47646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47647
47648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47649
47650         * string/Makefile (strop-tests): Add strcasecmp.
47651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47652         strcasecmp_l-nonascii.
47653         (gen-as-const-headers): Add locale-defines.sym.
47654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47655         * sysdeps/x86_64/strcasecmp.S: New file.
47656         * sysdeps/x86_64/strcasecmp_l.S: New file.
47657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47658         * sysdeps/x86_64/locale-defines.sym: New file.
47659         * string/test-strcasecmp.c: New file.
47660
47661         * string/test-strcasestr.c: Test both ends of the range of characters.
47662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47663
47664 2010-07-29  Roland McGrath  <roland@redhat.com>
47665
47666         [BZ #11856]
47667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47668
47669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47670
47671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47672         for ld.so.
47673
47674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47675
47676         * manual/memory.texi (Malloc Tunable Parameters): Document
47677         M_PERTURB.
47678
47679 2010-07-26  Roland McGrath  <roland@redhat.com>
47680
47681         [BZ #11840]
47682         * configure.in (-fgnu89-inline check): Set and substitute
47683         gnu89_inline, not libc_cv_gnu89_inline.
47684         * configure: Regenerated.
47685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47686
47687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47688
47689         * string/test-strnlen.c: New file.
47690         * string/Makefile (strop-tests): Add strnlen.
47691         * string/tester.c (test_strnlen): Add a few more test cases.
47692         * string/tst-strlen.c: Better error reporting.
47693
47694         * sysdeps/x86_64/strnlen.S: New file.
47695
47696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47697
47698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47699         lower-latency instructions.
47700
47701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47702
47703         * string/test-strcasestr.c: New file.
47704         * string/test-strstr.c: New file.
47705         * string/Makefile (strop-tests): Add strstr and strcasestr.
47706         * string/str-two-way.h: Don't undefine MAX.
47707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47708
47709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47710
47711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47712         strcasestr-nonascii.
47713         (CFLAGS-strcasestr-nonascii.c): Define.
47714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47716         Remove unused attribute.
47717
47718 2010-07-20  Roland McGrath  <roland@redhat.com>
47719
47720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47723         like LD_HWCAP_MASK can disable hwcaps.
47724
47725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47726
47727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47728
47729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47730
47731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47732         call in strcasestr.
47733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47734         __strcasestr_sse42_nonascii.
47735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47736         strcasestr-nonascii.c.
47737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47738
47739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47740
47741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47745
47746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47747
47748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47749         fcntl.
47750
47751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47752
47753         [BZ #11577]
47754         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47755         dl_signal_cerror.
47756
47757 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47758
47759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47760         _PC_PIPE_BUF using F_GETPIPE_SZ.
47761
47762 2010-07-05  Roland McGrath  <roland@redhat.com>
47763
47764         * manual/arith.texi (Rounding Functions): Fix rint description
47765         implicit in round description.
47766
47767 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47768
47769         * elf/Makefile: Fix linking for a few tests to make recent linker
47770         happy.
47771
47772 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47773
47774         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47775         $(common-objpfx)libc_nonshared.a.
47776
47777 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47778
47779         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47780         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47781         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47782         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47783         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47786         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47801         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47802         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47803         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47804         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47805         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47806         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47807         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47808         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47809         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47810         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47811         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47812         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47827
47828 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47829
47830         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47831         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47832         * string/memmove.c (memmove): Renamed to ...
47833         (MEMMOVE): ...this.  Default to memmove.
47834         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47835         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47836         (END_CHK): Define.
47837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47838         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47839         mempcpy-ssse3-back memmove-ssse3-back.
47840         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47843         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47844         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47845         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47846         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47847         * sysdeps/x86_64/multiarch/memmove.c: New file.
47848         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47849         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47850         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47851         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47854         Define.
47855         (index_Fast_Copy_Backward): Define.
47856         (HAS_ARCH_FEATURE): Define.
47857         (HAS_FAST_REP_STRING): Define.
47858         (HAS_FAST_COPY_BACKWARD): Define.
47859
47860 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47861
47862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47863         Restore proper fallback handling.
47864
47865 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47866
47867         [BZ #11701]
47868         * posix/group_member.c (__group_member): Correct checking loop.
47869
47870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47871         OOM in getpwuid_r correctly.  Return error number when the caller
47872         should return, otherwise -1.
47873         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47874         call returning > 0 value.
47875         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47876
47877 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47878
47879         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47880         libc_nonshared.a from targets in modules-names.
47881
47882 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47883
47884         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47885         requires it.
47886
47887 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47888
47889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47893
47894 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47895
47896         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47897
47898 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47899
47900         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47901         and F_GETPIPE_SZ.
47902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47908
47909 2010-06-14  Roland McGrath  <roland@redhat.com>
47910
47911         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47912
47913 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47914
47915         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47916         __REDIRECT followed by __THROW.
47917         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47918         * posix/getopt.h (getopt): Likewise.
47919
47920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47921
47922         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47923         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47924         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47925         in AT_FLAGS.
47926         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47927         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47928
47929 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47930
47931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47932
47933 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47934
47935         [BZ #11640]
47936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47937         Properly check family and model.
47938
47939 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47940
47941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47942
47943 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47944
47945         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47946
47947 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47948
47949         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47950         symbol reference.
47951
47952 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47953
47954         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47955         symbol reference.
47956
47957 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47958
47959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47960         and internal_recvmmsg.
47961         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47964         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47965
47966         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47967         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47968         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47969
47970 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47971
47972         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47973
47974 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47975
47976         POWER7 optimizations.
47977         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47978         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47979
47980 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47981
47982         * version.h: Update for 2.13 development version.
47983
47984 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47985
47986         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47987         exceptions.  Return 0.
47988
47989 2010-05-07  Roland McGrath  <roland@redhat.com>
47990
47991         * elf/ldconfig.c (main): Add a const.
47992
47993 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47994
47995         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47996         (args_options): Add no-idn option.
47997         (ahosts_keys_int): Add idn_flags to ai_flags.
47998         (parse_option): Handle 'i' option to clear idn_flags.
47999
48000         * malloc/malloc.c (_int_free): Possible race in the most recently
48001         added check.  Only act on the data if no current modification
48002         happened.
48003
48004 See ChangeLog.17 for earlier changes.